1 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5 argument being NaN and avoid computations with second argument in
7 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13 * locale/iso-639.def: Add Chitwani Tharu (the).
15 2013-11-14 Andreas Schwab <schwab@suse.de>
17 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18 word instead of empty string.
20 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25 (__fe_nomask_env): Likewise.
27 2013-11-13 Steve Ellcey <sellcey@mips.com>
29 * benchtests/bench-timing.h: Include time.h.
31 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
34 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36 * sysdeps/unix/sysv/linux/configure: Regenerated.
38 2013-11-13 Joseph Myers <joseph@codesourcery.com>
41 * stdlib/strtod_l.c (round_and_return): Do not consider
42 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43 exponent one less than half the least subnormal exponent.
44 * stdlib/test-strtod-round-data: Add more tests.
45 * stdlib/tst-strtod-round.c (tests): Regenerated.
47 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51 (__fe_mask_env): Likewise.
52 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
53 libm_hidden_proto and add function prototype.
54 (__fe_mask_env): Add function prototype.
55 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
62 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
65 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
67 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
72 2013-11-11 David S. Miller <davem@davemloft.net>
75 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
76 symbol in the non-vis3 case in static builds.
77 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
78 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
79 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
80 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
82 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
85 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
88 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90 * benchtests/Makefile: Add bench-strtod.
91 * benchtests/bench-strtod.c: New file: strtod benchtest
93 2013-11-11 Andreas Schwab <schwab@suse.de>
96 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
97 terminating NUL in key length.
99 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
102 Add artificial ODP entry for vDSO symbol for PPC64.
103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
104 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
106 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
109 * nss/getent.c (services_keys): Recognize services starting with digit.
111 2013-11-06 David S. Miller <davem@davemloft.net>
114 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
115 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
117 2013-11-06 Will Newton <will.newton@linaro.org>
119 * manual/memory.texi (Malloc Examples): Remove register
120 keyword from examples.
122 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
124 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
126 2013-11-04 Joseph Myers <joseph@codesourcery.com>
128 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
129 depending on [__GCC_IEC_559 > 0].
130 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
131 depending on [__GCC_IEC_559_COMPLEX > 0].
133 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
135 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
138 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
140 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
142 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
145 * malloc/malloc (malloc_info): Do not handle first bin as
148 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
150 * locale/iso-639.def: Add Central Nahuatl (nhn).
152 2013-11-01 Bruno Haible <bruno@clisp.org>
155 * manual/math.texi (BSD Random): Specify range upper bound as
158 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
160 * locale/iso-639.def: Add Meadow Mari (mhr).
162 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
164 [BZ #14752], [BZ #15763]
165 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
167 * rt/tst_shm.c: Add test for escaping directory.
169 2013-10-31 Andreas Schwab <schwab@suse.de>
172 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
173 followed by 'x' as part of digit sequence.
174 * stdio-common/tst-sscanf.c (double_tests2): New tests.
176 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
179 * configure.ac: allow GNU Make 4.0 and greater.
180 * configure: Regenerated.
182 2013-10-30 Will Newton <will.newton@linaro.org>
185 * malloc/hooks.c (memalign_check): Limit alignment to the
186 maximum representable power of two.
187 * malloc/malloc.c (__libc_memalign): Likewise.
188 * malloc/tst-memalign.c (do_test): Add test for very
189 large alignment values.
190 * malloc/tst-posix_memalign.c (do_test): Likewise.
192 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
195 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
196 (munmap_chunk): Likewise.
197 (mremap_chunk): Likewise.
199 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
202 * stdlib/div.c (div): Remove obsolete code.
203 * stdlib/ldiv.c (ldiv): Likewise.
204 * stdlib/lldiv.c (lldiv): Likewise.
206 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
209 * nss/nss_files/files-XXX.c (get_contents_ret): New
211 (get_contents): New function.
212 (internal_getent): Use it. Expand size of LINEBUFLEN.
214 2013-10-30 Mike Frysinger <vapier@gentoo.org>
216 * configure.in: Moved to ...
217 * configure.ac: ... here. Change reference to configure.in
219 * sysdeps/arm/preconfigure.ac: ... here.
220 configure.in to configure.ac.
221 * sysdeps/gnu/configure.in: Moved to ...
222 * sysdeps/gnu/configure.ac: ... here.
223 * sysdeps/i386/configure.in: Moved to ...
224 * sysdeps/i386/configure.ac: ... here.
225 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
226 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
227 * sysdeps/mach/configure.in: Moved to ...
228 * sysdeps/mach/configure.ac: ... here.
229 * sysdeps/mach/hurd/configure.in: Moved to ...
230 * sysdeps/mach/hurd/configure.ac: ... here.
231 * sysdeps/powerpc/configure.in: Moved to ...
232 * sysdeps/powerpc/configure.ac: ... here.
233 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
234 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
235 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
236 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
237 * sysdeps/s390/s390-32/configure.in: Moved to ...
238 * sysdeps/s390/s390-32/configure.ac: ... here.
239 * sysdeps/s390/s390-64/configure.in: Moved to ...
240 * sysdeps/s390/s390-64/configure.ac: ... here.
241 * sysdeps/sh/configure.in: Moved to ...
242 * sysdeps/sh/configure.ac: ... here.
243 * sysdeps/sparc/configure.in: Moved to ...
244 * sysdeps/sparc/configure.ac: ... here.
245 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
246 * sysdeps/unix/sysv/linux/configure.ac: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
248 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
249 * sysdeps/x86_64/configure.in: Moved to ...
250 * sysdeps/x86_64/configure.ac: ... here.
251 * sysdeps/x86_64/preconfigure.in: Moved to ...
252 * sysdeps/x86_64/preconfigure.ac: ... here.
253 * aclocal.m4: Change reference to configure.in to configure.ac.
254 * config.h.in: Likewise.
255 * manual/install.texi: Likewise.
256 * manual/maint.texi: Likewise.
257 * Makefile: Likewise.
258 * malloc/Makefile: Likewise.
259 * nscd/Makefile: Likewise.
260 * Makeconfig: Change reference to configure.in and
261 preconfigure.in to configure.ac and preconfigure.ac
263 * INSTALL: Regenerated.
264 * configure: Likewise.
265 * sysdeps/gnu/configure: Likewise.
266 * sysdeps/i386/configure: Likewise.
267 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
268 * sysdeps/mach/configure: Likewise.
269 * sysdeps/mach/hurd/configure: Likewise.
270 * sysdeps/powerpc/configure: Likewise.
271 * sysdeps/powerpc/powerpc32/configure: Likewise.
272 * sysdeps/powerpc/powerpc64/configure: Likewise.
273 * sysdeps/s390/s390-32/configure: Likewise.
274 * sysdeps/s390/s390-64/configure: Likewise.
275 * sysdeps/sh/configure: Likewise.
276 * sysdeps/sparc/configure: Likewise.
277 * sysdeps/unix/sysv/linux/configure: Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
279 * sysdeps/x86_64/configure: Likewise.
280 * sysdeps/x86_64/preconfigure: Likewise.
282 2013-10-29 Andreas Schwab <schwab@suse.de>
284 * stdio-common/Makefile (tst-swscanf-ENV): Define.
286 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
288 * benchtests/pow-inputs: Add new inputs.
290 * benchtests/exp-inputs: Add new inputs.
292 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
293 conditional check for return value.
296 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
298 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
299 to provide a boost for large inputs with word alignment.
300 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
301 implementation based on optimized PPC64 strcpy.
302 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
303 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
304 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
305 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
307 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
310 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
312 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
315 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
316 * time/tst-strptime.c (day_tests): Add testcase.
318 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
321 * manual/pattern.texi: Acknowledge that fnmatch can fail.
323 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
326 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
329 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
332 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
333 heap for large requests.
335 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
338 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
339 result if the result has no associated interface.
340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
341 interface for all 127.X.Y.Z addresses.
343 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
345 * locale/iso-639.def: Add Ligurian (lij)
347 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
350 * sunrpc/rpc_main.c: Document rpcgen -5.
352 2013-10-19 Michael Stahl <mstahl@redhat.com>
354 * elf/rtld.c (do_preload): Print the reason why preloading failed.
356 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
359 * posix/glob.c: Match only directories when trailing slash is present.
360 * posix/tst-gnuglob.c (my_opendir): Do not open files.
361 (main): Add testcase.
363 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
366 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
368 2013-10-18 Carlos O'Donell <carlos@redhat.com>
370 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
371 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
372 AUTH_DES and cindex for FIPS 140-2.
373 (DES Encryption): Add cindex FIPS 46-3.
375 * locale/locarchive.h (struct locarhandle): Add fname.
376 * locale/programs/localedef.c (main): Pass ARGV[remaining]
377 if an optional argument was specified to --list-archive,
379 * locale/programs/locarchive.c (show_archive_content): Take new
380 argument fname and pass it via ah.fname to open_archive.
381 * locale/programs/localedef.h: Update decl.
382 (open_archive): If AH->fname is non-null, open that file
383 rather than the default file name, and don't ignore ENOENT.
384 (create_archive): Set AH.fname to NULL.
385 (delete_locales_from_archive): Likewise.
386 (add_locales_to_archive): Likewise.
387 * locale/programs/locfile.c (write_all_categories): Likewise.
389 2013-10-18 Joseph Myers <joseph@codesourcery.com>
390 Aldy Hernandez <aldyh@redhat.com>
392 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
393 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
394 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
395 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
396 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
397 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
398 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
400 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
401 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
402 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
403 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
404 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
405 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
412 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
414 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
415 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
417 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
418 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
419 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
420 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
422 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
423 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
424 * sysdeps/powerpc/preconfigure: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
427 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
428 Replace contents of file by #include of <fenv_libc.h>.
429 * sysdeps/powerpc/soft-fp/sfp-machine.h
430 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
432 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
445 Allow copysignl PLT reference to be missing.
447 2013-10-18 Richard Sandiford <richard@codesourcery.com>
448 Joseph Myers <joseph@codesourcery.com
451 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
453 (add_to_tablewc): Assert sequence of wide characters is nonempty.
455 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
457 * elf/tst-tls-dlinfo.c: Don't include tls.h.
458 * elf/tst-tls1.c: Likewise.
459 * elf/tst-tls10.h: Likewise.
460 * elf/tst-tls14.c: Likewise.
461 * elf/tst-tls2.c: Likewise.
462 * elf/tst-tls3.c: Likewise.
463 * elf/tst-tls4.c: Likewise.
464 * elf/tst-tls5.c: Likewise.
465 * elf/tst-tls6.c: Likewise.
466 * elf/tst-tls7.c: Likewise.
467 * elf/tst-tls8.c: Likewise.
468 * elf/tst-tls9.c: Likewise.
469 * elf/tst-tlsmod1.c: Likewise.
470 * elf/tst-tlsmod13.c: Likewise.
471 * elf/tst-tlsmod13a.c: Likewise.
472 * elf/tst-tlsmod14a.c: Likewise.
473 * elf/tst-tlsmod16a.c: Likewise.
474 * elf/tst-tlsmod16b.c: Likewise.
475 * elf/tst-tlsmod2.c: Likewise.
476 * elf/tst-tlsmod3.c: Likewise.
477 * elf/tst-tlsmod4.c: Likewise.
478 * elf/tst-tlsmod5.c: Likewise.
479 * elf/tst-tlsmod6.c: Likewise.
481 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
484 * malloc/malloc.c: remove checks for statistics.
486 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
489 * inet/inet_net.c (inet_network): Detect additional invalid strings.
490 * inet/tst-network.c: Add testcase.
492 2013-10-17 Andreas Schwab <schwab@suse.de>
495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
496 to determine canonical name.
498 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
500 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
501 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
503 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
505 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
507 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
508 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
510 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
513 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
514 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
515 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
517 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
519 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
523 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
524 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
525 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
526 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
527 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
528 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
529 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
530 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
532 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
533 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
534 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
535 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
536 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
537 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
538 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
541 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
542 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
543 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
544 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
548 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
550 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
551 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
552 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
553 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
559 2013-10-17 Joseph Myers <joseph@codesourcery.com>
562 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
563 make result into a quiet NaN.
565 2013-10-16 Joseph Myers <joseph@codesourcery.com>
567 * soft-fp/adddf3.c: Fix horizontal whitespace.
568 * soft-fp/addsf3.c: Likewise.
569 * soft-fp/addtf3.c: Likewise.
570 * soft-fp/divdf3.c: Likewise.
571 * soft-fp/divsf3.c: Likewise.
572 * soft-fp/divtf3.c: Likewise.
573 * soft-fp/double.h: Likewise.
574 * soft-fp/eqdf2.c: Likewise.
575 * soft-fp/eqsf2.c: Likewise.
576 * soft-fp/eqtf2.c: Likewise.
577 * soft-fp/extenddftf2.c: Likewise.
578 * soft-fp/extended.h: Likewise.
579 * soft-fp/extendsfdf2.c: Likewise.
580 * soft-fp/extendsftf2.c: Likewise.
581 * soft-fp/extendxftf2.c: Likewise.
582 * soft-fp/fixdfdi.c: Likewise.
583 * soft-fp/fixdfsi.c: Likewise.
584 * soft-fp/fixdfti.c: Likewise.
585 * soft-fp/fixsfdi.c: Likewise.
586 * soft-fp/fixsfsi.c: Likewise.
587 * soft-fp/fixsfti.c: Likewise.
588 * soft-fp/fixtfdi.c: Likewise.
589 * soft-fp/fixtfsi.c: Likewise.
590 * soft-fp/fixtfti.c: Likewise.
591 * soft-fp/fixunsdfdi.c: Likewise.
592 * soft-fp/fixunsdfsi.c: Likewise.
593 * soft-fp/fixunsdfti.c: Likewise.
594 * soft-fp/fixunssfdi.c: Likewise.
595 * soft-fp/fixunssfsi.c: Likewise.
596 * soft-fp/fixunssfti.c: Likewise.
597 * soft-fp/fixunstfdi.c: Likewise.
598 * soft-fp/fixunstfsi.c: Likewise.
599 * soft-fp/fixunstfti.c: Likewise.
600 * soft-fp/floatdidf.c: Likewise.
601 * soft-fp/floatdisf.c: Likewise.
602 * soft-fp/floatditf.c: Likewise.
603 * soft-fp/floatsidf.c: Likewise.
604 * soft-fp/floatsisf.c: Likewise.
605 * soft-fp/floatsitf.c: Likewise.
606 * soft-fp/floattidf.c: Likewise.
607 * soft-fp/floattisf.c: Likewise.
608 * soft-fp/floattitf.c: Likewise.
609 * soft-fp/floatundidf.c: Likewise.
610 * soft-fp/floatundisf.c: Likewise.
611 * soft-fp/floatunditf.c: Likewise.
612 * soft-fp/floatunsidf.c: Likewise.
613 * soft-fp/floatunsisf.c: Likewise.
614 * soft-fp/floatunsitf.c: Likewise.
615 * soft-fp/floatuntidf.c: Likewise.
616 * soft-fp/floatuntisf.c: Likewise.
617 * soft-fp/floatuntitf.c: Likewise.
618 * soft-fp/fmadf4.c: Likewise.
619 * soft-fp/fmasf4.c: Likewise.
620 * soft-fp/fmatf4.c: Likewise.
621 * soft-fp/gedf2.c: Likewise.
622 * soft-fp/gesf2.c: Likewise.
623 * soft-fp/getf2.c: Likewise.
624 * soft-fp/ledf2.c: Likewise.
625 * soft-fp/lesf2.c: Likewise.
626 * soft-fp/letf2.c: Likewise.
627 * soft-fp/muldf3.c: Likewise.
628 * soft-fp/mulsf3.c: Likewise.
629 * soft-fp/multf3.c: Likewise.
630 * soft-fp/negdf2.c: Likewise.
631 * soft-fp/negsf2.c: Likewise.
632 * soft-fp/negtf2.c: Likewise.
633 * soft-fp/op-1.h: Likewise.
634 * soft-fp/op-2.h: Likewise.
635 * soft-fp/op-4.h: Likewise.
636 * soft-fp/op-8.h: Likewise.
637 * soft-fp/op-common.h: Likewise.
638 * soft-fp/quad.h: Likewise.
639 * soft-fp/single.h: Likewise.
640 * soft-fp/soft-fp.h: Likewise.
641 * soft-fp/sqrtdf2.c: Likewise.
642 * soft-fp/sqrtsf2.c: Likewise.
643 * soft-fp/sqrttf2.c: Likewise.
644 * soft-fp/subdf3.c: Likewise.
645 * soft-fp/subsf3.c: Likewise.
646 * soft-fp/subtf3.c: Likewise.
647 * soft-fp/truncdfsf2.c: Likewise.
648 * soft-fp/trunctfdf2.c: Likewise.
649 * soft-fp/trunctfsf2.c: Likewise.
650 * soft-fp/trunctfxf2.c: Likewise.
651 * soft-fp/unorddf2.c: Likewise.
652 * soft-fp/unordsf2.c: Likewise.
653 * soft-fp/unordtf2.c: Likewise.
655 2013-10-15 Joseph Myers <joseph@codesourcery.com>
657 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
658 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
660 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
662 * elf/dl-libc.c: Clear initfini list after freeing.
664 2013-10-14 Joseph Myers <joseph@codesourcery.com>
666 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
667 * soft-fp/addsf3.c: Likewise.
668 * soft-fp/addtf3.c: Likewise.
669 * soft-fp/divdf3.c: Likewise.
670 * soft-fp/divsf3.c: Likewise.
671 * soft-fp/divtf3.c: Likewise.
672 * soft-fp/double.h: Likewise.
673 * soft-fp/eqdf2.c: Likewise.
674 * soft-fp/eqsf2.c: Likewise.
675 * soft-fp/eqtf2.c: Likewise.
676 * soft-fp/extenddftf2.c: Likewise.
677 * soft-fp/extended.h: Likewise.
678 * soft-fp/extendsfdf2.c: Likewise.
679 * soft-fp/extendsftf2.c: Likewise.
680 * soft-fp/extendxftf2.c: Likewise.
681 * soft-fp/fixdfdi.c: Likewise.
682 * soft-fp/fixdfsi.c: Likewise.
683 * soft-fp/fixdfti.c: Likewise.
684 * soft-fp/fixsfdi.c: Likewise.
685 * soft-fp/fixsfsi.c: Likewise.
686 * soft-fp/fixsfti.c: Likewise.
687 * soft-fp/fixtfdi.c: Likewise.
688 * soft-fp/fixtfsi.c: Likewise.
689 * soft-fp/fixtfti.c: Likewise.
690 * soft-fp/fixunsdfdi.c: Likewise.
691 * soft-fp/fixunsdfsi.c: Likewise.
692 * soft-fp/fixunsdfti.c: Likewise.
693 * soft-fp/fixunssfdi.c: Likewise.
694 * soft-fp/fixunssfsi.c: Likewise.
695 * soft-fp/fixunssfti.c: Likewise.
696 * soft-fp/fixunstfdi.c: Likewise.
697 * soft-fp/fixunstfsi.c: Likewise.
698 * soft-fp/fixunstfti.c: Likewise.
699 * soft-fp/floatdidf.c: Likewise.
700 * soft-fp/floatdisf.c: Likewise.
701 * soft-fp/floatditf.c: Likewise.
702 * soft-fp/floatsidf.c: Likewise.
703 * soft-fp/floatsisf.c: Likewise.
704 * soft-fp/floatsitf.c: Likewise.
705 * soft-fp/floattidf.c: Likewise.
706 * soft-fp/floattisf.c: Likewise.
707 * soft-fp/floattitf.c: Likewise.
708 * soft-fp/floatundidf.c: Likewise.
709 * soft-fp/floatundisf.c: Likewise.
710 * soft-fp/floatunsidf.c: Likewise.
711 * soft-fp/floatunsisf.c: Likewise.
712 * soft-fp/floatuntidf.c: Likewise.
713 * soft-fp/floatuntisf.c: Likewise.
714 * soft-fp/floatuntitf.c: Likewise.
715 * soft-fp/fmadf4.c: Likewise.
716 * soft-fp/fmasf4.c: Likewise.
717 * soft-fp/fmatf4.c: Likewise.
718 * soft-fp/gedf2.c: Likewise.
719 * soft-fp/gesf2.c: Likewise.
720 * soft-fp/getf2.c: Likewise.
721 * soft-fp/ledf2.c: Likewise.
722 * soft-fp/lesf2.c: Likewise.
723 * soft-fp/letf2.c: Likewise.
724 * soft-fp/muldf3.c: Likewise.
725 * soft-fp/mulsf3.c: Likewise.
726 * soft-fp/multf3.c: Likewise.
727 * soft-fp/negdf2.c: Likewise.
728 * soft-fp/negsf2.c: Likewise.
729 * soft-fp/negtf2.c: Likewise.
730 * soft-fp/op-1.h: Likewise.
731 * soft-fp/op-2.h: Likewise.
732 * soft-fp/op-4.h: Likewise.
733 * soft-fp/op-8.h: Likewise.
734 * soft-fp/op-common.h: Likewise.
735 * soft-fp/quad.h: Likewise.
736 * soft-fp/single.h: Likewise.
737 * soft-fp/soft-fp.h: Likewise.
738 * soft-fp/sqrtdf2.c: Likewise.
739 * soft-fp/sqrtsf2.c: Likewise.
740 * soft-fp/sqrttf2.c: Likewise.
741 * soft-fp/subdf3.c: Likewise.
742 * soft-fp/subsf3.c: Likewise.
743 * soft-fp/subtf3.c: Likewise.
744 * soft-fp/truncdfsf2.c: Likewise.
745 * soft-fp/trunctfdf2.c: Likewise.
746 * soft-fp/trunctfsf2.c: Likewise.
747 * soft-fp/trunctfxf2.c: Likewise.
748 * soft-fp/unorddf2.c: Likewise.
749 * soft-fp/unordsf2.c: Likewise.
750 * soft-fp/unordtf2.c: Likewise.
752 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
755 * misc/error.c (error_tail): Fix possible buffer overflow.
757 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
760 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
763 2013-10-14 P. J. McDermott <pj@pehjota.net>
766 * elf/ldd.bash.in (try_trace): New function. Delete previous code
767 testing pipefail option.
769 2013-10-12 Joseph Myers <joseph@codesourcery.com>
771 * soft-fp/double.h: Indent preprocessor directives inside #if.
772 * soft-fp/extended.h: Likewise.
773 * soft-fp/op-2.h: Likewise.
774 * soft-fp/op-4.h: Likewise.
775 * soft-fp/op-common.h: Likewise.
776 * soft-fp/quad.h: Likewise.
777 * soft-fp/single.h: Likewise.
778 * soft-fp/soft-fp.h: Likewise.
780 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
782 * iconv/iconv_prog.c: Fix typos.
783 * stdio-common/psiginfo-data.h: Likewise.
785 2013-10-12 Reuben Thomas <rrt@sc3d.org>
788 * locale/setlocale.c: Fix typo.
790 2013-10-12 Joseph Myers <joseph@codesourcery.com>
793 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
794 signaling NaN arguments.
795 * soft-fp/unordsf2.c (__unordsf2): Likewise.
796 * soft-fp/unordtf2.c (__unordtf2): Likewise.
799 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
801 * soft-fp/gesf2.c (__gesf2): Likewise.
802 * soft-fp/getf2.c (__getf2): Likewise.
803 * soft-fp/ledf2.c (__ledf2): Likewise.
804 * soft-fp/lesf2.c (__lesf2): Likewise.
805 * soft-fp/letf2.c (__letf2): Likewise.
807 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
808 * soft-fp/eqsf2.c (__eqsf2): Likewise.
809 * soft-fp/eqtf2.c (__eqtf2): Likewise.
810 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
811 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
812 * soft-fp/fixdfti.c (__fixdfti): Likewise.
813 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
814 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
815 * soft-fp/fixsfti.c (__fixsfti): Likewise.
816 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
817 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
818 * soft-fp/fixtfti.c (__fixtfti): Likewise.
819 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
820 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
821 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
822 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
823 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
824 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
825 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
826 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
827 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
828 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
829 * soft-fp/floatdisf.c (__floatdisf): Likewise.
830 * soft-fp/floatsisf.c (__floatsisf): Likewise.
831 * soft-fp/floattidf.c (__floattidf): Likewise.
832 * soft-fp/floattisf.c (__floattisf): Likewise.
833 * soft-fp/floattitf.c (__floattitf): Likewise.
834 * soft-fp/floatundidf.c (__floatundidf): Likewise.
835 * soft-fp/floatundisf.c (__floatundisf): Likewise.
836 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
837 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
838 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
839 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
840 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
841 * soft-fp/gesf2.c (__gesf2): Likewise.
842 * soft-fp/getf2.c (__getf2): Likewise.
843 * soft-fp/ledf2.c (__ledf2): Likewise.
844 * soft-fp/lesf2.c (__lesf2): Likewise.
845 * soft-fp/letf2.c (__letf2): Likewise.
847 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
848 Undefine and redefine.
849 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
850 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
851 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
852 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
853 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
854 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
855 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
856 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
857 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
858 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
859 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
860 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
861 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
862 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
863 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
866 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
867 without decrementing exponent if mantissa >= that for the
869 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
870 denominator, not >. Decrement exponent in < case instead of
871 incrementing in >= case.
872 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
873 without decrementing exponent if mantissa >= that for the
876 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
877 computing saturated result for unsigned overflow.
879 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
880 Jeff Law <law@redhat.com>
882 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
883 (atan2Mp): Add systemtap probe marker.
884 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
885 (__ieee754_log): Add systemtap probe marker.
886 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
887 (atanMp): Add systemtap probe marker.
888 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
889 (tanMp): Add systemtap probe marker.
890 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
891 (__slowexp): Add systemtap probe marker.
892 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
893 (__slowpow): Add systemtap probe marker.
894 * manual/probes.texi: Document probes.
896 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
899 * libio/fileops.c (_IO_new_file_write): Return count of bytes
901 (_IO_new_file_xsputn): Don't return EOF if nothing has been
903 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
904 written to buffer but not flushed.
905 * libio/iofwrite_u.c: Likewise.
906 * libio/iopadn.c: Return bytes returned even if EOF was
908 * libio/iowpadn.c: Likewise.
909 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
910 if _IO_padn does not write the whole buffer.
911 [!COMPILE_WPRINTF] (PAD): Likewise.
913 2013-10-10 David S. Miller <davem@davemloft.net>
915 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
918 2013-10-10 Joseph Myers <joseph@codesourcery.com>
920 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
921 instead of FSF address.
922 * soft-fp/fixdfti.c: Likewise.
923 * soft-fp/fixsfti.c: Likewise.
924 * soft-fp/fixtfti.c: Likewise.
925 * soft-fp/fixunsdfti.c: Likewise.
926 * soft-fp/fixunssfti.c: Likewise.
927 * soft-fp/fixunstfti.c: Likewise.
928 * soft-fp/floattidf.c: Likewise.
929 * soft-fp/floattisf.c: Likewise.
930 * soft-fp/floattitf.c: Likewise.
931 * soft-fp/floatuntidf.c: Likewise.
932 * soft-fp/floatuntisf.c: Likewise.
933 * soft-fp/floatuntitf.c: Likewise.
934 * soft-fp/trunctfxf2.c: Likewise.
936 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
937 * soft-fp/fixdfti.c: Likewise.
938 * soft-fp/fixsfti.c: Likewise.
939 * soft-fp/fixtfti.c: Likewise.
940 * soft-fp/fixunsdfti.c: Likewise.
941 * soft-fp/fixunssfti.c: Likewise.
942 * soft-fp/fixunstfti.c: Likewise.
943 * soft-fp/floattidf.c: Likewise.
944 * soft-fp/floattisf.c: Likewise.
945 * soft-fp/floattitf.c: Likewise.
946 * soft-fp/floatuntidf.c: Likewise.
947 * soft-fp/floatuntisf.c: Likewise.
948 * soft-fp/floatuntitf.c: Likewise.
949 * soft-fp/trunctfxf2.c: Likewise.
951 2013-10-10 David S. Miller <davem@davemloft.net>
953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
955 2013-10-10 Joseph Myers <joseph@codsourcery.com>
957 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
958 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
959 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
960 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
961 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
962 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
963 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
966 for NaNs before doing comparisons on argument.
967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
970 2013-10-10 Will Newton <will.newton@linaro.org>
972 * malloc/hooks.c (memalign_check): Ensure the value of bytes
973 passed to _int_memalign does not overflow.
975 2013-10-10 Torvald Riegel <triegel@redhat.com>
977 * scripts/bench.pl: Add include-sources directive.
978 * benchtests/README: Update documentation.
980 2013-10-10 Joseph Myers <joseph@codesourcery.com>
982 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
983 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
984 instead of FP_INIT_ROUNDMODE.
985 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
986 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
989 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
990 copy class of input value.
991 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
992 not handle exceptions.
993 * soft-fp/negsf2.c (__negsf2): Likewise.
994 * soft-fp/negtf2.c (__negtf2): Likewise.
995 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
997 2013-10-09 Joseph Myers <joseph@codesourcery.com>
999 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1000 semicolon. From Linux kernel.
1002 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1004 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1006 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1009 * manual/socket.texi: Added statement about buffer
1010 for gethostbyname2_r.
1012 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1014 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1015 Use .p2align directive instead, throughout.
1016 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1017 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1018 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1022 * sysdeps/x86_64/strchr.S: Likewise.
1023 * sysdeps/x86_64/strrchr.S: Likewise.
1025 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1027 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1029 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1031 * sysdeps/generic/math_private.h (__mpsin1): Remove
1033 (__mpcos1): Likewise.
1034 (__mpsin): New argument __range_reduce.
1035 (__mpcos): Likewise.
1036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1037 (slow): Use __mpsin and __mpcos.
1044 (bsloww1): Likewise.
1045 (bsloww2): Likewise.
1048 (csloww1): Likewise.
1049 (csloww2): Likewise.
1050 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1051 range_reduce. Merge in __mpsin1.
1052 (__mpcos): Likewise.
1054 (__mpcos1): Likewise.
1056 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1058 * locale/loadlocale.c (_nl_intern_locale_data): Use
1060 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1061 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1062 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1063 obstack data is appropriately aligned.
1064 (obstack_int32_grow_fast): Likewise.
1065 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1066 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1067 (add_locale_uint32_array): Likewise.
1069 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1071 * benchtests/Makefile: Remove ARGLIST and RET variables.
1072 ($(objpfx)bench-%.c): Pass only function name to the script.
1073 * benchtests/README: Update documentation.
1074 * benchtests/acos-inputs: Add new directives.
1075 * benchtests/acosh-inputs: Likewise.
1076 * benchtests/asin-inputs: Likewise.
1077 * benchtests/asinh-inputs: Likewise.
1078 * benchtests/atan-inputs: Likewise.
1079 * benchtests/atanh-inputs: Likewise.
1080 * benchtests/cos-inputs: Likewise.
1081 * benchtests/cosh-inputs: Likewise.
1082 * benchtests/exp-inputs: Likewise.
1083 * benchtests/log-inputs: Likewise.
1084 * benchtests/pow-inputs: Likewise.
1085 * benchtests/rint-inputs: Likewise.
1086 * benchtests/sin-inputs: Likewise.
1087 * benchtests/sinh-inputs: Likewise.
1088 * benchtests/tan-inputs: Likewise.
1089 * benchtests/tanh-inputs: Likewise.
1090 * scripts/bench.pl: Add support for new directives.
1092 2013-10-07 Alan Modra <amodra@gmail.com>
1094 * README: Fix careless merge.
1096 2013-10-05 Alan Modra <amodra@gmail.com>
1098 * NEWS: Mention powerpc64le support and bugs fixed.
1099 * README: Both big-endian and little-endian powerpc64 supported.
1101 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1103 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1104 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1105 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1106 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1108 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1110 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1113 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1115 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1116 Move -mhard-float appending from
1117 ports/sysdeps/powerpc/powerpc32/Makefile.
1118 [$(with-fp) = yes] (ASFLAGS): Likewise.
1119 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1120 * sysdeps/powerpc/nofpu: Move directory from
1121 ports/sysdeps/powerpc/nofpu.
1122 * sysdeps/powerpc/soft-fp: Move directory from
1123 ports/sysdeps/powerpc/soft-fp.
1124 * sysdeps/powerpc/powerpc32/405: Move directory from
1125 ports/sysdeps/powerpc/powerpc32/405.
1126 * sysdeps/powerpc/powerpc32/440: Move directory from
1127 ports/sysdeps/powerpc/powerpc32/440.
1128 * sysdeps/powerpc/powerpc32/464: Move directory from
1129 ports/sysdeps/powerpc/powerpc32/464.
1130 * sysdeps/powerpc/powerpc32/476: Move directory from
1131 ports/sysdeps/powerpc/powerpc32/476.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1141 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1142 * README: Update for powerpc-*-linux-gnu software floating point
1145 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1146 case to powerpc/powerpc32*.
1147 * sysdeps/unix/sysv/linux/configure: Regenerated.
1149 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1150 (_FPU_MASK_OM): Define as 0x04.
1151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1159 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1162 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1165 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1166 and setcontext_e500.
1168 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1170 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1172 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1174 * manual/threads.texi (Default Thread Attributes): Fix typo.
1176 2013-10-04 Will Newton <will.newton@linaro.org>
1178 * malloc/Makefile: Add tst-memalign.
1179 * malloc/tst-memalign.c: New file.
1181 * malloc/tst-posix_memalign.c: Add comments.
1182 (do_test): Add comments and call free on all potentially
1183 allocated pointers. Add space after cast.
1185 * malloc/tst-pvalloc.c: Add comments.
1186 (do_test): Add comments and call free on all potentially
1187 allocated pointers. Remove duplicate check for NULL pointer.
1188 Add space after cast.
1190 * malloc/tst-valloc.c: Add comments.
1191 (do_test): Add comments and call free on all potentially
1192 allocated pointers. Remove duplicate check for NULL pointer.
1193 Add space after cast.
1195 2013-10-04 Alan Modra <amodra@gmail.com>
1197 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1198 Use stdint types in rather than __attribute__((mode())).
1199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1201 2013-10-04 Alan Modra <amodra@gmail.com>
1203 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1204 Correct handling of unaligned relocs for little-endian.
1205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1207 2013-10-04 Alan Modra <amodra@gmail.com>
1209 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1210 * configure: Regenerate.
1211 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1212 * shlib-versions: Likewise.
1214 2013-10-04 Alan Modra <amodra@gmail.com>
1216 * string/tester.c (test_memrchr): Increment reported test cycle.
1218 2013-10-04 Alan Modra <amodra@gmail.com>
1220 * string/test-memcpy.c (do_one_test): When reporting errors, print
1221 string address and don't overrun end of string.
1223 2013-10-04 Alan Modra <amodra@gmail.com>
1225 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1226 insrdi. Make better use of reg selection to speed exit slightly.
1227 Schedule entry path a little better. Remove useless "are we done"
1228 checks on entry to main loop. Handle wrapping around zero address.
1229 Correct main loop count. Handle single left-over word from main
1230 loop inline rather than by using loop_small. Remove extra word
1231 case in loop_small caused by wrong loop count. Add little-endian
1233 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1236 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1237 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1238 support. Avoid rlwimi.
1239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1241 2013-10-04 Alan Modra <amodra@gmail.com>
1243 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1245 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1249 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1250 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1252 2013-10-04 Alan Modra <amodra@gmail.com>
1254 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1255 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1257 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1263 use of regs. Use power7 mtocrf. Tidy function tails.
1265 2013-10-04 Alan Modra <amodra@gmail.com>
1267 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1268 Formatting. Consistently use rXXX register defines or rN defines.
1269 Use early exit labels that avoid restoring unused non-volatile regs.
1270 Make cr field use more consistent with rWORDn compares. Rename
1271 regs used as shift registers for unaligned loop, using rN defines
1272 for short lifetime/multiple use regs.
1273 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1275 addi 1,1,64 to pop stack frame. Simplify return value code.
1276 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1278 2013-10-04 Alan Modra <amodra@gmail.com>
1280 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1281 support. Correct typos, formatting. Optimize tail. Use insrdi
1283 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1285 little-endian support. Correct typos.
1286 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1288 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1289 in loop and entry code to keep "and." results.
1290 (strchr): Add little-endian support. Comment. Move cntlzd
1292 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1294 2013-10-04 Alan Modra <amodra@gmail.com>
1296 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1297 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1299 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1301 2013-10-04 Alan Modra <amodra@gmail.com>
1303 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1304 (rTMP): Define as r11.
1305 (strcmp): Add little-endian support. Optimise tail.
1306 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1307 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1309 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1314 2013-10-04 Alan Modra <amodra@gmail.com>
1316 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1317 little-endian support. Remove unnecessary "are we done" tests.
1318 Handle "s" wrapping around zero and extremely large "size".
1319 Correct main loop count. Handle single left-over word from main
1320 loop inline rather than by using small_loop. Correct comments.
1321 Delete "zero" tail, use "end_max" instead.
1322 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1324 2013-10-04 Alan Modra <amodra@gmail.com>
1326 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1327 support. Don't branch over align.
1328 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1329 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1330 support. Rearrange tmp reg use to suit. Comment.
1331 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1333 2013-10-04 Alan Modra <amodra@gmail.com>
1335 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1337 2013-10-04 Alan Modra <amodra@gmail.com>
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1340 conditional form of branch and link when obtaining pc.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1343 2013-10-04 Alan Modra <amodra@gmail.com>
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1350 2013-10-04 Alan Modra <amodra@gmail.com>
1352 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1353 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1354 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1355 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1356 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1357 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1358 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1359 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1360 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1361 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1363 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1364 Alistair Popple <alistair@ozlabs.au.ibm.com>
1365 Alan Modra <amodra@gmail.com>
1368 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1369 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1370 _dl_hwcap access for little-endian.
1371 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1372 destroy vmx regs when saving unaligned.
1373 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1374 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1375 destroy vmx regs when saving unaligned.
1377 2013-10-04 Alan Modra <amodra@gmail.com>
1379 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1380 Don't use a union to pack hi/low value.
1382 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1384 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1386 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1389 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1390 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1392 2013-10-04 Alan Modra <amodra@gmail.com>
1394 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1395 constants to usual value for .cst8 section, and remove redundant
1397 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1398 constant for 0x1p52. Load little-endian words of double from
1399 correct stack offsets.
1401 2013-10-04 Alan Modra <amodra@gmail.com>
1403 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1404 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1405 words of double from correct stack offsets.
1406 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1407 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1408 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1411 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1413 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1414 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1418 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1420 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1421 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1422 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1424 2013-10-04 Alan Modra <amodra@gmail.com>
1426 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1427 64-bit int/double union.
1428 (_FPU_SETCW): Likewise.
1429 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1430 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1432 2013-10-04 Alan Modra <amodra@gmail.com>
1434 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1435 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1437 2013-10-04 Alan Modra <amodra@gmail.com>
1439 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1440 use vector int constants.
1441 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1443 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1445 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1446 array with long long.
1447 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1448 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1449 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1450 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1451 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1452 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1453 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1454 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1455 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1456 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1457 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1458 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1461 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1463 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1464 (__signbit): Likewise. Correct for little-endian.
1465 (__signbitl): Call __signbit.
1466 (lrint): Correct for little-endian.
1467 (lrintf): Call lrint.
1469 2013-10-04 Alan Modra <amodra@gmail.com>
1471 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1472 union 32-bit int array member with 64-bit int array.
1473 (t515, tm256): Double rather than long double.
1474 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1476 2013-10-04 Alan Modra <amodra@gmail.com>
1478 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1480 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1482 version of math_ldbl.h.
1484 2013-10-04 Alan Modra <amodra@gmail.com>
1486 [BZ #15734], [BZ #15735]
1487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1488 all uses of ieee875 long double macros and unions. Simplify test
1489 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1490 ldbl_extract_mantissa value for ix,iy exponents. Properly
1491 normalize after ldbl_extract_mantissa, and don't add hidden bit
1492 already handled. Don't treat low word of ieee854 mantissa like
1493 low word of IBM long double and mask off bit when testing for
1495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1496 all uses of ieee875 long double macros and unions. Simplify tests
1497 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1498 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1499 two1022, instead use their values. Recognise that tests for large
1500 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1501 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1502 Rewrite all uses of ieee875 long double macros and unions. Simplify
1503 test for 0.0L and nan. Correct negation.
1504 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1505 ieee875 long double macros and unions. Correct output for large
1506 magnitude x. Correct absolute value calculation.
1507 (__erfcl): Likewise.
1508 * math/libm-test.inc: Add tests for errors discovered in IBM long
1509 double versions of fmodl, remainderl, erfl and erfcl.
1511 2013-10-04 Alan Modra <amodra@gmail.com>
1513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1514 all uses of ieee854 long double macros and unions. Simplify tests
1515 for long doubles that are fully specified by the high double.
1516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1518 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1519 Remove dead code too.
1520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1521 (__ieee754_ynl): Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1525 Remove dead code too.
1526 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1531 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1533 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1534 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1536 Comment on variable precision.
1537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1540 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1546 2013-10-04 Alan Modra <amodra@gmail.com>
1548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1550 all uses of ieee854 long double macros and unions.
1551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1559 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1560 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1561 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1562 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1563 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1564 Simplify sign and nan test too.
1565 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1566 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1567 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1568 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1570 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1571 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1574 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1575 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1580 2013-10-04 Alan Modra <amodra@gmail.com>
1582 * stdio-common/printf_size.c (__printf_size): Don't use
1583 union ieee854_long_double in fpnum union.
1584 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1585 signbit macro to retrieve sign from long double.
1586 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1587 retrieve sign from long double.
1588 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1589 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1590 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1591 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1592 * math/test-misc.c (main): Don't use union ieee854_long_double.
1594 2013-10-04 Alan Modra <amodra@gmail.com>
1597 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1598 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1599 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1600 calculation. Remove unnecessary test for denormal exponent.
1601 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1602 Correct handling of denormals. Avoid undefined shift behaviour.
1603 Correct normalisation of low mantissa when low double is denormal.
1604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1605 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1606 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1607 Correct normalisation of low mantissa. Test for overflow of high
1608 mantissa and normalise.
1609 (ldbl_nearbyint): Use more readable constant for two52.
1610 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1611 (__mpn_construct_long_double): Fix test for overflow of high
1612 mantissa and correct normalisation. Avoid undefined shift.
1614 2013-10-04 Alan Modra <amodra@gmail.com>
1616 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1617 (union ibm_extended_long_double): Define as an array of ieee754_double.
1618 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1619 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1620 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1621 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1630 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1632 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1633 page size instead of calling getpagesize.
1635 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1636 (LOCFILE_ALIGN_MASK): Likewise.
1637 (LOCFILE_ALIGN_UP): Likewise.
1638 (LOCFILE_ALIGNED_P): Likewise.
1639 * locale/programs/ld-collate.c (collate_output): Use the new
1640 macros instead of __alignof__ (int32_t).
1641 * locale/weight.h (findidx): Likewise.
1643 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1646 * manual/string.texi: Fix strncat and wcsncat.
1648 2013-10-03 Brooks Moses <bmoses@google.com>
1651 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1652 * Makerules: ...here, and adjust associated comments.
1654 2013-10-02 Will Newton <will.newton@linaro.org>
1656 * malloc/Makefile: Add tst-pvalloc.
1657 * malloc/tst-pvalloc.c: New file.
1659 2013-10-02 Will Newton <will.newton@linaro.org>
1661 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1662 improve test coverage.
1664 2013-10-02 Will Newton <will.newton@linaro.org>
1666 * malloc/Makefile: Add tst-posix_memalign.
1667 * malloc/tst-posix_memalign.c: New file.
1669 2013-10-01 Eric Blake <eblake@redhat.com>
1671 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1672 Use __THROWNL rather than __THROW on static functions.
1674 2013-09-30 Petr Machata <pmachata@redhat.com>
1676 * elf/elf.h (R_AARCH64_ABS16): New macro.
1677 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1678 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1679 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1680 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1681 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1682 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1683 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1684 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1685 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1686 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1687 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1688 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1689 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1690 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1691 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1692 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1693 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1694 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1695 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1696 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1697 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1698 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1699 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1700 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1701 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1702 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1703 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1704 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1705 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1706 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1707 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1708 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1709 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1710 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1711 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1712 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1713 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1714 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1715 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1716 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1717 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1718 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1719 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1720 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1721 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1722 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1723 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1724 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1725 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1726 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1727 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1728 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1729 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1730 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1731 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1732 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1733 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1734 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1735 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1736 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1737 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1738 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1739 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1740 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1741 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1742 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1743 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1744 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1745 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1746 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1747 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1748 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1749 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1750 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1751 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1752 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1753 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1754 (R_AARCH64_TLSDESC_LDR): Likewise.
1755 (R_AARCH64_TLSDESC_ADD): Likewise.
1756 (R_AARCH64_TLSDESC_CALL): Likewise.
1758 2013-09-30 Andreas Schwab <schwab@suse.de>
1761 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1762 the nss database lookup.
1763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1766 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1768 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1770 2013-09-28 P. J. McDermott <pj@pehjota.net>
1772 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1773 ${Bash-specific parameter/pattern/string} parameter expansion.
1774 * sysdeps/unix/make-syscalls.sh: Likewise.
1776 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1778 * sysdeps/sh/stackguard-macros.h: New file.
1780 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1784 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1785 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1786 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1787 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1789 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1792 Fix thread ID register.
1794 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1796 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1797 [POSIX || UNIX98]: Require rather than permitting all symbols from
1799 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1800 element of struct sched_param.
1801 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1802 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1803 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1804 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1807 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1809 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1810 argument calculation.
1812 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1814 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1816 [POSIX] (pthread_attr_t): Do not require type.
1817 [POSIX] (pthread_cond_t): Likewise.
1818 [POSIX] (pthread_condattr_t): Likewise.
1819 [POSIX] (pthread_key_t): Likewise.
1820 [POSIX] (pthread_mutex_t): Likewise.
1821 [POSIX] (pthread_mutexattr_t): Likewise.
1822 [POSIX] (pthread_once_t): Likewise.
1823 [POSIX] (pthread_t): Likewise.
1824 [POSIX-based standards] (pthread_atfork): Expect function.
1826 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1827 Richard Sandiford <richard@codesourcery.com>
1829 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1830 (swap_endianness_p): New extern variable.
1831 (set_big_endian): New inline function.
1832 (maybe_swap_uint32): Likewise.
1833 (maybe_swap_uint32_array): Likewise.
1834 (maybe_swap_uint32_obstack): Likewise.
1835 * locale/programs/locfile.c: Include <stdbool.h>.
1836 (swap_endianness_p): New variable.
1837 (add_locale_uint32): Call maybe_swap_uint32.
1838 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1839 (write_locale_data): Call maybe_swap_uint32_array.
1840 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1842 (obstack_int32_grow_fast): Likewise.
1843 (output_weightwc): Call maybe_swap_uint32_obstack.
1844 (collate_output): Likewise.
1845 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1846 (OPT_LITTLE_ENDIAN): Likewise.
1847 (options): Add --little-endian and --big-endian options.
1848 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1849 * locale/programs/locarchive.c: Include "locfile.h".
1853 (create_archive): Use the new macros to access fields of
1854 structures directly mapped from or written to locale archives.
1855 (oldlocrecentcmp): Likewise.
1856 (enlarge_archive): Likewise.
1857 (insert_name): Likewise.
1858 (add_alias): Likewise.
1859 (add_locale): Likewise.
1860 (delete_locales_from_archive): Likewise.
1861 (show_archive_content): Likewise.
1862 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1865 2013-09-24 Roland McGrath <roland@hack.frob.com>
1867 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1868 http://www.gnu.org/doc/freemanuals.texi.
1869 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1871 2013-09-24 Will Newton <will.newton@linaro.org>
1873 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1876 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1878 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1881 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1883 * manual/threads.texi (POSIX Threads): Fix a typo.
1885 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1888 * string/tst-strcoll-overflow.c: New test case.
1889 * string/Makefile (xtests): Add tst-strcoll-overflow.
1890 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1891 cache if string sizes may cause integer overflow.
1894 * string/strcoll_l.c (coll_seq): New members rule, idx,
1895 save_idx and back_us.
1896 (get_next_seq_nocache): New function.
1897 (do_compare_nocache): New function.
1898 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1901 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1904 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1905 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1906 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1909 * elf/Makefile (tests): Add tst-ptrguard1.
1910 (tests-static): Add tst-ptrguard1-static.
1911 (tst-ptrguard1-ARGS): Define.
1912 (tst-ptrguard1-static-ARGS): Define.
1913 * elf/tst-ptrguard1.c: New file.
1914 * elf/tst-ptrguard1-static.c: New file.
1915 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1916 * sysdeps/i386/stackguard-macros.h: Likewise.
1917 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1918 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1919 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1920 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1921 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1922 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1924 2013-09-23 Hector Marco <hecmargi@upv.es>
1925 Ismael Ripoll <iripoll@disca.upv.es>
1926 Carlos O'Donell <carlos@redhat.com>
1929 * sysdeps/generic/stackguard-macros.h: Define
1930 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1931 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1932 Define __pointer_chk_guard_local.
1933 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1934 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1936 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1939 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1941 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1943 * include/string.h (__ffs): Declare as hidden.
1944 * string/ffs.c (__ffs): Define as hidden.
1945 * sysdeps/i386/ffs.c (__ffs): Likewise.
1946 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1947 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1948 * sysdeps/s390/ffs.c (__ffs): Likewise.
1949 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1951 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1953 * NEWS: Mention malloc probes.
1955 * malloc/arena.c (new_heap): New memory_heap_new probe.
1956 (grow_heap): New memory_heap_more probe.
1957 (shrink_heap): New memory_heap_less probe.
1958 (heap_trim): New memory_heap_free probe.
1959 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1960 (systrim): New memory_sbrk_less probe.
1961 * manual/probes.texi: Document them.
1963 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1964 * manual/probes.texi: Document it.
1966 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1967 (__libc_realloc): Add memory_realloc_retry probe.
1968 (__libc_memalign): Add memory_memalign_retry probe.
1969 (__libc_valloc): Add memory_valloc_retry probe.
1970 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1971 (__libc_calloc): Add memory_calloc_retry probe.
1972 * manual/probes.texi: Document them.
1974 * malloc/arena.c (get_free_list): Add probe
1975 memory_arena_reuse_free_list.
1976 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1977 and memory_arena_reuse.
1978 (arena_get2) [!PER_THREAD]: Likewise.
1979 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1980 memory_arena_reuse_realloc.
1981 * manual/probes.texi: Document them.
1983 * malloc/malloc.c (__libc_free): Add
1984 memory_mallopt_free_dyn_thresholds probe.
1985 (__libc_mallopt): Add multiple memory_mallopt probes.
1986 * manual/probes.texi: Document them.
1988 * malloc/malloc.c: Include stap-probe.h.
1989 (__libc_mallopt): Add memory_mallopt probe.
1990 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1991 * manual/probes.texi: New.
1992 * manual/Makefile (chapters): Add probes.
1993 * manual/threads.texi: Set next node.
1995 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1998 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1999 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2000 Add `Chinese' to `nan' entry name.
2002 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2004 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2005 (POLYNOMIAL): Likewise.
2006 (TAYLOR_SINCOS): Likewise.
2007 (TAYLOR_SLOW): Likewise.
2008 (__sin): Use TAYLOR_SINCOS.
2010 (slow): Use TAYLOR_SLOW.
2015 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2017 * stdlib/strtod_l.c: Fix buffer overrun.
2019 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2021 * benchtests/Makefile (bench): Add sincos.
2022 * benchtests/bench-sincos.c: New file.
2024 * math/libm-test.inc (cos_test_data): New test inputs.
2025 (sin_test_data): Likewise.
2027 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2035 (bsloww1): Likewise.
2036 (bsloww2): Likewise.
2038 (csloww1): Likewise.
2039 (csloww2): Likewise.
2041 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2050 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2052 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2053 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2054 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2055 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2056 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2057 * elf/cache.c (print_entry): Handle the new cache flags.
2059 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2060 Aldy Hernandez <aldyh@redhat.com>
2062 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2063 Change condition to [_SOFT_FLOAT].
2064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2076 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2079 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2082 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2084 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2085 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2086 (__longjmp): Use LOAD_GP to load saved GPRs.
2087 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2088 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2089 (__sigsetjmp): Use SAVE_GP to save GPRs.
2091 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2092 Do not append -msoft-float.
2093 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2095 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2097 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2099 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2102 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2103 (_FPU_GETCW): Use initial "__" on variable and field names but not
2104 on macro parameter name.
2105 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2106 parentheses around reference to macro parameter.
2108 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2110 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2112 (ctype_startup): Use uint32_t in cast and sizeof for
2115 2013-09-11 Jia Liu <proljc@gmail.com>
2117 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2119 [__FreeBSD__]: Likewise.
2121 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2124 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2125 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2126 (strchr): Remove __strchr_sse42 ifunc selection.
2127 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2128 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2130 2013-09-11 Will Newton <will.newton@linaro.org>
2132 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2133 parameter to RES. Remove hardcoded 1000 value.
2134 * benchtests/bench-skeleton.c (main): Pass RES parameter
2135 to TIMING_INIT and multiply result by 1000.
2137 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2141 2013-09-11 Andreas Schwab <schwab@suse.de>
2143 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2145 (O_TMPFILE) [__USE_GNU]: Define.
2146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2149 2013-09-11 Will Newton <will.newton@linaro.org>
2152 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2155 2013-09-11 Will Newton <will.newton@linaro.org>
2158 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2161 2013-09-11 Will Newton <will.newton@linaro.org>
2164 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2167 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2169 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2170 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2172 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2175 2013-09-10 Allan McRae <allan@archlinux.org>
2178 * manual/arith.texi (Parsing of Floats): Clarify
2182 * manual/install.texi (Running make install): Mention
2184 * INSTALL: Regenerated.
2186 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2188 * csu/init-first.c (_init): Remove the !SHARED condition around
2189 FPU control word initialization.
2190 * elf/dl-support.c (_dl_fpu_control): New variable.
2191 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2192 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2193 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2194 * math/test-fpucw-static.c: New file.
2195 * math/test-fpucw-ieee.c: New file.
2196 * math/test-fpucw-ieee-static.c: New file.
2197 * math/Makefile (tests): Add `test-fpucw-ieee' and
2199 (tests-static): New variable.
2200 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2202 [($(build-shared),yes)]
2203 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2205 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2208 2013-09-09 Allan McRae <allan@archlinux.org>
2211 * manual/string.texi (Collation Functions): Fix typo in
2213 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2216 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2219 * libio/memstream.c (open_memstream): Fix memory leak.
2220 * libio/wmemstream.c (open_wmemstream): Likewise.
2223 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2225 2013-09-09 Will Newton <will.newton@linaro.org>
2227 * malloc/Makefile: Add tst-realloc to tests.
2228 * malloc/tst-realloc.c: New file.
2230 2013-09-09 Allan McRae <allan@archlinux.org>
2233 * COPYING: Update from GNU website to fix FSF address.
2234 * COPYING.LIB: Likewise.
2236 2013-09-06 David S. Miller <davem@davemloft.net>
2238 * po/zh_TW.po: Update Chinese (traditional) translation from
2239 translation project.
2241 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2242 Joseph Myers <joseph@codesourcery.com>
2244 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2246 (obstack_chunk_alloc): New macro.
2247 (obstack_chunk_free): Likewise.
2248 (record_offset): New function.
2249 (init_locale_data): Likewise.
2250 (align_locale_data): Likewise.
2251 (add_locale_empty): Likewise.
2252 (add_locale_raw_data): Likewise.
2253 (add_locale_raw_obstack): Likewise.
2254 (add_locale_string): Likewise.
2255 (add_locale_wstring): Likewise.
2256 (add_locale_uint32): Likewise.
2257 (add_locale_uint32_array): Likewise.
2258 (add_locale_char): Likewise.
2259 (start_locale_structure): Likewise.
2260 (end_locale_structure): Likewise.
2261 (start_locale_prelude): Likewise.
2262 (end_locale_prelude): Likewise.
2263 (write_locale_data): Take locale_file structure rather than an
2265 * locale/programs/locfile.h: Include "obstack.h".
2266 (struct locale_file): Change to store locale file contents instead
2268 (init_locale_data): New prototype.
2269 (align_locale_data): Likewise.
2270 (add_locale_empty): Likewise.
2271 (add_locale_raw_data): Likewise.
2272 (add_locale_raw_obstack): Likewise.
2273 (add_locale_string): Likewise.
2274 (add_locale_wstring): Likewise.
2275 (add_locale_uint32): Likewise.
2276 (add_locale_uint32_array): Likewise.
2277 (add_locale_char): Likewise.
2278 (start_locale_structure): Likewise.
2279 (end_locale_structure): Likewise.
2280 (start_locale_prelude): Likewise.
2281 (end_locale_prelude): Likewise.
2282 (write_locale_data): Update prototype.
2283 * locale/programs/3level.h (struct TABLE): Remove result field.
2284 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2285 Use new locale_file interface.
2286 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2287 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2288 * locale/programs/ld-address.c (address_output): Use new
2289 locale_file interface.
2290 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2292 (collate_finish): Don't call collseq_table_finalize.
2293 (collate_output): Use new locale_file interface.
2294 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2296 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2297 (TABLE): Move defines earlier in file.
2298 (ELEMENT): Likewise.
2299 (DEFAULT): Likewise.
2300 (wctrans_table_add): Move macro and inline function earlier in
2302 (struct wctype_table): Move type earlier in file.
2303 (add_locale_wctype_table): New static prototype.
2304 (struct locale_ctype_t): Use logical types instead of struct iovec
2305 pointers for members.
2306 (ctype_output): Use new locale_file interface.
2307 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2308 new locale_file interface.
2309 (allocate_arrays): Update for use of new locale_file interface.
2310 * locale/programs/ld-identification.c (identification_output): Use
2311 new locale_file interface.
2312 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2313 * locale/programs/ld-messages.c (messages_output): Likewise.
2314 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2315 * locale/programs/ld-name.c (name_output): Likewise.
2316 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2317 * locale/programs/ld-paper.c (paper_output): Likewise.
2318 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2319 * locale/programs/ld-time.c (time_output): Likewise.
2321 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323 * benchtests/Makefile: Add memrchr benchmark.
2324 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2325 benchmark as memrchr.
2326 * benchtests/bench-memrchr-ifunc.c: New file.
2327 * benchtests/bench-memrchr.c: New file.
2329 2013-09-06 Will Newton <will.newton@linaro.org>
2331 * benchtests/Makefile (string-bench): Add memcpy.
2333 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2334 Cong Wang <amwang@redhat.com>
2336 * sysdeps/unix/sysv/linux/bits/in.h
2337 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2338 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2339 before __USE_KERNEL_IPV6_DEFS uses.
2340 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2342 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2343 sockaddr_in6, or ipv6_mreq.
2345 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2347 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2348 memory access for final bytes in some large inputs.
2349 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2351 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2353 * string/test-memrchr.c: New file.
2354 * string/test-memrchr-ifunc.c: New file.
2355 * string/Makefile: Add new memrchr testcase.
2357 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2359 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2360 fanotify_init returns EPERM.
2362 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2364 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2366 (top level): Treat second token from macro or constant entries for
2367 allowed headers as allowed.
2368 * include/complex.h: Condition internal declarations on
2370 * include/fenv.h: Condition include of <stdbool.h> and internal
2371 declarations on [!_ISOMAC].
2373 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2376 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2378 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2380 * configure.in (--enable-versioning): Remove configure option.
2381 (libc_cv_asm_symver_directive): Remove configure test.
2382 (libc_cv_ld_version_script_option): Likewise.
2383 (VERSIONING): Remove variable and AC_SUBST.
2384 (DO_VERSIONING): Remove AC_DEFINE.
2385 * configure: Regenerated.
2386 * config.h.in (DO_VERSIONING): Remove macro.
2387 * Makerules [$(versioning) = yes]: Change conditionals to
2388 [$(build-shared) = yes].
2389 * config.make.in (versioning): Remove variable.
2390 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2391 [$(build-shared) = yes].
2392 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2393 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2394 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2395 [$(build-shared) = yes].
2396 * extra-lib.mk [$(versioning) = yes]: Likewise.
2397 * hurd/Makefile [$(versioning) = yes]: Likewise.
2398 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2400 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2402 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2403 [SHARED && !NO_HIDDEN].
2404 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2406 [SHARED && DO_VERSIONING]: Likewise..
2407 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2408 [$(build-shared) = yes].
2409 * manual/install.texi (--disable-versioning): Remove
2411 * INSTALL: Regenerated.
2412 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2414 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2415 [$(build-shared) = yes].
2416 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2417 * sysdeps/i386/i686/multiarch/strstr-c.c
2418 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2419 [SHARED && !NO_HIDDEN].
2420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2421 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2422 * sysdeps/powerpc/powerpc32/dl-machine.c
2423 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2424 * sysdeps/powerpc/powerpc32/sysdep.h
2425 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2426 to [SHARED && PIC && !NO_HIDDEN].
2427 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2428 conditional to [SHARED].
2430 2013-09-04 Will Newton <will.newton@linaro.org>
2432 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2433 * benchtests/bench-string.h: Include bench-timing.h instead
2434 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2435 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2436 call to HP_TIMING_DIFF_INIT.
2437 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2438 instead of hp-timing.h macros.
2439 * benchtests/bench-memchr.c: Likewise.
2440 * benchtests/bench-memcmp.c: Likewise.
2441 * benchtests/bench-memcpy.c: Likewise.
2442 * benchtests/bench-memmem.c: Likewise.
2443 * benchtests/bench-memmove.c: Likewise.
2444 * benchtests/bench-memset.c: Likewise.
2445 * benchtests/bench-rawmemchr.c: Likewise.
2446 * benchtests/bench-strcasecmp.c: Likewise.
2447 * benchtests/bench-strcasestr.c: Likewise.
2448 * benchtests/bench-strcat.c: Likewise.
2449 * benchtests/bench-strchr.c: Likewise.
2450 * benchtests/bench-strcmp.c: Likewise.
2451 * benchtests/bench-strcpy.c: Likewise.
2452 * benchtests/bench-strcpy_chk.c: Likewise.
2453 * benchtests/bench-strlen.c: Likewise.
2454 * benchtests/bench-strncasecmp.c: Likewise.
2455 * benchtests/bench-strncat.c: Likewise.
2456 * benchtests/bench-strncmp.c: Likewise.
2457 * benchtests/bench-strncpy.c: Likewise.
2458 * benchtests/bench-strnlen.c: Likewise.
2459 * benchtests/bench-strpbrk.c: Likewise.
2460 * benchtests/bench-strrchr.c: Likewise.
2461 * benchtests/bench-strspn.c: Likewise.
2462 * benchtests/bench-strstr.c: Likewise.
2464 2013-09-04 Will Newton <will.newton@linaro.org>
2466 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2468 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2471 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2472 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2473 * math/libm-test.inc (lgamma_test_data): Add more tests.
2474 * sysdeps/i386/fpu/libm-test-ulps: Update.
2475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2477 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2479 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2483 Add strcmp-sse2-unaligned
2484 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2486 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2488 * Versions.def (libc): Add GLIBC_2.19.
2490 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2492 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2493 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2495 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2498 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2499 intermediate calculations in recurrence.
2500 (__ieee754_ynf): Likewise.
2501 * math/libm-test.inc (jn_test_data): Do not allow spurious
2502 underflow exception. Add more tests.
2503 (yn_test_data): Add more tests.
2504 * sysdeps/i386/fpu/libm-test-ulps: Update.
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2507 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2509 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2511 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2513 * csu/init-first.c: Fix then/than typos.
2514 * locale/programs/ld-collate.c: Likewise.
2515 * locale/programs/linereader.h: Likewise.
2516 * manual/charset.texi: Likewise.
2517 * manual/filesys.texi: Likewise.
2518 * manual/stdio.texi: Likewise.
2519 * manual/string.texi: Likewise.
2520 * stdlib/fmtmsg.c: Likewise.
2521 * sysdeps/i386/stpncpy.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2527 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2529 * elf/dl-open.c: Fix typos.
2530 * iconvdata/gbbig5.c: Likewise.
2531 * iconvdata/iso-2022-jp.c: Likewise.
2532 * iconv/gconv_int.h: Likewise.
2533 * iconv/loop.c: Likewise.
2534 * nis/rpcsvc/nis.h: Likewise.
2535 * resolv/ns_name.c: Likewise.
2536 * stdio-common/vfscanf.c: Likewise.
2537 * streams/stropts.h: Likewise.
2538 * sunrpc/rpc_thread.c: Likewise.
2539 * sysdeps/i386/strpbrk.S: Likewise.
2540 * sysdeps/ieee754/k_standard.c: Likewise.
2541 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2543 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2544 * sysdeps/mach/hurd/profil.c: Likewise.
2545 * sysdeps/s390/dl-procinfo.h: Likewise.
2546 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2547 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2548 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2549 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2552 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2554 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2557 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2559 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2562 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2563 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2564 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2565 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2566 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2567 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2570 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2571 Roland McGrath <roland@hack.frob.com>
2573 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2574 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2576 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2578 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2579 __executable_start symbol instead of _start.
2581 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2583 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2584 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2586 * sysdeps/gnu/ldsodefs.h: ... this new file.
2588 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2589 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2590 instead of ELFOSABI_LINUX.
2592 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2593 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2594 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2595 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2597 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2598 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2599 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2601 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2602 (ibm_extended_long_double): Add ieee_nan member.
2603 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2604 (do_test): New function.
2606 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2608 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2609 functions, renamed from truncdfsf_test, trunctfsf_test,
2611 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2613 (do_test): Run all these.
2615 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2617 * argp/argp-help.c: Fix typos.
2618 * argp/argp-parse.c: Likewise.
2619 * debug/backtracesyms.c: Likewise.
2620 * elf/elf.h: Likewise.
2621 * malloc/malloc.c: Likewise.
2622 * nis/nis_print.c: Likewise.
2623 * resolv/res_comp.c: Likewise.
2624 * stdlib/stdlib.h: Likewise.
2625 * sunrpc/clnt_tcp.c: Likewise.
2626 * sunrpc/clnt_udp.c: Likewise.
2627 * sunrpc/clnt_unix.c: Likewise.
2628 * sysdeps/unix/bsd/ptsname.c: Likewise.
2629 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2637 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2639 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2641 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2644 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2647 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2648 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2649 ($(objpfx)bug-dl-leaf): New rule.
2650 ($(objpfx)bug-dl-leaf.so): Likewise.
2651 ($(objpfx)bug-dl-leaf.out): Likewise.
2652 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2653 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2654 * dlfcn/bug-dl-leaf.c: New test.
2655 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2656 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2657 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2658 (dlclose): Likewise.
2659 (dlmopen): Likewise.
2661 2013-08-27 Roland McGrath <roland@hack.frob.com>
2663 * include/netdb.h [!_ISOMAC]:
2664 Don't include <tls.h>.
2665 (h_errno, __libc_h_errno): Move declaration and macros out of
2668 * include/resolv.h [_RESOLV_H_]:
2669 Don't include <tls.h>.
2670 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2671 * resolv/res_libc.c: Don't include <tls.h>.
2672 (_res): Use __attribute__ ((nocommon)) in place of
2673 __attribute__ ((section (".bss"))).
2675 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2676 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2678 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2680 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2681 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2683 * resolv/res_mkquery.c: Include <sys/time.h>.
2685 * inet/ifreq.c: Moved to ...
2686 * sysdeps/unix/ifreq.c: ... here.
2687 * inet/ifreq.c: New file, true stub version.
2689 * socket/sa_len.c: New file.
2690 * socket/Makefile (aux): Add it.
2691 * sysdeps/unix/sysv/linux/Makefile
2692 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2693 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2694 and #include <socket/sa_len.c>.
2695 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2696 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2698 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2699 * bits/socket.h: ... here.
2701 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2702 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2703 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2705 2013-08-27 Andreas Schwab <schwab@suse.de>
2708 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2709 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2710 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2711 * string/test-strcasecmp.c (test_main): Run tests in several
2713 * string/test-strncasecmp.c (test_main): Likewise.
2715 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2716 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2717 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2719 (__strncasecmp_ssse3) [PIC]: Likewise.
2721 2013-08-26 Roland McGrath <roland@hack.frob.com>
2723 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2725 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2726 instead of explicitly declaring xdecrypt.
2727 * nis/nss_nis/nis-publickey.c: Likewise.
2729 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2732 * nscd/aicache.c: Include res_hconf.h.
2733 (addhstaiX): Initialize res_hconf.
2735 2013-08-26 Andreas Schwab <schwab@suse.de>
2737 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2738 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2740 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2742 * nscd/aicache.c (addhstaiX): Fix indentation.
2744 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2746 * configure.ac: Quote $build_pt_chown test.
2747 * configure: Regenerated.
2749 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2752 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2753 * math/s_cexpf.c (__cexpf): Likewise.
2754 * math/s_cexpl.c (__cexpl): Likewise.
2755 * math/libm-test.inc (cexp_test_data): Correct expected return
2756 value for NaN + i0. Add another test.
2758 2013-08-22 David S. Miller <davem@davemloft.net>
2760 * po/ca.po: Update Catalan translation from translation project.
2761 * po/uk.po: Add Ukrainian translations from translation project.
2763 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2766 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2767 is infinite, not alongside NaN test.
2768 * math/s_fdimf.c (__fdimf): Likewise.
2769 * math/s_fdiml.c (__fdiml): Likewise.
2770 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2773 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2775 * argp/argp-help.c: Fix typos.
2776 * crypt/speeds.c: Likewise.
2777 * csu/check_fds.c: Likewise.
2778 * elf/dl-load.c: Likewise.
2779 * elf/dl-open.c: Likewise.
2780 * elf/reldep3.c: Likewise.
2781 * elf/reldep.c: Likewise.
2782 * elf/sprof.c: Likewise.
2783 * iconv/iconv_charmap.c: Likewise.
2784 * iconv/skeleton.c: Likewise.
2785 * iconv/strtab.c: Likewise.
2786 * io/lockf64.c: Likewise.
2787 * libio/libioP.h: Likewise.
2788 * resolv/gai_notify.c: Likewise.
2789 * resolv/ns_name.c: Likewise.
2790 * resolv/ns_samedomain.c: Likewise.
2791 * resolv/res_send.c: Likewise.
2792 * stdlib/random.c: Likewise.
2793 * sunrpc/rpc/xdr.h: Likewise.
2794 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2795 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2796 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2797 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2801 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2802 * sysdeps/mach/hurd/check_fds.c: Likewise.
2803 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2804 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2806 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2807 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2809 * sysdeps/pthread/aio_notify.c: Likewise.
2810 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2811 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2812 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2813 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2814 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2816 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2818 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2819 version if bit_Slow_SSE4_2 is set.
2820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2821 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2823 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2827 trampoline stack frame information.
2828 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2829 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2830 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2831 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2832 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2833 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2834 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2835 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2837 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2838 interrupting a syscall and set with option SA_SIGINFO.
2840 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2843 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2844 argument is infinite.
2845 * math/s_cprojf.c (__cprojf): Likewise.
2846 * math/s_cprojl.c (__cprojl): Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2848 * math/libm-test.inc (cproj_test_data): Add more tests.
2850 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2852 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2853 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2854 size. Use __ffs to determine corresponding shift.
2856 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2857 Roland McGrath <roland@hack.frob.com>
2859 * Makefile (INSTALL): Remove trailing blank lines from output of
2862 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2864 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2865 Align 32 bit compat elf_greg to 8 bytes.
2867 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2869 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2871 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2873 * string/strcoll_l.c (coll_seq): New structure.
2874 (get_next_seq_cached): New function.
2875 (get_next_seq): New function.
2876 (do_compare): New function.
2877 (STRCOLL): Use GNU style definition. Simplify implementation
2878 by using get_next_seq, get_next_seq_cached and do_compare.
2880 2013-08-16 Florian Weimer <fweimer@redhat.com>
2884 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2886 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2888 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2889 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2890 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2892 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2893 GETDENTS_64BIT_ALIGNED.
2894 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2895 * manual/filesys.texi (Reading/Closing Directory): Document
2896 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2898 * manual/conf.texi (Limits for Files): Add portability note to
2900 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2902 2013-08-13 Andreas Schwab <schwab@suse.de>
2905 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2907 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2908 LDBL_MAX_EXP >= 16384]: Add tests for it.
2910 2013-08-12 David S. Miller <davem@davemloft.net>
2912 * version.h (RELEASE): Set to "development".
2913 (VERSION): Set to "2.18.90".
2914 * NEWS: Add 2.19 section.
2916 2013-08-03 David S. Miller <davem@davemloft.net>
2918 * po/ko.po: Update Korean translation from translation project.
2920 2013-08-01 David S. Miller <davem@davemloft.net>
2922 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2923 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2926 2013-07-30 David S. Miller <davem@davemloft.net>
2928 * po/fr.po: Update French translation from translation project.
2930 2013-07-28 David S. Miller <davem@davemloft.net>
2932 * po/cs.po: Update Czech translation from translation project.
2934 * po/sv.po: Update Swedish translation from translation project.
2936 2013-07-27 David S. Miller <davem@davemloft.net>
2938 * po/eo.po: Update Esperanto translation from translation project.
2940 * po/vi.po: Update Vietnamese translation from translation project.
2942 * po/de.po: Update German translation from translation project.
2944 2013-07-26 David S. Miller <davem@davemloft.net>
2946 * po/bg.po: Update Bulgarian translation from translation project.
2948 * po/nl.po: Update Dutch translation from translation project.
2949 * po/pl.po: Update Polish translation from translation project.
2950 * po/ru.po: Update Russian translation from translation project.
2952 2013-07-24 David S. Miller <davem@davemloft.net>
2954 * po/libc.pot: Update.
2956 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2958 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2960 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2961 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2962 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2964 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2966 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2968 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2969 Andreas Schwab <schwab@suse.de>
2970 Roland McGrath <roland@hack.frob.com>
2971 Joseph Myers <joseph@codesourcery.com>
2972 Carlos O'Donell <carlos@redhat.com>
2975 * config.h.in: Define HAVE_PT_CHOWN.
2976 * config.make.in (build-pt-chown): New variable.
2977 * configure.in (--enable-pt_chown): New configure option.
2978 * configure: Regenerate.
2979 * login/Makefile: Include Makeconfig. Build pt_chown only if
2980 build-pt-chown is enabled.
2981 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2982 pt_chown to fix pty ownership.
2983 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2985 * manual/install.texi (Configuring and compiling): Mention
2986 --enable-pt_chown. Add @findex for grantpt.
2987 * INSTALL: Regenerate.
2989 2013-07-20 David S. Miller <davem@davemloft.net>
2991 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2992 difference between 32-bit and 64-bit.
2994 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2997 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2998 Avoid system header dependency with -ffreestanding.
2999 ($(objpfx)bits/syscall%d): Likewise.
3001 2013-07-13 David S. Miller <davem@davemloft.net>
3003 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3004 underflows from atanl/atan2l due to bug 15319.
3005 (casinh_test_data): Likewise.
3007 2013-07-07 David S. Miller <davem@davemloft.net>
3009 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3011 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3013 * sysdeps/i386/fpu/libm-test-ulps: Update.
3014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3016 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3018 * configure.in (--enable-lock-elision): Fix message text.
3019 * INSTALL: Regenerate.
3020 * configure: Regenerate.
3022 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3026 2013-07-03 Andreas Jaeger <aj@suse.de>
3028 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3030 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3031 (ptrace_peeksiginfo_args): Add.
3032 (__ptrace_peeksiginfo_flags): Add.
3033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3034 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3035 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3037 2013-07-03 Allan McRae <allan@archlinux.org>
3039 * sysdeps/i386/fpu/libm-test-ulps: Update.
3041 2013-07-02 David S. Miller <davem@davemloft.net>
3043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3045 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3049 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3051 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3054 2013-07-02 Andi Kleen <ak@linux.intel.com>
3056 * config.h.in (ENABLE_LOCK_ELISION): Add.
3057 * configure.in (--enable-lock-elision): Add option.
3058 * manual/install.texi: Document --enable lock elision.
3059 * configure: Regenerate
3060 * INSTALL: Regenerate.
3062 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3064 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3065 SSE4.2 strcasecmp for libc.a.
3066 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3068 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3071 * soft-fp/op-common.h (_FP_FMA): New macro.
3072 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3073 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3074 (_FP_MUL_MEAT_1_imm): ... here.
3075 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3076 (_FP_MUL_MEAT_1_wide): ... here.
3077 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3078 (_FP_MUL_MEAT_1_hard): ... here.
3079 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3080 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3081 (_FP_MUL_MEAT_2_wide): ... here.
3082 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3083 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3084 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3085 (_FP_MUL_MEAT_2_gmp): ... here.
3086 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3087 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3088 (_FP_MUL_MEAT_4_wide): ... here.
3089 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3090 (_FP_MUL_MEAT_4_gmp): ... here.
3091 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3092 (_FP_WFRACBITS_DW_S): Likewise.
3093 (_FP_WFRACXBITS_DW_S): Likewise.
3094 (_FP_HIGHBIT_DW_S): Likewise.
3095 (FP_FMA_S): Likewise.
3096 (_FP_FRAC_HIGH_DW_S): Likewise.
3097 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3098 (_FP_WFRACBITS_DW_D): Likewise.
3099 (_FP_WFRACXBITS_DW_D): Likewise.
3100 (_FP_HIGHBIT_DW_D): Likewise.
3101 (FP_FMA_D): Likewise.
3102 (_FP_FRAC_HIGH_DW_D): Likewise.
3103 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3104 (_FP_WFRACBITS_DW_E): Likewise.
3105 (_FP_WFRACXBITS_DW_E): Likewise.
3106 (_FP_HIGHBIT_DW_E): Likewise.
3107 (FP_FMA_E): Likewise.
3108 (_FP_FRAC_HIGH_DW_E): Likewise.
3109 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3110 (_FP_WFRACBITS_DW_Q): Likewise.
3111 (_FP_WFRACXBITS_DW_Q): Likewise.
3112 (_FP_HIGHBIT_DW_Q): Likewise.
3113 (FP_FMA_Q): Likewise.
3114 (_FP_FRAC_HIGH_DW_Q): Likewise.
3115 * soft-fp/fmasf4.c: New file.
3116 * soft-fp/fmadf4.c: Likewise.
3117 * soft-fp/fmatf4.c: Likewise.
3119 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3122 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3126 (index_Slow_SSE4_2): Likewise.
3127 (index_Prefer_PMINUB_for_stringop): Likewise.
3128 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3129 bit_Slow_SSE4_2 is set.
3130 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3131 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3133 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3135 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3136 rtld_global._dl_hwcap2.
3137 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3139 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3140 POWER8 feature descriptions defined in _dl_hwcap2.
3141 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3142 string handling for POWER8 feature bits.
3143 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3144 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3145 _dl_powerpc_cap_flags.
3146 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3147 * sysdeps/powerpc/rtld-global-offsets.sym
3148 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3149 _dl_hwcap2 in the rtld_global_ro structure.
3151 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3153 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3154 hardware capabilities in support of AT_HWCAP2.
3155 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3156 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3158 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3159 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3160 explicitly the unknown a_type display mechanism is used.
3161 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3162 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3164 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3165 to macro prototype for AT_HWCAP2 support.
3166 * sysdeps/i386/dl-procinfo.h: Likewise.
3167 * sysdeps/s390/dl-procinfo.h: Likewise.
3168 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3169 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3170 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3171 return -1 for unknown a_type display fallback.
3172 * sysdeps/sparc/dl-procinfo.h: Likewise.
3173 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3174 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3176 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3178 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3179 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3181 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3184 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3185 mprotect making __stack_prot writable.
3187 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3188 Joseph Myers <joseph@codesourcery.com>
3190 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3191 as being properly aligned.
3193 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3195 * dlfcn/modstatic5.c: New file.
3196 * dlfcn/tststatic5.c: New file.
3197 * dlfcn/Makefile (tests): Add tststatic5.
3198 (tests-static): Likewise.
3199 (modules-names): Add modstatic5.
3200 (tststatic5-ENV): New variable.
3201 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3204 * elf/dl-support.c (_dl_main_map): New variable.
3205 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3206 (_dl_nns, _dl_load_adds): Set to 1.
3207 (_dl_initial_searchlist): Refer to _dl_main_map.
3208 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3209 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3210 call to _dl_get_origin.
3211 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3213 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3214 * dlfcn/modstatic3.c: New file.
3215 * dlfcn/tststatic3.c: New file.
3216 * dlfcn/tststatic4.c: New file.
3217 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3218 (tests-static): Likewise.
3219 (modules-names): Add modstatic3.
3220 (tststatic3-ENV, tststatic4-ENV): New variables.
3221 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3222 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3224 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3226 * configure.in (CC): Require GCC version 4.4 or later.
3227 * configure: Regenerated.
3228 * manual/install.texi (Tools for Compilation): Update GCC version
3230 * INSTALL: Regenerated.
3232 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3235 * string/test-memcmp.c (check2): New.
3236 (main): Call check2.
3238 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3240 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3243 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3245 (dl_open_worker) [!SHARED]: ... here.
3247 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3249 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3251 2013-06-25 Richard Henderson <rth@redhat.com>
3253 * locale/programs/locarchive.c: Include <libc-internal.h>
3255 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3257 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3258 trailing whitespace removed.
3260 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3263 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3264 * locale/programs/locarchive.c: Include libc-mmap.h.
3265 (prepare_address_space): Take two new outputs (the mmap base and len).
3266 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3268 (create_archive): Declare new mmap base and len values for
3269 prepare_address_space, and store the result in ah.
3270 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3271 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3272 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3273 Declare new mmap base and len values for
3274 prepare_address_space, and store the result in new_ah.
3275 (open_archive): Declare new mmap base and len values for
3276 prepare_address_space, and store the result in ah.
3277 (close_archive): If ah->mmap_base is not NULL, use that and
3278 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3279 * sysdeps/generic/libc-mmap.h: New file.
3281 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3283 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3284 (ALIGN_UP): Likewise.
3285 (PTR_ALIGN_DOWN): Likewise.
3286 (PTR_ALIGN_UP): Likewise.
3288 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3290 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3291 entry mapped to PPC_PLATFORM_POWER8.
3292 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3294 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3295 (_dl_string_platform): Add case for exporting platform position for
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3298 search path to sysdeps/powerpc/powerpc32/power8 directory.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3300 search path to sysdeps/powerpc/powerpc64/power8 directory.
3301 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3303 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3306 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3308 * INSTALL: Regenerate.
3310 * nscd/connections.c (nscd_init): Fix comment.
3312 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3314 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3317 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3318 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3320 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3322 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3324 (DL_DST_REQ_STATIC): Remove macro.
3326 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3329 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3330 with a shift of 0 bits.
3332 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3334 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3337 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3340 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3342 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3344 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3345 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3346 accepts -fno-tree-loop-distribute-patterns.
3347 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3348 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3350 * string/memset.c (memset): Likewise.
3351 * string/test-memmove.c (simple_memmove): Disable loop transformation
3353 * string/test-memset.c (simple_memset): Likewise.
3354 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3355 * benchtests/bench-memset.c (simple_memset): Likewise.
3356 * configure: Regenerated.
3358 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3360 * math/test-misc.c (main): Ignore fesetround failure when failures
3361 of subsequent rounding tests would be ignored.
3364 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3365 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3366 * math/fegetenv.c (__fegetenv): Return 0.
3367 * math/fegetexcept.c (fegetexcept): Return 0.
3368 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3370 * math/feholdexcpt.c (feholdexcept): Return 0.
3371 * math/fesetenv.c (__fesetenv): Return 0.
3372 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3373 argument FE_TONEAREST.
3374 * math/feupdateenv.c (__feupdateenv): Return 0.
3375 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3377 2013-06-18 Roland McGrath <roland@hack.frob.com>
3379 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3380 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3381 ($(objpfx)rtld-%.os rules): Use them.
3383 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3385 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3388 2013-06-17 Roland McGrath <roland@hack.frob.com>
3390 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3391 length of target pattern, then descending length of dependency pattern.
3392 * configure.in (AWK): Require gawk 3.1.2 or newer.
3393 * manual/install.texi (Tools for Compilation): Say that we do.
3394 * configure: Regenerated.
3396 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3397 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3398 * scripts/sysd-rules.awk: ... this new script.
3399 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3400 than a glob-style pattern.
3402 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3404 * math/test-misc.c (main): Do not treat incorrectly rounded
3405 conversions as failure unless ROUNDING_TESTS passes.
3407 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3410 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3411 restore exception state around main square root computation, then
3412 check for inexactness explicitly.
3414 * math/libm-test.inc (fma_test_data): Add another test.
3416 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3418 * manual/threads.texi (Non-POSIX Extensions): New document
3419 node. Document pthread_getattr_default_np and
3420 pthread_setattr_default_np.
3422 * Versions.def (libpthread): Add GLIBC_2.18.
3423 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3432 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3443 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3446 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3448 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3449 H.J. Lu <hjl.tools@gmail.com>
3452 * sysdeps/x86_64/rtld-memset.c: Remove file.
3453 * sysdeps/x86_64/rtld-memset.S: New file.
3455 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3457 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3458 (test_in_one_mode): Take arguments for whether the rounding mode
3459 is supported for each floating-point type.
3460 (do_test): Pass new arguments to test_in_one_mode using
3463 2013-06-13 Roland McGrath <roland@hack.frob.com>
3465 * posix/tst-waitid.c (do_test): Distinguish different instances of
3466 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3467 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3468 before entering the kernel for waitpid.
3470 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3472 * NEWS: Fix note on clock function precision. Text by Roland
3475 2013-06-13 Roland McGrath <roland@hack.frob.com>
3477 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3478 it into place only when and if the sanity check passes.
3480 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3482 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3483 output for whether conversion result is exact. Take argument
3484 indicating whether type is IBM long double.
3485 (round_for_all): Change need_exact field to ibm_ld.
3486 * stdlib/tst-strtod-round.c (struct exactness): New type.
3487 (struct test): Change bool ld_ok field to struct exactness exact.
3488 (TEST): Update all definitions for change to field.
3489 (tests): Regenerate array contents.
3490 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3491 field value. Check for IBM long double here.
3492 (do_test): Update calls to test_in_one_mode.
3494 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3497 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3498 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3500 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3503 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3504 generated by the compiler on loop optimizations.
3505 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3506 general definitions.
3508 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3510 * math/bug-nextafter.c: Include <math-tests.h>.
3511 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3513 * math/bug-nexttoward.c: Include <math-tests.h>.
3514 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3516 * math/test-misc.c: Include <math-tests.h>.
3517 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3520 2013-06-12 Andreas Jaeger <aj@suse.de>
3522 * po/ia.po: Update Interlingua translation from translation
3525 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3527 * include/fenv.h: Include stdbool.h.
3528 (struct rm_ctx): New structure.
3529 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3531 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3532 (SET_RESTORE_ROUNDF): Likewise.
3533 (SET_RESTORE_ROUNDL): Likewise.
3534 (SET_RESTORE_ROUND_NOEX): Likewise.
3535 (SET_RESTORE_ROUND_NOEXF): Likewise.
3536 (SET_RESTORE_ROUND_NOEXL): Likewise.
3537 (SET_RESTORE_ROUND_53BIT): Likewise.
3538 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3539 (libc_feresetround_noexf_ctx): Likewise.
3540 (libc_feresetround_noexl_ctx): Likewise.
3541 (libc_feholdsetround_53bit_ctx): Likewise.
3542 (libc_feresetround_53bit_ctx): Likewise.
3543 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3544 (libc_feholdexcept_setround_sse_ctx): New function.
3545 (libc_fesetenv_sse_ctx): Likewise.
3546 (libc_feupdateenv_sse_ctx): Likewise.
3547 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3548 (libc_feholdexcept_setround_387_ctx): Likewise.
3549 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3550 (libc_feholdsetround_387_prec_ctx): Likewise.
3551 (libc_feholdsetround_387_ctx): Likewise.
3552 (libc_feholdsetround_387_53bit_ctx): Likewise.
3553 (libc_feholdsetround_sse_ctx): Likewise.
3554 (libc_feresetround_sse_ctx): Likewise.
3555 (libc_feresetround_387_ctx): Likewise.
3556 (libc_feupdateenv_387_ctx): Likewise.
3557 (libc_feholdexcept_setroundf_ctx): Define macro.
3558 (libc_fesetenvf_ctx): Likewise.
3559 (libc_feupdateenvf_ctx): Likewise.
3560 (libc_feholdsetroundf_ctx): Likewise.
3561 (libc_feresetroundf_ctx): Likewise.
3562 (libc_feholdexcept_setround_ctx): Likewise.
3563 (libc_fesetenv_ctx): Likewise.
3564 (libc_feupdateenv_ctx): Likewise.
3565 (libc_feholdsetround_ctx): Likewise.
3566 (libc_feresetround_ctx): Likewise.
3567 (libc_feholdexcept_setroundl_ctx): Likewise.
3568 (libc_feupdateenvl_ctx): Likewise.
3569 (libc_feholdsetroundl_ctx): Likewise.
3570 (libc_feresetroundl_ctx): Likewise.
3571 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3572 (libc_feresetround_53bit_ctx): Likewise.
3574 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3576 * locale/iso-639.def: Convert to UTF-8.
3578 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3580 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3581 (EXCEPTION_TESTS_double): Likewise.
3582 (EXCEPTION_TESTS_long_double): Likewise.
3583 (EXCEPTION_TESTS): Likewise.
3584 * math/libm-test.inc (test_exceptions): Only test exceptions if
3585 EXCEPTION_TESTS (FLOAT).
3587 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3589 * benchtests/Makefile (string-bench): Add strcpy_chk and
3591 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3592 * benchtests/bench-stpcpy_chk.c: New file.
3593 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3594 * benchtests/bench-strcpy_chk.c: New file.
3595 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3597 (do_test): Likewise.
3599 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3601 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3602 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3603 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3604 with tabs where appropriate.
3605 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3607 [PPC_PLATFORM_PPC440]: Likewise.
3608 [PPC_PLATFORM_PPC464]: Likewise.
3609 [PPC_PLATFORM_PPC476]: Likewise.
3610 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3611 ppc464, and ppc476 platform strings merging from ports/
3614 2013-06-11 Andreas Schwab <schwab@suse.de>
3617 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3618 (from_ucs4_idx): Regenerate.
3619 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3620 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3621 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3622 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3623 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3624 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3625 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3626 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3627 from FROM_LOOP and TO_LOOP specific macros.
3628 (BODY): Handle combining characters.
3629 * iconvdata/BIG5HKSCS.irreversible: Update.
3630 * iconvdata/BIG5HKSCS.precomposed: New file.
3631 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3633 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3635 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3637 * include/sys/time.h: Fix indentation and add copyright header.
3639 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3640 (do_test): Likewise.
3641 * string/test-memchr.c (do_one_test): Likewise.
3642 (do_test): Likewise.
3643 * string/test-memcmp.c (do_one_test): Likewise.
3644 (do_test): Likewise.
3645 * string/test-memcpy.c (do_one_test): Likewise.
3646 (do_test): Likewise.
3647 * string/test-memmem.c (do_one_test): Likewise.
3648 (do_test): Likewise.
3649 (do_random_tests): Likewise.
3650 * string/test-memmove.c (do_one_test): Likewise.
3651 (do_test): Likewise.
3652 * string/test-memset.c (do_one_test): Likewise.
3653 (do_test): Likewise.
3654 * string/test-rawmemchr.c (do_one_test): Likewise.
3655 (do_test): Likewise.
3656 * string/test-strcasecmp.c (do_one_test): Likewise.
3657 (do_test): Likewise.
3658 * string/test-strcasestr.c (do_one_test): Likewise.
3659 (do_test): Likewise.
3660 * string/test-strcat.c (do_one_test): Likewise.
3661 (do_test): Likewise.
3662 * string/test-strchr.c (do_one_test): Likewise.
3663 (do_test): Likewise.
3664 * string/test-strcmp.c (do_one_test): Likewise.
3665 (do_test): Likewise.
3666 * string/test-strcpy.c (do_one_test): Likewise.
3667 (do_test): Likewise.
3668 * string/test-string.h: Likewise.
3669 (test_init): Likewise.
3670 * string/test-strlen.c (do_one_test): Likewise.
3671 (do_test): Likewise.
3672 * string/test-strncasecmp.c (do_one_test): Likewise.
3673 (do_test): Likewise.
3674 * string/test-strncat.c (do_one_test): Likewise.
3675 (do_test): Likewise.
3676 * string/test-strncmp.c (do_one_test): Likewise.
3677 (do_test_limit): Likewise.
3678 (do_test): Likewise.
3679 * string/test-strncpy.c (do_one_test): Likewise.
3680 (do_test): Likewise.
3681 * string/test-strnlen.c (do_one_test): Likewise.
3682 (do_test): Likewise.
3683 * string/test-strpbrk.c (do_one_test): Likewise.
3684 (do_test): Likewise.
3685 * string/test-strrchr.c (do_one_test): Likewise.
3686 (do_test): Likewise.
3687 * string/test-strspn.c (do_one_test): Likewise.
3688 (do_test): Likewise.
3689 * string/test-strstr.c (do_one_test): Likewise.
3690 (do_test): Likewise.
3692 * benchtests/Makefile (string-bench): Add string benchmarks.
3693 * benchtests/bench-bcopy-ifunc.c: New file.
3694 * benchtests/bench-bcopy.c: New file.
3695 * benchtests/bench-bzero-ifunc.c: New file.
3696 * benchtests/bench-bzero.c: New file.
3697 * benchtests/bench-memccpy-ifunc.c: New file.
3698 * benchtests/bench-memccpy.c: New file.
3699 * benchtests/bench-memchr-ifunc.c: New file.
3700 * benchtests/bench-memchr.c: New file.
3701 * benchtests/bench-memcmp-ifunc.c: New file.
3702 * benchtests/bench-memcmp.c: New file.
3703 * benchtests/bench-memmem-ifunc.c: New file.
3704 * benchtests/bench-memmem.c: New file.
3705 * benchtests/bench-memmove-ifunc.c: New file.
3706 * benchtests/bench-memmove.c: New file.
3707 * benchtests/bench-mempcpy-ifunc.c: New file.
3708 * benchtests/bench-mempcpy.c: New file.
3709 * benchtests/bench-memset-ifunc.c: New file.
3710 * benchtests/bench-memset.c: New file.
3711 * benchtests/bench-rawmemchr-ifunc.c: New file.
3712 * benchtests/bench-rawmemchr.c: New file.
3713 * benchtests/bench-stpcpy-ifunc.c: New file.
3714 * benchtests/bench-stpcpy.c: New file.
3715 * benchtests/bench-stpncpy-ifunc.c: New file.
3716 * benchtests/bench-stpncpy.c: New file.
3717 * benchtests/bench-strcasecmp-ifunc.c: New file.
3718 * benchtests/bench-strcasecmp.c: New file.
3719 * benchtests/bench-strcasestr-ifunc.c: New file.
3720 * benchtests/bench-strcasestr.c: New file.
3721 * benchtests/bench-strcat-ifunc.c: New file.
3722 * benchtests/bench-strcat.c: New file.
3723 * benchtests/bench-strchr-ifunc.c: New file.
3724 * benchtests/bench-strchr.c: New file.
3725 * benchtests/bench-strchrnul-ifunc.c: New file.
3726 * benchtests/bench-strchrnul.c: New file.
3727 * benchtests/bench-strcmp-ifunc.c: New file.
3728 * benchtests/bench-strcmp.c: New file.
3729 * benchtests/bench-strcpy-ifunc.c: New file.
3730 * benchtests/bench-strcpy.c: New file.
3731 * benchtests/bench-strcspn-ifunc.c: New file.
3732 * benchtests/bench-strcspn.c: New file.
3733 * benchtests/bench-strlen-ifunc.c: New file.
3734 * benchtests/bench-strlen.c: New file.
3735 * benchtests/bench-strncasecmp-ifunc.c: New file.
3736 * benchtests/bench-strncasecmp.c: New file.
3737 * benchtests/bench-strncat-ifunc.c: New file.
3738 * benchtests/bench-strncat.c: New file.
3739 * benchtests/bench-strncmp-ifunc.c: New file.
3740 * benchtests/bench-strncmp.c: New file.
3741 * benchtests/bench-strncpy-ifunc.c: New file.
3742 * benchtests/bench-strncpy.c: New file.
3743 * benchtests/bench-strnlen-ifunc.c: New file.
3744 * benchtests/bench-strnlen.c: New file.
3745 * benchtests/bench-strpbrk-ifunc.c: New file.
3746 * benchtests/bench-strpbrk.c: New file.
3747 * benchtests/bench-strrchr-ifunc.c: New file.
3748 * benchtests/bench-strrchr.c: New file.
3749 * benchtests/bench-strspn-ifunc.c: New file.
3750 * benchtests/bench-strspn.c: New file.
3751 * benchtests/bench-strstr-ifunc.c: New file.
3752 * benchtests/bench-strstr.c: New file.
3754 * benchtests/Makefile: Disable parallel execution of targets.
3755 (string-bench): Add memcpy.
3756 (benchset): New variable to store a list of benchmark sets.
3757 (bench-func): Renamed from bench.
3758 (bench-set): New target.
3759 (bench): Depend on bench-func and bench-set.
3760 * benchtests/README: Add section on benchmark sets.
3761 * benchtests/bench-memcpy-ifunc.c: New file.
3762 * benchtests/bench-memcpy.c: New file.
3763 * benchtests/bench-string.h: New file.
3765 2013-06-11 Andreas Schwab <schwab@suse.de>
3768 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3769 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3770 values in the triple.
3771 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3772 terminator in the group key.
3774 2013-06-11 Andreas Jaeger <aj@suse.de>
3776 * po/zh_TW.po: Update Chinese (traditional) translation from
3777 translation project.
3779 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3781 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3782 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3783 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3784 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3785 (clock_getcpuclockid): Likewise.
3786 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3787 Add weak_alias and libc_hidden_def.
3788 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3789 * rt/clock_gettime.c (clock_gettime): Rename to
3790 __clock_gettime. Add weak_alias and libc_hidden_def.
3791 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3792 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3793 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3794 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3795 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3797 * rt/clock_settime.c (clock_settime): Rename to
3798 __clock_settime. Add weak_alias and libc_hidden_def.
3799 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3801 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3803 * mach/err_boot.sub: Remove trailing whitespace.
3804 * mach/err_ipc.sub: Likewise.
3805 * mach/err_mach.sub: Likewise.
3807 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3808 (ROUNDING_TESTS_double): Likewise.
3809 (ROUNDING_TESTS_long_double): Likewise.
3810 (ROUNDING_TESTS): Likewise.
3811 * math/libm-test.inc: Include <math-tests.h>.
3812 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3813 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3814 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3815 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3817 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3819 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3822 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3824 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3825 otherwise empty TRANS lines.
3826 * sysdeps/gnu/errlist.c: Regenerated.
3828 * catgets/gencat.c (error_print): Use (void) in function
3830 * crypt/crypt_util.c (__init_des): Likewise.
3831 * crypt/speeds.c (Stop): Likewise.
3833 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3834 * inet/ruserpass.c (token): Likewise.
3835 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3836 * intl/localealias.c (extend_alias_table): Likewise.
3837 * intl/plural-exp.c (init_germanic_plural): Likewise.
3838 * libio/fcloseall.c (__fcloseall): Likewise.
3839 * libio/genops.c (_IO_flush_all): Likewise.
3840 (_IO_flush_all_linebuffered): Likewise.
3841 (_IO_cleanup): Likewise.
3842 (_IO_iter_begin): Likewise.
3843 (_IO_iter_end): Likewise.
3844 (_IO_list_lock): Likewise.
3845 (_IO_list_unlock): Likewise.
3846 (_IO_list_resetlock): Likewise.
3847 * libio/getchar.c (getchar): Likewise.
3848 * libio/getchar_u.c (getchar_unlocked): Likewise.
3849 * libio/getwchar.c (getwchar): Likewise.
3850 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3851 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3852 * login/getpt.c (__getpt): Likewise.
3853 * login/tst-utmp.c (main): Likewise.
3854 * malloc/hooks.c (__malloc_check_init): Likewise.
3855 * malloc/malloc.c (__malloc_stats): Likewise.
3856 * malloc/mtrace.c (tr_break): Likewise.
3858 (muntrace): Likewise.
3859 * misc/fstab.c (endfsent): Likewise.
3860 * misc/getclktck.c (__getclktck): Likewise.
3861 * misc/getdtsz.c (__getdtablesize): Likewise.
3862 * misc/gethostid.c (gethostid): Likewise.
3863 * misc/getpagesize.c (__getpagesize): Likewise.
3864 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3865 (__get_nprocs): Likewise.
3866 (__get_phys_pages): Likewise.
3867 (__get_avphys_pages): Likewise.
3868 * misc/getttyent.c (getttyent): Likewise.
3869 (setttyent): Likewise.
3870 (endttyent): Likewise.
3871 * misc/getusershell.c (getusershell): Likewise.
3872 (endusershell): Likewise.
3873 (setusershell): Likewise.
3874 (initshells): Likewise.
3875 * misc/hsearch.c (__hdestroy): Likewise.
3876 * misc/sync.c (sync): Likewise.
3877 * misc/syslog.c (closelog_internal): Likewise.
3878 (closelog): Likewise.
3879 * misc/ttyslot.c (ttyslot): Likewise.
3880 * misc/vhangup.c (vhangup): Likewise.
3881 * posix/fork.c (__fork): Likewise.
3882 * posix/getegid.c (__getegid): Likewise.
3883 * posix/geteuid.c (__geteuid): Likewise.
3884 * posix/getgid.c (__getgid): Likewise.
3885 * posix/getpid.c (__getpid): Likewise.
3886 * posix/getppid.c (__getppid): Likewise.
3887 * posix/getuid.c (__getuid): Likewise.
3888 * posix/pause.c (pause): Likewise.
3889 * posix/setpgrp.c (setpgrp): Likewise.
3890 * posix/setsid.c (__setsid): Likewise.
3891 * posix/test-vfork.c (noop): Likewise.
3892 * resolv/gethnamaddr.c (_endhtent): Likewise.
3893 (_gethtent): Likewise.
3894 (ht_endhostent): Likewise.
3895 (gethostent): Likewise.
3896 (dns_service): Likewise.
3897 * stdlib/drand48.c (drand48): Likewise.
3898 * stdlib/lrand48.c (lrand48): Likewise.
3899 * stdlib/mrand48.c (mrand48): Likewise.
3900 * stdlib/rand.c (rand): Likewise.
3901 * stdlib/random.c (__random): Likewise.
3902 * stdlib/setenv.c (clearenv): Likewise.
3903 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3904 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3905 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3906 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3907 (__get_nprocs): Likewise.
3908 (__get_phys_pages): Likewise.
3909 (__get_avphys_pages): Likewise.
3910 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3911 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3912 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3913 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3914 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3915 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3916 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3917 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3918 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3919 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3920 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3921 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3922 * sysdeps/posix/clock.c (clock): Likewise.
3923 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3924 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3925 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3926 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3927 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3929 (__get_nprocs_conf): Likewise.
3930 (__get_phys_pages): Likewise.
3931 (__get_avphys_pages): Likewise.
3932 * time/clock.c (clock): Likewise.
3933 * time/tzset.c (__tzname_max): Likewise.
3935 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3937 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3938 (__bswap_32): Do not use "register".
3939 * crypt/crypt.c (_ufc_doit_r): Likewise.
3940 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3941 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3942 * gmon/gmon.c (__monstartup): Likewise.
3943 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3944 * hurd/hurdmalloc.c (more_memory): Likewise.
3947 (realloc): Likewise.
3948 (malloc_fork_prepare): Likewise.
3949 (malloc_fork_parent): Likewise.
3950 (malloc_fork_child): Likewise.
3951 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3952 (_svcauth_des): Likewise.
3953 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3954 * inet/inet_net.c (inet_network): Likewise.
3955 * inet/inet_netof.c (inet_netof): Likewise.
3956 * inet/rcmd.c (__validuser2_sa): Likewise.
3957 * io/fts.c (fts_open): Likewise.
3958 (fts_load): Likewise.
3959 (fts_close): Likewise.
3960 (fts_read): Likewise.
3961 (fts_children): Likewise.
3962 (fts_build): Likewise.
3963 (fts_stat): Likewise.
3964 (fts_sort): Likewise.
3965 (fts_alloc): Likewise.
3966 (fts_lfree): Likewise.
3967 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3968 (_IO_file_xsgetn): Likewise.
3969 (_IO_file_xsgetn_mmap): Likewise.
3970 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3971 (_IO_cookie_write): Likewise.
3972 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3973 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3974 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3975 * malloc/obstack.c (_obstack_begin): Likewise.
3976 (_obstack_begin_1): Likewise.
3977 (_obstack_newchunk): Likewise.
3978 (_obstack_allocated_p): Likewise.
3979 (obstack_free): Likewise.
3980 (_obstack_memory_used): Likewise.
3981 * misc/getttyent.c (getttynam): Likewise.
3982 (getttyent): Likewise.
3985 * misc/getusershell.c (initshells): Likewise.
3986 * misc/syslog.c (__vsyslog_chk): Likewise.
3987 * misc/ttyslot.c (ttyslot): Likewise.
3988 * nis/nis_hash.c (__nis_hash): Likewise.
3989 * posix/fnmatch_loop.c (FCT): Likewise.
3990 * posix/getconf.c (print_all): Likewise.
3992 * posix/getopt.c (exchange): Likewise.
3993 * posix/glob.c (globfree): Likewise.
3994 (prefix_array): Likewise.
3995 (__glob_pattern_type): Likewise.
3996 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3997 (NS_GET32): Likewise.
3998 (NS_PUT16): Likewise.
3999 (NS_PUT32): Likewise.
4000 * resolv/gethnamaddr.c (getanswer): Likewise.
4001 (gethostbyname2): Likewise.
4002 (gethostbyaddr): Likewise.
4003 (_gethtent): Likewise.
4004 (_gethtbyname2): Likewise.
4005 (_gethtbyaddr): Likewise.
4006 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4007 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4008 * resolv/res_init.c (__res_vinit): Likewise.
4009 (net_mask): Likewise.
4010 * resolv/res_mkquery.c (outchar): Likewise.
4012 * stdio-common/printf_fp.c (outchar): Likewise.
4014 * stdio-common/printf_fphex.c (outchar): Likewise.
4016 * stdio-common/printf_size.c (outchar): Likewise.
4018 * stdio-common/test_rdwr.c (main): Likewise.
4019 * stdio-common/tfformat.c (matches): Likewise.
4020 * stdio-common/vfprintf.c (outchar): Likewise.
4021 (printf_unknown): Likewise.
4022 (buffered_vfprintf): Likewise.
4023 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4024 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4025 (ReadFile): Likewise.
4026 * stdlib/qsort.c (SWAP): Likewise.
4027 (_quicksort): Likewise.
4028 * stdlib/setenv.c (__add_to_environ): Likewise.
4029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4030 * stdlib/strtol_l.c (__strtol_l): Likewise.
4031 * stdlib/tst-strtod.c (main): Likewise.
4032 * stdlib/tst-strtol.c (main): Likewise.
4033 * stdlib/tst-strtoll.c (main): Likewise.
4034 * string/bits/string2.h (__strcmp_cc): Likewise.
4035 (__strcmp_cg): Likewise.
4036 (__strcspn_c1): Likewise.
4037 (__strcspn_c2): Likewise.
4038 (__strcspn_c3): Likewise.
4039 (__strspn_c1): Likewise.
4040 (__strspn_c2): Likewise.
4041 (__strspn_c3): Likewise.
4042 (__strsep_1c): Likewise.
4043 (__strsep_2c): Likewise.
4044 (__strsep_3c): Likewise.
4045 * string/memccpy.c (__memccpy): Likewise.
4046 * string/stpcpy.c (__stpcpy): Likewise.
4047 * string/strcmp.c (strcmp): Likewise.
4048 * string/strrchr.c (strrchr): Likewise.
4049 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4051 * sysdeps/mach/hurd/getcwd.c
4052 (_hurd_canonicalize_directory_name_internal): Likewise.
4053 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4054 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4055 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4056 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4057 Likewise, in both definitions.
4058 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4060 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4061 64] (__bswap_64): Likewise.
4062 * time/test_time.c (main): Likewise.
4063 * time/tzfile.c (__tzfile_read): Likewise.
4064 (__tzfile_compute): Likewise.
4065 * time/tzset.c (__tzset_parse_tz): Likewise.
4066 (tzset_internal): Likewise.
4067 (compute_change): Likewise.
4068 * wcsmbs/wcscat.c (__wcscat): Likewise.
4069 * wcsmbs/wcschr.c (wcschr): Likewise.
4070 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4071 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4072 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4073 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4074 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4075 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4076 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4077 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4078 * wcsmbs/wmemset.c (wmemset): Likewise.
4080 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4082 * scripts/config.guess: Update to version 2013-05-16.
4083 * scripts/config.sub: Update to version 2013-04-24.
4084 * scripts/install-sh: Update to version 2011-11-20.07.
4085 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4086 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4088 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4090 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4091 * elf/sln.c: Likewise.
4092 * hurd/hurd/ioctl.h: Likewise.
4093 * hurd/hurdmalloc.c: Likewise.
4094 * hurd/xattr.c: Likewise.
4095 * include/shlib-compat.h: Likewise.
4096 * inet/ruserpass.c: Likewise.
4097 * libio/iofgets_u.c: Likewise.
4098 * libio/iofgetws_u.c: Likewise.
4099 * locale/programs/ld-identification.c: Likewise.
4100 * locale/programs/ld-time.c: Likewise.
4101 * mach/msg-destroy.c: Likewise.
4102 * nss/nss_files/files-netgrp.c: Likewise.
4103 * resolv/res_data.c: Likewise.
4104 * soft-fp/op-1.h: Likewise.
4105 * soft-fp/op-2.h: Likewise.
4106 * soft-fp/op-4.h: Likewise.
4107 * soft-fp/op-common.h: Likewise.
4108 * stdio-common/printf_fphex.c: Likewise.
4109 * stdlib/strtod_l.c: Likewise.
4110 * sunrpc/rpc/clnt.h: Likewise.
4111 * sysdeps/generic/framestate.c: Likewise.
4112 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4113 * sysdeps/i386/bsd-setjmp.S: Likewise.
4114 * sysdeps/i386/__longjmp.S: Likewise.
4115 * sysdeps/i386/setjmp.S: Likewise.
4116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4117 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4134 * sysdeps/ieee754/support.c: Likewise.
4135 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4136 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4137 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4138 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4139 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4140 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4141 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4142 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4143 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4144 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4145 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4146 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4148 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4149 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4150 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4151 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4154 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4156 * posix/transbug.c: Remove executable mode.
4158 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4160 * crypt/speeds.c: Remove trailing whitespace.
4161 * dlfcn/default.c: Likewise.
4162 * elf/ifuncdep2.c: Likewise.
4163 * elf/ifuncmain1.c: Likewise.
4164 * elf/ifuncmain1vis.c: Likewise.
4165 * elf/testobj.h: Likewise.
4166 * elf/tst-stackguard1.c: Likewise.
4167 * gmon/sys/gmon.h: Likewise.
4168 * hurd/hurdmsg.c: Likewise.
4169 * hurd/new-fd.c: Likewise.
4170 * hurd/ports-get.c: Likewise.
4171 * iconvdata/ibm1008_420.c: Likewise.
4172 * inet/tst-getni1.c: Likewise.
4173 * inet/tst-getni2.c: Likewise.
4174 * libio/ioungetc.c: Likewise.
4175 * libio/wfiledoalloc.c: Likewise.
4176 * manual/libm-err-tab.pl: Likewise.
4177 * math/w_dremf.c: Likewise.
4178 * misc/ftruncate.c: Likewise.
4179 * posix/bug-glob2.c: Likewise.
4180 * posix/tst-pcre.c: Likewise.
4181 * posix/wait4.c: Likewise.
4182 * resolv/README: Likewise.
4183 * resolv/res_debug.h: Likewise.
4184 * resolv/tst-inet_ntop.c: Likewise.
4185 * setjmp/bug269-setjmp.c: Likewise.
4186 * soft-fp/extended.h: Likewise.
4187 * soft-fp/op-1.h: Likewise.
4188 * soft-fp/op-2.h: Likewise.
4189 * soft-fp/op-4.h: Likewise.
4190 * soft-fp/op-8.h: Likewise.
4191 * soft-fp/testit.c: Likewise.
4192 * stdio-common/bug16.c: Likewise.
4193 * stdlib/random.c: Likewise.
4194 * sunrpc/rpcsvc/rquota.x: Likewise.
4195 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4196 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4198 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4199 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4203 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4222 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4224 * sysdeps/ieee754/s_lib_version.c: Likewise.
4225 * sysdeps/mach/hurd/check_fds.c: Likewise.
4226 * sysdeps/mach/hurd/getsockname.c: Likewise.
4227 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4228 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4229 * sysdeps/powerpc/bits/link.h: Likewise.
4230 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4231 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4232 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4233 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4234 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4235 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4236 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4237 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4238 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4239 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4240 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4241 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4242 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4243 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4244 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4245 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4248 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4250 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4251 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4253 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4254 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4256 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4258 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4261 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4262 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4263 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4264 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4265 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4266 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4267 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4268 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4269 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4270 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4271 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4272 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4273 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4274 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4275 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4276 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4277 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4278 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4279 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4282 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4283 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4284 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4285 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4286 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4287 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4288 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4292 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4293 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4294 * sysdeps/powerpc/sysdep.h: Likewise.
4295 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4296 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4297 * sysdeps/sh/dl-trampoline.S: Likewise.
4298 * sysdeps/sh/memset.S: Likewise.
4299 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4300 * sysdeps/sh/strlen.S: Likewise.
4301 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4302 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4303 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4304 * sysdeps/sparc/sparc32/rem.S: Likewise.
4305 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4306 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4307 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4308 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4309 * sysdeps/sparc/sparc32/urem.S: Likewise.
4310 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4311 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4312 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4313 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4315 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4316 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4317 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4318 * sysdeps/unix/bsd/times.c: Likewise.
4319 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4320 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4324 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4325 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4326 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4327 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4328 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4329 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4330 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4331 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4332 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4333 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4334 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4335 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4336 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4337 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4338 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4339 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4340 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4341 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4342 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4343 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4344 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4346 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4347 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4348 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4349 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4350 * sysdeps/x86_64/strcspn.S: Likewise.
4352 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4354 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4355 generated file. Regenerate properly from gen-translit.pl.
4356 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4357 locale/C-translit.h.
4359 2013-06-05 Andreas Schwab <schwab@suse.de>
4362 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4363 week as 6 instead of -1.
4364 * time/tst-strptime.c (day_tests): Add test case.
4366 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4368 * sysdeps/generic/math_private.h
4369 (libc_feholdexcept_setround_53bit): Replace with
4370 libc_feholdsetround_53bit.
4371 (libc_feupdateenv_53bit): Replace with
4372 libc_feresetround_53bit.
4373 (SET_RESTORE_ROUND_53BIT): Adjust.
4375 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4377 * string/test-strchrnul.c: Add copyright header.
4379 * posix/tst-getaddrinfo4.c: Increase test timeout.
4381 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4384 * math/libm-test.inc (MAX_EXP): Remove
4386 (ulp): Use MIN_EXP - MANT_DIG.
4387 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4389 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4391 * po/be.po: Revert last change.
4392 * po/zh_CN.po: Likewise.
4393 * po/header.pot: Likewise.
4395 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4397 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4398 link-libc-deps to empty as target-specific variable.
4399 * Makerules (link-libc-args): New variable.
4400 (libc-for-link): Likewise.
4401 (link-libc-deps): Likewise.
4402 (lib%.so): Depend on $(link-libc-deps). Link with
4404 (build-module): Link with $(link-libc-args).
4405 (build-module-asneeded): Likewise.
4406 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4408 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4409 target-specific variable.
4410 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4411 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4412 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4414 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4416 ($(objpfx)libpcprofile.so): Likewise.
4417 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4419 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4420 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4421 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4423 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4424 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4425 * login/Makefile ($(objpfx)libutil.so): Likewise.
4426 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4427 * math/Makefile ($(objpfx)libm.so): Likewise.
4428 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4429 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4430 variable instead of depending directly on libc.
4431 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4432 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4434 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4436 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4437 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4438 ($(objpfx)libanl.so): Likewise.
4439 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4441 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4443 * sysdeps/i386/fpu/Makefile: Remove file.
4444 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4445 ($(objpfx)libm.so): Remove dependency on ld.so.
4447 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4450 * nis/yp_xdr.c (XDRMAXNAME): Define.
4451 (XDRMAXRECORD): Define.
4452 (xdr_domainname): Use XDRMAXNAME.
4453 (xdr_mapname): Likewise.
4454 (xdr_peername): Likewise.
4455 (xdr_keydat): Use XDRMAXRECORD.
4456 (xdr_valdat): Likewise.
4458 2013-05-30 Jeff Law <law@redhat.com>
4461 * manual/errno.texi (ESTALE): Update to account for more than
4462 just NFS file systems.
4463 * sysdeps/gnu/errlist.c: Regenerated.
4465 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4468 * elf/Makefile (tests): Add tst-null-argv.
4469 (modules-names): Add tst-null-argv-lib.
4470 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4471 (tst-null-argv-ENV): Set environment for tst-null-argv.
4472 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4473 (RTLD_PROGNAME): New macro.
4474 * elf/tst-null-argv.c: New test case.
4475 * elf/tst-null-argv-lib.c: Library for test case.
4476 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4477 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4478 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4479 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4480 * elf/dl-init.c (call_init): Likewise.
4481 (_dl_init): Likewise.
4482 * elf/dl-load.c (print_search_path): Likewise.
4483 (_dl_map_object): Likewise.
4484 * elf/dl-lookup.c (do_lookup_x): Likewise.
4485 (add_dependency): Likewise.
4486 (_dl_lookup_symbol_x): Likewise.
4487 (_dl_debug_bindings): Likewise.
4488 * elf/dl-open.c (_dl_show_scope): Likewise.
4489 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4490 * elf/dl-version.c (match_symbol): Likewise.
4491 (_dl_check_map_versions): Likewise.
4492 * elf/rtld.c (dl_main): Likewise.
4493 (print_unresolved): Use RTLD_PROGNAME.
4494 (print_missing_version): Likewise.
4495 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4496 (elf_machine_rela): Likewise.
4497 * sysdeps/powerpc/powerpc32/dl-machine.c
4498 (__process_machine_rela): Likewise.
4499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4501 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4503 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4505 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4512 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4514 * po/be.po: Add descriptive title.
4515 * po/zh_CN.po: Likewise.
4516 * po/header.pot: Likewise.
4518 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4520 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4522 (enlarge_archive): Likewise.
4524 2013-05-28 Ben North <ben@redfrontdoor.org>
4526 * manual/arith.texi (frexp): It is the magnitude of the return
4527 value which lies in [0.5, 1), not the return value itself.
4529 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4533 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4535 * stdio-common/bug26.c (main): Correct fscanf template.
4537 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4538 declare _dl_skip_args.
4540 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4543 * manual/platform.texi: Add missing @end deftypefun.
4545 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4548 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4549 bit of mantissa of 2^16382.
4550 * math/libm-test.inc (hypot_test_data): Add more tests.
4552 * math/libm-test.inc: Add drem and pow10 to list of tested
4554 (pow10_test): New function.
4555 (drem_test): Likewise.
4556 (drem_test_tonearest): Likewise.
4557 (drem_test_towardzero): Likewise.
4558 (drem_test_downward): Likewise.
4559 (drem_test_upward): Likewise.
4560 (main): Call the new functions.
4562 * math/libm-test.inc (finite_test_data): Remove.
4563 (finite_test): Run tests from isfinite_test_data.
4564 (gamma_test_data): Remove.
4565 (gamma_test): Run tests from lgamma_test_data.
4566 * sysdeps/i386/fpu/libm-test-ulps: Update.
4567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4569 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4571 * manual/platform.texi: Add PowerPC PPR function set documentation.
4572 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4575 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4577 * math/libm-test.inc (MAX_EXP): Define.
4579 (ulp): New function.
4580 (check_float_internal): Use ULPDIFF.
4581 (cpow_test): Disable failing test.
4582 (check_ulp): Test ulp() implemetnation.
4583 (main): Call check_ulp before starting tests.
4585 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4587 * math/gen-libm-test.pl (generate_testfile): Do not handle
4588 START_DATA and END_DATA.
4589 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4591 (acos_tonearest_test_data): Likewise.
4592 (acos_towardzero_test_data): Likewise.
4593 (acos_downward_test_data): Likewise.
4594 (acos_upward_test_data): Likewise.
4595 (acosh_test_data): Likewise.
4596 (asin_test_data): Likewise.
4597 (asin_tonearest_test_data): Likewise.
4598 (asin_towardzero_test_data): Likewise.
4599 (asin_downward_test_data): Likewise.
4600 (asin_upward_test_data): Likewise.
4601 (asinh_test_data): Likewise.
4602 (atan_test_data): Likewise.
4603 (atanh_test_data): Likewise.
4604 (atan2_test_data): Likewise.
4605 (cabs_test_data): Likewise.
4606 (cacos_test_data): Likewise.
4607 (cacosh_test_data): Likewise.
4608 (carg_test_data): Likewise.
4609 (casin_test_data): Likewise.
4610 (casinh_test_data): Likewise.
4611 (catan_test_data): Likewise.
4612 (catanh_test_data): Likewise.
4613 (cbrt_test_data): Likewise.
4614 (ccos_test_data): Likewise.
4615 (ccosh_test_data): Likewise.
4616 (ceil_test_data): Likewise.
4617 (cexp_test_data): Likewise.
4618 (cimag_test_data): Likewise.
4619 (clog_test_data): Likewise.
4620 (clog10_test_data): Likewise.
4621 (conj_test_data): Likewise.
4622 (copysign_test_data): Likewise.
4623 (cos_test_data): Likewise.
4624 (cos_tonearest_test_data): Likewise.
4625 (cos_towardzero_test_data): Likewise.
4626 (cos_downward_test_data): Likewise.
4627 (cos_upward_test_data): Likewise.
4628 (cosh_test_data): Likewise.
4629 (cosh_tonearest_test_data): Likewise.
4630 (cosh_towardzero_test_data): Likewise.
4631 (cosh_downward_test_data): Likewise.
4632 (cosh_upward_test_data): Likewise.
4633 (cpow_test_data): Likewise.
4634 (cproj_test_data): Likewise.
4635 (creal_test_data): Likewise.
4636 (csin_test_data): Likewise.
4637 (csinh_test_data): Likewise.
4638 (csqrt_test_data): Likewise.
4639 (ctan_test_data): Likewise.
4640 (ctan_tonearest_test_data): Likewise.
4641 (ctan_towardzero_test_data): Likewise.
4642 (ctan_downward_test_data): Likewise.
4643 (ctan_upward_test_data): Likewise.
4644 (ctanh_test_data): Likewise.
4645 (ctanh_tonearest_test_data): Likewise.
4646 (ctanh_towardzero_test_data): Likewise.
4647 (ctanh_downward_test_data): Likewise.
4648 (ctanh_upward_test_data): Likewise.
4649 (erf_test_data): Likewise.
4650 (erfc_test_data): Likewise.
4651 (exp_test_data): Likewise.
4652 (exp_tonearest_test_data): Likewise.
4653 (exp_towardzero_test_data): Likewise.
4654 (exp_downward_test_data): Likewise.
4655 (exp_upward_test_data): Likewise.
4656 (exp10_test_data): Likewise.
4657 (exp2_test_data): Likewise.
4658 (expm1_test_data): Likewise.
4659 (fabs_test_data): Likewise.
4660 (fdim_test_data): Likewise.
4661 (finite_test_data): Likewise.
4662 (floor_test_data): Likewise.
4663 (fma_test_data): Likewise.
4664 (fma_towardzero_test_data): Likewise.
4665 (fma_downward_test_data): Likewise.
4666 (fma_upward_test_data): Likewise.
4667 (fmax_test_data): Likewise.
4668 (fmin_test_data): Likewise.
4669 (fmod_test_data): Likewise.
4670 (fpclassify_test_data): Likewise.
4671 (frexp_test_data): Likewise.
4672 (gamma_test_data): Likewise.
4673 (hypot_test_data): Likewise.
4674 (ilogb_test_data): Likewise.
4675 (isfinite_test_data): Likewise.
4676 (isgreater_test_data): Likewise.
4677 (isgreaterequal_test_data): Likewise.
4678 (isinf_test_data): Likewise.
4679 (isless_test_data): Likewise.
4680 (islessequal_test_data): Likewise.
4681 (islessgreater_test_data): Likewise.
4682 (isnan_test_data): Likewise.
4683 (isnormal_test_data): Likewise.
4684 (issignaling_test_data): Likewise.
4685 (isunordered_test_data): Likewise.
4686 (j0_test_data): Likewise.
4687 (j1_test_data): Likewise.
4688 (jn_test_data): Likewise.
4689 (ldexp_test_data): Likewise.
4690 (lgamma_test_data): Likewise.
4691 (lrint_test_data): Likewise.
4692 (lrint_tonearest_test_data): Likewise.
4693 (lrint_towardzero_test_data): Likewise.
4694 (lrint_downward_test_data): Likewise.
4695 (lrint_upward_test_data): Likewise.
4696 (llrint_test_data): Likewise.
4697 (llrint_tonearest_test_data): Likewise.
4698 (llrint_towardzero_test_data): Likewise.
4699 (llrint_downward_test_data): Likewise.
4700 (llrint_upward_test_data): Likewise.
4701 (log_test_data): Likewise.
4702 (log10_test_data): Likewise.
4703 (log1p_test_data): Likewise.
4704 (log2_test_data): Likewise.
4705 (logb_test_data): Likewise.
4706 (logb_downward_test_data): Likewise.
4707 (lround_test_data): Likewise.
4708 (llround_test_data): Likewise.
4709 (modf_test_data): Likewise.
4710 (nearbyint_test_data): Likewise.
4711 (nextafter_test_data): Likewise.
4712 (nexttoward_test_data): Likewise.
4713 (pow_test_data): Likewise.
4714 (pow_tonearest_test_data): Likewise.
4715 (pow_towardzero_test_data): Likewise.
4716 (pow_downward_test_data): Likewise.
4717 (pow_upward_test_data): Likewise.
4718 (remainder_test_data): Likewise.
4719 (remainder_tonearest_test_data): Likewise.
4720 (remainder_towardzero_test_data): Likewise.
4721 (remainder_downward_test_data): Likewise.
4722 (remainder_upward_test_data): Likewise.
4723 (remquo_test_data): Likewise.
4724 (rint_test_data): Likewise.
4725 (rint_tonearest_test_data): Likewise.
4726 (rint_towardzero_test_data): Likewise.
4727 (rint_downward_test_data): Likewise.
4728 (rint_upward_test_data): Likewise.
4729 (round_test_data): Likewise.
4730 (scalb_test_data): Likewise.
4731 (scalbn_test_data): Likewise.
4732 (scalbln_test_data): Likewise.
4733 (signbit_test_data): Likewise.
4734 (sin_test_data): Likewise.
4735 (sin_tonearest_test_data): Likewise.
4736 (sin_towardzero_test_data): Likewise.
4737 (sin_downward_test_data): Likewise.
4738 (sin_upward_test_data): Likewise.
4739 (sincos_test_data): Likewise.
4740 (sinh_test_data): Likewise.
4741 (sinh_tonearest_test_data): Likewise.
4742 (sinh_towardzero_test_data): Likewise.
4743 (sinh_downward_test_data): Likewise.
4744 (sinh_upward_test_data): Likewise.
4745 (sqrt_test_data): Likewise.
4746 (tan_test_data): Likewise.
4747 (tan_tonearest_test_data): Likewise.
4748 (tan_towardzero_test_data): Likewise.
4749 (tan_downward_test_data): Likewise.
4750 (tan_upward_test_data): Likewise.
4751 (tanh_test_data): Likewise.
4752 (tgamma_test_data): Likewise.
4753 (trunc_test_data): Likewise.
4754 (y0_test_data): Likewise.
4755 (y1_test_data): Likewise.
4756 (yn_test_data): Likewise.
4757 (significand_test_data): Likewise.
4759 * math/gen-libm-test.pl (@functions): Remove variable.
4760 (generate_testfile): Don't handle START and END lines.
4761 * math/libm-test.inc (START): New macro.
4763 (END_COMPLEX): Likewise.
4764 (acos_test): Use END macro without arguments.
4765 (acos_test_tonearest): Likewise.
4766 (acos_test_towardzero): Likewise.
4767 (acos_test_downward): Likewise.
4768 (acos_test_upward): Likewise.
4769 (acosh_test): Likewise.
4770 (asin_test): Likewise.
4771 (asin_test_tonearest): Likewise.
4772 (asin_test_towardzero): Likewise.
4773 (asin_test_downward): Likewise.
4774 (asin_test_upward): Likewise.
4775 (asinh_test): Likewise.
4776 (atan_test): Likewise.
4777 (atanh_test): Likewise.
4778 (atan2_test): Likewise.
4779 (cabs_test): Likewise.
4780 (cacos_test): Use END_COMPLEX macro without arguments.
4781 (cacosh_test): Likewise.
4782 (carg_test): Use END macro without arguments.
4783 (casin_test): Use END_COMPLEX macro without arguments.
4784 (casinh_test): Likewise.
4785 (catan_test): Likewise.
4786 (catanh_test): Likewise.
4787 (cbrt_test): Use END macro without arguments.
4788 (ccos_test): Use END_COMPLEX macro without arguments.
4789 (ccosh_test): Likewise.
4790 (ceil_test): Use END macro without arguments.
4791 (cexp_test): Use END_COMPLEX macro without arguments.
4792 (cimag_test): Use END macro without arguments.
4793 (clog_test): Use END_COMPLEX macro without arguments.
4794 (clog10_test): Likewise.
4795 (conj_test): Likewise.
4796 (copysign_test): Use END macro without arguments.
4797 (cos_test): Likewise.
4798 (cos_test_tonearest): Likewise.
4799 (cos_test_towardzero): Likewise.
4800 (cos_test_downward): Likewise.
4801 (cos_test_upward): Likewise.
4802 (cosh_test): Likewise.
4803 (cosh_test_tonearest): Likewise.
4804 (cosh_test_towardzero): Likewise.
4805 (cosh_test_downward): Likewise.
4806 (cosh_test_upward): Likewise.
4807 (cpow_test): Use END_COMPLEX macro without arguments.
4808 (cproj_test): Likewise.
4809 (creal_test): Use END macro without arguments.
4810 (csin_test): Use END_COMPLEX macro without arguments.
4811 (csinh_test): Likewise.
4812 (csqrt_test): Likewise.
4813 (ctan_test): Likewise.
4814 (ctan_test_tonearest): Likewise.
4815 (ctan_test_towardzero): Likewise.
4816 (ctan_test_downward): Likewise.
4817 (ctan_test_upward): Likewise.
4818 (ctanh_test): Likewise.
4819 (ctanh_test_tonearest): Likewise.
4820 (ctanh_test_towardzero): Likewise.
4821 (ctanh_test_downward): Likewise.
4822 (ctanh_test_upward): Likewise.
4823 (erf_test): Use END macro without arguments.
4824 (erfc_test): Likewise.
4825 (exp_test): Likewise.
4826 (exp_test_tonearest): Likewise.
4827 (exp_test_towardzero): Likewise.
4828 (exp_test_downward): Likewise.
4829 (exp_test_upward): Likewise.
4830 (exp10_test): Likewise.
4831 (exp2_test): Likewise.
4832 (expm1_test): Likewise.
4833 (fabs_test): Likewise.
4834 (fdim_test): Likewise.
4835 (finite_test): Likewise.
4836 (floor_test): Likewise.
4837 (fma_test): Likewise.
4838 (fma_test_towardzero): Likewise.
4839 (fma_test_downward): Likewise.
4840 (fma_test_upward): Likewise.
4841 (fmax_test): Likewise.
4842 (fmin_test): Likewise.
4843 (fmod_test): Likewise.
4844 (fpclassify_test): Likewise.
4845 (frexp_test): Likewise.
4846 (gamma_test): Likewise.
4847 (hypot_test): Likewise.
4848 (ilogb_test): Likewise.
4849 (isfinite_test): Likewise.
4850 (isgreater_test): Likewise.
4851 (isgreaterequal_test): Likewise.
4852 (isinf_test): Likewise.
4853 (isless_test): Likewise.
4854 (islessequal_test): Likewise.
4855 (islessgreater_test): Likewise.
4856 (isnan_test): Likewise.
4857 (isnormal_test): Likewise.
4858 (issignaling_test): Likewise.
4859 (isunordered_test): Likewise.
4860 (j0_test): Likewise.
4861 (j1_test): Likewise.
4862 (jn_test): Likewise.
4863 (ldexp_test): Likewise.
4864 (lgamma_test): Likewise.
4865 (lrint_test): Likewise.
4866 (lrint_test_tonearest): Likewise.
4867 (lrint_test_towardzero): Likewise.
4868 (lrint_test_downward): Likewise.
4869 (lrint_test_upward): Likewise.
4870 (llrint_test): Likewise.
4871 (llrint_test_tonearest): Likewise.
4872 (llrint_test_towardzero): Likewise.
4873 (llrint_test_downward): Likewise.
4874 (llrint_test_upward): Likewise.
4875 (log_test): Likewise.
4876 (log10_test): Likewise.
4877 (log1p_test): Likewise.
4878 (log2_test): Likewise.
4879 (logb_test): Likewise.
4880 (logb_test_downward): Likewise.
4881 (lround_test): Likewise.
4882 (llround_test): Likewise.
4883 (modf_test): Likewise.
4884 (nearbyint_test): Likewise.
4885 (nextafter_test): Likewise.
4886 (nexttoward_test): Likewise.
4887 (pow_test): Likewise.
4888 (pow_test_tonearest): Likewise.
4889 (pow_test_towardzero): Likewise.
4890 (pow_test_downward): Likewise.
4891 (pow_test_upward): Likewise.
4892 (remainder_test): Likewise.
4893 (remainder_test_tonearest): Likewise.
4894 (remainder_test_towardzero): Likewise.
4895 (remainder_test_downward): Likewise.
4896 (remainder_test_upward): Likewise.
4897 (remquo_test): Likewise.
4898 (rint_test): Likewise.
4899 (rint_test_tonearest): Likewise.
4900 (rint_test_towardzero): Likewise.
4901 (rint_test_downward): Likewise.
4902 (rint_test_upward): Likewise.
4903 (round_test): Likewise.
4904 (scalb_test): Likewise.
4905 (scalbn_test): Likewise.
4906 (scalbln_test): Likewise.
4907 (signbit_test): Likewise.
4908 (sin_test): Likewise.
4909 (sin_test_tonearest): Likewise.
4910 (sin_test_towardzero): Likewise.
4911 (sin_test_downward): Likewise.
4912 (sin_test_upward): Likewise.
4913 (sincos_test): Likewise.
4914 (sinh_test): Likewise.
4915 (sinh_test_tonearest): Likewise.
4916 (sinh_test_towardzero): Likewise.
4917 (sinh_test_downward): Likewise.
4918 (sinh_test_upward): Likewise.
4919 (sqrt_test): Likewise.
4920 (tan_test): Likewise.
4921 (tan_test_tonearest): Likewise.
4922 (tan_test_towardzero): Likewise.
4923 (tan_test_downward): Likewise.
4924 (tan_test_upward): Likewise.
4925 (tanh_test): Likewise.
4926 (tgamma_test): Likewise.
4927 (trunc_test): Likewise.
4928 (y0_test): Likewise.
4929 (y1_test): Likewise.
4930 (yn_test): Likewise.
4931 (significand_test): Likewise.
4933 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4936 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4938 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4941 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4942 __ppc_mdoio and __ppc_mdoom.
4943 * manual/platform.texi: Document new functions __ppc_yield,
4944 __ppc_mdoio and __ppc_mdoom.
4946 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4948 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4949 (main): Mention "tls" pseudo-hwcap is legacy.
4950 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4952 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4954 * math/gen-libm-test.pl (parse_args): Output only string of
4955 arguments as text for test name, not full call or descriptions of
4956 tests for extra outputs.
4957 (generate_testfile): Do not pass function name to parse_args.
4958 Generate this_func variable from START.
4959 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4961 (struct test_ff_f_data): Likewise.
4962 (test_ff_f_data_nexttoward): Likewise.
4963 (struct test_fi_f_data): Likewise.
4964 (struct test_fl_f_data): Likewise.
4965 (struct test_if_f_data): Likewise.
4966 (struct test_fff_f_data): Likewise.
4967 (struct test_c_f_data): Likewise.
4968 (struct test_f_f1_data): Likewise. Remove field extra_name.
4969 (struct test_fF_f1_data): Likewise.
4970 (struct test_ffI_f1_data): Likewise.
4971 (struct test_c_c_data): Rename test_name field to arg_str.
4972 (struct test_cc_c_data): Likewise.
4973 (struct test_f_i_data): Likewise.
4974 (struct test_ff_i_data): Likewise.
4975 (struct test_f_l_data): Likewise.
4976 (struct test_f_L_data): Likewise.
4977 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4979 (COMMON_TEST_SETUP): New macro.
4980 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4981 (COMMON_TEST_CLEANUP): Likewise.
4982 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4983 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4985 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4986 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4988 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4989 (RUN_TEST_fff_f): Take argument string. Call new setup and
4991 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4992 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4994 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4995 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4997 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4998 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5000 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5001 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5003 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5004 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5006 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5007 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5009 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5010 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5012 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5013 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5015 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5016 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5018 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5019 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5021 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5022 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5024 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5025 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5027 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5028 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5030 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5031 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5033 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5034 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5036 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5038 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5040 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5041 to _sifields.sigfault.
5042 (si_addr_lsb): Define new macro.
5043 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5044 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5047 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5050 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5052 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5054 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5057 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5059 * math/gen-libm-test.pl (parse_args): Do not include expected
5060 result in test name.
5061 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5062 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5063 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5064 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5065 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5068 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5070 * benchtests/Makefile: Sort function entries.
5072 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5073 tanh, asinh, acosh, atanh.
5074 * benchtests/acos-inputs: New file.
5075 * benchtests/acosh-inputs: New file.
5076 * benchtests/asin-inputs: New file.
5077 * benchtests/asinh-inputs: New file.
5078 * benchtests/atanh-inputs: New file.
5079 * benchtests/cosh-inputs: New file.
5080 * benchtests/log-inputs: New file.
5081 * benchtests/sinh-inputs: New file.
5082 * benchtests/tanh-inputs: New file.
5084 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5087 * posix/tst-getaddrinfo4.c: New test.
5088 * posix/Makefile (tests): Add it.
5090 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5093 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5094 when no services were used.
5095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5096 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5098 2013-05-21 Andreas Schwab <schwab@suse.de>
5101 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5102 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5104 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5105 redundant variable declarations and reallocation of buffer when
5106 parsing as IPv6 address. Always set NSS status when called from
5107 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5108 buffer too small. Correct computation of needed size.
5109 * nss/Makefile (tests): Add test-digits-dots.
5110 * nss/test-digits-dots.c: New test.
5112 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5114 * benchtests/Makefile: Remove instructions for adding
5116 * benchtests/README: New file to explain how to execute and
5117 enhance the benchmark tests.
5119 2013-05-21 Andreas Schwab <schwab@suse.de>
5122 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5123 * setjmp/tst-sigsetjmp.c: New test.
5125 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5127 * sysdeps/x86_64/memset.S (memset): New implementation.
5128 (__bzero): Likewise.
5129 (__memset_tail): New function.
5131 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5133 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5134 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5135 __memcpy_sse2_unaligned ifunc selection.
5136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5137 Add memcpy-sse2-unaligned.S.
5138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5139 Add: __memcpy_sse2_unaligned.
5141 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5144 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5145 math_force_eval before restoring floating-point envrionment.
5146 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5149 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5151 (__nearbyintl): Use math_force_eval before restoring
5152 floating-point environment.
5153 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5155 * math/gen-libm-test.pl (special_functions): Remove.
5156 (parse_args): Don't handle TEST_extra. Handle functions with no
5158 * math/libm-test.inc (struct test_sincos_data): Replace with
5159 struct test_fFF_11_data.
5160 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5161 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5162 (sincos_test_data): Change element type to struct
5163 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5164 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5165 RUN_TEST_LOOP_sincos.
5166 * math/README.libm-test: Don't mention special handling of
5167 individual functions.
5168 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5170 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5171 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5172 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5175 * math/gen-libm-test.pl (get_variable): Remove function.
5176 (parse_args): Don't show pointer parameters to call in test
5177 names. Use "extra output N" in test names for extra outputs
5178 rather than naming variables.
5180 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5183 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5184 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5185 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5187 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5189 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5192 * math/gen-libm-test.pl (@tests): Remove variable.
5194 (new_test): Remove function.
5195 (show_exceptions): New function.
5196 (special_functions): Use show_exceptions instead of new_test.
5197 (parse_args): Likewise.
5198 (generate_testfile): Pass only function name in generated call to
5199 print_max_error or print_complex_max_error.
5200 (get_ulps): Do not handle complex tests specially.
5201 (output_test): Rename to ...
5202 (get_all_ulps_for_test): ... this. Return a string rather than
5203 printing to a file. Require ulps to be present.
5204 (output_ulps): Generate arrays rather than #defines.
5205 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5206 (struct ulp_data): New type.
5207 (BUILD_COMPLEX_ULP): Remove macro.
5208 (compare_ulp_data): New function.
5209 (find_ulps): Likewise.
5210 (find_test_ulps): Likewise.
5211 (find_function_ulps): Likewise.
5212 (find_complex_function_ulps): Likewise.
5213 (print_max_error): Determine allowed ulps using
5215 (print_complex_max_error): Determine allowed ulps using
5216 find_complex_function_ulps.
5217 (check_float_internal): Determine max ulps using find_test_ulps.
5218 (check_float): Do not take max_ulp parameter. Update call to
5219 check_float_internal.
5220 (check_complex): Likewise.
5221 (check_int): Do not take max_ulp parameter.
5222 (check_long): Likewise.
5223 (check_bool): Likewise.
5224 (check_longlong): Likewise.
5225 (struct test_f_f_data): Remove max_ulp field.
5226 (struct test_ff_f_data): Likewise.
5227 (struct test_ff_f_data_nexttoward): Likewise.
5228 (struct test_fi_f_data): Likewise.
5229 (struct test_fl_f_data): Likewise.
5230 (struct test_if_f_data): Likewise.
5231 (struct test_fff_f_data): Likewise.
5232 (struct test_c_f_data): Likewise.
5233 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5234 (struct test_fF_f1_data): Likewise.
5235 (struct test_ffI_f1_data): Likewise.
5236 (struct test_c_c_data): Remove max_ulp field.
5237 (struct test_cc_c_data): Likewise.
5238 (struct test_f_i_data): Likewise.
5239 (struct test_ff_i_data): Likewise.
5240 (struct test_f_l_data): Likewise.
5241 (struct test_f_L_data): Likewise.
5242 (struct test_sincos_data): Likewise.
5243 (RUN_TEST_f_f): Do not handle ulps.
5244 (RUN_TEST_LOOP_f_f): Likewise.
5245 (RUN_TEST_2_f): Likewise.
5246 (RUN_TEST_LOOP_2_f): Likewise.
5247 (RUN_TEST_fff_f): Likewise.
5248 (RUN_TEST_LOOP_fff_f): Likewise.
5249 (RUN_TEST_c_f): Likewise.
5250 (RUN_TEST_LOOP_c_f): Likewise.
5251 (RUN_TEST_f_f1): Likewise.
5252 (RUN_TEST_LOOP_f_f1): Likewise.
5253 (RUN_TEST_fF_f1): Likewise.
5254 (RUN_TEST_LOOP_fF_f1): Likewise.
5255 (RUN_TEST_fI_f1): Likewise.
5256 (RUN_TEST_LOOP_fI_f1): Likewise.
5257 (RUN_TEST_ffI_f1): Likewise.
5258 (RUN_TEST_LOOP_ffI_f1): Likewise.
5259 (RUN_TEST_c_c): Likewise.
5260 (RUN_TEST_LOOP_c_c): Likewise.
5261 (RUN_TEST_cc_c): Likewise.
5262 (RUN_TEST_LOOP_cc_c): Likewise.
5263 (RUN_TEST_f_i): Likewise.
5264 (RUN_TEST_LOOP_f_i): Likewise.
5265 (RUN_TEST_f_i_tg): Likewise.
5266 (RUN_TEST_LOOP_f_i_tg): Likewise.
5267 (RUN_TEST_ff_i_tg): Likewise.
5268 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5269 (RUN_TEST_f_b): Likewise.
5270 (RUN_TEST_LOOP_f_b): Likewise.
5271 (RUN_TEST_f_b_tg): Likewise.
5272 (RUN_TEST_LOOP_f_b_tg): Likewise.
5273 (RUN_TEST_f_l): Likewise.
5274 (RUN_TEST_LOOP_f_l): Likewise.
5275 (RUN_TEST_f_L): Likewise.
5276 (RUN_TEST_LOOP_f_L): Likewise.
5277 (RUN_TEST_sincos): Likewise.
5278 (RUN_TEST_LOOP_sincos): Likewise.
5280 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5284 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5285 main case of finite arguments, set rounding mode to FE_TONEAREST
5286 and discard exceptions.
5287 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5289 (remainder_tonearest_test_data): New variable.
5290 (remainder_test_tonearest): New function.
5291 (remainder_towardzero_test_data): New variable.
5292 (remainder_test_towardzero): New function.
5293 (remainder_downward_test_data): New variable.
5294 (remainder_test_downward): New function.
5295 (remainder_upward_test_data): New variable.
5296 (remainder_test_upward): New function.
5297 (main): Call the new test functions.
5299 * math/libm-test.inc (struct test_f_f1_data): Remove field
5301 (struct test_fF_f1_data): Likewise.
5302 (struct test_ffI_f1_data): Likewise.
5303 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5304 based on value of EXTRA_EXPECTED.
5305 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5306 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5307 EXTRA_VAR based on value of EXTRA_EXPECTED.
5308 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5309 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5310 EXTRA_VAR based on value of EXTRA_EXPECTED.
5311 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5312 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5313 EXTRA_VAR based on value of EXTRA_EXPECTED.
5314 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5315 * math/gen-libm-test.pl (parse_args): Don't output initializers
5316 for extra output values.
5318 * math/libm-test.inc (check_int): Expect result to be exactly
5319 equal to expected value and do not handle ulps.
5320 (check_long): Likewise.
5321 (check_longlong): Likewise.
5323 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5325 (cimag_test_data): Likewise.
5326 (conj_test_data): Likewise.
5327 (copysign_test_data): Likewise.
5328 (cproj_test_data): Likewise.
5329 (creal_test_data): Likewise.
5330 (fabs_test_data): Likewise.
5331 (fdim_test_data): Likewise.
5332 (finite_test_data): Likewise.
5333 (floor_test_data): Likewise.
5334 (fmax_test_data): Likewise.
5335 (fmin_test_data): Likewise.
5336 (fmod_test_data): Likewise.
5337 (fpclassify_test_data): Likewise.
5338 (frexp_test_data): Likewise.
5339 (ilogb_test_data): Likewise.
5340 (isfinite_test_data): Likewise.
5341 (isgreater_test_data): Likewise.
5342 (isgreaterequal_test_data): Likewise.
5343 (isinf_test_data): Likewise.
5344 (isless_test_data): Likewise.
5345 (islessequal_test_data): Likewise.
5346 (islessgreater_test_data): Likewise.
5347 (isnan_test_data): Likewise.
5348 (isnormal_test_data): Likewise.
5349 (issignaling_test_data): Likewise.
5350 (isunordered_test_data): Likewise.
5351 (ldexp_test_data): Likewise.
5352 (lrint_test_data): Likewise.
5353 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5354 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5355 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5356 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5357 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5358 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5360 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5361 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5362 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5363 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5365 (lrint_downward_test_data): Test for "inexact" exceptions.
5366 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5367 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5368 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5370 (lrint_upward_test_data): Test for "inexact" exceptions.
5371 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5373 (llrint_test_data): Test for "inexact" exceptions.
5374 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5375 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5376 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5377 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5378 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5379 (llrint_downward_test_data): Test for "inexact" exceptions.
5380 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5381 (llrint_upward_test_data): Test for "inexact" exceptions.
5382 (logb_test_data): Likewise.
5383 (logb_downward_test_data): Likewise.
5384 (nextafter_test_data): Likewise.
5385 (nexttoward_test_data): Likewise.
5386 (remainder_test_data): Likewise.
5387 (remquo_test_data): Likewise.
5388 (scalbn_test_data): Likewise.
5389 (scalbln_test_data): Likewise.
5390 (signbit_test_data): Likewise.
5391 (sqrt_test_data): Likewise.
5392 (significand_test_data): Likewise.
5394 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5397 * benchtests/bench-modf.c (struct args): Mark arg0 as
5399 * scripts/bench.pl: Mark members of struct args as volatile.
5401 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5404 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5405 negative infinity on POWER6 or lower.
5406 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5408 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5411 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5412 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5413 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5414 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5415 (_FP_SETQNAN): New macro.
5416 (_FP_SETQNAN_SEMIRAW): Likewise.
5417 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5418 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5419 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5420 (FP_EXTEND): Use _FP_FRAC_SNANP.
5421 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5422 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5424 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5429 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5431 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5432 with DIVIDE_BY_ZERO_EXCEPTION.
5433 (gamma_test_data): Likewise.
5434 (lgamma_test_data): Likewise.
5435 (log_test_data): Likewise.
5436 (log10_test_data): Likewise.
5437 (log2_test_data): Likewise.
5438 (tgamma_test_data): Likewise.
5440 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5441 (acos_test_tonearest): Likewise.
5442 (acos_test_towardzero): Likewise.
5443 (acos_test_downward): Likewise.
5444 (acos_test_upward): Likewise.
5445 (acosh_test): Likewise.
5446 (asin_test): Likewise.
5447 (asin_test_tonearest): Likewise.
5448 (asin_test_towardzero): Likewise.
5449 (asin_test_downward): Likewise.
5450 (asin_test_upward): Likewise.
5451 (asinh_test): Likewise.
5452 (atan_test): Likewise.
5453 (atanh_test): Likewise.
5454 (atan2_test): Likewise.
5455 (cabs_test): Likewise.
5456 (cacos_test): Likewise.
5457 (cacosh_test): Likewise.
5458 (casin_test): Likewise.
5459 (casinh_test): Likewise.
5460 (catan_test): Likewise.
5461 (catanh_test): Likewise.
5462 (cbrt_test): Likewise.
5463 (ccos_test): Likewise.
5464 (ccosh_test): Likewise.
5465 (cexp_test): Likewise.
5466 (clog_test): Likewise.
5467 (clog10_test): Likewise.
5468 (cos_test): Likewise.
5469 (cos_test_tonearest): Likewise.
5470 (cos_test_towardzero): Likewise.
5471 (cos_test_downward): Likewise.
5472 (cos_test_upward): Likewise.
5473 (cosh_test): Likewise.
5474 (cosh_test_tonearest): Likewise.
5475 (cosh_test_towardzero): Likewise.
5476 (cosh_test_downward): Likewise.
5477 (cosh_test_upward): Likewise.
5478 (cpow_test): Likewise.
5479 (csin_test): Likewise.
5480 (csinh_test): Likewise.
5481 (csqrt_test): Likewise.
5482 (ctan_test): Likewise.
5483 (ctan_test_tonearest): Likewise.
5484 (ctan_test_towardzero): Likewise.
5485 (ctan_test_downward): Likewise.
5486 (ctan_test_upward): Likewise.
5487 (ctanh_test): Likewise.
5488 (ctanh_test_tonearest): Likewise.
5489 (ctanh_test_towardzero): Likewise.
5490 (ctanh_test_downward): Likewise.
5491 (ctanh_test_upward): Likewise.
5492 (erf_test): Likewise.
5493 (erfc_test): Likewise.
5494 (exp_test): Likewise.
5495 (exp_test_tonearest): Likewise.
5496 (exp_test_towardzero): Likewise.
5497 (exp_test_downward): Likewise.
5498 (exp_test_upward): Likewise.
5499 (exp10_test): Likewise.
5500 (exp2_test): Likewise.
5501 (expm1_test): Likewise.
5502 (fmod_test): Likewise.
5503 (gamma_test): Likewise.
5504 (hypot_test): Likewise.
5505 (j0_test): Likewise.
5506 (j1_test): Likewise.
5507 (jn_test): Likewise.
5508 (lgamma_test): Likewise.
5509 (log_test): Likewise.
5510 (log10_test): Likewise.
5511 (log1p_test): Likewise.
5512 (log2_test): Likewise.
5513 (logb_test_downward): Likewise.
5514 (pow_test): Likewise.
5515 (pow_test_tonearest): Likewise.
5516 (pow_test_towardzero): Likewise.
5517 (pow_test_downward): Likewise.
5518 (pow_test_upward): Likewise.
5519 (remainder_test): Likewise.
5520 (remquo_test): Likewise.
5521 (sin_test): Likewise.
5522 (sin_test_tonearest): Likewise.
5523 (sin_test_towardzero): Likewise.
5524 (sin_test_downward): Likewise.
5525 (sin_test_upward): Likewise.
5526 (sincos_test): Likewise.
5527 (sinh_test): Likewise.
5528 (sinh_test_tonearest): Likewise.
5529 (sinh_test_towardzero): Likewise.
5530 (sinh_test_downward): Likewise.
5531 (sinh_test_upward): Likewise.
5532 (sqrt_test): Likewise.
5533 (tan_test): Likewise.
5534 (tan_test_tonearest): Likewise.
5535 (tan_test_towardzero): Likewise.
5536 (tan_test_downward): Likewise.
5537 (tan_test_upward): Likewise.
5538 (tanh_test): Likewise.
5539 (tgamma_test): Likewise.
5540 (y0_test): Likewise.
5541 (y1_test): Likewise.
5542 (yn_test): Likewise.
5544 * math/gen-libm-test.pl (adjust_arg): Remove function.
5545 (special_function): Remove argument $in_func. Only handle
5546 generating output for tables of tests, not inside functions.
5547 (parse_args): Likewise.
5548 (generate_testfile): Remove variable $in_func. Update call to
5550 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5551 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5552 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5553 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5554 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5555 (MAX_VALUE_INIT): Rename macro to max_value.
5556 (MIN_VALUE_INIT): Rename macro to min_value.
5557 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5558 (plus_zero): Remove variable.
5559 (minus_zero): Likewise.
5560 (plus_infty): Likewise.
5561 (minus_infty): Likewise.
5562 (qnan_value): Likewise.
5563 (max_value): Likewise.
5564 (min_value): Likewise.
5565 (min_subnorm_value): Likewise.
5567 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5569 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5570 uint64_t or uint32_t usage.
5571 * crypt/sha256-block.c: Likewise.
5572 * crypt/sha256-crypt.c: Likewise.
5573 * crypt/sha256.c: Likewise.
5574 * crypt/sha512-block.c: Likewise.
5575 * crypt/sha512-crypt.c: Likewise.
5576 * crypt/sha512.c: Likewise.
5577 * debug/backtrace-tst.c: Likewise.
5578 * debug/pcprofiledump.c: Likewise.
5579 * elf/cache.c: Likewise.
5580 * elf/dl-cache.c: Likewise.
5581 * elf/dl-misc.c: Likewise.
5582 * elf/dl-profile.c: Likewise.
5583 * elf/dl-support.c: Likewise.
5584 * elf/ldconfig.c: Likewise.
5585 * elf/sprof.c: Likewise.
5586 * iconv/dummy-repertoire.c: Likewise.
5587 * iconv/iconv_charmap.c: Likewise.
5588 * iconv/skeleton.c: Likewise.
5589 * iconvdata/8bit-generic.c: Likewise.
5590 * iconvdata/cp737.h: Likewise.
5591 * iconvdata/cp775.h: Likewise.
5592 * iconvdata/ibm1008.h: Likewise.
5593 * iconvdata/ibm1025.h: Likewise.
5594 * iconvdata/ibm1046.h: Likewise.
5595 * iconvdata/ibm1097.h: Likewise.
5596 * iconvdata/ibm1112.h: Likewise.
5597 * iconvdata/ibm1122.h: Likewise.
5598 * iconvdata/ibm1123.h: Likewise.
5599 * iconvdata/ibm1124.h: Likewise.
5600 * iconvdata/ibm1129.h: Likewise.
5601 * iconvdata/ibm1130.h: Likewise.
5602 * iconvdata/ibm1132.h: Likewise.
5603 * iconvdata/ibm1133.h: Likewise.
5604 * iconvdata/ibm1137.h: Likewise.
5605 * iconvdata/ibm1140.h: Likewise.
5606 * iconvdata/ibm1141.h: Likewise.
5607 * iconvdata/ibm1142.h: Likewise.
5608 * iconvdata/ibm1143.h: Likewise.
5609 * iconvdata/ibm1144.h: Likewise.
5610 * iconvdata/ibm1145.h: Likewise.
5611 * iconvdata/ibm1146.h: Likewise.
5612 * iconvdata/ibm1147.h: Likewise.
5613 * iconvdata/ibm1148.h: Likewise.
5614 * iconvdata/ibm1149.h: Likewise.
5615 * iconvdata/ibm1153.h: Likewise.
5616 * iconvdata/ibm1154.h: Likewise.
5617 * iconvdata/ibm1155.h: Likewise.
5618 * iconvdata/ibm1156.h: Likewise.
5619 * iconvdata/ibm1157.h: Likewise.
5620 * iconvdata/ibm1158.h: Likewise.
5621 * iconvdata/ibm1160.h: Likewise.
5622 * iconvdata/ibm1161.h: Likewise.
5623 * iconvdata/ibm1162.h: Likewise.
5624 * iconvdata/ibm1163.h: Likewise.
5625 * iconvdata/ibm1164.h: Likewise.
5626 * iconvdata/ibm1166.h: Likewise.
5627 * iconvdata/ibm1167.h: Likewise.
5628 * iconvdata/ibm12712.h: Likewise.
5629 * iconvdata/ibm1390.h: Likewise.
5630 * iconvdata/ibm1399.h: Likewise.
5631 * iconvdata/ibm16804.h: Likewise.
5632 * iconvdata/ibm4517.h: Likewise.
5633 * iconvdata/ibm4899.h: Likewise.
5634 * iconvdata/ibm4909.h: Likewise.
5635 * iconvdata/ibm4971.h: Likewise.
5636 * iconvdata/ibm5347.h: Likewise.
5637 * iconvdata/ibm803.h: Likewise.
5638 * iconvdata/ibm856.h: Likewise.
5639 * iconvdata/ibm901.h: Likewise.
5640 * iconvdata/ibm902.h: Likewise.
5641 * iconvdata/ibm9030.h: Likewise.
5642 * iconvdata/ibm9066.h: Likewise.
5643 * iconvdata/ibm921.h: Likewise.
5644 * iconvdata/ibm922.h: Likewise.
5645 * iconvdata/ibm9448.h: Likewise.
5646 * iconvdata/isiri-3342.h: Likewise.
5647 * iconvdata/jis0201.h: Likewise.
5648 * include/link.h: Likewise.
5649 * include/netdb.h: Likewise.
5650 * inet/check_native.c: Likewise.
5651 * inet/check_pf.c: Likewise.
5652 * inet/getipv4sourcefilter.c: Likewise.
5653 * inet/getnameinfo.c: Likewise.
5654 * inet/getsourcefilter.c: Likewise.
5655 * inet/htonl.c: Likewise.
5656 * inet/setipv4sourcefilter.c: Likewise.
5657 * inet/setsourcefilter.c: Likewise.
5658 * inet/test-inet6_opt.c: Likewise.
5659 * inet/tst-network.c: Likewise.
5660 * locale/C-collate.c: Likewise.
5661 * locale/C-ctype.c: Likewise.
5662 * locale/C-time.c: Likewise.
5663 * locale/C-translit.h: Likewise.
5664 * locale/loadarchive.c: Likewise.
5665 * locale/programs/3level.h: Likewise.
5666 * locale/programs/charmap.c: Likewise.
5667 * locale/programs/charmap.h: Likewise.
5668 * locale/programs/ld-address.c: Likewise.
5669 * locale/programs/ld-collate.c: Likewise.
5670 * locale/programs/ld-ctype.c: Likewise.
5671 * locale/programs/ld-identification.c: Likewise.
5672 * locale/programs/ld-measurement.c: Likewise.
5673 * locale/programs/ld-messages.c: Likewise.
5674 * locale/programs/ld-monetary.c: Likewise.
5675 * locale/programs/ld-name.c: Likewise.
5676 * locale/programs/ld-numeric.c: Likewise.
5677 * locale/programs/ld-paper.c: Likewise.
5678 * locale/programs/ld-telephone.c: Likewise.
5679 * locale/programs/ld-time.c: Likewise.
5680 * locale/programs/linereader.c: Likewise.
5681 * locale/programs/locale.c: Likewise.
5682 * locale/programs/locarchive.c: Likewise.
5683 * locale/programs/locfile.h: Likewise.
5684 * locale/programs/repertoire.c: Likewise.
5685 * locale/programs/simple-hash.c: Likewise.
5686 * locale/programs/simple-hash.h: Likewise.
5687 * malloc/memusage.c: Likewise.
5688 * malloc/memusagestat.c: Likewise.
5689 * nis/nis_defaults.c: Likewise.
5690 * nis/nis_hash.c: Likewise.
5691 * nis/nis_print.c: Likewise.
5692 * nis/nis_xdr.c: Likewise.
5693 * nscd/connections.c: Likewise.
5694 * nscd/hstcache.c: Likewise.
5695 * nscd/nscd_gethst_r.c: Likewise.
5696 * nscd/nscd_getserv_r.c: Likewise.
5697 * nscd/nscd_helper.c: Likewise.
5698 * nscd/servicescache.c: Likewise.
5699 * nss/makedb.c: Likewise.
5700 * nss/nss_db/db-XXX.c: Likewise.
5701 * nss/nss_db/db-initgroups.c: Likewise.
5702 * nss/nss_db/db-netgrp.c: Likewise.
5703 * nss/nss_files/files-network.c: Likewise.
5704 * nss/nss_files/files-parse.c: Likewise.
5705 * posix/bug-regex5.c: Likewise.
5706 * posix/fnmatch_loop.c: Likewise.
5707 * posix/regcomp.c: Likewise.
5708 * posix/regexec.c: Likewise.
5709 * posix/tst-rfc3484-2.c: Likewise.
5710 * posix/tst-rfc3484-3.c: Likewise.
5711 * posix/tst-rfc3484.c: Likewise.
5712 * resolv/nss_dns/dns-canon.c: Likewise.
5713 * resolv/nss_dns/dns-network.c: Likewise.
5714 * resolv/res_init.c: Likewise.
5715 * resolv/res_mkquery.c: Likewise.
5716 * resolv/tst-aton.c: Likewise.
5717 * stdlib/cxa_atexit.c: Likewise.
5718 * stdlib/cxa_finalize.c: Likewise.
5719 * stdlib/gen-fpioconst.c: Likewise.
5720 * stdlib/strtol_l.c: Likewise.
5721 * string/tst-endian.c: Likewise.
5722 * sunrpc/auth_des.c: Likewise.
5723 * sunrpc/clnt_udp.c: Likewise.
5724 * sunrpc/rtime.c: Likewise.
5725 * sunrpc/svcauth_des.c: Likewise.
5726 * sunrpc/xdr.c: Likewise.
5727 * sunrpc/xdr_intXX_t.c: Likewise.
5728 * sunrpc/xdr_rec.c: Likewise.
5729 * sysdeps/generic/ldconfig.h: Likewise.
5730 * sysdeps/generic/ldsodefs.h: Likewise.
5731 * sysdeps/generic/memusage.h: Likewise.
5732 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5742 * sysdeps/posix/getaddrinfo.c: Likewise.
5743 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5744 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5745 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5746 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5747 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5748 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5749 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5750 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5751 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5752 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5753 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5754 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5755 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5756 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5757 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5758 * sysdeps/x86_64/dl-tls.h: Likewise.
5759 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5760 * time/alt_digit.c: Likewise.
5761 * time/era.c: Likewise.
5762 * wcsmbs/tst-c16c32-1.c: Likewise.
5764 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5766 * math/libm-test.inc (struct test_sincos_data): New type.
5767 (RUN_TEST_LOOP_sincos): New macro.
5768 (sincos_test_data): New variable.
5769 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5771 2013-05-16 Richard Henderson <rth@redhat.com>
5773 * math/atest-exp2.c (LIMB64): New macro.
5774 (CONSTSZ): New macro.
5775 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5777 (print_mpn_fp): ... to function scope.
5778 (read_mpn_hex): Remove.
5780 (exp2_mpn): Use mp_log2.
5781 (main): Use mp_exp1.
5783 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5785 * math/libm-test.inc: Remove comment about not testing "inexact"
5787 (INEXACT_EXCEPTION): New macro.
5788 (NO_INEXACT_EXCEPTION): Likewise.
5789 (INVALID_EXCEPTION_OK): Update value.
5790 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5791 (OVERFLOW_EXCEPTION_OK): Likewise.
5792 (UNDERFLOW_EXCEPTION_OK): Likewise.
5793 (IGNORE_ZERO_INF_SIGN): Likewise.
5794 (ERRNO_UNCHANGED): Likewise.
5795 (ERRNO_EDOM): Likewise.
5796 (ERRNO_ERANGE): Likewise.
5797 (test_exceptions): Handle testing "inexact" exceptions.
5798 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5799 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5800 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5801 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5803 (rint_towardzero_test_data): Likewise.
5804 (rint_downward_test_data): Likewise.
5805 (rint_upward_test_data): Likewise.
5807 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5808 with OVERFLOW_EXCEPTION.
5809 (exp10_test_data): Likewise.
5810 (exp2_test_data): Likewise.
5811 (expm1_test_data): Likewise.
5812 (lgamma_test_data): Likewise.
5813 (pow_test_data): Likewise.
5814 (tgamma_test_data): Likewise.
5815 (yn_test_data): Remove duplicate test of overflow.
5817 * math/libm-test.inc (struct test_cc_c_data): New type.
5818 (RUN_TEST_LOOP_cc_c): New macro.
5819 (cpow_test_data): New variable.
5820 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5822 * math/libm-test.inc (struct test_f_L_data): New type.
5823 (RUN_TEST_LOOP_f_L): New macro.
5824 (llrint_test_data): New variable.
5825 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5826 (llrint_tonearest_test_data): New variable.
5827 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5828 (llrint_towardzero_test_data): New variable.
5829 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5830 (llrint_downward_test_data): New variable.
5831 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5832 (llrint_upward_test_data): New variable.
5833 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5834 (llround_test_data): New variable.
5835 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5837 2013-05-13 Peter Collingbourne <pcc@google.com>
5839 * math/atest-exp2.c (get_log2): Remove const attribute.
5841 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5843 * math/libm-test.inc (struct test_f_l_data): New type.
5844 (RUN_TEST_LOOP_f_l): New macro.
5845 (lrint_test_data): New variable.
5846 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5847 (lrint_tonearest_test_data): New variable.
5848 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5849 (lrint_towardzero_test_data): New variable.
5850 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5851 (lrint_downward_test_data): New variable.
5852 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5853 (lrint_upward_test_data): New variable.
5854 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5855 (lround_test_data): New variable.
5856 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5858 2013-05-15 Peter Collingbourne <pcc@google.com>
5860 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5861 (EXTRACT_WORDS64) Use where appropriate.
5862 (INSERT_WORDS64) Likewise.
5864 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5865 constraints with x constraints.
5866 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5868 * malloc/obstack.c (_obstack_compat): Add initializer.
5870 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5872 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5873 si_trapno and add si_addr_lsb to _sifields.sigfault.
5874 (si_trapno): Remove macro.
5875 (si_addr_lsb): Define new macro.
5876 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5878 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5880 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5881 instead of TEST_f_l.
5882 (llrint_test_tonearest): Likewise.
5883 (llrint_test_towardzero): Likewise.
5884 (llrint_test_downward): Likewise.
5885 (llrint_test_upward): Likewise.
5886 (llround_test): Likewise.
5888 * math/libm-test.inc (struct test_f_i_data): Add comment.
5889 (RUN_TEST_LOOP_f_b): New macro.
5890 (RUN_TEST_LOOP_f_b_tg): Likewise.
5891 (finite_test_data): New variable.
5892 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5893 (isfinite_test_data): New variable.
5894 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5895 (isinf_test_data): New variable.
5896 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5897 (isnan_test_data): New variable.
5898 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5899 (isnormal_test_data): New variable.
5900 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5901 (issignaling_test_data): New variable.
5902 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5903 (signbit_test_data): New variable.
5904 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5906 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5907 with INVALID_EXCEPTION.
5908 (acosh_test_data): Likewise.
5909 (asin_test_data): Likewise.
5910 (atanh_test_data): Likewise.
5911 (fmod_test_data): Likewise.
5912 (log_test_data): Likewise.
5913 (log10_test_data): Likewise.
5914 (log2_test_data): Likewise.
5915 (pow_test_data): Likewise.
5916 (sqrt_test_data): Likewise.
5917 (y0_test_data): Likewise.
5918 (y1_test_data): Likewise.
5919 (yn_test_data): Likewise.
5921 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5924 * math/libm-test.inc (struct test_ff_i_data): New type.
5925 (RUN_TEST_LOOP_ff_i_tg): New macro.
5926 (isgreater_test_data): New variable.
5927 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5928 (isgreaterequal_test_data): New variable.
5929 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5930 (isless_test_data): New variable.
5931 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5932 (islessequal_test_data): New variable.
5933 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5934 (islessgreater_test_data): New variable.
5935 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5936 (isunordered_test_data): New variable.
5937 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5939 2013-05-14 David S. Miller <davem@davemloft.net>
5941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5943 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5945 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5947 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5949 (struct test_f_i_data): Change type of max_ulp to int.
5951 * math/libm-test.inc (test_ffI_f1_data): New type.
5952 (RUN_TEST_LOOP_ffI_f1): New macro.
5953 (remquo_test_data): New variable.
5954 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5956 * setjmp/tst-setjmp-fp.c: New file.
5957 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5958 (link-libm): New variable.
5959 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5961 * math/libm-test.inc (struct test_f_i_data): New type.
5962 (RUN_TEST_LOOP_f_i): New macro.
5963 (RUN_TEST_LOOP_f_i_tg): Likewise.
5964 (fpclassify_test_data): New variable.
5965 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5966 (ilogb_test_data): New variable.
5967 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5969 * math/libm-test.inc (scalbln_test): Correct function name in END
5972 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5973 (RUN_TEST_LOOP_fI_f1): New macro.
5974 (frexp_test_data): New variable.
5975 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5977 * math/libm-test.inc (struct test_fF_f1_data): New type.
5978 (RUN_TEST_LOOP_fF_f1): New macro.
5979 (modf_test_data): New variable.
5980 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5982 * math/libm-test.inc (struct test_f_f1_data): New type.
5983 (RUN_TEST_LOOP_f_f1): New macro.
5984 (gamma_test_data): New variable.
5985 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5986 (lgamma_test_data): New variable.
5987 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5989 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5991 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5992 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5993 (main): Comment "tls" pseudo-hwcap.
5995 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5997 * math/libm-test.inc (struct test_fl_f_data): New type.
5998 (RUN_TEST_LOOP_fl_f): New variable.
5999 (scalbln_test_data): New variable.
6000 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6002 * math/libm-test.inc (struct test_fi_f_data): New type.
6003 (RUN_TEST_LOOP_fi_f): New macro.
6004 (ldexp_test_data): New variable.
6005 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6006 (scalbn_test_data): New variable.
6007 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6009 * math/libm-test.inc (struct test_c_f_data): New type.
6010 (RUN_TEST_LOOP_c_f): New macro.
6011 (cabs_test_data): New variable.
6012 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6013 (carg_test_data): New variable.
6014 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6015 (cimag_test_data): New variable.
6016 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6017 (creal_test_data): New variable.
6018 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6020 * math/libm-test.inc (struct test_if_f_data): New type.
6021 (RUN_TEST_LOOP_if_f): New macro.
6022 (jn_test_data): New variable.
6023 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6024 (yn_test_data): New variable.
6025 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6027 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6029 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6031 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6032 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6034 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6036 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6037 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6038 (bench-deps): Add bench-timing.h.
6039 * benchtests-bench-skeleton.c: Include bench-timing.h.
6040 (main): Use TIMING_* macros instead of clock_gettime.
6041 * benchtests/bench-timing.h: New file.
6044 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6045 Renamed from _LIB_VERSION.
6046 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6048 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6050 * math/libm-test.inc (struct test_fff_f_data): New type.
6051 (RUN_TEST_LOOP_fff_f): New macro.
6052 (fma_test_data): New variable.
6053 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6054 (fma_towardzero_test_data): New variable.
6055 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6056 (fma_downward_test_data): New variable.
6057 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6058 (fma_upward_test_data): New variable.
6059 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6061 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6062 (struct test_c_c_data): New type.
6063 (RUN_TEST_LOOP_c_c): New macro.
6064 (cacos_test_data): New variable.
6065 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6066 (cacosh_test_data): New variable.
6067 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6068 (casin_test_data): New variable.
6069 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6070 (casinh_test_data): New variable.
6071 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6072 (catan_test_data): New variable.
6073 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6074 (catanh_test_data): New variable.
6075 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6076 (ccos_test_data): New variable.
6077 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6078 (ccosh_test_data): New variable.
6079 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6080 (cexp_test_data): New variable.
6081 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6082 (clog_test_data): New variable.
6083 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6084 (clog10_test_data): New variable.
6085 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6086 (conj_test_data): New variable.
6087 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6088 (cproj_test_data): New variable.
6089 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6090 (csin_test_data): New variable.
6091 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6092 (csinh_test_data): New variable.
6093 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6094 (csqrt_test_data): New variable.
6095 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6096 (ctan_test_data): New variable.
6097 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6098 (ctan_tonearest_test_data): New variable.
6099 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6100 (ctan_towardzero_test_data): New variable.
6101 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6102 (ctan_downward_test_data): New variable.
6103 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6104 (ctan_upward_test_data): New variable.
6105 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6106 (ctanh_test_data): New variable.
6107 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6108 (ctanh_tonearest_test_data): New variable.
6109 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6110 (ctanh_towardzero_test_data): New variable.
6111 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6112 (ctanh_downward_test_data): New variable.
6113 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6114 (ctanh_upward_test_data): New variable.
6115 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6116 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6119 * math/libm-test.inc (struct test_ff_f_data): New type.
6120 (struct test_ff_f_data_nexttoward): Likewise.
6121 (RUN_TEST_LOOP_2_f): New macro.
6122 (RUN_TEST_LOOP_ff_f): Likewise.
6123 (atan2_test_data): New variable.
6124 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6125 (copysign_test_data): New variable.
6126 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6127 (fdim_test_data): New variable.
6128 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6129 (fmax_test_data): New variable.
6130 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6131 (fmin_test_data): New variable.
6132 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6133 (fmod_test_data): New variable.
6134 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6135 (hypot_test_data): New variable.
6136 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6137 (nextafter_test_data): New variable.
6138 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6139 (nexttoward_test_data): New variable.
6140 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6141 (pow_test_data): New variable.
6142 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6143 (pow_tonearest_test_data): New variable.
6144 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6145 (pow_towardzero_test_data): New variable.
6146 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6147 (pow_downward_test_data): New variable.
6148 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6149 (pow_upward_test_data): New variable.
6150 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6151 (remainder_test_data): New variable.
6152 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6153 (scalb_test_data): New variable.
6154 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6155 * sysdeps/i386/fpu/libm-test-ulps: Update.
6157 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6159 * math/libm-test.inc (fma_test): Use max_value instead of local
6161 (nextafter_test): Likewise.
6163 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6164 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6165 (acos_downward_test_data): New variable.
6166 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6167 (acos_upward_test_data): New variable.
6168 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6169 (acosh_test_data): New variable.
6170 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6171 (asin_test_data): New variable.
6172 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6173 (asin_tonearest_test_data): New variable.
6174 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6175 (asin_towardzero_test_data): New variable.
6176 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6177 (asin_downward_test_data): New variable.
6178 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6179 (asin_upward_test_data): New variable.
6180 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6181 (asinh_test_data): New variable.
6182 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6183 (atan_test_data): New variable.
6184 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6185 (atanh_test_data): New variable.
6186 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6187 (cbrt_test_data): New variable.
6188 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6189 (ceil_test_data): New variable.
6190 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6191 (cos_test_data): New variable.
6192 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6193 (cos_tonearest_test_data): New variable.
6194 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6195 (cos_towardzero_test_data): New variable.
6196 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6197 (cos_downward_test_data): New variable.
6198 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6199 (cos_upward_test_data): New variable.
6200 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6201 (cosh_test_data): New variable.
6202 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6203 (cosh_tonearest_test_data): New variable.
6204 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6205 (cosh_towardzero_test_data): New variable.
6206 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6207 (cosh_downward_test_data): New variable.
6208 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6209 (cosh_upward_test_data): New variable.
6210 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6211 (erf_test_data): New variable.
6212 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6213 (erfc_test_data): New variable.
6214 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6215 (exp_test_data): New variable.
6216 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6217 (exp_tonearest_test_data): New variable.
6218 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6219 (exp_towardzero_test_data): New variable.
6220 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6221 (exp_downward_test_data): New variable.
6222 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6223 (exp_upward_test_data): New variable.
6224 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6225 (exp10_test_data): New variable.
6226 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6227 (exp2_test_data): New variable.
6228 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6229 (expm1_test_data): New variable.
6230 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6231 (fabs_test_data): New variable.
6232 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6233 (floor_test_data): New variable.
6234 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6235 (j0_test_data): New variable.
6236 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6237 (j1_test_data): New variable.
6238 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6239 (log_test_data): New variable.
6240 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6241 (log10_test_data): New variable.
6242 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6243 (log1p_test_data): New variable.
6244 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6245 (log2_test_data): New variable.
6246 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6247 (logb_test_data): New variable.
6248 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6249 (logb_downward_test_data): New variable.
6250 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6251 (nearbyint_test_data): New variable.
6252 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6253 (rint_test_data): New variable.
6254 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6255 (rint_tonearest_test_data): New variable.
6256 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6257 (rint_towardzero_test_data): New variable.
6258 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6259 (rint_downward_test_data): New variable.
6260 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6261 (rint_upward_test_data): New variable.
6262 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6263 (round_test_data): New variable.
6264 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6265 (sin_test_data): New variable.
6266 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6267 (sin_tonearest_test_data): New variable.
6268 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6269 (sin_towardzero_test_data): New variable.
6270 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6271 (sin_downward_test_data): New variable.
6272 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6273 (sin_upward_test_data): New variable.
6274 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6275 (sinh_test_data): New variable.
6276 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6277 (sinh_tonearest_test_data): New variable.
6278 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6279 (sinh_towardzero_test_data): New variable.
6280 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6281 (sinh_downward_test_data): New variable.
6282 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6283 (sinh_upward_test_data): New variable.
6284 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6285 (sqrt_test_data): New variable.
6286 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6287 (tan_test_data): New variable.
6288 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6289 (tan_tonearest_test_data): New variable.
6290 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6291 (tan_towardzero_test_data): New variable.
6292 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6293 (tan_downward_test_data): New variable.
6294 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6295 (tan_upward_test_data): New variable.
6296 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6297 (tanh_test_data): New variable.
6298 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6299 (tgamma_test_data): New variable.
6300 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6301 (trunc_test_data): New variable.
6302 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6303 (y0_test_data): New variable.
6304 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6305 (y1_test_data): New variable.
6306 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6307 (significand_test_data): New variable.
6308 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6310 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6313 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6315 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6317 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6319 2013-05-10 Andreas Jaeger <aj@suse.de>
6322 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6323 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6325 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6327 * math/gen-libm-test.pl (adjust_arg): New function.
6328 (special_functions): Handle generating output in both functions
6330 (parse_args): Likewise.
6331 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6332 $in_func argument to parse_args.
6333 * math/libm-test.inc (struct test_f_f_data): New type.
6334 (IF_ROUND_INIT_): New macro.
6335 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6336 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6337 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6338 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6339 (ROUND_RESTORE_): Likewise.
6340 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6341 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6342 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6343 (ROUND_RESTORE_FE_UPWARD): Likewise.
6344 (RUN_TEST_LOOP_f_f): New macro.
6345 (acos_test_data): New variable.
6346 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6347 (acos_tonearest_test_data): New variable.
6348 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6350 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6352 * benchtests/bench-skeleton.c (startup): Fix coding style.
6354 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6357 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6358 negative infinity argument.
6359 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6360 negative infinity argument.
6361 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6362 negative infinity argument.
6363 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6366 2013-05-10 Florian Weimer <fweimer@redhat.com>
6368 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6369 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6370 * iconv/iconv_prog.c (main): Likewise.
6371 * locale/programs/charmap-dir.c (charmap_readdir)
6372 (fopen_uncompressed): Likewise.
6373 * locale/programs/locfile.c (siblings_uncached)
6374 (write_locale_data): Use lstat64 instead of lstat.
6375 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6378 2013-05-10 Andreas Jaeger <aj@suse.de>
6381 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6385 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6387 * elf/dl-close.c (_dl_close_worker): Add comments.
6389 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6392 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6394 (__ieee754_rem_pio2l): Update comments.
6397 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6399 (__ieee754_rem_pio2l): Update comments.
6401 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6402 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6404 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6407 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6408 (M_PI_34_LOG10El): Likewise.
6409 (M_PI2_LOG10El): Likewise.
6410 (M_PI4_LOG10El): Likewise.
6411 (M_PI_LOG10El): Likewise.
6413 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6417 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6419 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6420 (MINUS_ZERO_INIT): Likewise.
6421 (PLUS_INFTY_INIT): Likewise.
6422 (MINUS_INFTY_INIT): Likewise.
6423 (QNAN_VALUE_INIT): Likewise.
6424 (MAX_VALUE_INIT): Likewise.
6425 (MIN_VALUE_INIT): Likewise.
6426 (MIN_SUBNORM_VALUE_INIT): Likewise.
6427 (plus_zero): Initialize with PLUS_ZERO_INIT.
6428 (minus_zero): Initialize with MINUS_ZERO_INIT.
6429 (plus_infty): Initialize with PLUS_INFTY_INIT.
6430 (minus_infty): Initialize with MINUS_INFTY_INIT.
6431 (qnan_value): Initialize with QNAN_VALUE_INIT.
6432 (max_value): Initialize with MAX_VALUE_INIT.
6433 (min_value): Initialize with MIN_VALUE_INIT.
6434 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6436 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6437 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6438 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6439 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6441 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6442 (RUN_TEST_2_f): Likewise.
6443 (RUN_TEST_ff_f): Likewise.
6444 (RUN_TEST_fi_f): Likewise.
6445 (RUN_TEST_fl_f): Likewise.
6446 (RUN_TEST_fff_f): Likewise.
6447 (RUN_TEST_c_f): Likewise.
6448 (RUN_TEST_f_f1): Likewise.
6449 (RUN_TEST_fF_f1): Likewise.
6450 (RUN_TEST_fI_f1): Likewise.
6451 (RUN_TEST_ffI_f1): Likewise.
6452 (RUN_TEST_c_c): Likewise.
6453 (RUN_TEST_cc_c): Likewise.
6454 (RUN_TEST_f_i): Likewise.
6455 (RUN_TEST_f_i_tg): Likewise.
6456 (RUN_TEST_ff_i_tg): Likewise.
6457 (RUN_TEST_f_b): Likewise.
6458 (RUN_TEST_f_b_tg): Likewise.
6459 (RUN_TEST_f_l): Likewise.
6460 (RUN_TEST_f_L): Likewise.
6461 (RUN_TEST_sincos): Likewise.
6462 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6463 whether to show exceptions. Do not include ");\n" in return
6465 (special_functions): Output call to RUN_TEST_sincos instead of
6466 check_float calls. Update calls to new_test.
6467 (parse_args): Output call to single RUN_TEST_* macro instead of
6468 check_* calls and other assignments. Update calls to new_test.
6474 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6475 input to result for tgamma overflow.
6476 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6477 (gamma_coeff): New variable.
6478 (NCOEFF): New macro.
6479 (gamma_positive): New function.
6480 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6481 underflow here. Use gamma_positive instead of exp (lgamma) for
6483 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6484 (gamma_coeff): New variable.
6485 (NCOEFF): New macro.
6486 (gammaf_positive): New function.
6487 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6488 underflow here. Use gamma_positive instead of exp (lgamma) for
6490 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6491 (gamma_coeff): New variable.
6492 (NCOEFF): New macro.
6493 (gammal_positive): New function.
6494 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6495 underflow here. Use gamma_positive instead of exp (lgamma) for
6497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6498 (gamma_coeff): New variable.
6499 (NCOEFF): New macro.
6500 (gammal_positive): New function.
6501 (__ieee754_gammal_r): Handle positive infinity, overflow and
6502 underflow here. Handle NaN the same as positive infinity. Remove
6503 check x < 0xffffffff for negative integers. Use gamma_positive
6504 instead of exp (lgamma) for other arguments.
6505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6506 (gamma_coeff): New variable.
6507 (NCOEFF): New macro.
6508 (gammal_positive): New function.
6509 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6510 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6515 * sysdeps/generic/math_private.h (__gamma_productf): New
6517 (__gamma_product): Likewise.
6518 (__gamma_productl): Likewise.
6519 * math/Makefile (libm-calls): Add gamma_product.
6520 * math/libm-test.inc (tgamma_test): Add more tests.
6521 * sysdeps/i386/fpu/libm-test-ulps: Update.
6522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6524 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6526 * benchtests/bench-skeleton.c (main): Preheat CPU.
6528 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6530 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6532 2013-05-07 Roland McGrath <roland@hack.frob.com>
6534 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6535 and _dl_skip_args_internal.
6537 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6539 * manual/message.texi (Message Translation): Talk about users.
6540 Message to key mapping impacts design.
6542 2013-05-06 Roland McGrath <roland@hack.frob.com>
6544 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6546 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6548 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6549 * sysdeps/wordsize-64/glob64.c: ... here.
6551 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6552 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6555 * debug/getlogin_r_chk.c: Moved to ...
6556 * login/getlogin_r_chk.c: ... here.
6557 * debug/Makefile (routines): Move getlogin_r_chk to ...
6558 * login/Makefile (routines): ... here.
6559 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6560 * login/Versions (libc: GLIBC_2.4): ... here.
6562 * io/poll.c (__poll): Renamed from poll.
6563 Add libc_hidden_def.
6564 (poll): Define as weak alias.
6566 * debug/ptsname_r_chk.c: Moved to ...
6567 * login/ptsname_r_chk.c: ... here.
6568 * debug/Makefile (routines): Move ptsname_r_chk to ...
6569 * login/Makefile (routines): ... here.
6570 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6571 * login/Versions (libc: GLIBC_2.4): ... here.
6573 * posix/getlogin.c: Moved to ...
6574 * login/getlogin.c: ... here.
6575 * posix/getlogin_r.c: Moved to ...
6576 * login/getlogin_r.c: ... here.
6577 * posix/getlogin_r.c: Moved to ...
6578 * login/getlogin_r.c: ... here.
6579 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6580 * login/Makefile (routines): ... here.
6581 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6582 * login/Versions (libc: GLIBC_2.0): ... here.
6584 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6585 (setrlimit): Define as weak alias.
6587 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6588 Call __ names for open, ftruncate, and close.
6589 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6590 (truncate): Define as weak alias.
6592 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6594 * math/gen-libm-test.pl (parse_args): Initialize x before each
6595 test of frexp, modf and remquo.
6597 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6600 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6608 2013-05-06 Roland McGrath <roland@hack.frob.com>
6610 * elf/dl-writev.h: New file.
6611 * elf/dl-misc.c: Include it.
6612 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6613 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6615 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6617 * math/libm-test.inc (noXFails): Remove variable.
6618 (noXPasses): Likewise.
6619 (BUILD_COMPLEX_INT): Remove macro.
6620 (print_screen): Remove xfail argument.
6621 (print_screen_max_error): Likewise.
6622 (update_stats): Likewise.
6623 (print_max_error): Likewise. Update calls to other affected
6625 (print_complex_max_error): Likewise.
6626 (test_single_exception): Update calls to print_screen.
6627 (test_single_errno): Likewise.
6628 (check_float_internal): Remove xfail argument. Update calls to
6629 other affected functions.
6630 (check_float): Likewise.
6631 (check_complex): Likewise.
6632 (check_int): Likewise.
6633 (check_long): Likewise.
6634 (check_bool): Likewise.
6635 (check_longlong): Likewise.
6636 (main): Don't print noXFails and noXPasses.
6637 * math/gen-libm-test.pl (top level): Don't mention expected
6638 failure handling in comment.
6639 (new_test): Don't handle expected failures.
6640 (parse_args): Don't mention expected failure handling in comment.
6641 (generate_testfile): Don't handle expected failures.
6642 (parse_ulps): Likewise.
6643 (print_ulps_file): Likewise.
6644 (get_failure): Remove function.
6645 (output_test): Don't handle expected failures.
6646 * make/README.libm-test: Don't mention expected failure handling.
6648 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6649 (minus_zero): Likewise.
6650 (plus_infty): Likewise.
6651 (minus_infty): Likewise.
6652 (qnan_value): Likewise.
6653 (max_value): Likewise.
6654 (min_value): Likewise.
6655 (min_subnorm_value): Likewise.
6656 (initialize): Do not initialize those variables dynamically.
6658 2013-05-03 Roland McGrath <roland@hack.frob.com>
6660 * io/open.c (__open_2): Moved to ...
6661 * io/open_2.c: ... this new file.
6662 * io/open64.c (__open64_2): Moved to ...
6663 * io/open64_2.c: ... this new file.
6664 * io/openat.c (__openat_2): Moved to ...
6665 * io/openat_2.c: ... this new file.
6666 * io/openat64.c (__openat64_2): Moved to ...
6667 * io/openat64_2.c: ... this new file.
6668 * io/Makefile (routines): Add them.
6669 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6670 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6671 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6672 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6673 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6674 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6675 (__openat64): Add hidden_ver.
6676 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6677 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6679 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6680 Separately conditionalize setting of GLRO(dl_sysinfo) so
6681 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6682 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6684 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6686 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6687 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6689 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6690 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6691 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6692 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6693 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6695 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6697 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6700 * math/libm-test.inc (hypot_test): Do not use
6701 IGNORE_ZERO_INF_SIGN.
6703 2013-05-03 Andreas Jaeger <aj@suse.de>
6705 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6707 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6708 (PF_MAX): Adjust for VSOCK change.
6710 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6714 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6717 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6718 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6719 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6721 2013-05-02 David S. Miller <davem@davemloft.net>
6723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6725 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6727 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6729 2013-05-01 Roland McGrath <roland@hack.frob.com>
6731 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6733 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6736 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6737 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6738 Use __attribute__ ((__gnu_inline__)).
6739 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6740 Don't use __attribute__ ((__gnu_inline__)).
6742 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6745 * math/s_catan.c (__catan): Handle small real or imaginary part of
6746 input specially to avoid spurious underflow.
6747 * math/s_catanf.c (__catanf): Likewise.
6748 * math/s_catanh.c (__catanh): Likewise.
6749 * math/s_catanhf.c (__catanhf): Likewise.
6750 * math/s_catanhl.c (__catanhl): Likewise.
6751 * math/s_catanl.c (__catanl): Likewise.
6752 * math/libm-test.inc (catan_test): Add more tests.
6753 (catanh_test): Likewise.
6754 * sysdeps/i386/fpu/libm-test-ulps: Update.
6755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6757 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6761 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6764 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6765 accurately for denominator in atan2.
6766 * math/s_catanf.c (__catanf): Likewise.
6767 * math/s_catanh.c (__catanh): Likewise.
6768 * math/s_catanhf.c (__catanhf): Likewise.
6769 * math/s_catanhl.c (__catanhl): Likewise.
6770 * math/s_catanl.c (__catanl): Likewise.
6771 * math/libm-test.inc (catan_test): Add more tests.
6772 (catanh_test): Likewise.
6773 * sysdeps/i386/fpu/libm-test-ulps: Update.
6774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6778 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6780 * benchtests/Makefile (bench): Remove slow benchmarks.
6781 * benchtests/atan-inputs: Add slow benchmark inputs.
6782 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6783 (BENCH_FUNC): Accept variant offset.
6785 * benchtests/bench-skeleton.c (main): Run benchmark for each
6787 * benchtests/cos-inputs: Add slow benchmark inputs.
6788 * benchtests/exp-inputs: Likewise.
6789 * benchtests/pow-inputs: Likewise.
6790 * benchtests/sin-inputs: Likewise.
6791 * benchtests/slowatan-inputs: Remove.
6792 * benchtests/slowatan.c: Remove.
6793 * benchtests/slowcos-inputs: Remove.
6794 * benchtests/slowcos.c: Remove.
6795 * benchtests/slowexp-inputs: Remove.
6796 * benchtests/slowexp.c: Remove.
6797 * benchtests/slowpow-inputs: Remove.
6798 * benchtests/slowpow.c: Remove.
6799 * benchtests/slowsin-inputs: Remove.
6800 * benchtests/slowsin.c: Remove.
6801 * benchtests/slowtan-inputs: Remove.
6802 * benchtests/slowtan.c: Remove.
6803 * benchtests/tan-inputs: Add slow benchmark inputs.
6804 * scripts/bench.pl: Parse comments and directives.
6806 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6808 ($(objpfx)bench-%.c): Remove *-ITER.
6809 * benchtests/bench-modf.c: Remove definition of ITER.
6810 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6811 (main): Loop for DURATION seconds instead of fixed number of
6813 * scripts/bench.pl: Don't expect iterations in parameters.
6815 2013-04-29 Roland McGrath <roland@hack.frob.com>
6817 * io/fchdir.c (__fchdir): Renamed from fchdir.
6818 (fchdir): Define as weak alias.
6820 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6822 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6823 (ERRNO_EDOM): Likewise.
6824 (ERRNO_ERANGE): Likewise.
6825 (noErrnoTests): New variable.
6826 (init_max_error): Set errno to 0.
6827 (test_single_errno): New function.
6828 (test_errno): Likewise.
6829 (check_float_internal): Call test_errno. Set errno to 0.
6830 (check_complex): Refer to errno tests in comment.
6831 (check_int): Call test_errno. Set errno to 0.
6832 (check_long): Likewise.
6833 (check_bool): Likewise.
6834 (check_longlong): Likewise.
6835 (cos_test): Use ERRNO_* flags for errno tests instead of
6837 (expm1_test): Likewise.
6838 (fmod_test): Likewise.
6839 (ilogb_test): Likewise.
6840 (lgamma_test): Likewise.
6841 (pow_test): Likewise.
6842 (remainder_test): Likewise.
6843 (sin_test): Likewise.
6844 (tan_test): Likewise.
6845 (yn_test): Likewise.
6846 (initialize): Set errno to 0.
6847 (main): Print number of errno tests.
6848 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6850 2013-04-29 Andreas Jaeger <aj@suse.de>
6853 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6857 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6858 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6862 * stdlib/random.c (__initstate): Return NULL if
6866 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6867 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6870 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6874 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6876 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6877 of individual tests.
6878 (casin_test): Likewise.
6879 (casinh_test): Likewise.
6881 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6884 * math/s_catan.c (__catan): Handle arguments with large real or
6885 imaginary part separately without squaring.
6886 * math/s_catanf.c (__catanf): Likewise.
6887 * math/s_catanh.c (__catanh): Likewise.
6888 * math/s_catanhf.c (__catanhf): Likewise.
6889 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6891 (__catanhl): Handle arguments with large real or imaginary part
6892 separately without squaring.
6893 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6895 (__catanl): Handle arguments with large real or imaginary part
6896 separately without squaring.
6897 * math/libm-test.inc (catan_test): Add more tests.
6898 (catanh_test): Likewise.
6899 * sysdeps/i386/fpu/libm-test-ulps: Update.
6900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6902 2013-04-27 Andreas Jaeger <aj@suse.de>
6905 * stdlib/stdlib.h: Update guards for qecvt.
6906 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6909 2013-04-27 Allan McRae <allan@archlinux.org>
6911 * sysdeps/i386/fpu/libm-test-ulps: Update.
6913 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6916 * math/s_catan.c: Include <float.h>.
6917 (__catan): Ensure underflow exception occurs for underflowed
6919 * math/s_catanf.c: Include <float.h>.
6920 (__catanf): Ensure underflow exception occurs for underflowed
6922 * math/s_catanh.c: Include <float.h>.
6923 (__catanh): Ensure underflow exception occurs for underflowed
6925 * math/s_catanhf.c: Include <float.h>.
6926 (__catanhf): Ensure underflow exception occurs for underflowed
6928 * math/s_catanhl.c: Include <float.h>.
6929 (__catanhl): Ensure underflow exception occurs for underflowed
6931 * math/s_catanl.c: Include <float.h>.
6932 (__catanl): Ensure underflow exception occurs for underflowed
6934 * math/libm-test.inc (catan_test): Add more tests.
6935 (catanh_test): Likewise.
6938 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6940 * math/s_ccoshf.c (__ccoshf): Likewise.
6941 * math/s_ccoshl.c (__ccoshl): Likewise.
6942 * math/s_csin.c (__csin): Likewise.
6943 * math/s_csinf.c (__csinf): Likewise.
6944 * math/s_csinh.c (__csinh): Likewise.
6945 * math/s_csinhf.c (__csinhf): Likewise.
6946 * math/s_csinhl.c (__csinhl): Likewise.
6947 * math/s_csinl.c (__csinl): Likewise.
6948 * math/libm-test.inc (ccos_test): Add more tests.
6949 (ccosh_test): Likewise.
6950 (csin_test): Likewise.
6951 (csinh_test): Likewise.
6953 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6955 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6956 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6957 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6958 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6959 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6960 powerpc/power5+/fpu folders.
6961 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6964 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6968 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6970 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6971 additions to variable.
6972 [$(config-machine) = x86_64] (modules-names): Likewise.
6973 ($(objpfx)tst-audit3): Remove dependency.
6974 ($(objpfx)tst-audit3.out): Likewise.
6975 ($(objpfx)tst-audit4): Likewise.
6976 ($(objpfx)tst-audit4.out): Likewise.
6977 ($(objpfx)tst-audit5): Likewise.
6978 ($(objpfx)tst-audit5.out): Likewise.
6979 ($(objpfx)tst-audit6): Likewise.
6980 ($(objpfx)tst-audit6.out): Likewise.
6981 ($(objpfx)tst-audit7): Likewise.
6982 ($(objpfx)tst-audit7.out): Likewise.
6983 (tst-audit3-ENV): Remove variable.
6984 (tst-audit4-ENV): Likewise.
6985 (tst-audit5-ENV): Likewise.
6986 (tst-audit6-ENV): Likewise.
6987 (tst-audit7-ENV): Likewise.
6988 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6989 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6990 addition to variable.
6991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6995 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6996 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6997 tst-audit3, tst-audit4 and tst-audit5.
6998 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6999 tst-audit6 and tst-audit7.
7000 [$(subdir) = elf] (modules-names): Add audit modules for those
7002 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7003 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7004 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7005 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7006 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7007 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7008 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7009 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7010 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7011 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7012 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7013 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7014 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7015 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7016 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7017 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7019 [$(subdir) = elf && $(config-cflags-avx) = yes]
7020 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7021 [$(subdir) = elf && $(config-cflags-avx) = yes]
7022 (CFLAGS-tst-auditmod4a.c): Likewise.
7023 [$(subdir) = elf && $(config-cflags-avx) = yes]
7024 (CFLAGS-tst-auditmod4b.c): Likewise.
7025 [$(subdir) = elf && $(config-cflags-avx) = yes]
7026 (CFLAGS-tst-auditmod6b.c): Likewise.
7027 [$(subdir) = elf && $(config-cflags-avx) = yes]
7028 (CFLAGS-tst-auditmod6c.c): Likewise.
7029 [$(subdir) = elf && $(config-cflags-avx) = yes]
7030 (CFLAGS-tst-auditmod7b.c): Likewise.
7031 * elf/tst-audit3.c: Move to ...
7032 * sysdeps/x86_64/tst-audit3.c: ... here.
7033 * elf/tst-audit4.c: Move to ...
7034 * sysdeps/x86_64/tst-audit4.c: ... here.
7035 * elf/tst-audit5.c: Move to ...
7036 * sysdeps/x86_64/tst-audit5.c: ... here.
7037 * elf/tst-audit6.c: Move to ...
7038 * sysdeps/x86_64/tst-audit6.c: ... here.
7039 * elf/tst-audit7.c: Move to ...
7040 * sysdeps/x86_64/tst-audit7.c: ... here.
7041 * elf/tst-auditmod3a.c: Move to ...
7042 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7043 * elf/tst-auditmod3b.c: Move to ...
7044 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7045 * elf/tst-auditmod4a.c: Move to ...
7046 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7047 * elf/tst-auditmod4b.c: Move to ...
7048 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7049 * elf/tst-auditmod5a.c: Move to ...
7050 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7051 * elf/tst-auditmod5b.c: Move to ...
7052 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7053 * elf/tst-auditmod6a.c: Move to ...
7054 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7055 * elf/tst-auditmod6b.c: Move to ...
7056 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7057 * elf/tst-auditmod6c.c: Move to ...
7058 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7059 * elf/tst-auditmod7a.c: Move to ...
7060 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7061 * elf/tst-auditmod7b.c: Move to ...
7062 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7064 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7067 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7068 define unconditionally.
7069 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7070 define unconditionally.
7071 (INT8_C, INT16_C, etc.): Likewise.
7073 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7075 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7076 __ehdr_start with hidden visibility.
7078 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7080 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7082 * math/libm-test.inc (cos_test): Use accurate hex constants.
7083 (sincost_test): Likewise.
7085 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7087 * math/libm-test.inc (catan_test): Add more tests.
7088 (catanh_test): Likewise.
7090 * math/s_catanf.c (__catanf): Use suffixed floating-point
7092 * math/s_catanhf.c (__catanhf): Likewise.
7093 * math/s_catanhl.c (__catanhl): Likewise.
7094 * math/s_catanl.c (__catanl): Likewise.
7097 * math/s_catan.c (__catan): Calculate imaginary part of result
7098 with log1p not log unless computing log of number close to 0.
7099 * math/s_catanf.c (__catanf): Likewise.
7100 * math/s_catanl.c (__catanl): Likewise.
7101 * math/s_catanh.c (__catanh): Calculate real part of result with
7102 log1p not log unless computing log of number close to 0.
7103 * math/s_catanhf.c (__catanhf): Likewise.
7104 * math/s_catanhl.c (__catanhl): Likewise.
7105 * math/libm-test.inc (catan_test): Add more tests.
7106 (catanh_test): Likewise.
7107 * sysdeps/i386/fpu/libm-test-ulps: Update.
7108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7110 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7112 * benchtests/Makefile: Mention files in which fast and slow
7113 paths of math functions are implemented.
7115 2013-04-23 Roland McGrath <roland@hack.frob.com>
7117 * sysdeps/posix/timespec_get.c: New file.
7119 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7121 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7123 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7125 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7126 powerpc/power5/fpu folders.
7127 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7128 * benchtests/Makefile: Add modf testcase.
7129 * benchtests/bench-modf.c: New file: Benchmark test for mo
7131 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7134 * time/Makefile (tests): Add tst-strptime-whitespace.
7135 * time/strptime_l.c (get_number): Use ISSPACE.
7136 (__strptime_internal): Likewise.
7137 * time/tst-strptime-whitespace.c: New test case.
7139 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7141 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7143 (_nss_files_init): Set it here.
7145 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7147 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7148 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7151 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7153 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7155 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7160 2013-04-21 David S. Miller <davem@davemloft.net>
7162 * po/ru.po: Update Russion translation from translation project.
7164 2013-04-17 Adam Conrad <adconrad@0c3.net>
7166 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7169 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7171 * configure.in: Remove i386 configure warning. Remove i386 case.
7172 * configure: Regenerate.
7173 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7174 Add example to error message.
7175 * sysdeps/i386/configure: Regenerate.
7177 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7179 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7181 * benchtests/cos-inputs: New file.
7182 * benchtests/slowcos-inputs: New file.
7183 * benchtests/slowcos.c: New file.
7184 * benchtests/slowtan-inputs: New file.
7185 * benchtests/slowtan.c: New file.
7186 * benchtests/tan-inputs: New file.
7188 2013-04-16 Roland McGrath <roland@hack.frob.com>
7190 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7193 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7195 * benchtests/Makefile: Include cppflags-iterator.mk to add
7196 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7198 * Makefile.in (bench-clean): New target.
7199 * benchtests/Makefile (bench-clean): Likewise.
7201 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7203 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7205 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7207 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7209 2013-04-15 Andreas Schwab <schwab@suse.de>
7211 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7213 * nscd/pwdcache.c (cache_addpw): Likewise.
7214 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7217 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7219 * benchtests/Makefile (bench): Write all output to
7220 bench-out.tmp together.
7222 2013-04-15 Andreas Schwab <schwab@suse.de>
7224 * nscd/nscd.c (main): Don't fork again after closing files.
7226 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7228 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7230 * benchtests/Rules (bench-deps): Collect dependencies into a
7231 single variable. Add Makefile to dependencies.
7232 ($(objpfx)bench-%.c): Depend on bench-deps.
7234 2013-04-12 Roland McGrath <roland@hack.frob.com>
7235 Xavier Roche <roche+kml2@exalead.com>
7238 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7239 just that it's a file descriptor.
7240 * manual/llio.texi (Synchronizing AIO Operations): Update description
7241 for EBADF error from aio_fsync.
7243 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7245 * Rules (bench): Move target definition...
7246 * benchtests/Makefile: ... here.
7248 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7250 * math/libm-test.inc (cos_test): Fix PI/2 test.
7251 (sincos_test): Likewise.
7252 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7253 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7255 2013-04-11 Andreas Schwab <schwab@suse.de>
7258 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7259 accept exponent character only when digits were seen.
7260 * stdio-common/Makefile (tests): Add bug26.
7261 * stdio-common/bug26.c: New file.
7264 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7267 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7269 * Makeconfig (rtld-prefix): Define built linker prefix.
7270 * Rules (run-bench): Use it.
7271 * math/Makefile (run-regen-ulps): Likewise.
7273 * Rules (bench): Remove eval.
7275 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7276 Roland McGrath <roland@hack.frob.com>
7277 Ondrej Bilka <neleai@seznam.cz>
7280 * time/getdate.c: Include ctype.h and alloca.h.
7281 (__getdate_r): Trim leading and trailing spaces of input.
7282 * time/tst-getdate.c (tests): Add tests with leading and
7285 2013-04-08 Roland McGrath <roland@hack.frob.com>
7288 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7289 when computing value.
7291 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7293 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7294 Use testrun.sh to run libm tests.
7297 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7299 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7302 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7304 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7306 * Makefile.in (regen-ulps): New target.
7307 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7308 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7309 [ifneq (no,$(PERL)] (regen-ulps): New target.
7310 [ifeq (no,$(PERL)] (regen-ulps): New target.
7311 * math/libm-test.inc (ulps_file_name): Define.
7312 (output_dir): New variable.
7313 (options): Add "output-dir" option.
7314 (parse_opt): Handle 'o' case.
7315 (main): If output_dir is non-NULL use it as a prefix
7317 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7319 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7322 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7323 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7324 fail configure if __sync_val_compare_and_swap is not inlined.
7325 * sysdeps/i386/configure: Regenerate.
7326 * configure.in: Build for i686 when configured for i386.
7327 * configure: Regenerate.
7328 * README: Remove i386 reference.
7330 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7332 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7335 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7337 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7338 (lmsnanval): New variables.
7339 (F): Add conversion tests.
7340 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7341 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7343 * stdio-common/tstdiomisc.c (F): Properly collect individual
7347 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7348 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7349 Instead, use input NaN values or generate a qNaN by arithmetic
7350 operation. Also fix bugs to comply with the standard.
7351 * math/libm-test.inc (remainder_test): Add more tests.
7354 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7356 input NaN values or generate a qNaN by arithmetic operation.
7358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7361 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7364 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7367 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7369 * math/s_cexpf.c (__cexpf): Likewise.
7370 * math/s_cexpl.c (__cexpl): Likewise.
7371 * math/libm-test.inc (cexp_test): Add more tests.
7373 2013-04-03 Andreas Schwab <schwab@suse.de>
7376 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7377 order arrays from heap if bigger than alloca cutoff.
7379 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7381 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7382 (SNAN_TESTS_double): Refer to GCC PR56831.
7383 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7386 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7388 * Rules (bench): Move bench.out after the run is complete.
7390 * Rules (bench): Echo currently running benchmark.
7392 * benchtests/Makefile (bench): Add atan and slowatan.
7393 * benchtests/atan-inputs: New file.
7394 * benchtests/slowatan-inputs: New file.
7395 * benchtests/slowatan.c: New file.
7397 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7402 * sysdeps/unix/sysv/linux/kernel-features.h
7403 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7404 __ASSUME_XFS_RESTRICTED_CHOWN.
7405 * sysdeps/unix/sysv/linux/pathconf.c
7406 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7407 Save and restore errno.
7409 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7412 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7413 arguments using __kernel_casinh.
7414 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7415 arguments using __kernel_casinhf.
7416 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7417 arguments using __kernel_casinhl.
7418 * math/libm-test.inc (cacosh_test): Add more tests.
7419 * sysdeps/i386/fpu/libm-test-ulps: Update.
7420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7422 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7424 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7427 * bench/Makefile (bench): Add sin and slowsin.
7428 * benchtests/sin-inputs: New file.
7429 * benchtests/slowsin-inputs: New file.
7430 * benchtests/slowsin.c: New file.
7432 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7433 (bench): Add slowexp and slowpow.
7434 (exp-ITER): Increase iterations.
7435 (pow-ITER): Likewise.
7436 * benchtests/exp-inputs: Change input.
7437 * benchtests/pow-inputs: Likewise.
7438 * benchtests/slowexp-inputs: New file.
7439 * benchtests/slowexp.c: New file.
7440 * benchtests/slowpow-inputs: New file.
7441 * benchtests/slowpow.c: New file.
7443 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7445 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7447 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7448 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7449 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7450 * benchtests/Makefile: Add rint benchtest.
7451 * benchtests/rint-inputs: Input for rint benchtest.
7453 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7455 * Versions.def (libm): Add GLIBC_2.18.
7456 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7457 hidden libm prototypes.
7458 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7459 * math/Makefile (libm-calls): Add s_issignaling.
7460 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7461 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7462 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7464 * math/math.h [__USE_GNU] (issignaling): New macro.
7465 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7466 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7471 * manual/arith.texi (issignaling): New section.
7472 * manual/libm-err-tab.pl (@all_functions): Update comment.
7473 * math/gen-libm-test.pl (parse_args): Apply special handling for
7475 * math/libm-test.inc (print_float, issignaling_test): New
7477 (check_float_internal): Add issignaling checks.
7478 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7480 * sysdeps/powerpc/math-tests.h: New file.
7481 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7483 * math/test-snan.c (TEST_FUNC): Likewise.
7485 2013-03-30 David S. Miller <davem@davemloft.net>
7487 * po/de.po: Update from translation team.
7489 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7492 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7493 imaginary part less than 1.0 and real part less than 0.5
7495 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7496 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7497 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7498 (cacos_test): Add more tests.
7499 (casin_test): Likewise.
7500 (casinh_test): Likewise.
7501 * sysdeps/i386/fpu/libm-test-ulps: Update.
7502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7504 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7506 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7509 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7510 (__pow_mp): Replace ONE and MONE with their values.
7511 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7512 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7514 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7515 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7516 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7518 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7520 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7521 (__pow_mp): Replace ZERO and MZERO with their values.
7522 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7523 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7524 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7526 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7527 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7530 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7532 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7534 2013-03-28 Roland McGrath <roland@hack.frob.com>
7536 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7537 Declare with __attribute__ ((weak)).
7538 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7539 Call __call_tls_dtors only if it's not NULL.
7541 2013-03-28 Roland McGrath <roland@hack.frob.com>
7543 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7544 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7545 magic __ehdr_start linker symbol if it's defined.
7546 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7547 them up here if it was already done.
7549 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7550 (_dl_aux_init): Use const in cast when setting it.
7551 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7552 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7553 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7555 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7557 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7558 * csu/libc-tls.c: Nor here.
7559 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7561 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7562 (__libc_message): Never call vsyslog.
7564 2013-03-28 Alan Modra <amodra@gmail.com>
7566 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7568 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7571 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7574 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7578 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7581 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7582 Don't add gid passed as argument.
7584 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7586 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7589 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7590 imaginary part between 1.0 and 1.5 and real part less than 0.5
7592 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7593 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7594 * math/libm-test.inc (cacos_test): Add more tests.
7595 (casin_test): Likewise.
7596 (casinh_test): Likewise.
7597 * sysdeps/i386/fpu/libm-test-ulps: Update.
7598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7600 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7602 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7606 (__dbl_mp): Likewise.
7607 (add_magnitudes): Likewise.
7608 (sub_magnitudes): Likewise.
7616 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7618 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7619 (__dubcos): Likewise.
7620 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7621 (__ieee754_acos): Likewise.
7622 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7623 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7625 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7628 (my_log2): Likewise.
7629 (checkint): Likewise.
7630 * sysdeps/ieee754/dbl-64/e_remainder.c
7631 (__ieee754_remainder): Likewise.
7632 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7635 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7637 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7639 MANTISSA_STORE_T to store computations on mantissa. Use
7640 macros for rounding and division.
7642 (__dbl_mp): Likewise.
7643 (add_magnitudes): Likewise.
7644 (sub_magnitudes): Likewise.
7647 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7648 powers of two in terms of TWOPOW macro.
7649 (mp_no): Make type of mantissa as MANTISSA_T.
7650 [!RADIXI]: Define RADIXI.
7651 [!TWO52]: Define TWO52.
7652 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7654 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7656 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7657 llroundl symbol when building for PPC32.
7659 2013-03-24 Mark H Weaver <mhw@netris.org>
7661 * manual/arith.texi (Normalization Functions): Fix prototypes for
7662 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7664 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7668 high value to check if expl overflow.
7669 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7670 to check for underflow and overflow.
7671 * math/libm-test.inc: Add exp test.
7673 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7676 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7679 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7681 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7684 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7686 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7687 wrap blocks consisting of several statements.
7689 * sysdeps/generic/math-tests.h: New file.
7690 * sysdeps/i386/fpu/math-tests.h: Likewise.
7691 * math/test-snan.c: Include it.
7692 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7694 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7698 (__ieee754_j0l): Do not improve calculations using cos of twice
7699 input for inputs above LDBL_MAX / 2.0L.
7700 (__ieee754_y0l): Likewise.
7701 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7702 (__ieee754_j1l): Do not improve calculations using cos of twice
7703 input for inputs above LDBL_MAX / 2.0L.
7704 (__ieee754_y1l): Likewise.
7705 * math/libm-test.inc (j0_test): Add another test.
7706 (j1_test): Likewise.
7707 (y0_test): Likewise.
7708 (y1_test): Likewise.
7709 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7713 * Rules ($(objpfx)bench-%.c): Include code from a C source
7716 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7719 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7720 imaginary part 1.0 and real part less than 0.5 specially.
7721 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7722 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7723 * math/libm-test.inc (cacos_test): Add more tests.
7724 (casin_test): Likewise.
7725 (casinh_test): Likewise.
7726 * sysdeps/i386/fpu/libm-test-ulps: Update.
7727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7729 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7732 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7734 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7736 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7737 * config.make.in (config-cflags-sse4): Remove variable.
7738 (config-cflags-avx): Likewise.
7739 (config-cflags-sse2avx): Likewise.
7740 (config-cflags-novzeroupper): Likewise.
7741 (config-asflags-i686): Likewise.
7742 (have-mfma4): Likewise.
7743 (have-as-vis3): Likewise.
7745 * configure.in (MIG): Do not AC_SUBST.
7746 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7747 (libc_cv_cc_sse4): Do not AC_SUBST.
7748 (libc_cv_cc_avx): Likewise.
7749 (libc_cv_cc_sse2avx): Likewise.
7750 (libc_cv_cc_novzeroupper): Likewise.
7751 (libc_cv_cc_fma4): Likewise.
7752 (libc_cv_as_i686): Likewise.
7753 (libc_cv_sparc_as_vis3): Likewise.
7754 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7756 (config-asflags-i686): Likewise.
7757 (config-cflags-avx): Likewise.
7758 (config-cflags-sse2avx): Likewise.
7759 (have-mfma4): Likewise.
7760 (config-cflags-novzeroupper): Likewise.
7761 * sysdeps/mach/configure.in (MIG): Likewise.
7762 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7763 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7765 (config-cflags-avx): Likewise.
7766 (config-cflags-sse2avx): Likewise.
7767 (have-mfma4): Likewise.
7768 (config-cflags-novzeroupper): Likewise.
7769 * configure: Regenerated.
7770 * sysdeps/i386/configure: Likewise.
7771 * sysdeps/mach/configure: Likewise.
7772 * sysdeps/sparc/configure: Likewise.
7773 * sysdeps/x86_64/configure: Likewise.
7775 2013-03-20 Roland McGrath <roland@hack.frob.com>
7778 * locale/programs/localedef.c (options): Put N_ translation marker
7779 on argument names, not just descriptions.
7781 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7783 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7785 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7788 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7790 2013-03-19 Roland McGrath <roland@hack.frob.com>
7792 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7793 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7794 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7795 [!BEFORE_ABORT] (before_abort): New function.
7796 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7797 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7798 (writev_for_fatal): New function.
7799 (WRITEV_FOR_FATAL): New macro; call that.
7800 (backtrace_and_maps): New function.
7801 (BEFORE_ABORT): New macro; call that.
7802 (struct str_list): Type removed.
7803 (__libc_message, __libc_fatal): Functions removed.
7804 Include <sysdeps/posix/libc_fatal.c> instead.
7806 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7808 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7810 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7813 2013-03-19 Andreas Schwab <schwab@suse.de>
7815 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7816 * sysdeps/gnu/configure: Regenerate.
7818 * configure.in: Substitute libc_cv_rtlddir.
7819 * configure: Regenerate.
7820 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7821 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7822 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7823 * elf/Makefile (install-others, CFLAGS-interp.c)
7824 (ldso_install, common-ldd-rewrite): Likewise.
7825 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7826 $(inst_slibdir)/$(rtld-installed-name).
7827 * scripts/rellns-sh: Add -p option.
7828 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7831 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7833 * manual/nptl.texi: Renamed to ...
7834 * manual/threads.texi: ... this.
7835 * manual/Makefile (chapters): Update.
7837 2013-03-18 Roland McGrath <roland@hack.frob.com>
7840 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7841 on argument names, not just descriptions.
7842 * malloc/memusagestat.c (options): Likewise.
7843 * nss/getent.c (options): Likewise.
7845 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7848 * iconv/iconv_prog.c (options): Put N_ translation marker
7849 on argument names, not just descriptions.
7850 * iconv/iconvconfig.c (options): Likewise.
7852 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7854 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7855 implementation which is faster on all x86_64 architectures.
7856 Tested on AMD, Intel Nehalem, SNB, IVB.
7857 * sysdeps/x86_64/strnlen.S: Likewise.
7859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7860 Remove all multiarch strlen and strnlen versions.
7861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7862 Remove strlen and strnlen related parts.
7864 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7868 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7869 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7870 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7871 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7872 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7873 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7875 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7877 * manual/memory.texi (Malloc Tunable Parameters):
7878 Sort parameters alphabetically. Add comments for missing entries.
7880 2013-03-17 David S. Miller <davem@davemloft.net>
7882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7884 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7887 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7888 for arguments at most half maximum finite value.
7889 * math/libm-test.inc (j0_test): Add more tests.
7890 (j1_test): Likewise.
7891 (y0_test): Likewise.
7892 (y1_test): Likewise.
7893 * sysdeps/i386/fpu/libm-test-ulps: Update.
7894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7897 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7898 1 / x and functions P and Q for arguments above 0x1p256L.
7899 (__ieee754_y0l): Likewise.
7900 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7901 (__ieee754_y1l): Likewise.
7902 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7903 (j1_test): Likewise.
7904 (y0_test): Likewise.
7905 (y1_test): Likewise.
7907 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7909 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7912 2013-03-15 Roland McGrath <roland@hack.frob.com>
7914 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7915 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7916 zero since it's initialized to EXEC_PAGESIZE.
7918 * sysdeps/unix/sysv/linux/ldsodefs.h
7919 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7920 * sysdeps/generic/ldsodefs.h: ... here.
7922 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7924 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7926 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7928 * math/test-snan.c: Renamed from
7929 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7930 * math/Makefile (tests): Add test-snan.
7931 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7934 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7935 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7937 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7938 __builtin_nan family of functions.
7939 * math/libm-test.inc (initialize): Initialize qnan_value with
7940 __builtin_nan family of functions.
7941 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7943 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7945 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7946 storage class. Initialize qNaN_var and sNaN_var with
7947 __builtin_nan and __builtin_nans families of functions,
7950 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7951 (sqrt_test): Remove duplicate test with qNaN input.
7952 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7953 (round_test, signbit_test, significand_test): Note missing +/-Inf
7954 as well as qNaN tests.
7956 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7957 qNaN_var. Fix a few strings, too.
7958 * math/libm-test.inc (nan_value): Rename to qnan_value.
7959 * math/gen-libm-test.pl (%beautify): Adjust to that.
7960 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7961 * math/test-misc.c (main): Likewise.
7962 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7963 to __qnan_bytes, and __qnan_union, respectively.
7964 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7966 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7967 and lqnanval, respectively.
7968 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7969 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7970 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7971 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7973 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7974 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7977 * math/test-misc.c (main): Fix copy'n'pastos.
7978 * misc/tst-efgcvt.c (special): Likewise.
7980 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7981 Remove declarations.
7983 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7985 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7986 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7987 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7988 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7990 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7993 macro to return vdso values correctly in IFUNC implementations.
7994 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7995 Optimization by using IFUNC.
7997 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7998 Richard Henderson <rth@redhat.com>
7999 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8001 * Makefile.in (bench): New target.
8002 * NEWS: Mention the benchmark framework.
8003 * Rules (bench): Likewise.
8004 (binaries-bench): Generate binaries for functions to
8006 * benchtests/Makefile: New makefile for benchmark tests.
8007 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8009 * benchtests/exp-inputs: New input file for EXP function.
8010 * benchtests/pow-inputs: New input file for POW function.
8011 * scripts/bench.pl: New script to generate source files for
8014 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8016 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8017 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8018 computations on mantissa. Use macros for rounding and
8021 (__dbl_mp): Likewise.
8022 (add_magnitudes): Likewise.
8023 (sub_magnitudes): Likewise.
8026 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8027 powers of two in terms of TWOPOW macro.
8028 (mp_no): Make type of mantissa as MANTISSA_T.
8029 [!RADIXI]: Define RADIXI.
8030 [!TWO52]: Define TWO52.
8031 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8033 * manual/nptl.texi (cindex): Modify threads to pthreads.
8035 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/x86_64/preconfigure: Regenerated.
8039 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8042 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8044 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8045 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8047 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8048 * math/libm-test.inc (j0_test): Do not allow one spurious
8049 underflow exception.
8050 (y1_test): Likewise.
8052 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8054 * manual/Makefile (chapters): Add nptl.
8055 * manual/debug.texi (Debugging Support): Add link to Threads
8057 * manual/nptl.texi: New file.
8059 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8061 2013-03-14 Petr Baudis <pasky@ucw.cz>
8063 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8064 for non-NULL pointer before the memory validity test. Pointed
8065 out by Holger Brunck <holger.brunck@keymile.com>.
8067 2013-03-13 Andreas Schwab <schwab@suse.de>
8069 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8072 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8074 * timezone/zic.c: Update from tzcode 2013b.
8076 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8078 * manual/install.texi (Configuring and compiling):
8079 Mention i686 and i586.
8080 * INSTALL: Regenerate.
8082 2013-03-12 Roland McGrath <roland@hack.frob.com>
8084 * sysdeps/init_array/elf-init.c: New file.
8086 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8087 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8089 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8090 __gmon_start__ as global, but as static with a .preinit_array pointer.
8091 * sysdeps/init_array/gmon-start.c: New file. Use that.
8092 * sysdeps/init_array/crti.S: New file, empty except for comments.
8093 * sysdeps/init_array/crtn.S: Likewise.
8095 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8097 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8100 Remove Prefer_SSE_for_memop.
8101 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8102 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8103 HAS_PREFER_SSE_FOR_MEMOP.
8104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8107 Remove bzero, memset ifunc support.
8108 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8109 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8110 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8111 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8113 2013-03-11 Andreas Schwab <schwab@suse.de>
8116 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8119 (GLIBC_2.16): Remove pthread_atfork.
8121 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8123 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8124 (ptestcases.h): Likewise.
8126 2013-03-08 Roland McGrath <roland@hack.frob.com>
8128 * Makeconfig ($(common-objpfx)config.status): Depend on
8129 sysdeps/*/preconfigure{,.in} too.
8131 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8133 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8134 (__free_hook): Use void * instead of __malloc_ptr_t.
8135 (__malloc_hook): Likewise.
8136 (__realloc_hook): Likewise.
8137 (__memalign_hook): Likewise.
8138 (__after_morecore_hook): Likewise.
8139 * malloc/arena.c (save_malloc_hook): Likewise.
8140 (save_free_hook): Likewise.
8141 * malloc/hooks.c (malloc_hook_ini): Likewise.
8142 (realloc_hook_ini): Likewise.
8143 (memalign_hook_ini): Likewise.
8144 * malloc/malloc.c (malloc_hook_ini): Likewise.
8145 (realloc_hook_ini): Likewise.
8146 (memalign_hook_ini): Likewise.
8147 (__free_hook): Likewise.
8148 (__malloc_hook): Likewise.
8149 (__realloc_hook): Likewise.
8150 (__memalign_hook): Likewise.
8151 (__libc_malloc): Likewise.
8152 (__libc_free): Likewise.
8153 (__libc_realloc): Likewise.
8154 (__libc_memalign): Likewise.
8155 (__libc_valloc): Likewise.
8156 (__libc_pvalloc): Likewise.
8157 (__libc_calloc): Likewise.
8158 (__posix_memalign): Likewise.
8159 * malloc/morecore.c (__sbrk): Likewise.
8160 (__default_morecore): Likewise.
8162 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8164 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8165 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8168 * malloc/malloc.h (__malloc_size_t): Remove macro.
8169 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8171 (old_memalign_hook): Likewise.
8172 (old_realloc_hook): Likewise.
8173 (struct hdr): Likewise.
8175 (mallochook): Likewise.
8176 (memalignhook): Likewise.
8177 (reallochook): Likewise.
8178 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8179 (tr_old_realloc_hook): Likewise.
8180 (tr_old_memalign_hook): Likewise.
8181 (tr_mallochook): Likewise.
8182 (tr_reallochook): Likewise.
8183 (tr_memalignhook): Likewise.
8185 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8187 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8188 default_ldbl_pack and using as default implementation.
8189 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8191 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8192 redundant definition.
8193 (ldbl_insert_mantissa): Likewise.
8194 (ldbl_canonicalize): Likewise.
8195 (ldbl_nearbyint): Likewise.
8196 (ldbl_pack): Rename to ldbl_pack_ppc.
8197 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8198 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8199 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8201 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8204 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8205 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8206 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8208 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8209 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8210 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8212 2013-03-07 Andreas Jaeger <aj@suse.de>
8214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8217 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8219 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8220 Include mpa.h and declare __MPEXP.
8221 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8222 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8223 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8224 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8225 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8226 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8227 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8229 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8230 (__slowpow): Use long double EXPL and LOGL functions to
8232 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8233 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8235 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8236 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8237 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8240 intermediate variable to calculate exponent.
8242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8246 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8247 [!NO__SQR]: Define __sqr.
8248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8249 and NO__SQR. Remove all code except __mul and __sqr. Include
8250 sysdeps/ieee754/dbl-64/mpa.c.
8251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8254 * posix/Makefile (tests): Add tst-pathconf.
8255 * posix/tst-pathconf.c: New test case.
8256 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8258 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8260 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8262 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8264 2013-03-06 Andreas Jaeger <aj@suse.de>
8266 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8267 definition via __MAP_ANONYMOUS.
8269 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8270 it's not part of Linux headers.
8272 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8273 (MAP_HUGE_MASK): Define.
8275 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8281 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8283 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8284 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8286 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8288 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8289 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8290 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8291 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8292 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8295 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8299 Handle f2fs and efivarfs.
8301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8304 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8305 (EFIVARFS_MAGIC): Add.
8306 (F2FS_LINK_MAX): Add.
8308 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8310 * stdio-common/vfprintf.c: Replace __builtin_expect with
8313 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8316 * sysdeps/generic/bp-sym.h: Remove file.
8317 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8318 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8319 <bp-sym.h> and <bp-asm.h>.
8320 (__longjmp): Don't use BP_SYM.
8321 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8323 (memcpy): Don't use BP_SYM.
8324 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8325 <bp-sym.h> and <bp-asm.h>.
8326 (memcpy): Don't use BP_SYM.
8327 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8329 (memcpy): Don't use BP_SYM.
8330 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8332 (memset): Don't use BP_SYM.
8333 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8334 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8335 (__bzero): Don't use BP_SYM.
8336 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8337 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8338 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8339 <bp-sym.h> and <bp-asm.h>.
8340 (memcmp): Don't use BP_SYM. Remove comment about bounded
8342 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8343 <bp-sym.h> and <bp-asm.h>.
8344 (memcpy): Don't use BP_SYM.
8345 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8346 <bp-sym.h> and <bp-asm.h>.
8347 (memset): Don't use BP_SYM.
8348 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8349 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8350 (__bzero): Don't use BP_SYM.
8351 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8352 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8353 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8354 <bp-sym.h> and <bp-asm.h>.
8355 (strncmp): Don't use BP_SYM. Remove comment about bounded
8357 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8358 <bp-sym.h> and <bp-asm.h>.
8359 (memcpy): Don't use BP_SYM.
8360 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8361 <bp-sym.h> and <bp-asm.h>.
8362 (memset): Don't use BP_SYM.
8363 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8364 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8365 (__bzero): Don't use BP_SYM.
8366 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8367 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8368 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8369 <bp-sym.h> and <bp-asm.h>.
8370 (__memchr): Don't use BP_SYM.
8371 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8372 <bp-sym.h> and <bp-asm.h>.
8373 (memcmp): Don't use BP_SYM. Remove comment about bounded
8375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8376 <bp-sym.h> and <bp-asm.h>.
8377 (memcpy): Don't use BP_SYM.
8378 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8379 <bp-sym.h> and <bp-asm.h>.
8380 (__mempcpy): Don't use BP_SYM.
8381 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8382 <bp-sym.h> and <bp-asm.h>.
8383 (__memrchr): Don't use BP_SYM.
8384 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8385 <bp-sym.h> and <bp-asm.h>.
8386 (memset): Don't use BP_SYM.
8387 (__bzero): Likewise.
8388 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8389 <bp-sym.h> and <bp-asm.h>.
8390 (__rawmemchr): Don't use BP_SYM.
8391 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8392 <bp-sym.h> and <bp-asm.h>.
8393 (__STRCMP): Don't use BP_SYM.
8394 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8395 <bp-sym.h> and <bp-asm.h>.
8396 (strchr): Don't use BP_SYM.
8397 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8398 <bp-sym.h> and <bp-asm.h>.
8399 (__strchrnul): Don't use BP_SYM.
8400 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8401 <bp-sym.h> and <bp-asm.h>.
8402 (strlen): Don't use BP_SYM.
8403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8404 <bp-sym.h> and <bp-asm.h>.
8405 (strncmp): Don't use BP_SYM. Remove comment about bounded
8407 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8408 <bp-sym.h> and <bp-asm.h>.
8409 (__strnlen): Don't use BP_SYM.
8410 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8411 <bp-sym.h> and <bp-asm.h>.
8412 (__GI__setjmp): Don't use BP_SYM.
8413 (_setjmp): Likewise.
8414 (__sigsetjmp): Likewise.
8415 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8416 (L(start_addresses)): Don't use BP_SYM.
8418 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8420 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8421 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8422 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8423 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8424 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8426 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8427 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8428 about bounded pointers.
8429 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8430 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8431 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8433 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8434 about bounded pointers. Remove GKM FIXME comments.
8435 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8436 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8438 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8439 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8440 Remove GKM FIXME comments.
8441 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8442 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8443 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8445 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8446 about bounded pointers. Remove GKM FIXME comment.
8447 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8449 (strncmp): Don't use BP_SYM. Remove comment about bounded
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8452 <bp-sym.h> and <bp-asm.h>.
8453 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8455 <bp-sym.h> and <bp-asm.h>.
8456 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8459 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8461 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8464 2013-03-05 David S. Miller <davem@davemloft.net>
8466 * po/es.po: Update from translation team.
8468 2013-03-05 Andreas Jaeger <aj@suse.de>
8470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8471 <bits/mman-linux.h>.
8472 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8474 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8475 <bits/mman-linux.h> to end of file.
8476 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8478 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8479 <bits/mman-linux.h> to end of file.
8480 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8482 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8483 <bits/mman-linux.h> to end of file.
8485 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8486 (MCL_CURRENT, MCL_FUTURE): Define here.
8488 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8491 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8493 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8495 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8497 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8498 fourth parameter needed for rt_sigprocmask syscall.
8499 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8500 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8501 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8502 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8503 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8504 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8506 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8509 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8510 comment about bounded pointers.
8511 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8512 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8514 2013-03-04 Andreas Jaeger <aj@suse.de>
8516 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8519 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8520 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8521 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8526 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8530 __ieee754_sqrl instead of __sqrl.
8532 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8534 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8535 * sysdeps/powerpc/fpu_control.h: ... here.
8536 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8537 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8538 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8539 * sysdeps/powerpc/bits/mathinline.h: ... here.
8541 2013-03-01 Roland McGrath <roland@hack.frob.com>
8543 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8544 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8545 to just [NEED_DL_SYSINFO_DSO].
8546 * elf/dl-support.c: Likewise.
8547 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8548 * elf/rtld.c (dl_main): Likewise.
8549 * elf/setup-vdso.h (setup_vdso): Likewise.
8550 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8551 * sysdeps/unix/sysv/linux/dl-sysdep.c
8552 (_dl_discover_osversion): Likewise.
8554 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8556 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8557 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8559 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8561 * NEWS: Mention libm performance improvements and non-x86 PI
8564 * csu/libc-start.c (__pthread_initialize_minimal): Change
8566 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8568 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8572 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8573 <bp-sym.h> and <bp-asm.h>.
8574 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8575 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8577 (memcpy): Don't use BP_SYM.
8578 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8580 (__mpn_add_n): Don't use BP_SYM.
8581 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8582 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8584 (__mpn_addmul_1): Don't use BP_SYM.
8585 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8586 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8588 (_setjmp): Don't use BP_SYM.
8589 (__novmx_setjmp): Likewise.
8590 (__GI__setjmp): Likewise.
8591 (__vmx_setjmp): Likewise.
8592 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8594 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8595 (__bzero): Don't use BP_SYM.
8596 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8597 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8598 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8599 <bp-sym.h> and <bp-asm.h>.
8600 (memcpy): Don't use BP_SYM.
8601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8602 <bp-sym.h> and <bp-asm.h>.
8603 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8605 <bp-sym.h> and <bp-asm.h>.
8606 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8607 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8609 (__mpn_lshift): Don't use BP_SYM.
8610 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8611 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8613 (memset): Don't use BP_SYM.
8614 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8615 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8616 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8618 (__mpn_mul_1): Don't use BP_SYM.
8619 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8620 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8621 <bp-sym.h> and <bp-asm.h>.
8622 (memcmp): Don't use BP_SYM.
8623 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8624 <bp-sym.h> and <bp-asm.h>.
8625 (memcpy): Don't use BP_SYM.
8626 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8627 <bp-sym.h> and <bp-asm.h>.
8628 (memset): Don't use BP_SYM.
8629 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8630 <bp-sym.h> and <bp-asm.h>.
8631 (strncmp): Don't use BP_SYM.
8632 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8633 <bp-sym.h> and <bp-asm.h>.
8634 (memcpy): Don't use BP_SYM.
8635 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8636 <bp-sym.h> and <bp-asm.h>.
8637 (memset): Don't use BP_SYM.
8638 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8639 <bp-sym.h> and <bp-asm.h>.
8640 (__memchr): Don't use BP_SYM.
8641 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8642 <bp-sym.h> and <bp-asm.h>.
8643 (memcmp): Don't use BP_SYM.
8644 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8645 <bp-sym.h> and <bp-asm.h>.
8646 (memcpy): Don't use BP_SYM.
8647 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8648 <bp-sym.h> and <bp-asm.h>.
8649 (__mempcpy): Don't use BP_SYM.
8650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8651 <bp-sym.h> and <bp-asm.h>.
8652 (__memrchr): Don't use BP_SYM.
8653 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8654 <bp-sym.h> and <bp-asm.h>.
8655 (memset): Don't use BP_SYM.
8656 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8657 <bp-sym.h> and <bp-asm.h>.
8658 (__rawmemchr): Don't use BP_SYM.
8659 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8660 <bp-sym.h> and <bp-asm.h>.
8661 (__STRCMP): Don't use BP_SYM.
8662 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8663 <bp-sym.h> and <bp-asm.h>.
8664 (strchr): Don't use BP_SYM.
8665 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8666 <bp-sym.h> and <bp-asm.h>.
8667 (__strchrnul): Don't use BP_SYM.
8668 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8669 <bp-sym.h> and <bp-asm.h>.
8670 (strlen): Don't use BP_SYM.
8671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8672 <bp-sym.h> and <bp-asm.h>.
8673 (strncmp): Don't use BP_SYM.
8674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8675 <bp-sym.h> and <bp-asm.h>.
8676 (__strnlen): Don't use BP_SYM.
8677 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8679 (__mpn_rshift): Don't use BP_SYM.
8680 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8681 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8682 <bp-sym.h> and <bp-asm.h>.
8683 (__sigsetjmp): Don't use BP_SYM.
8684 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8685 (L(start_addresses)): Don't use BP_SYM.
8687 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8689 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8690 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8691 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8692 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8694 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8695 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8696 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8697 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8699 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8701 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8702 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8704 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8706 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8707 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8708 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8710 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8712 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8714 (strncmp): Don't use BP_SYM,
8715 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8717 (__mpn_sub_n): Don't use BP_SYM.
8718 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8719 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8721 (__mpn_submul_1): Don't use BP_SYM.
8722 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8724 <bp-sym.h> and <bp-asm.h>.
8725 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8727 <bp-sym.h> and <bp-asm.h>.
8728 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8731 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8734 Use ZK to minimize writes to Z.
8735 (sub_magnitudes): Simplify code a bit.
8736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8737 Use ZK to minimize writes to Z.
8738 (sub_magnitudes): Simplify code a bit.
8740 2013-02-27 Roland McGrath <roland@hack.frob.com>
8742 * csu/gmon-start.c: Add special exception to license text.
8744 2013-02-27 Richard Henderson <rth@redhat.com>
8746 * scripts/config.guess: Update from config.git.
8747 * scripts/config.sub: Likewise.
8749 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8751 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8753 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8755 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8757 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8759 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8761 2013-02-26 Roland McGrath <roland@hack.frob.com>
8763 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8764 [$(build-shared = yes].
8766 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8768 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8769 (__mul): Reduce iterations for calculating mantissa.
8771 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8773 (__mpranred): Likewise.
8776 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8777 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8779 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8781 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8782 Define __attribute__.
8784 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8786 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8788 * posix/regex_internal.h (__attribute): Remove.
8789 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8790 (re_string_context_at): Likewise.
8791 (bitset_not): Use __attribute__ and mark function as possibly
8793 (bitset_merge): Likewise.
8794 (bitset_mask): Likewise.
8795 (re_string_char_size_at): Likewise.
8796 (re_string_wchar_at): Likewise.
8797 (re_string_elem_size_at): Likewise.
8799 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8801 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8805 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8810 (__dbl_mp): Likewise.
8811 (add_magnitudes): Likewise.
8812 (sub_magnitudes): Likewise.
8816 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8819 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8822 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8826 up changes with default code.
8827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8830 2013-02-24 Allan McRae <allan@archlinux.org>
8832 * manual/socket.texi (The Internet Namespace): Order menu items
8833 to match that in the file.
8835 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8836 node listing of the info page menu.
8838 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8841 * sysdeps/i386/bp-asm.h: Remove file.
8842 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8843 (PARMS): Do not use macros from bp-asm.h.
8847 (__mpn_add_n): Do not use BP_SYM
8848 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8850 (PARMS): Do not use macros from bp-asm.h.
8853 (__mpn_addmul_1): Do not use BP_SYM
8854 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8856 (PARMS): Do not use macros from bp-asm.h.
8858 (_setjmp): Likewise. Do not use BP_SYM.
8859 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8861 (PARMS): Do not use macros from bp-asm.h.
8863 (setjmp): Likewise. Do not use BP_SYM.
8864 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8866 (PARMS): Do not use macros from bp-asm.h.
8867 (__frexp): Do not use BP_SYM.
8869 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8871 (PARMS): Do not use macros from bp-asm.h.
8872 (__frexpf): Do not use BP_SYM.
8874 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8876 (PARMS): Do not use macros from bp-asm.h.
8877 (__frexpl): Do not use BP_SYM.
8879 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8881 (PARMS): Do not use macros from bp-asm.h.
8882 (__remquo): Do not use BP_SYM.
8884 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8886 (PARMS): Do not use macros from bp-asm.h.
8887 (__remquof): Do not use BP_SYM.
8888 (remquof): Likewise.
8889 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8891 (PARMS): Do not use macros from bp-asm.h.
8892 (__remquol): Do not use BP_SYM.
8893 (remquol): Likewise.
8894 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8896 (PARMS): Do not use macros from bp-asm.h.
8899 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8900 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8902 (PARMS): Do not use macros from bp-asm.h.
8903 (strlen): Do not use BP_SYM.
8904 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8906 (PARMS): Do not use macros from bp-asm.h.
8910 (__mpn_add_n): Do not use BP_SYM.
8911 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8913 (PARMS): Do not use macros from bp-asm.h.
8916 (__mpn_addmul_1): Do not use BP_SYM.
8917 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8920 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8922 (PARMS): Do not use macros from bp-asm.h.
8925 (__mpn_lshift): Do not use BP_SYM.
8926 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8928 (PARMS): Do not use macros from bp-asm.h.
8932 (memcpy): Likewise. Do not use BP_SYM.
8933 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8934 libc_hidden_def and weak_alias.
8935 (mempcpy): Do not use BP_SYM in weak_alias.
8936 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8938 (PARMS): Do not use macros from bp-asm.h.
8941 [!BZERO_P] (CHR): Likewise.
8942 (memset): Likewise. Do not use BP_SYM.
8943 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8945 (PARMS): Do not use macros from bp-asm.h.
8948 (__mpn_mul_1): Do not use BP_SYM.
8949 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8951 (PARMS): Do not use macros from bp-asm.h.
8954 (__mpn_rshift): Do not use BP_SYM.
8955 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8957 (PARMS): Do not use macros from bp-asm.h.
8960 (strchr): Likewise. Do not use BP_SYM.
8961 (index): Do not use BP_SYM in weak_alias.
8962 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8964 (PARMS): Do not use macros from bp-asm.h.
8967 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8968 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8970 (PARMS): Do not use macros from bp-asm.h.
8971 (strlen): Do not use BP_SYM.
8972 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8974 (PARMS): Do not use macros from bp-asm.h.
8978 (__mpn_sub_n): Do not use BP_SYM.
8979 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8981 (PARMS): Do not use macros from bp-asm.h.
8984 (__mpn_submul_1): Do not use BP_SYM.
8985 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8987 (PARMS): Do not use macros from bp-asm.h.
8991 (__mpn_add_n): Do not use BP_SYM.
8992 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8995 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8997 (PARMS): Do not use macros from bp-asm.h.
9000 (memcmp): Do not use BP_SYM.
9001 (bcmp): Do not use BP_SYM in weak_alias.
9002 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9004 (PARMS): Do not use macros from bp-asm.h.
9008 (memcpy): Likewise. Do not use BP_SYM.
9009 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9011 (PARMS): Do not use macros from bp-asm.h.
9015 (memmove): Likewise. Do not use BP_SYM.
9016 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9018 (PARMS): Do not use macros from bp-asm.h.
9022 (__mempcpy): Likewise. Do not use BP_SYM.
9023 (mempcpy): Do not use BP_SYM in weak_alias.
9024 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9026 (PARMS): Do not use macros from bp-asm.h.
9029 [!BZERO_P] (CHR): Likewise.
9030 (memset): Likewise. Do not use BP_SYM.
9031 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9033 (PARMS): Do not use macros from bp-asm.h.
9035 (strcmp): Do not use BP_SYM.
9036 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9038 (PARMS): Do not use macros from bp-asm.h.
9041 [USE_AS_STRTOK_R] (SAVE): Likewise.
9042 (FUNCTION): Likewise. Do not use BP_SYM.
9043 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9045 (strtok_r): Likewise.
9046 (__GI___strtok_r): Likewise.
9047 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9048 (PARMS): Do not use macros from bp-asm.h.
9051 (__mpn_lshift): Do not use BP_SYM.
9052 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9053 (PARMS): Do not use macros from bp-asm.h.
9056 (__memchr): Do not use BP_SYM.
9057 (memchr): Do not use BP_SYM in weak_alias.
9058 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9059 (PARMS): Do not use macros from bp-asm.h.
9062 (memcmp): Do not use BP_SYM.
9063 (bcmp): Do not use BP_SYM in weak_alias.
9064 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9065 (PARMS): Do not use macros from bp-asm.h.
9068 (__mpn_mul_1): Do not use BP_SYM.
9069 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9071 (PARMS): Do not use macros from bp-asm.h.
9074 (__rawmemchr): Do not use BP_SYM.
9075 (rawmemchr): Do not use BP_SYM in weak_alias.
9076 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9077 (PARMS): Do not use macros from bp-asm.h.
9080 (__mpn_rshift): Do not use BP_SYM.
9081 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9082 (PARMS): Do not use macros from bp-asm.h.
9084 (__sigsetjmp): Likewise. Do not use BP_SYM.
9085 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9086 (_start): Do not use BP_SYM.
9087 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9088 (PARMS): Do not use macros from bp-asm.h.
9091 (__stpcpy): Likewise. Do not use BP_SYM.
9092 (stpcpy): Do not use BP_SYM in weak_alias.
9093 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9095 (PARMS): Do not use macros from bp-asm.h.
9099 (__stpncpy): Likewise. Do not use BP_SYM.
9100 (stpncpy): Do not use BP_SYM in weak_alias.
9101 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9102 (PARMS): Do not use macros from bp-asm.h.
9105 (strchr): Likewise. Do not use BP_SYM.
9106 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9108 (PARMS): Do not use macros from bp-asm.h.
9111 (__strchrnul): Likewise. Do not use BP_SYM.
9112 (strchrnul): Do not use BP_SYM in weak_alias.
9113 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9115 (PARMS): Do not use macros from bp-asm.h.
9117 (strcspn): Do not use BP_SYM.
9118 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9120 (PARMS): Do not use macros from bp-asm.h.
9123 (strpbrk): Likewise. Do not use BP_SYM.
9124 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9126 (PARMS): Do not use macros from bp-asm.h.
9129 (strrchr): Likewise. Do not use BP_SYM.
9130 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9131 (PARMS): Do not use macros from bp-asm.h.
9133 (strspn): Do not use BP_SYM.
9134 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9135 (PARMS): Do not use macros from bp-asm.h.
9139 (FUNCTION): Likewise. Do not use BP_SYM.
9140 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9142 (strtok_r): Likewise.
9143 (__GI___strtok_r): Likewise.
9144 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9145 (PARMS): Do not use macros from bp-asm.h.
9149 (__mpn_sub_n): Do not use BP_SYM.
9150 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9152 (PARMS): Do not use macros from bp-asm.h.
9155 (__mpn_submul_1): Do not use BP_SYM.
9156 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9158 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9160 (PARMS): Do not use macros from bp-asm.h.
9165 (__clone): Do not use BP_SYM.
9166 (clone): Do not use BP_SYM in weak_alias.
9167 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9169 (PARMS): Do not use macros from bp-asm.h.
9171 (__mmap64): Do not use BP_SYM.
9172 (mmap64): Do not use BP_SYM in weak_alias.
9173 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9174 <bp-sym.h> and <bp-asm.h>.
9175 (PARMS): Do not use macros from bp-asm.h.
9176 (__posix_fadvise64_l64): Do not use BP_SYM.
9177 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9178 (PARMS): Do not use macros from bp-asm.h.
9180 (semtimedop): Do not use BP_SYM.
9181 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9184 2013-02-21 Allan McRae <allan@archlinux.org>
9186 * manual/message.texi (Charset conversion in gettext):
9187 Move @end statement to beginning of line.
9189 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9196 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9201 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9203 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9204 tail-call to the resolved function if pltexit isn't needed.
9206 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9209 or Y being zero as being unlikely.
9210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9213 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9215 * manual/nss.texi (System Databases and Name Service Switch):
9216 Remove frobnicate @pxref.
9218 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9220 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9221 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9223 2013-02-20 Petr Machata <pmachata@redhat.com>
9225 * elf/elf.h (R_ARM_TARGET1): New macro.
9226 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9227 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9228 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9229 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9230 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9231 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9232 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9233 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9234 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9235 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9236 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9237 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9238 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9239 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9240 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9241 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9242 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9243 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9244 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9245 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9246 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9247 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9248 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9249 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9250 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9251 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9252 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9253 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9254 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9255 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9256 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9257 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9258 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9259 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9260 (R_ARM_THM_GOT_BREL12): Likewise.
9261 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9262 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9263 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9264 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9265 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9266 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9267 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9268 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9269 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9271 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9273 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9274 __attribute_used__ to __attribute__ ((unused)).
9276 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9278 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9284 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9287 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9289 (ENTER): Remove both macro definitions.
9291 (CHECK_BOUNDS_LOW): Likewise.
9292 (CHECK_BOUNDS_HIGH): Likewise.
9293 (CHECK_BOUNDS_BOTH): Likewise.
9294 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9295 (RETURN_BOUNDED_POINTER): Likewise.
9296 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9297 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9298 (POP_ERRNO_LOCATION_RETURN): Likewise.
9299 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9300 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9301 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9303 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9304 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9305 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9306 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9307 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9308 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9309 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9310 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9311 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9312 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9313 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9314 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9315 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9316 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9318 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9319 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9321 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9322 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9323 * sysdeps/i386/i586/memset.S (memset): Likewise.
9324 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9325 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9326 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9328 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9329 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9330 Change uses of L(2) to L(out).
9331 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9332 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9333 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9334 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9335 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9337 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9338 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9340 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9341 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9342 (RETURN): Do not use macro LEAVE.
9343 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9344 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9345 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9346 * sysdeps/i386/i686/memset.S (memset): Likewise.
9347 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9348 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9349 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9350 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9352 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9353 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9354 L(1_2) and L(1_3) into L(1).
9355 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9356 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9357 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9358 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9359 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9360 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9361 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9362 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9363 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9365 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9366 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9367 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9368 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9369 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9370 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9371 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9372 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9373 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9374 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9375 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9376 * sysdeps/i386/strspn.S (strspn): Likewise.
9377 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9379 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9380 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9381 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9382 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9384 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9385 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9386 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9388 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9390 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9392 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9395 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9397 * math/atest-exp.c (exp_mpn): Remove ROUND.
9398 * math/atest-exp2.c (exp_mpn): Likewise.
9399 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9401 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9402 * stdlib/tst-tls-atexit-lib.c: Likewise.
9403 * stdlib/tst-tls-atexit.c: Likewise.
9405 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9407 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9408 and __attribute_alloc_size__.
9410 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9412 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9413 __attribute_alloc_size__.
9414 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9415 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9417 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9419 * include/programs/xmalloc.h: New file.
9420 * catgets/gencat.c: Include it.
9421 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9422 * elf/pldd.c: Likewise.
9423 * iconv/iconv_charmap.c: Likewise.
9424 * iconv/iconvconfig.c: Likewise.
9425 * iconv/strtab.c: Likewise.
9426 * locale/programs/locale.c: Likewise.
9427 * locale/programs/localedef.h: Likewise.
9428 * locale/programs/simple-hash.c: Likewise.
9429 * nscd/nscd.h: Likewise.
9430 * nss/makedb.c: Likewise.
9431 * sysdeps/generic/ldconfig.h: Likewise.
9433 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9435 * Versions.def: Add GLIBC_2.18.
9436 * include/link.h (struct link_map): New member l_tls_dtor_count.
9437 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9438 (__call_tls_dtors): Likewise.
9439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9440 __cxa_thread_atexit_impl.
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9457 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9458 (tests): Add test case tst-tls-atexit.
9459 (modules-names): Add shared library for tst-tls-atexit.
9460 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9461 (GLIBC_PRIVATE): Add __call_tls_dtors.
9462 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9464 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9465 * stdlib/tst-tls-atexit.c: New test case.
9466 * stdlib/tst-tls-atexit-lib.c: New test case.
9468 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9470 * elf/Versions (ld): Add _dl_find_dso_for_object.
9471 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9472 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9473 (dl_open_worker): Use _dl_find_dso_for_object.
9474 * elf/dl-sym.c (do_sym): Likewise.
9475 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9477 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9479 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9480 Syntactic changes only.
9481 (_dl_runtime_profile): Do a tail-call to the resolved function.
9483 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9486 * sysdeps/x86_64/bp-asm.h: Remove file.
9487 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9488 <bp-sym.h> and <bp-asm.h>.
9489 (__clone): Do not use BP_SYM.
9490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9491 <bp-sym.h> and <bp-asm.h>.
9492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9493 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9495 (_setjmp): Do not use BP_SYM.
9496 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9498 (setjmp): Do not use BP_SYM.
9499 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9501 (mempcpy): Do not use BP_SYM in weak_alias.
9502 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9504 (strchr): Do not use BP_SYM.
9505 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9507 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9508 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9509 (_start): Do not use BP_SYM.
9510 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9512 (strcat): Do not use BP_SYM.
9513 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9515 (STRCMP): Do not use BP_SYM.
9516 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9518 (STRCPY): Do not use BP_SYM.
9519 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9521 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9523 (FUNCTION): Do not use BP_SYM.
9524 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9526 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9528 2013-02-17 Andreas Jaeger <aj@suse.de>
9530 * time/Versions: Sort entries.
9531 * string/Versions: Likewise.
9532 * resolv/Versions: Likewise.
9533 * posix/Versions: Likewise.
9534 * iconv/Versions: Likewise.
9535 * elf/Versions: Likewise.
9536 * wcsmbs/Versions: Likewise.
9538 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9540 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9541 loop termination condition.
9543 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9544 variable to calculate EZ.
9547 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9548 the lower precision input.
9550 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9553 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9554 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9555 (run-via-rtld-prefix): Do not handle %-bp tests.
9556 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9557 (all-object-suffixes): Remove .ob.
9558 (bppfx): Remove variable.
9559 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9560 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9561 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9562 [$(build-bounded) = yes] (libtype.ob): Likewise.
9563 * Makerules (elide-routines.ob): Remove variable.
9564 (do-tests-clean): Do not handle *-bp.out.
9565 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9566 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9567 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9568 (tests): Do not include $(tests-bp.out).
9569 (xtests): Do not include $(xtests-bp.out).
9570 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9571 [$(build-bounded) = yes] ($(addprefix
9572 $(objpfx),$(binaries-bounded))): Remove rule.
9573 ($(objpfx)%-bp.out): Remove rule.
9574 * config.make.in (build-bounded): Remove variable.
9575 * crypt/Makefile [$(build-bounded) = yes]
9576 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9577 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9579 [$(build-bounded) = yes] (install-lib): Likewise.
9580 [$(build-bounded) = yes] (generated): Likewise.
9581 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9583 * intl/Makefile [$(build-bounded) = yes]
9584 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9585 * math/Makefile [$(build-bounded) = yes]
9586 ($(tests:%=$(objpfx)%-bp): Likewise.
9587 * misc/Makefile [$(build-bounded) = yes]
9588 ($(objpfx)tst-tsearch-bp): Likewise.
9589 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9590 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9592 * string/Makefile (o-objects.ob): Remove variable.
9593 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9594 (CFLAGS-.ob): Remove variable.
9595 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9596 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9597 both definitions of variable.
9598 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9599 (ASFLAGS-.ob): Remove variable.
9601 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9604 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9605 Remove __BOUNDED_POINTERS__ from condition.
9606 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9607 * string/bits/string2.h [!__NO_STRING_INLINES &&
9608 !__BOUNDED_POINTERS__]: Likewise.
9609 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9611 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9612 Remove conditional code.
9613 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9614 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9615 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9619 * csu/libc-start.c: Do not include <bp-sym.h>.
9620 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9621 * elf/dl-open.c: Do not include <bp-sym.h>.
9622 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9623 * math/fegetenv.c: Do not include <bp-sym.h>.
9624 (fegetenv): Do not use BP_SYM in versioned symbols.
9625 * nptl/sysdeps/pthread/bits/libc-lockP.h
9626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9629 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9631 (__pthread_mutex_destroy): Likewise.
9632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9633 (__pthread_mutex_lock): Likewise.
9634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9635 (__pthread_mutex_trylock): Likewise.
9636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9637 (__pthread_mutex_unlock): Likewise.
9638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9639 (__pthread_mutexattr_init): Likewise.
9640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9641 (__pthread_mutexattr_destroy): Likewise.
9642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9643 (__pthread_mutexattr_settype): Likewise.
9644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9645 (__pthread_rwlock_init): Likewise.
9646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9647 (__pthread_rwlock_destroy): Likewise.
9648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9649 (__pthread_rwlock_rdlock): Likewise.
9650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9651 (__pthread_rwlock_tryrdlock): Likewise.
9652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9653 (__pthread_rwlock_wrlock): Likewise.
9654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9655 (__pthread_rwlock_trywrlock): Likewise.
9656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9657 (__pthread_rwlock_unlock): Likewise.
9658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9659 (__pthread_key_create): Likewise.
9660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9661 (__pthread_setspecific): Likewise.
9662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9663 (__pthread_getspecific): Likewise.
9664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9667 (_pthread_cleanup_push_defer): Likewise.
9668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9669 (_pthread_cleanup_pop_restore): Likewise.
9670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9671 (pthread_setcancelstate): Likewise.
9672 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9674 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9675 (memchr): Do not use BP_SYM in weak_alias.
9676 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9677 (fegetenv): Do not use BP_SYM in versioned symbols.
9678 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9679 (fesetenv): Do not use BP_SYM in versioned symbols.
9680 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9681 (feupdateenv): Do not use BP_SYM in versioned symbols.
9682 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9683 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9684 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9685 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9686 (open64): Do not use BP_SYM in weak_alias.
9687 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9688 (fegetenv): Do not use BP_SYM in versioned symbols.
9689 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9690 (fesetenv): Do not use BP_SYM in versioned symbols.
9691 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9692 (feupdateenv): Do not use BP_SYM in versioned symbols.
9693 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9694 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9695 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9696 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9697 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9698 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9699 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9701 (__libc_start_main): Do not use BP_SYM.
9703 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9706 redundant return line.
9710 (sub_magnitudes): Likewise.
9716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9720 (sub_magnitudes): Likewise.
9727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9729 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9730 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9733 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9734 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9736 of __mul for squares.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9741 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9744 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9747 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9749 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9750 prototype or function definition. Rename ubp_* variables and
9751 parameters. Remove argv definitions conditional on
9752 [__BOUNDED_POINTERS__].
9753 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9754 * elf/dl-runtime.c (_dl_fixup): Likewise.
9755 * include/set-hooks.h (RUN_HOOK): Likewise.
9756 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9758 * string/strcpy.c (strcpy): Do not use __unbounded.
9759 * sysdeps/generic/frame.h (struct layout): Likewise.
9760 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9761 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9762 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9763 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9764 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9765 (__backtrace): Likewise.
9766 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9768 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9769 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9770 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9772 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9773 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9774 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9775 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9776 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9777 Do not use __unbounded.
9778 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9779 Rename __unboundedrlimits parameter to rlimits in prototype.
9780 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9781 Do not use __unbounded.
9782 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9784 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9785 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9786 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9787 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9788 __ptrvalue or __unbounded.
9789 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9790 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9792 (__new_msgctl): Do not use __ptrvalue.
9793 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9795 (__libc_msgrcv): Do not use __ptrvalue.
9796 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9797 startup_info): Do not use __unbounded.
9798 (__libc_start_main): Likewise. Rename ubp_* variables and
9799 parameters. Remove argv definitions conditional on
9800 [__BOUNDED_POINTERS__].
9801 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9803 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9805 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9807 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9809 (__new_shmctl): Do not use __ptrvalue.
9810 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9811 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9813 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9815 (__libc_sigaction): Likewise.
9816 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9817 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9819 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9821 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9823 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9825 * string/mempcpy.c: Implement by calling memcpy.
9827 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9834 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9835 values in the mantissa.
9837 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9838 minimize writes to Z.
9839 (sub_magnitudes): Simplify code a bit.
9841 2013-02-12 Roland McGrath <roland@hack.frob.com>
9843 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9844 from the message. The linker prefixes all warnings with that already.
9846 2013-02-12 Andreas Schwab <schwab@suse.de>
9849 * posix/regexec.c (extend_buffers): Add parameter min_len.
9850 (check_matching): Pass minimum needed length.
9851 (clean_state_log_if_needed): Likewise.
9852 (get_subexp): Likewise.
9853 * posix/Makefile (tests): Add bug-regex34.
9854 (bug-regex34-ENV): Define.
9855 * posix/bug-regex34.c: New file.
9858 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9859 elements compare against the byte sequence of it, not its name.
9860 * posix/Makefile (tests): Add bug-regex35.
9861 (bug-regex35-ENV): Define.
9862 * posix/bug-regex35.c: New file.
9864 2013-02-11 Tom de Vries <tom@codesourcery.com>
9866 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9868 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9869 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9870 (CHECK_EOL): Add undef.
9872 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9874 * bits/stdlib-bsearch.h: New file.
9875 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9876 * stdlib/stdlib.h: Likewise.
9878 2013-02-11 Roland McGrath <roland@hack.frob.com>
9880 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9881 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9883 * manual/search.texi (Array Search Function): Add missing const in
9885 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9886 declaration to use rlim_t.
9887 (Basic Scheduling Functions): Remove erroneous const from
9888 sched_getparam prototype. Remove erroneous * from
9889 sched_get_priority_max and sched_get_priority_min prototypes.
9890 (Resource Usage): Fix summary @comment on vtimes to refer to
9891 sys/vtimes.h rather than vtimes.h.
9892 Add missing *s in vtimes prototype.
9893 (Limits on Resources): Fix ulimit prototype to return long int.
9894 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9895 prototypes to use long int rather than double.
9896 (BSD Random): Fix initstate and setstate to use char *, not void *.
9897 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9898 prototype to make second argument 'struct aiocb64 *const[]'.
9899 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9900 (Status of AIO Operations): Remove erroneous const in aio_return and
9901 aio_return64 prototypes.
9902 (Synchronizing I/O): Fix sync prototype to return void.
9903 * manual/startup.texi (Suboptions): Remove an erroneous const in
9904 getsubopt prototype.
9905 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9906 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9907 use size_t rather than int.
9908 (Scanning All Users): Likewise for getpwent_r.
9909 (Setting Groups): Add missing const to setgroups prototype.
9910 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9911 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9912 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9913 'const void *' rather than 'const char *'.
9914 (Host Address Functions): Likewise for inet_ntop.
9915 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9916 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9917 ssize_t for return value.
9918 (Sending Data): Likewise for send, sendto, sendmsg.
9919 (Socket Option Functions): Add a missing const in setsockopt prototype.
9920 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9921 use wchar_t for the argument.
9922 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9923 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9925 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9926 double/float/long double for second argument.
9927 Fix return types of significand, significandf, significandl.
9928 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9929 argument in fchmod prototype.
9930 (File Owner): Use uid_t and gid_t in fchown prototype.
9931 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9932 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9933 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9934 use 'const struct dirent **' as argument types to CMP function pointer
9936 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9937 (File Times): Fix summary magic @comment for struct utimbuf and utime
9938 to refer to utime.h, not time.h.
9939 * manual/string.texi (Argz Functions): Add missing const in
9940 argz_extract and argz_next prototypes.
9941 (Finding Tokens in a String): Likewise for basename.
9942 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9943 (Copying and Concatenation): Fix typo in wmemmove prototype.
9944 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9945 (Signal Stack): Remove erroneous const in sigstack prototype.
9946 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9948 (Simple Calendar Time): Likewise for stime.
9949 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9951 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9952 say sys/sysctl.h instead.
9953 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9954 and vsyslog prototypes.
9956 2013-02-11 Tom de Vries <tom@codesourcery.com>
9958 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9961 2013-02-11 Roland McGrath <roland@hack.frob.com>
9963 * misc/sys/mman.h: Fix typo in mremap comment.
9965 2013-02-08 Roland McGrath <roland@hack.frob.com>
9967 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9968 the '\0' terminator.
9970 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9973 * debug/segfault.c: Don't include <bp-checks.h>.
9974 * sysdeps/generic/bp-checks.h: Remove file.
9975 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9976 (__GETDENTS): Don't use CHECK_N.
9977 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9978 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9979 (__getgroups): Don't use CHECK_N.
9980 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9981 (setgroups): Don't use CHECK_N.
9982 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9983 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9984 (__libc_msgrcv): Don't use CHECK_N.
9985 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9986 (__libc_msgsnd): Don't use CHECK_N.
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9989 (__libc_pread): Don't use CHECK_N.
9990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9991 include <bp-checks.h>.
9992 (__libc_pread64): Don't use CHECK_N.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9994 include <bp-checks.h>.
9995 (__libc_pwrite): Don't use CHECK_N.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9997 include <bp-checks.h>.
9998 (__libc_pwrite64): Don't use CHECK_N.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10001 (__libc_pread): Don't use CHECK_N.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10003 include <bp-checks.h>.
10004 (__libc_pread64): Don't use CHECK_N.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10006 include <bp-checks.h>.
10007 (__libc_pwrite): Don't use CHECK_N.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10009 include <bp-checks.h>.
10010 (__libc_pwrite64): Don't use CHECK_N.
10011 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10012 (do_pread): Don't use CHECK_N.
10013 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10014 (do_pread64): Don't use CHECK_N.
10015 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10016 (do_pwrite): Don't use CHECK_N.
10017 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10018 (do_pwrite64): Don't use CHECK_N.
10019 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10020 (__libc_readv): Don't use CHECK_N.
10021 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10022 (semop): Don't use CHECK_N.
10023 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10025 (semtimedop): Don't use CHECK_N.
10026 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10027 (__libc_pread): Don't use CHECK_N.
10028 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10030 (__libc_pread64): Don't use CHECK_N.
10031 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10033 (__libc_pwrite): Don't use CHECK_N.
10034 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10036 (__libc_pwrite64): Don't use CHECK_N.
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10039 (__libc_msgrcv): Don't use CHECK_N.
10040 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10041 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10042 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10043 (__libc_writev): Don't use CHECK_N.
10045 2013-02-08 Roland McGrath <roland@hack.frob.com>
10047 * string/strcpy.c: Removed unused variable.
10049 * Makeconfig (+sysdep-includes): Define with := rather than =.
10050 Use an existing include/ subdir of each sysdeps dir before it.
10052 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10054 * nscd/connection.c (register_traced_file): Comment function.
10055 [HAVE_INOTIFY] (union __inev): Define.
10056 [HAVE_INOTIFY] (inotify_check_files): New function.
10057 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10058 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10060 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10062 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10064 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10065 loaded if not already and that a failure is permanent.
10067 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10070 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10071 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10073 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10076 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10077 (CHECK_1_NULL_OK): Likewise.
10078 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10079 (__fxstat): Do not use CHECK_1.
10080 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10082 (___fxstat64): Do not use CHECK_1.
10083 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10085 (__fxstatat): Do not use CHECK_1.
10086 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10088 (__fxstatat64): Do not use CHECK_1.
10089 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10091 (__fxstat): Do not use CHECK_1.
10092 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10094 (__fxstatat): Do not use CHECK_1.
10095 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10097 (__getresgid): Do not use CHECK_1.
10098 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10100 (__getresuid): Do not use CHECK_1.
10101 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10103 (__lxstat): Do not use CHECK_1.
10104 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10106 (__old_msgctl): Do not use CHECK_1.
10107 (__new_msgctl): Likewise.
10108 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10110 (__new_setrlimit): Do not use CHECK_1.
10111 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10113 (__old_shmctl): Do not use CHECK_1.
10114 (__new_shmctl): Likewise.
10115 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10117 (__xstat): Do not use CHECK_1.
10118 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10119 (__lxstat): Do not use CHECK_1.
10120 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10122 (___lxstat64): Do not use CHECK_1.
10123 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10124 (__old_msgctl): Do not use CHECK_1.
10125 (__new_msgctl): Likewise.
10126 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10128 (__gettimeofday): Do not use CHECK_1.
10129 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10130 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10131 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10133 (__gettimeofday): Do not use CHECK_1.
10134 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10135 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10136 (__new_shmctl): Do not use CHECK_1.
10137 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10139 (do_sigtimedwait): Do not use CHECK_1.
10140 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10142 (do_sigwaitinfo): Do not use CHECK_1.
10143 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10145 (msgctl): Do not use CHECK_1.
10146 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10148 (shmctl): Do not use CHECK_1.
10149 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10150 (ustat): Do not use CHECK_1.
10151 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10153 (__fxstat): Do not use CHECK_1.
10154 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10156 (__fxstatat): Do not use CHECK_1.
10157 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10159 (__lxstat): Do not use CHECK_1.
10160 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10162 (__xstat): Do not use CHECK_1.
10163 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10164 (__xstat): Do not use CHECK_1.
10165 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10166 (___xstat64): Do not use CHECK_1.
10169 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10171 (CHECK_BOUNDS_HIGH): Likewise.
10172 * string/strcpy.c: Do not include <bp-checks.h>.
10173 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10175 2013-02-07 Roland McGrath <roland@hack.frob.com>
10177 * nscd/nscd-client.h (__nscd_drop_map_ref):
10178 Add __attribute__ ((unused)).
10179 * nis/nss-nisplus.h (niserr2nss): Likewise.
10181 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10182 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10184 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10185 Remove inline keyword.
10186 * include/rounding-mode.h (round_away): Likewise.
10187 * libio/wfileops.c (adjust_wide_data): Likewise.
10188 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10189 (__m128i_strloadu_tolower): Likewise.
10190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10191 (__m128i_strloadu_tolower): Likewise.
10192 * time/mktime.c (ydhms_diff): Likewise.
10193 * locale/elem-hash.h (elem_hash): Likewise.
10194 * locale/setlocale.c (setdata): Likewise.
10195 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10196 (re_string_wchar_at): Likewise.
10197 (bitset_not, bitset_merge, bitset_mask): Likewise.
10198 [!(__GNUC__ > 3)] (inline): Remove macro.
10199 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10200 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10201 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10202 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10203 * string/memcmp.c (memcmp_bytes): Likewise.
10204 * locale/programs/locarchive.c (compute_hashval): Likewise.
10205 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10206 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10207 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10208 * nss/getent.c (print_rpc, print_protocols): Likewise.
10209 (print_passwd, print_group, print_aliases): Likewise.
10210 * nis/nss-nisplus.h (niserr2nss): Likewise.
10211 * nscd/connections.c (restart_p): Likewise.
10212 Change return type to bool.
10214 2013-02-05 Roland McGrath <roland@hack.frob.com>
10216 * Makeconfig (all-Depend-files): Add existing
10217 $(sorted-subdirs:=/Depend) files.
10218 (all-subdirs): Remove nss.
10219 * sysdeps/unix/inet/Subdirs: Add it here instead.
10220 * hesiod/Depend: New file.
10222 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10223 instead of calling alloca.
10225 * io/lseek.c (__lseek): Rename to __libc_lseek.
10226 Define __lseek as an alias.
10228 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10230 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10232 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10233 else clause and remove check for non-standard endianness.
10235 2013-02-04 David S. Miller <davem@davemloft.net>
10237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10239 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10242 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10243 (__ubp_memchr): Remove prototype.
10244 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10245 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10246 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10247 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10248 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10250 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10251 (__ubp_memchr): Likewise.
10252 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10253 (__ubp_memchr): Likewise.
10254 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10255 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10256 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10257 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10259 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10260 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10261 (__getcwd): Do not use CHECK_STRING.
10262 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10264 (__real_chown): Do not use CHECK_STRING.
10265 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10267 (fchownat): Do not use CHECK_STRING.
10268 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10270 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10272 (__lchown): Do not use CHECK_STRING.
10273 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10274 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10275 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10276 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10278 include <bp-checks.h>.
10279 (truncate64): Do not use CHECK_STRING.
10280 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10282 (__real_chown): Do not use CHECK_STRING.
10283 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10285 (__lchown): Do not use CHECK_STRING.
10286 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10288 (__chown): Do not use CHECK_STRING.
10289 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10291 (truncate64): Do not use CHECK_STRING.
10292 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10294 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10295 (__xmknod): Do not use CHECK_STRING.
10296 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10298 (__xmknodat): Do not use CHECK_STRING.
10299 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10300 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10302 2013-02-04 Andreas Schwab <schwab@suse.de>
10305 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10306 * include/netdb.h: Likewise for h_errno.
10307 * elf/tst-stackguard1.c: Include <tls.h>.
10309 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10311 * elf/link.h (struct link_map): Extend the l_addr comment.
10312 * include/link.h (struct link_map): Likewise.
10314 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10317 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10318 (BOUNDED_1): Remove macro.
10319 * debug/backtrace.c: Don't include <bp-checks.h>.
10320 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10321 (__backtrace): Likewise.
10322 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10324 (__backtrace): Don't use BOUNDED_1.
10325 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10327 (__backtrace): Don't use BOUNDED_1.
10328 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10329 (__backtrace): Don't use BOUNDED_1.
10330 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10331 (shmat): Don't use BOUNDED_N.
10333 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10336 * sysdeps/generic/bp-start.h: Remove file.
10337 * csu/libc-start.c: Don't include <bp-start.h>.
10338 (LIBC_START_MAIN): Set up __environ directly instead of using
10339 INIT_ARGV_and_ENVIRON.
10340 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10344 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10346 (CHECK_FCNTL): Likewise.
10347 (CHECK_N_PAGES): Likewise.
10350 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10352 (CHECK_SIGSET_NULL_OK): Likewise.
10353 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10355 (sigpending): Don't use CHECK_SIGSET.
10356 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10358 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10359 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10361 (do_sigsuspend): Don't use CHECK_SIGSET.
10362 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10364 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10365 (do_sigwait): Don't use CHECK_SIGSET.
10366 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10369 include <bp-checks.h>.
10370 (sigpending): Don't use CHECK_SIGSET.
10371 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10372 include <bp-checks.h>.
10373 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10374 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10376 (sigpending): Don't use CHECK_SIGSET.
10377 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10379 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10382 * sysdeps/generic/bp-semctl.h: Remove file.
10383 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10384 <bp-checks.h> and <bp-semctl.h>.
10385 (__old_semctl): Don't use CHECK_SEMCTL.
10386 (__new_semctl): Likewise.
10387 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10389 (__old_semctl): Don't use CHECK_SEMCTL.
10390 (__new_semctl): Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10392 <bp-checks.h> and <bp-semctl.h>.
10393 (__old_semctl): Don't use CHECK_SEMCTL.
10394 (__new_semctl): Likewise.
10395 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10396 <bp-checks.h> and <bp-semctl.h>.
10397 (semctl): Don't use CHECK_SEMCTL.
10400 * Makerules (elide-bp-thunks): Remove variable.
10401 (elide-routines.oS): Don't use $(elide-bp-thunks).
10402 (elide-routines.os): Likewise.
10403 (elide-routines.o): Likewise.
10404 (elide-routines.op): Likewise.
10405 (elide-routines.og): Likewise.
10406 (objects): Don't use $(bp-thunks).
10407 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10409 (common-generated): Do not add s-proto-bp.d.
10410 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10413 Do not generate makefile rules for bounded-pointer thunks.
10414 * sysdeps/generic/bp-thunks.h: Remove file.
10415 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10416 * sysdeps/unix/s-proto-bp.S: Likewise.
10419 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10420 parts of result separately when argument is not close to line from
10421 -i to i and one part of argument is small.
10422 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10423 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10424 * math/libm-test.inc (cacos_test): Add more tests.
10425 (casin_test): Likewise.
10426 (casinh_test): Likewise.
10427 * sysdeps/i386/fpu/libm-test-ulps: Update.
10428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10430 2013-01-31 David S. Miller <davem@davemloft.net>
10432 * po/de.po: Update from translation team.
10434 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10436 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10438 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10440 * configure.in (_AC_PROG_CC_C89): New definition.
10441 * configure: Regenerate.
10443 * configure.in (AC_PROG_CPP): New definition.
10444 * configure: Regenerate.
10446 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10448 * debug/tst-backtrace.h: New file.
10449 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10450 (ret): Remove variable.
10452 (FAIL): Remove macro.
10453 (NO_INLINE): Likewise.
10454 (fn1): Use match function instead of strstr.
10455 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10456 (ret): Remove variable.
10458 (FAIL): Remove macro.
10459 (NO_INLINE): Likewise.
10460 (fn): Use match function instead of strstr.
10461 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10462 (ret): Remove variable.
10464 (FAIL): Remove macro.
10465 (NO_INLINE): Likewise.
10466 (handle_signal): Use match function instead of strstr.
10467 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10468 (ret): Remove variable.
10470 (FAIL): Remove macro.
10471 (NO_INLINE): Likewise.
10472 (handle_signal): Use match function instead of strstr.
10474 2013-01-23 Roland McGrath <roland@hack.frob.com>
10476 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10478 2013-01-23 David S. Miller <davem@davemloft.net>
10480 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10481 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10482 argument of CAS if possible.
10483 * sysdeps/sparc/sparc64/bits/atomic.h
10484 (__arch_compare_and_exchange_val_32_acq): Likewise.
10485 (__arch_compare_and_exchange_val_64_acq): Likewise.
10487 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10489 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10490 * sysdeps/posix/ulimit.c: ... this.
10491 Include <limits.h>.
10492 * sysdeps/unix/bsd/ulimit.c: Remove file.
10494 2013-01-23 Adam Conrad <adconrad@0c3.net>
10496 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10497 (LDFLAGS-tst-array5): Likewise.
10499 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10502 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10503 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10504 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10505 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10507 2013-01-21 David S. Miller <davem@davemloft.net>
10509 * sysdeps/sparc/backtrace.c: New file.
10510 * sysdeps/sparc/sparc32/backtrace.h: New file.
10511 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10512 * sysdeps/sparc/sparc64/backtrace.h: New file.
10513 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10514 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10517 2013-01-21 Andreas Schwab <schwab@suse.de>
10520 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10523 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10529 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10530 Mark Mitchell <mark@codesourcery.com>
10531 Tom de Vries <tom@codesourcery.com>
10532 Paul Pluzhnikov <ppluzhnikov@google.com>
10534 * debug/tst-backtrace2.c: New file.
10535 * debug/tst-backtrace3.c: Likewise.
10536 * debug/tst-backtrace4.c: Likewise.
10537 * debug/tst-backtrace5.c: Likewise.
10538 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10539 (CFLAGS-tst-backtrace3.c): Likewise.
10540 (CFLAGS-tst-backtrace4.c): Likewise.
10541 (CFLAGS-tst-backtrace5.c): Likewise.
10542 (LDFLAGS-tst-backtrace2): Likewise.
10543 (LDFLAGS-tst-backtrace3): Likewise.
10544 (LDFLAGS-tst-backtrace4): Likewise.
10545 (LDFLAGS-tst-backtrace5): Likewise.
10546 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10547 tst-backtrace4 and tst-backtrace5.
10549 2013-01-18 Anton Blanchard <anton@samba.org>
10550 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10552 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10553 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10555 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10557 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10558 "+r" and remove output regs list as redundant. Add explicit inline
10559 asm to specify register of return val to work around compiler codegen
10560 bug. Remove (int) cast on return value. Add return type parameter to
10561 use in macro so that this macro does not truncate return value for
10563 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10564 pass to INTERNAL_VSYSCALL_NCS.
10565 (INLINE_VSYSCALL): Add 'long int' as return type to
10566 INTERNAL_VSYSCALL_NCS macro invocation.
10567 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10568 INTERNAL_VSYSCALL_NCS macro invocation.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10571 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10574 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10575 Fix application of SIMD FP exception mask.
10577 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10578 mp_no from a power of two.
10579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10580 __mpexp_twomm1. Use __pow_mp.
10582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10585 2013-01-17 David S. Miller <davem@davemloft.net>
10587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10589 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10592 * include/complex.h: Condition contents on [!_COMPLEX_H].
10593 (__kernel_casinhf): New prototype.
10594 (__kernel_casinh): Likewise.
10595 (__kernel_casinhl): Likewise.
10596 * math/Makefile (libm_calls): Add k_casinh.
10597 * math/k_casinh.c: New file.
10598 * math/k_casinhf.c: Likewise.
10599 * math/k_casinhl.c: Likewise.
10600 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10601 finite nonzero arguments.
10602 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10603 finite nonzero arguments.
10604 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10605 finite nonzero arguments.
10606 * math/s_casinh.c: Do not include <float.h>.
10607 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10608 * math/s_casinhf.c: Do not include <float.h>.
10609 (__casinhf): Move code for finite nonzero arguments to
10611 * math/s_casinhl.c: Do not include <float.h>.
10612 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10614 (__casinhl): Move code for finite nonzero arguments to
10616 * math/libm-test.inc (cacos_test): Add more tests.
10617 * sysdeps/i386/fpu/libm-test-ulps: Update.
10618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10622 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10623 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10624 [!HAVE_MREMAP]: Remove [defined linux] case.
10625 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10627 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10629 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10631 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10633 * elf/elf.h (R_386_SIZE32): New relocation.
10634 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10636 (elf_machine_rela): Likewise.
10637 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10638 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10640 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10642 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10643 (FP_FAST_FMA): Do not define.
10644 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10645 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10646 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10647 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10648 !_SOFT_FLOAT]: Likewise.
10649 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10650 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10653 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10656 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10657 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10660 2013-01-16 Andreas Schwab <schwab@suse.de>
10663 * include/stdlib.h (__mktemp): Add declaration.
10664 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10665 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10667 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10669 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10671 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10672 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10673 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10675 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10676 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10678 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10680 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10681 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10682 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10684 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10685 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10687 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10689 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10691 2013-01-15 David S. Miller <davem@davemloft.net>
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10694 trunc{,f} to libm-sysdep_routes.
10695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10705 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10709 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10710 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10713 nearbyint{,f} to libm-sysdep_routes.
10714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10731 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10732 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10734 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10735 libc_feholdexcept and libc_fesetenv.
10737 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10739 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10741 2013-01-14 David S. Miller <davem@davemloft.net>
10743 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10744 (SPARC_ASM_VIS2_IFUNC): Likewise.
10745 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10747 use of 'siam' instruction.
10748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10781 routines to libm-sysdep_routines.
10782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10785 fdim/fdimf to libm-sysdep_routines.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10794 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10795 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10796 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10797 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10799 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10801 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10802 to optimize copies.
10804 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10809 local variable MPTWO.
10810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10813 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10815 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10818 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10820 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10822 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10824 * manual/pattern.texi (glob_t): Document gl_flags.
10825 (glob64_t): Likewise.
10827 2013-01-11 David S. Miller <davem@davemloft.net>
10829 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10830 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10831 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10832 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10833 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10834 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10835 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10836 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10837 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10838 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10839 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10840 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10841 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10843 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10844 sparc V9 rather than using V8 code.
10845 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10846 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10848 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10850 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10853 2013-01-11 Roland McGrath <roland@hack.frob.com>
10855 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10856 not in the main loop.
10857 * configure: Regenerated.
10859 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10861 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10862 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10864 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10865 [!__GLIBC_HAVE_LONG_LONG] case.
10866 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10867 condition to just #else.
10868 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10869 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10870 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10871 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10873 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10874 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10875 #elif condition to just #else.
10876 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10877 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10878 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10879 #elif condition to just #else.
10881 2013-01-11 Steve Ellcey <sellcey@mips.com>
10883 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10884 (EF_MIPS_ARCH_64): Fix value.
10885 (EF_MIPS_ARCH_32R2): New.
10886 (EF_MIPS_ARCH_64R2): New.
10888 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10890 * Makeconfig (+link-pie-before-libc): New.
10891 (+link-pie-after-libc): Likewise.
10892 (+link-pie-tests): Likewise.
10893 (+link-pie): Rewritten.
10894 (link-before-libc): Remove $(config-LDFLAGS).
10895 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10896 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10897 (config-LDFLAGS): Renamed to ...
10898 (rtld-LDFLAGS): This.
10899 (rtld-tests-LDFLAGS): New macro.
10900 (link-libc-rpath-link): Likewise.
10901 (link-libc-tests-rpath-link): Likewise.
10902 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10903 (link-libc): Prepand $(link-libc-rpath-link).
10904 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10905 (test-program-prefix): New macro.
10906 (test-via-rtld-prefix): Likewise.
10907 (test-program-cmd): Likewise.
10908 (host-test-program-cmd): Likewise.
10909 * Makefile ($(common-objpfx)testrun.sh): Replace
10910 $(run-program-prefix) with $(test-program-prefix).
10911 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10913 ($(common-objpfx)shlib.lds): Likewise.
10914 (build-module-helper): Likewise.
10915 ($(common-objpfx)format.lds): Likewise.
10916 * Rules (binaries-pie-tests): New.
10917 (binaries-pie-notests): Likewise.
10918 (binaries-pie): Rewritten.
10919 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10920 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10921 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10922 (make-test-out): Replace $(host-built-program-cmd) with
10923 $(host-test-program-cmd).
10924 * config.make.in (build-hardcoded-path-in-tests): New variable.
10925 * configure.in (--enable-hardcoded-path-in-tests): New configure
10927 (hardcoded_path_in_tests): New AC_SUBST.
10928 * configure: Regenerated.
10929 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10930 $(built-program-cmd) with $(test-program-cmd).
10931 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10932 (test_program_cmd): This.
10933 * elf/Makefile ($(objpfx)order.out): Run test with
10934 $(test-program-prefix).
10935 ($(objpfx)order2.out): Likewise.
10936 ($(objpfx)tst-initorder.out): Likewise.
10937 ($(objpfx)tst-initorder2.out): Likewise.
10938 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10939 $(test-program-cmd).
10940 ($(objpfx)tst-array1-static.out): Likewise.
10941 ($(objpfx)tst-array2.out): Likewise.
10942 ($(objpfx)tst-array3.out): Likewise.
10943 ($(objpfx)tst-array4.out): Likewise.
10944 ($(objpfx)tst-array5.out): Likewise.
10945 ($(objpfx)tst-array5-static.out): Likewise.
10946 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10947 $(test-program-cmd).
10948 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10949 $(run-program-prefix) with $(test-program-prefix).
10950 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10951 (test_program_prefix): This.
10952 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10953 $(run-program-prefix) with $(test-program-prefix).
10954 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10955 (test_program_prefix): This.
10956 * iconvdata/tst-tables.sh: Likewise.
10957 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10958 $(run-program-prefix) with $(test-program-prefix).
10959 ($(objpfx)tst-translit.out): Likewise.
10960 ($(objpfx)tst-gettext2.out): Likewise.
10961 ($(objpfx)tst-gettext4.out): Likewise.
10962 ($(objpfx)tst-gettext6.out): Likewise.
10963 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10964 (test_program_prefix): This.
10965 * intl/tst-gettext2.sh: Likewise.
10966 * intl/tst-gettext4.sh Likewise.
10967 * intl/tst-gettext6.sh: Likewise.
10968 * intl/tst-translit.sh: Likewise.
10969 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10970 with $(test-program-cmd).
10971 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10972 $(run-program-prefix) with $(test-program-prefix).
10973 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10974 (test_program_prefix): This.
10975 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10976 $(run-program-prefix) with $(test-program-prefix).
10977 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10978 (test_program_prefix): This.
10979 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10980 * posix/Makefile ($(objpfx)globtest.out): Replace
10981 $(run-via-rtld-prefix) and $(test-wrapper) with
10982 $(test-program-prefix) and $(test-via-rtld-prefix).
10983 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10984 $(test-program-prefix).
10985 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10986 $(host-test-program-cmd).
10987 (tst-spawn-ARGS): Likewise.
10988 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10989 $(test-program-prefix).
10990 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10991 (test_via_rtld_prefix): This.
10992 (test_wrapper): Renamed to ...
10993 (test_program_prefix): This.
10994 (run_program_prefix): Replaced by test_program_prefix.
10995 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10996 (test_program_prefix): This.
10997 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10998 with $(host-test-program-cmd).
10999 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11000 $(run-program-prefix) with $(test-program-prefix).
11001 ($(objpfx)tst-printf.out): Likewise.
11002 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11003 $(test-program-cmd).
11004 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11005 (test_program_prefix): This.
11006 * stdio-common/tst-unbputc.sh: Likewise.
11007 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11008 $(run-program-prefix) with $(test-program-prefix).
11009 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11010 (test_program_prefix): This.
11011 * string/Makefile ($(objpfx)tst-svc.out): Replace
11012 $(built-program-cmd) with $(test-program-cmd).
11014 2013-01-11 Andreas Jaeger <aj@suse.de>
11017 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11018 value. Sync with Linux 3.7.
11020 2013-01-10 David S. Miller <davem@davemloft.net>
11022 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11026 2013-01-10 Roland McGrath <roland@hack.frob.com>
11028 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11030 * configure: Regenerated.
11032 2013-01-10 David S. Miller <davem@davemloft.net>
11034 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11035 sparc V9 rather than using V8 code.
11036 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11037 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11039 2013-01-10 Roland McGrath <roland@hack.frob.com>
11041 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11042 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11043 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11044 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11045 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11046 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11047 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11048 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11049 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11050 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11051 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11052 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11053 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11054 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11055 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11056 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11057 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11058 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11059 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11060 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11061 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11062 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11063 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11064 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11065 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11066 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11067 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11069 2013-01-10 David S. Miller <davem@davemloft.net>
11071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11073 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11075 * posix/Makefile (tests-static): New variable.
11076 (tests): Add $(tests-static).
11077 (tst-exec-static-ARGS): New variable.
11078 (tst-spawn-static-ARGS): Likewise.
11079 * posix/tst-exec-static.c: New file.
11080 * posix/tst-spawn-static.c: Likewise.
11081 * posix/tst-exec.c: Support run directly.
11082 * posix/tst-spawn.c: Likewise.
11084 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11086 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11088 * math/bits/mathcalls.h (llrint): Likewise.
11089 (llround): Likewise.
11090 * stdlib/stdlib.h (struct drand48_data): Likewise.
11091 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11092 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11093 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11095 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11097 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11098 (elf_greg_t): Likewise.
11099 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11100 (__jmp_buf): Likewise.
11101 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11103 (llrint): Likewise, for all definitions.
11104 (llrintl): Likewise.
11106 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11107 Remove [__GNUC__] condition.
11108 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11109 condition to just [__USE_ISOC99].
11110 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11112 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11115 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11116 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11118 (_POSIX_V6_ILP32_OFF32): Likewise.
11119 (_XBS5_ILP32_OFF32): Likewise.
11120 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11121 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11123 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11125 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11128 doubles __mpexp_twomm1. Adjust usage.
11129 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11132 2013-01-10 Andreas Schwab <schwab@suse.de>
11135 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11136 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11138 2013-01-09 David S. Miller <davem@davemloft.net>
11141 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11142 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11143 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11144 TCP_FASTOPEN): Define.
11145 (tcp_repair_opt): New structure.
11146 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11148 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11149 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11150 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11151 (tcp_cookie_transactions): New structure.
11153 2013-01-09 Anton Blanchard <anton@samba.org>
11155 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11156 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11157 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11158 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11160 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11162 * include/features.h (__USE_ANSI): Remove.
11164 2013-01-09 Roland McGrath <roland@hack.frob.com>
11166 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11168 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11170 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11172 * sysdeps/s390/fpu/libm-test-ulps: Update.
11174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11176 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11180 (denorm): Likewise.
11181 (__mp_dbl): Likewise.
11182 (__dbl_mp): Likewise.
11183 (add_magnitudes): Likewise.
11184 (sub_magnitudes): Likewise.
11190 * sysdeps/powerpc/powerpc32/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.
11204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11208 (denorm): Likewise.
11209 (__mp_dbl): Likewise.
11210 (__dbl_mp): Likewise.
11211 (add_magnitudes): Likewise.
11212 (sub_magnitudes): Likewise.
11219 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11221 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11222 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11223 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11224 2 && __USE_EXTERN_INLINES]: Likewise.
11226 2013-01-08 Andreas Jaeger <aj@suse.de>
11229 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11231 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11232 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11234 2013-01-07 Anton Blanchard <anton@samba.org>
11236 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11237 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11238 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11239 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11240 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11241 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11242 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11243 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11248 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11251 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11252 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11253 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11254 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11256 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11257 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11259 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11260 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11261 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11262 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11263 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11265 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11266 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11268 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11269 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11270 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11271 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11274 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11275 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11276 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11278 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11280 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11282 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11283 (__MALLOC_PMT): Likewise.
11284 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11285 [__GNUC__], only on [_LIBC].
11286 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11287 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11288 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11289 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11290 forward declaration.
11291 (realloc_hook_ini): Likewise.
11292 (memalign_hook_ini): Likewise.
11293 (__libc_memalign): Do not use __MALLOC_PMT in variable
11295 (__libc_valloc): Likewise.
11296 (__libc_pvalloc): Likewise.
11297 (__libc_calloc): Likewise.
11298 (__posix_memalign): Likewise.
11301 * math/s_casinh.c: Include <float.h>.
11302 (__casinh): Do not do computation with squaring and square root
11303 for large arguments.
11304 * math/s_casinhf.c: Include <float.h>.
11305 (__casinhf): Do not do computation with squaring and square root
11306 for large arguments.
11307 * math/s_casinhl.c: Include <float.h>.
11308 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11309 (__casinhl): Do not do computation with squaring and square root
11310 for large arguments.
11311 * math/libm-test.inc (casin_test): Add more tests.
11312 (casinh_test): Likewise.
11313 * sysdeps/i386/fpu/libm-test-ulps: Update.
11314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11316 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11318 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11319 (__x86_64_raw_data_cache_size): Likewise.
11320 (__x86_64_data_cache_size_half): Likewise.
11321 (__x86_64_raw_data_cache_size_half): Likewise.
11322 (__x86_64_shared_cache_size): Likewise.
11323 (__x86_64_raw_shared_cache_size): Likewise.
11324 (__x86_64_shared_cache_size_half): Likewise.
11325 (__x86_64_raw_shared_cache_size_half): Likewise.
11326 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11328 (__x86_data_cache_size): This.
11329 (__x86_64_raw_data_cache_size): Renamed to ...
11330 (__x86_raw_data_cache_size): This.
11331 (__x86_64_data_cache_size_half): Renamed to ...
11332 (__x86_data_cache_size_half): This.
11333 (__x86_64_raw_data_cache_size_half): Renamed to ...
11334 (__x86_raw_data_cache_size_half): This.
11335 (__x86_64_shared_cache_size): Renamed to ...
11336 (__x86_shared_cache_size): This.
11337 (__x86_64_raw_shared_cache_size): Renamed to ...
11338 (__x86_raw_shared_cache_size): This.
11339 (__x86_64_shared_cache_size_half): Renamed to ...
11340 (__x86_shared_cache_size_half): This.
11341 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11342 (__x86_raw_shared_cache_size_half): This.
11343 * sysdeps/x86_64/memcpy.S: Updated.
11344 * sysdeps/x86_64/memset.S: Likewise.
11345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11346 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11349 2013-01-04 David S. Miller <davem@davemloft.net>
11351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11353 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11355 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11356 1 to avoid redefinition warning.
11357 (__USE_GNU): Don't define.
11358 (init_signaling_nan): Protoize.
11360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11362 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11364 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11366 (__cpymn): Likewise.
11367 (norm): Remove commented code.
11368 (denorm): Likewise.
11369 (__mp_dbl): Likewise.
11371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11372 (__cpymn): Likewise.
11373 (norm): Remove commented code.
11374 (denorm): Likewise.
11375 (__mp_dbl): Likewise.
11378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11379 mp_no value for 1.0 and 2.0.
11380 (norm): Use RADIXI instead of radixi.d.
11381 (denorm): Likewise.
11382 (__mul): Use 0.0 instead of zero.d.
11383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11384 mp_no value for 1.0 and 2.0.
11385 (norm): Use RADIXI instead of radixi.d.
11386 (denorm): Likewise.
11387 (__mul): Use 0.0 instead of zero.d.
11389 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11392 * math/s_casinh.c (__casinh): Reduce finite argument to first
11393 quadrant then set signs of results at the end.
11394 * math/s_casinhf.c (__casinhf): Likewise.
11395 * math/s_casinhl.c (__casinhl): Likewise.
11396 * math/libm-test.inc (casin_test): Add more tests.
11397 (casinh_test): Likewise.
11398 * sysdeps/i386/fpu/libm-test-ulps: Update.
11399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11401 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11403 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11405 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11407 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11409 (denorm): Likewise.
11410 (__mp_dbl): Likewise.
11413 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11414 and adjust the header comment.
11416 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11417 variable name from declaration.
11419 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11422 Initialize COMMON_CPUID_INDEX_7 element.
11423 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11424 (CPUID_RTM): Likewise.
11425 (HAS_RTM): Likewise.
11426 (COMMON_CPUID_INDEX_7): New enum.
11428 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11431 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11432 size is zero, record memory as freed.
11434 2013-01-03 Andreas Jaeger <aj@suse.de>
11436 * po/ia.po: Add new Interlingua translation.
11438 2012-01-03 Allan McRae <allan@archlinux.org>
11440 * locale/programs/localedef.c: Fix description of '--posix' flag.
11442 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11444 * NEWS: Update dates in second copyright notice.
11445 * README: Update copyright dates in example.
11446 * manual/libc.texinfo: Update copyright dates.
11447 * scripts/test-installation.pl: Update copyright date in --version
11450 * hurd/ctty-input.c: Fix copyright notice formatting.
11451 * hurd/ctty-output.c: Likewise.
11452 * hurd/dtable.c: Likewise.
11453 * hurd/hurd-raise.c: Likewise.
11454 * hurd/hurdprio.c: Likewise.
11455 * hurd/msgportdemux.c: Likewise.
11456 * misc/sys/file.h: Likewise.
11457 * misc/sys/ioctl.h: Likewise.
11458 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11459 * sysdeps/mach/hurd/chdir.c: Likewise.
11460 * sysdeps/mach/hurd/fchdir.c: Likewise.
11461 * sysdeps/mach/hurd/rename.c: Likewise.
11462 * sysdeps/mach/hurd/rmdir.c: Likewise.
11463 * sysdeps/mach/hurd/seekdir.c: Likewise.
11464 * sysdeps/mach/hurd/setsid.c: Likewise.
11465 * sysdeps/posix/wait3.c: Likewise.
11467 * All files with FSF copyright notices: Update copyright dates
11468 using scripts/update-copyrights.
11469 * intl/plural.c: Regenerated.
11470 * locale/programs/charmap-kw.h: Likewise.
11471 * locale/programs/locfile-kw.h: Likewise.
11473 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11475 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11478 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11479 calculation loop and add branch prediction.
11481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11482 check access beyond bounds of m1np.
11484 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11486 (__inv): Remove local variable MPTWO to use the global
11488 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11492 MP3HALFS static const.
11494 2013-01-01 David S. Miller <davem@davemloft.net>
11496 * po/ca.po: Update from translation team.
11498 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11500 * scripts/update-copyrights: New file.
11501 * Makeconfig: Reformat copyright notice.
11502 * ctype/ctype.h: Likewise.
11503 * debug/swprintf_chk.c: Likewise.
11504 * elf/dl-cache.c: Likewise.
11505 * elf/dl-debug.c: Likewise.
11506 * elf/dl-object.c: Likewise.
11507 * grp/initgroups.c: Likewise.
11508 * hurd/Makefile: Likewise.
11509 * hurd/hurd/signal.h: Likewise.
11510 * hurd/hurdfault.c: Likewise.
11511 * hurd/hurdioctl.c: Likewise.
11512 * hurd/hurdlookup.c: Likewise.
11513 * hurd/intr-msg.c: Likewise.
11514 * iconv/gconv_open.c: Likewise.
11515 * libio/swprintf.c: Likewise.
11516 * locale/lc-ctype.c: Likewise.
11517 * locale/nl_langinfo.c: Likewise.
11518 * mach/Machrules: Likewise.
11519 * mach/Makefile: Likewise.
11520 * malloc/obstack.h: Likewise.
11521 * manual/Makefile: Likewise.
11522 * manual/tsort.awk: Likewise.
11523 * misc/bits/stab.def: Likewise.
11524 * nis/nis_print_group_entry.c: Likewise.
11525 * nis/nis_table.c: Likewise.
11526 * nis/nss_compat/compat-pwd.c: Likewise.
11527 * nis/nss_compat/compat-spwd.c: Likewise.
11528 * po/Makefile: Likewise.
11529 * posix/fnmatch.c: Likewise.
11530 * posix/regex.h: Likewise.
11531 * resolv/Makefile: Likewise.
11532 * resolv/nss_dns/dns-network.c: Likewise.
11533 * resolv/res_hconf.c: Likewise.
11534 * scripts/gen-sorted.awk: Likewise.
11535 * soft-fp/soft-fp.h: Likewise.
11536 * stdio-common/printf.h: Likewise.
11537 * stdlib/monetary.h: Likewise.
11538 * stdlib/random.c: Likewise.
11539 * stdlib/random_r.c: Likewise.
11540 * sysdeps/generic/Makefile: Likewise.
11541 * sysdeps/gnu/Makefile: Likewise.
11542 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11570 * sysdeps/mach/hurd/errnos.awk: Likewise.
11571 * sysdeps/mach/hurd/fork.c: Likewise.
11572 * sysdeps/mach/hurd/getcwd.c: Likewise.
11573 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11574 * sysdeps/mach/hurd/mmap.c: Likewise.
11575 * sysdeps/mach/hurd/utimes.c: Likewise.
11576 * sysdeps/mach/hurd/xmknod.c: Likewise.
11577 * sysdeps/posix/profil.c: Likewise.
11578 * sysdeps/posix/readdir_r.c: Likewise.
11579 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11580 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11581 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11582 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11584 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11585 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11586 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11588 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11589 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11590 * sysdeps/pthread/lio_listio.c: Likewise.
11591 * sysdeps/sparc/dl-procinfo.h: Likewise.
11592 * sysdeps/unix/i386/sysdep.S: Likewise.
11593 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11594 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11595 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11596 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11598 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11599 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11600 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11601 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11602 * sysdeps/wordsize-32/divdi3.c: Likewise.
11603 * time/sys/time.h: Likewise.
11604 * wcsmbs/Makefile: Likewise.
11606 2013-01-01 David S. Miller <davem@davemloft.net>
11608 * po/fr.po: Update from translation team.
11610 * catgets/gencat.c: Update copyright year.
11611 * csu/version.c: Likewise.
11612 * debug/catchsegv.sh: Likewise.
11613 * debug/pcprofiledump.c: Likewise.
11614 * debug/xtrace.sh: Likewise.
11615 * elf/ldconfig.c: Likewise.
11616 * elf/ldd.bash.in: Likewise.
11617 * elf/pldd.c: Likewise.
11618 * elf/sotruss.ksh: Likewise.
11619 * elf/sprof.c: Likewise.
11620 * iconv/iconv_prog.c: Likewise.
11621 * iconv/iconvconfig.c: Likewise.
11622 * locale/programs/locale.c: Likewise.
11623 * locale/programs/localedef.c: Likewise.
11624 * login/programs/pt_chown.c: Likewise.
11625 * malloc/memusage.sh: Likewise.
11626 * malloc/memusagestat.c: Likewise.
11627 * malloc/mtrace.pl: Likewise.
11628 * nscd/nscd.c: Likewise.
11629 * nss/getent.c: Likewise.
11630 * nss/makedb.c: Likewise.
11631 * posix/getconf.c: Likewise.
11633 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11635 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11638 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11640 * math/bits/mathcalls.h (modf): Use __nonnull.
11642 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11644 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11645 (split): Use macro CN instead of the bare value.
11646 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11649 instead of the bare value.
11650 (power1): Likewise.
11652 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11654 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11656 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11658 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11660 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11661 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11662 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11663 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11665 2012-12-28 Andreas Jaeger <aj@suse.de>
11667 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11668 values are from Linux 3.7.
11670 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11671 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11673 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11675 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11678 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11680 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11681 variables with preprocessor constants.
11682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11683 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11684 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11686 2012-12-27 Bruno Haible <bruno@clisp.org>
11689 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11692 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11695 and use variable directly.
11696 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11698 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11700 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11705 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11706 include directive. Remove local variable MPONE.
11707 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11708 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11709 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11711 2012-12-25 David S. Miller <davem@davemloft.net>
11713 * version.h (RELEASE): Set to "development".
11714 (VERSION): Set to "2.17.90".
11715 * NEWS: Add 2.18 section.
11717 2012-12-21 David S. Miller <davem@davemloft.net>
11719 * po/hr.po: Update from translation team.
11721 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11723 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11725 2012-12-19 Steve Ellcey <sellcey@mips.com>
11727 * NEWS: Mention new memcpy for MIPS.
11729 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11731 * manual/contrib.texi (Contributors): Spelling correction.
11733 2012-12-15 David S. Miller <davem@davemloft.net>
11735 * po/ru.po: Update from translation team.
11737 2012-12-13 David S. Miller <davem@davemloft.net>
11739 * NEWS: Mention IFUNC testsuite enhancements.
11741 * po/pl.po: Update from translation team.
11742 * po/bg.po: Likewise.
11744 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11745 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11747 2012-12-11 David S. Miller <davem@davemloft.net>
11749 * po/sv.po: Update from translation team.
11751 * po/vi.po: Update from translation team.
11753 * po/cs.po: Update from translation team.
11755 * po/de.po: Update from translation team.
11756 * po/eo.po: Likewise.
11757 * po/nl.po: Likewise.
11759 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11762 * manual/argp.texi (Argp Helper Functions): Move node to follow
11763 Argp Parsing State.
11766 * manual/conf.texi (Limits on File System Capacity): Mention if
11767 terminating null is included in the max size.
11769 2012-12-10 Andreas Jaeger <aj@suse.de>
11771 * po/cs.po: Update from translation team.
11773 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11775 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11776 void pointer and cast to uintptr_t.
11777 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11779 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11780 * sysdeps/s390/s390-64/memset.S: Likewise.
11782 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11785 * menual/message.texi (Message Translation): Fix typos.
11786 (Helper programs for gettext): Likewise.
11788 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11791 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11794 2012-12-07 David S. Miller <davem@davemloft.net>
11796 * po/libc.pot: Update.
11798 2012-12-07 Richard Henderson <rth@redhat.com>
11801 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11802 normal/normal case to before the switch.
11803 (_FP_DIV): Likewise.
11805 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11806 Mike Frysinger <vapier@gentoo.org>
11808 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11809 check for __NR_fadvise64_64.
11811 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11813 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11814 0, not just to plain "0" as a statement.
11815 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11818 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11820 * NEWS: Use sourceware.org in Bugzilla URL.
11822 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11825 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11827 * stdio-common/tst-put-error.c (do_test): Add newline to the
11828 padded test to ensure flush.
11830 2012-12-05 Jeff Law <law@redhat.com>
11832 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11834 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11836 * README: Don't refer to ports add-on as distributed separately.
11837 Mention AArch64 in list of systems supported in the ports add-on.
11839 * LICENSES: Add more non-FSF copyright and license notices.
11841 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11844 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11846 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11847 10000 as width of padded output.
11849 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11851 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11854 variable LX with __attribute__ ((unused)).
11855 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11857 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11859 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11860 with __attribute__ ((unused)).
11862 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11864 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11866 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11868 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11869 (CFLAGS-nldbl-acos.c): New variable.
11870 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11871 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11872 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11873 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11874 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11875 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11876 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11877 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11878 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11879 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11880 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11881 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11882 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11883 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11884 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11885 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11886 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11887 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11888 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11889 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11890 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11891 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11892 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11893 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11894 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11895 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11896 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11897 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11898 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11899 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11900 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11901 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11902 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11903 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11904 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11905 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11906 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11907 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11908 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11909 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11910 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11911 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11912 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11913 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11914 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11915 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11916 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11917 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11918 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11919 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11920 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11921 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11922 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11923 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11924 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11925 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11926 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11927 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11928 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11929 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11930 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11931 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11932 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11933 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11934 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11935 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11936 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11937 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11938 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11939 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11940 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11941 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11942 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11943 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11944 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11945 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11946 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11947 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11948 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11949 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11950 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11951 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11952 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11953 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11954 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11955 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11956 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11957 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11958 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11959 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11960 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11961 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11962 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11963 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11964 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11965 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11966 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11969 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11972 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11973 whole low double instead of just low 47 bits when splitting values
11976 2012-12-03 Allan McRae <allan@archlinux.org>
11978 * manual/stdio.texi (Predefined Printf Handlers): Remove
11979 @hsep and @vsep usage.
11981 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11983 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11984 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11986 2012-12-03 Jeff Law <law@redhat.com>
11988 * time/sys/time.h (settimeofday): Do not mark TV argument
11991 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11993 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11994 when currently writing and seek to current position when not.
11995 * libio/Makefile (tests): Remove bug-fclose1.
11996 * libio/bug-fclose1.c: Delete.
11998 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12000 * manual/arith.texi (feenableexcept): Fix typo.
12001 (fedisableexcept): Likewise.
12003 2012-11-30 Roland McGrath <roland@hack.frob.com>
12005 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12006 second, differently-typed declaration, rather than a cast.
12008 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12010 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12011 * include/rpc/svc.h: ... here.
12013 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12016 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12017 depending n and resplen2 to catch cases where answer
12020 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12022 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12023 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12025 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12029 2012-11-29 Roland McGrath <roland@hack.frob.com>
12031 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12033 2012-11-28 Jeff Law <law@redhat.com>
12036 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12037 dataset_temporary. Track alloca usage into alloca_used.
12038 If dataset is large allocate and release it via malloc/free.
12040 2012-06-04 Florian Weimer <fweimer@redhat.com>
12043 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12045 2012-11-28 David S. Miller <davem@davemloft.net>
12047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12049 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12052 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12053 of pi/2 rounded to nearest to 64 bits.
12054 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12055 nearest to 64 bits.
12056 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12059 2012-11-28 Jeff Law <law@redhat.com>
12060 Martin Osvald <mosvald@redhat.com>
12063 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12064 * sunrpc/svc.c: Include time.h.
12065 (__svc_accept_failed): New function.
12066 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12067 any reason other than EINTR, call __svc_accept_failed.
12068 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12069 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12071 2012-11-28 Andreas Schwab <schwab@suse.de>
12073 * scripts/abilist.awk: Also handle indirect functions in .opd
12076 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12079 * sysdeps/x86/fpu/powl_helper.c: New file.
12080 * sysdeps/x86/fpu/Makefile: Likewise.
12081 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12083 (__ieee754_powl): Use __powl_helper for finite arguments except
12084 integer exponents below 8.
12085 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12087 (__ieee754_powl): Use __powl_helper for finite arguments except
12088 integer exponents below 8.
12089 * math/libm-test.inc (pow_test): Add more tests and enable some
12090 previously disabled tests.
12091 * sysdeps/i386/fpu/libm-test-ulps: Update.
12092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12094 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12095 Carlos O'Donell <carlos_odonell@mentor.com>
12097 * nss/makedb.c (is_prime): Assert that input is odd and greater
12098 than 4. Note that fact in a comment too.
12099 (next_prime): Add 4 to input.
12101 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12104 * libio/Makefile (tests): Add test case tst-fwrite-error.
12105 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12106 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12107 * libio/tst-fwrite-error.c: New test case.
12109 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12111 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12112 before casting to void *.
12113 * include/libc-internal.h (__pointer_type): New macro.
12114 (__integer_if_pointer_type_sub): Likewise.
12115 (__integer_if_pointer_type): Likewise.
12116 (cast_to_integer): Likewise.
12117 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12118 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12119 before casting to atomic64_t.
12120 (atomic_exchange_acq): Likewise.
12121 (__arch_exchange_and_add_body): Likewise.
12122 (__arch_add_body): Likewise.
12123 (atomic_add_negative): Likewise.
12124 (atomic_add_zero): Likewise.
12126 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12128 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12129 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12130 (add_fdes): Likewise.
12131 (linear_search_fdes): Likewise.
12132 (binary_search_unencoded_fdes): Likewise.
12134 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12136 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12138 2012-11-24 Adam Conrad <adconrad@0c3.net>
12140 * configure.in: Autodetect C++ header directories.
12141 * configure: Regenerated.
12143 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12145 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12147 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12151 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12153 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12154 LDBL_MANT_DIG == 106]: Disable some tests.
12155 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12157 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12161 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12162 input for small inputs. Return +/- pi/2 for large inputs.
12163 * math/libm-test.inc (atan_test): Add more tests.
12165 * sysdeps/generic/unwind-dw2-fde-glibc.c
12166 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12167 __attribute__ ((unused)).
12170 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12171 x * y if x and y are nonzero and z is zero.
12174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12175 nonzero exponents with absolute value below 0x1p-117 to +/-
12179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12180 up arguments below 2**-450, not just those below 2**-500.
12181 * math/libm-test.inc (hypot_test): Add another test.
12184 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12185 Return a+b for ratio over 2**120, not 2**60.
12186 * math/libm-test.inc (hypot_test): Add another test.
12188 * math/libm-test.inc (clog_test): Use
12189 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12190 (clog10_test): Likewise.
12193 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12195 2012-11-22 Andreas Schwab <schwab@suse.de>
12197 * sysdeps/i386/fpu/libm-test-ulps: Update.
12199 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12201 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12202 printf output with newline.
12204 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12207 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12208 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12209 -z nodlopen, -z initfirst and -z execstack support.
12210 * configure: Regenerated.
12212 * elf/elf.h (DF_1_NODIRECT): New macro.
12213 (DF_1_IGNMULDEF): Likewise.
12214 (DF_1_NOKSYMS): Likewise.
12215 (DF_1_NOHDR): Likewise.
12216 (DF_1_EDITED): Likewise.
12217 (DF_1_NORELOC): Likewise.
12218 (DF_1_SYMINTPOSE): Likewise.
12219 (DF_1_GLOBAUDIT): Likewise.
12220 (DF_1_SINGLETON): Likewise.
12221 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12222 DT_1_SUPPORTED_MASK bits.
12223 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12225 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12227 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12229 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12231 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12234 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12235 (sendmmsg): Move declarations...
12236 * socket/sys/socket.h: ... here.
12237 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12238 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12240 * socket/recvmmsg.c: ... this new file.
12241 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12242 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12243 definition of __sendmmsg hidden.
12244 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12245 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12246 Move ENOSYS stub into and include it from...
12247 * socket/sendmmsg.c: ... this new file.
12248 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12249 (sysdep_routines): Move recvmmsg and sendmmsg...
12250 * socket/Makefile (routines): ... here.
12251 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12252 (GLIBC_PRIVATE): Add __sendmmsg.
12253 * include/sys/socket.h (__sendmmsg): Add declarations.
12254 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12257 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12260 variable I1 with __attribute__ ((unused)).
12261 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12263 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12265 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12266 DUMMY variables with __attribute__ ((unused)).
12268 * bits/byteswap.h: Include <bits/types.h>.
12269 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12271 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12273 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12274 string_t. Do not manually set errno.
12275 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12276 length with __strnlen. Make sure to both set errno and return it on
12279 2012-11-19 David S. Miller <davem@davemloft.net>
12281 With help from Joseph Myers.
12282 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12283 very large arguments properly.
12284 * math/libm-test.inc (atan_test): New tests.
12285 (atan2_test): New tests.
12286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12289 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12292 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12295 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12296 [POSIX] (EADDRNOTAVAIL): Likewise.
12297 [POSIX] (EAFNOSUPPORT): Likewise.
12298 [POSIX] (EALREADY): Likewise.
12299 [POSIX] (ECONNABORTED): Likewise.
12300 [POSIX] (ECONNREFUSED): Likewise.
12301 [POSIX] (ECONNRESET): Likewise.
12302 [POSIX] (EDESTADDRREQ): Likewise.
12303 [POSIX] (EDQUOT): Likewise.
12304 [POSIX] (EHOSTUNREACH): Likewise.
12305 [POSIX] (EIDRM): Likewise.
12306 [POSIX] (EISCONN): Likewise.
12307 [POSIX] (ELOOP): Likewise.
12308 [POSIX] (EMULTIHOP): Likewise.
12309 [POSIX] (ENETDOWN): Likewise.
12310 [POSIX] (ENETUNREACH): Likewise.
12311 [POSIX] (ENOBUFS): Likewise.
12312 [POSIX] (ENODATA): Likewise.
12313 [POSIX] (ENOLINK): Likewise.
12314 [POSIX] (ENOMSG): Likewise.
12315 [POSIX] (ENOPROTOOPT): Likewise.
12316 [POSIX] (ENOSR): Likewise.
12317 [POSIX] (ENOSTR): Likewise.
12318 [POSIX] (ENOTCONN): Likewise.
12319 [POSIX] (ENOTSOCK): Likewise.
12320 [POSIX] (EOPNOTSUPP): Likewise.
12321 [POSIX] (EOVERFLOW): Likewise.
12322 [POSIX] (EPROTO): Likewise.
12323 [POSIX] (EPROTONOSUPPORT): Likewise.
12324 [POSIX] (EPROTOTYPE): Likewise.
12325 [POSIX] (ESTALE): Likewise.
12326 [POSIX] (ETIME): Likewise.
12327 [POSIX] (ETXTBSY): Likewise.
12328 [POSIX] (EWOULDBLOCK): Likewise.
12329 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12330 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12331 [POSIX] (SEEK_CUR): Likewise.
12332 [POSIX] (SEEK_END): Likewise.
12333 [POSIX || UNIX98] (mode_t): Do not require.
12334 [POSIX] (off_t): Likewise.
12335 [POSIX] (pid_t): Likewise.
12336 [POSIX] (sys/stat.h): Do not allow header.
12337 [POSIX] (unistd.h): Likewise.
12338 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12339 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12340 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12341 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12343 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12344 sigevent): Specify elements.
12345 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12347 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12348 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12350 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12351 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12352 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12353 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12354 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12355 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12356 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12357 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12358 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12359 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12360 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12361 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12362 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12363 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12365 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12367 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12369 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12371 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12372 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12373 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12374 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12375 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12376 Specify lower bound on value.
12377 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12383 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12384 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12386 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12388 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12395 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12399 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12400 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12401 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12402 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12403 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12405 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12407 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12408 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12409 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12410 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12412 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12414 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12415 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12416 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12417 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12418 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12419 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12424 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12425 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12426 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12427 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12428 specify as optional.
12429 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12430 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12431 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12432 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12433 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12434 [XPG3] (NL_LANGMAX): Likewise.
12435 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12436 [POSIX || XPG3] (NL_NMAX): Likewise.
12437 [POSIX || XPG3] (NL_SETMAX): Likewise.
12438 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12439 [XPG3] (NZERO): Likewise.
12440 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12441 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12442 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12443 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12444 (REG_ERANGE): Expect.
12445 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12447 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12448 Use (void) in prototype.
12449 [POSIX] (*_t): Allow.
12450 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12451 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12452 (WRDE_BADVAL): Expect.
12454 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12456 [XPG3 || XPG4] (O_RSYNC): Likewise.
12457 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12459 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12460 [XPG3 || XPG4] (sigqueue): Likewise.
12461 [XPG3 || XPG4] (sigtimedwait): Likewise.
12462 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12463 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12464 [XPG3 || XPG4] (vsnprintf): Likewise.
12465 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12467 [XPG3 || XPG4] (blksize_t): Likewise.
12468 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12470 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12471 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12472 [XPG3 || XPG4] (struct itimerspec): Likewise.
12473 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12474 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12475 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12476 [XPG3 || XPG4] (clockid_t): Likewise.
12477 [XPG3 || XPG4] (timer_t): Likewise.
12478 [XPG3 || XPG4] (clock_getres): Likewise.
12479 [XPG3 || XPG4] (clock_gettime): Likewise.
12480 [XPG3 || XPG4] (clock_settime): Likewise.
12481 [XPG3 || XPG4] (nanosleep): Likewise.
12482 [XPG3 || XPG4] (timer_create): Likewise.
12483 [XPG3 || XPG4] (timer_delete): Likewise.
12484 [XPG3 || XPG4] (timer_gettime): Likewise.
12485 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12486 [XPG3 || XPG4] (timer_settime): Likewise.
12487 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12488 [XPG3 || XPG4] (getlogin_r): Likewise.
12489 [XPG3 || XPG4] (pread): Likewise.
12490 [XPG3 || XPG4] (pthread_atfork): Likewise.
12491 [XPG3 || XPG4] (pwrite): Likewise.
12494 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12497 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12499 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12500 finalizing MALLSTREAM.
12502 * sysdeps/mach/hurd/syncfs.c: New file.
12504 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12507 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12508 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12509 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12510 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12511 (_nss_dns_gethostbyname4_r): Likewise.
12512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12513 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12515 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12518 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12520 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12522 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12523 * elf/cache.c (print_entry): Print ",AArch64" for
12526 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12527 * elf/cache.c (print_entry): Print ",hard-float" for
12530 2012-11-18 David S. Miller <davem@davemloft.net>
12532 With help from Joseph Myers.
12533 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12535 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12537 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12538 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12540 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12541 * math/libm-test.inc (y0_test): New tests.
12542 (y1_test): New tests.
12543 * sysdeps/i386/fpu/libm-test-ulps: Update.
12544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12547 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12549 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12551 * configure: Regenerated.
12553 2012-11-17 David S. Miller <davem@davemloft.net>
12556 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12557 nonzero exponents with absolute value below 0x1p-128 to +/-
12560 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12562 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12564 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12566 * posix/getconf-speclist.c: New file.
12567 * posix/posix-envs.def: Likewise.
12568 * posix/confstr.c (START_ENV_GROUP): New macro.
12569 (END_ENV_GROUP): Likewise.
12570 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12571 (KNOWN_PRESENT_ENV_STRING): Likewise.
12572 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12573 (UNKNOWN_ENVIRONMENT): Likewise.
12574 (confstr): Include posix-envs.def instead of handling
12575 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12576 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12577 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12578 (END_ENV_GROUP): Likewise.
12579 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12580 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12581 (UNKNOWN_ENVIRONMENT): Likewise.
12582 (__sysconf): Include posix-envs.def instead of handling associated
12583 cases directly here.
12584 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12585 preprocessing getconf-speclist.c rather than running getconf or
12586 generating empty file.
12588 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12590 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12592 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12595 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12597 2012-11-16 David S. Miller <davem@davemloft.net>
12599 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12600 smaller than LDBL_EPSILON/2.0L, just return xm1.
12602 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12604 * elf/tst-array1.c (init): Set constructor priority to 1000.
12605 (fini): Set destructor priority to 1000.
12606 * elf/tst-array2dep.c: Likewise.
12608 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12611 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12612 (_IO_new_file_xsputn): Also return EOF if none of the input
12613 data was written when overflow failed.
12614 * libio/iopadn.c (_IO_padn): Likewise.
12615 * libio/iowpadn.c (_IO_wpadn): Likewise.
12616 * stdio-common/tst-put-error.c: Add copyright notice.
12617 (do_test): Add case for printing padded string.
12618 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12619 _IO_padn returned error.
12620 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12621 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12624 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12626 * libio/libioP.h: Add comment note that the references to C++
12627 bits are now obsolete.
12629 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12631 * math/libm-test.inc (check_complex): Use asprintf.
12633 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12635 * debug/pcprofiledump.c (print_version): Update copyright year.
12636 * malloc/memusagestat.c (print_version): Likewise.
12638 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12641 * elf/Makefile (tests): Add tst-audit8.
12642 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12643 ($(objpfx)tst-audit8.out): New target.
12644 (tst-audit8-ENV): New variable.
12645 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12646 audit if l_reloc_result is NULL.
12647 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12648 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12649 * elf/tst-audit8.c: New file.
12651 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12653 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12654 * misc/Makefile (CFLAGS-select.c): Define.
12655 * posix/Makefile (CFLAGS-pause.c): Define.
12657 2012-11-13 David S. Miller <davem@davemloft.net>
12659 * crypt/Makefile: Move test targets after toplevel Rules
12660 inclusion. Grab any necessary sysdep routines when linking.
12661 * crypt/md5.c (md5_process_block): Remove define, we will always
12662 name it __md5_process_block.
12663 (md5_finish_ctx): Update md5_process_block call.
12664 (md5_stream): Likewise.
12665 (md5_process_bytes): Likewise.
12666 (md5_process_block): Rename to __md5_process_block and move to ...
12667 * crypt/md5-block.c: ... here.
12668 * crypt/sha256.c (sha256_process_block): Move to ...
12669 * crypt/sha256-block.c: ... here.
12670 * crypt/sha512.c (sha512_process_block): Move to ...
12671 * crypt/sha512-block.c: ... here.
12672 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12674 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12675 * sysdeps/sparc/sparc64/multiarch/Makefile
12676 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12678 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12679 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12681 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12682 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12683 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12684 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12685 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12686 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12687 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12688 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12696 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12698 * timezone/tzselect.ksh: Update from tzcode git revision
12699 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12700 * timezone/zdump.c: Likewise.
12701 * timezone/zic.c: Likewise.
12702 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12703 in TZVERSION setting, not $(PKGVERSION).
12704 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12705 REPORT_BUGS_TO settings.
12708 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12711 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12713 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12714 detection to immediately after _FP_ROUND().
12715 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12718 2012-11-11 David S. Miller <davem@davemloft.net>
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12722 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12723 __close rather than their public counterparts.
12725 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12727 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12729 [UNIX98] (sem_timedwait): Do not expect.
12730 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12731 [XPG4 || UNIX98] (sockatmark): Do not expect.
12732 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12733 (clock_getcpuclockid): Do not expect.
12734 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12735 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12737 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12738 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12739 [UNIX98] (vwscanf): Likewise.
12740 [UNIX98] (vswscanf): Likewise.
12742 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12744 * timezone/version.h: Remove file.
12745 * timezone/README: Do not refer to version.h.
12746 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12747 $(objpfx)version.h.
12748 ($(objpfx)zdump.o): Likewise.
12749 ($(objpfx)version.h): New target.
12751 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12753 * timezone/README: Don't mention modification to tzselect.ksh.
12754 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12755 work on unmodified tzselect.ksh. Substitute version numbers in
12758 * Makefile (format-me): Remove.
12759 (INSTALL): Adjust indentation. Use commands directly instead of
12760 using $(format-me).
12762 * aclocal.m4 (ACX_PKGVERSION): New macro.
12763 (ACX_BUGURL): Likewise.
12764 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12765 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12766 (REPORT_BUGS_TO): Likewise.
12767 * configure: Regenerated.
12768 * config.h.in (PKGVERSION): New macro.
12769 (REPORT_BUGS_TO): Likewise.
12770 * config.make.in (PKGVERSION): New variable.
12771 (PKGVERSION_TEXI): Likewise.
12772 (REPORT_BUGS_TO): Likewise.
12773 (REPORT_BUGS_TEXI): Likewise.
12774 * Makefile (format-me): Use -I$(common-objpfx)manual.
12775 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12776 ($(common-objpfx)manual/%): New target.
12777 (manual/%): Remove target.
12778 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12779 (print_version): Use PKGVERSION.
12780 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12781 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12782 and REPORT_BUGS_TO.
12783 ($(objpfx)xtrace): Likewise.
12784 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12785 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12786 (print_version): Use PKGVERSION.
12787 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12788 (do_version): Use PKGVERSION.
12789 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12791 (common-ldd-rewrite): Likewise.
12792 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12793 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12794 (print_version): Use PKGVERSION.
12795 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12796 * elf/pldd.c (argp_program_bug_address): Remove variable.
12797 (more_help): New function.
12798 (argp): Use more_help.
12799 (print_version): Use PKGVERSION.
12800 * elf/sln.c (main): Use PKGVERSION.
12801 (usage): Use REPORT_BUGS_TO.
12802 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12803 (top level): Use PKGVERSION.
12804 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12805 (print_version): Use PKGVERSION.
12806 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12807 (print_version): Use PKGVERSION.
12808 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12809 (print_version): Use PKGVERSION.
12810 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12811 (print_version): Use PKGVERSION.
12812 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12813 (print_version): Use PKGVERSION.
12814 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12815 (print_version): Use PKGVERSION.
12816 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12818 ($(objpfx)memusage): Likewise.
12819 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12820 (do_version): Use PKGVERSION.
12821 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12822 (print_version): Use PKGVERSION.
12823 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12824 ($PKGVERSION): New variable.
12825 ($REPORT_BUGS_TO): Likewise.
12826 (usage): Use $REPORT_BUGS_TO.
12827 (top level): Use $PKGVERSION.
12828 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12829 ($(objpfx)pkgvers.texi): New rule.
12830 ($(objpfx)stamp-pkgvers): Likewise.
12831 * manual/install.texi: Include pkgvers.texi.
12832 (--with-pkgversion): Document new configure option.
12833 (--with-bugurl): Likewise.
12834 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12835 than necessarily for this particular distribution. Use
12836 REPORT_BUGS_TO for where to report bugs.
12837 * INSTALL: Regenerated.
12838 * manual/libc.texinfo: Include pkgvers.texi.
12839 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12840 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12841 (print_version): Use PKGVERSION.
12842 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12843 (print_version): Use PKGVERSION.
12844 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12845 (print_version): Use PKGVERSION.
12846 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12847 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12849 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12850 (print_version): Use PKGVERSION.
12851 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12852 (print_version): Use PKGVERSION.
12853 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12856 * timezone/checktab.awk: Update from tzcode 2012i.
12857 * timezone/ialloc.c: Likewise.
12858 * timezone/private.h: Likewise.
12859 * timezone/scheck.c: Likewise.
12860 * timezone/tzfile.h: Likewise.
12861 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12862 (TZVERSION): Hardcode tzcode version number.
12863 * timezone/zdump.c: Update from tzcode 2012i.
12864 * timezone/zic.c: Likewise.
12865 * timezone/version.h: New file.
12866 * timezone/README: Describe version.h. Update upstream location.
12869 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12870 (mktemp): Enable declaration.
12871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12888 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12889 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12890 for copies of such integer values.
12891 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12892 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12894 2012-11-09 Andreas Jaeger <aj@suse.de>
12896 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12897 definitions and declarations that are provided by
12898 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12900 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12902 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12903 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12904 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12907 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12909 * elf/elf.h: Update comment before AArch64 relocations.
12911 2012-11-07 David S. Miller <davem@davemloft.net>
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12914 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12915 (__start_context): Declare.
12916 (__makecontext_ret): Delete.
12917 (__makecontext): Hook up __start_context instead of
12919 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12920 (sysdep_routines): Add __start_context when in stdlib.
12922 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12924 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12925 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12926 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12928 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12929 (READELF): New variable. Use it instead of hardcoded "readelf".
12931 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12933 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12934 * sysdeps/x86/Makefile: Here.
12935 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12936 * sysdeps/x86/tst-xmmymm.sh: This.
12938 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12940 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12942 [UNIX98] (pthread_barrier_t): Do not expect.
12943 [UNIX98] (pthread_barrierattr_t): Likewise.
12944 [UNIX98] (pthread_spinlock_t): Likewise.
12945 [UNIX98] (pthread_barrier_destroy): Likewise.
12946 [UNIX98] (pthread_barrier_init): Likewise.
12947 [UNIX98] (pthread_barrier_wait): Likewise.
12948 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12949 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12950 [UNIX98] (pthread_barrierattr_init): Likewise.
12951 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12952 [UNIX98] (pthread_getcpuclockid): Likewise.
12953 [UNIX98] (pthread_mutex_timedlock): Likewise.
12954 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12955 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12956 [UNIX98] (pthread_sigmask): Likewise.
12957 [UNIX98] (pthread_spin_destroy): Likewise.
12958 [UNIX98] (pthread_spin_init): Likewise.
12959 [UNIX98] (pthread_spin_lock): Likewise.
12960 [UNIX98] (pthread_spin_trylock): Likewise.
12961 [UNIX98] (pthread_spin_unlock): Likewise.
12962 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12964 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12965 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12966 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12967 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12968 [XPG3 || XPG4] (pthread_key_t): Likewise.
12969 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12970 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12971 [XPG3 || XPG4] (pthread_once_t): Likewise.
12972 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12973 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12975 [XPG3 || XPG4] (pthread_t): Likewise.
12977 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12979 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12981 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12982 Change function return type to int.
12984 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12985 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12986 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12987 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12988 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12989 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12990 [!POSIX] (posix_madvise): Likewise.
12991 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12993 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12994 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12995 (mode_t): Likewise.
12996 (posix_mem_offset): Likewise.
12997 (posix_typed_mem_get_info): Likewise.
12998 (posix_typed_mem_open): Likewise.
13000 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13001 Change condition to [XOPEN2K8].
13003 * conform/conformtest.pl: Preprocess allow-header data with -x c
13004 instead of from stdin.
13005 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13006 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13007 [C99-based standards] (cerfc): Likewise.
13008 [C99-based standards] (cexp2): Likewise.
13009 [C99-based standards] (cexpm1): Likewise.
13010 [C99-based standards] (clog10): Likewise.
13011 [C99-based standards] (clog1p): Likewise.
13012 [C99-based standards] (clog2): Likewise.
13013 [C99-based standards] (clgamma): Likewise.
13014 [C99-based standards] (ctgamma): Likewise.
13015 [C99-based standards] (cerff): Likewise.
13016 [C99-based standards] (cerfcf): Likewise.
13017 [C99-based standards] (cexp2f): Likewise.
13018 [C99-based standards] (cexpm1f): Likewise.
13019 [C99-based standards] (clog10f): Likewise.
13020 [C99-based standards] (clog1pf): Likewise.
13021 [C99-based standards] (clog2f): Likewise.
13022 [C99-based standards] (clgammaf): Likewise.
13023 [C99-based standards] (ctgammaf): Likewise.
13024 [C99-based standards] (cerfl): Likewise.
13025 [C99-based standards] (cerfcl): Likewise.
13026 [C99-based standards] (cexp2l): Likewise.
13027 [C99-based standards] (cexpm1l): Likewise.
13028 [C99-based standards] (clog10l): Likewise.
13029 [C99-based standards] (clog1pl): Likewise.
13030 [C99-based standards] (clog2l): Likewise.
13031 [C99-based standards] (clgammal): Likewise.
13032 [C99-based standards] (ctgammal): Likewise.
13033 * conform/data/inttypes.h-data [C99-based standards]: Include
13034 stdint.h-data. Remove all expectations for stdint.h contents.
13035 [C99-based standards] (PRI*): Do not allow.
13036 [C99-based standards] (SCN*): Likewise.
13037 [C99-based standards] (*_t): Likewise.
13038 [C99-based-standards] (PRId8): Expect macro.
13039 [C99-based-standards] (PRIi8): Likewise.
13040 [C99-based-standards] (PRIo8): Likewise.
13041 [C99-based-standards] (PRIu8): Likewise.
13042 [C99-based-standards] (PRIx8): Likewise.
13043 [C99-based-standards] (PRIX8): Likewise.
13044 [C99-based-standards] (SCNd8): Likewise.
13045 [C99-based-standards] (SCNi8): Likewise.
13046 [C99-based-standards] (SCNo8): Likewise.
13047 [C99-based-standards] (SCNu8): Likewise.
13048 [C99-based-standards] (SCNx8): Likewise.
13049 [C99-based-standards] (PRIdLEAST8): Likewise.
13050 [C99-based-standards] (PRIiLEAST8): Likewise.
13051 [C99-based-standards] (PRIoLEAST8): Likewise.
13052 [C99-based-standards] (PRIuLEAST8): Likewise.
13053 [C99-based-standards] (PRIxLEAST8): Likewise.
13054 [C99-based-standards] (PRIXLEAST8): Likewise.
13055 [C99-based-standards] (SCNdLEAST8): Likewise.
13056 [C99-based-standards] (SCNiLEAST8): Likewise.
13057 [C99-based-standards] (SCNoLEAST8): Likewise.
13058 [C99-based-standards] (SCNuLEAST8): Likewise.
13059 [C99-based-standards] (SCNxLEAST8): Likewise.
13060 [C99-based-standards] (PRIdFAST8): Likewise.
13061 [C99-based-standards] (PRIiFAST8): Likewise.
13062 [C99-based-standards] (PRIoFAST8): Likewise.
13063 [C99-based-standards] (PRIuFAST8): Likewise.
13064 [C99-based-standards] (PRIxFAST8): Likewise.
13065 [C99-based-standards] (PRIXFAST8): Likewise.
13066 [C99-based-standards] (SCNdFAST8): Likewise.
13067 [C99-based-standards] (SCNiFAST8): Likewise.
13068 [C99-based-standards] (SCNoFAST8): Likewise.
13069 [C99-based-standards] (SCNuFAST8): Likewise.
13070 [C99-based-standards] (SCNxFAST8): Likewise.
13071 [C99-based-standards] (PRId16): Likewise.
13072 [C99-based-standards] (PRIi16): Likewise.
13073 [C99-based-standards] (PRIo16): Likewise.
13074 [C99-based-standards] (PRIu16): Likewise.
13075 [C99-based-standards] (PRIx16): Likewise.
13076 [C99-based-standards] (PRIX16): Likewise.
13077 [C99-based-standards] (SCNd16): Likewise.
13078 [C99-based-standards] (SCNi16): Likewise.
13079 [C99-based-standards] (SCNo16): Likewise.
13080 [C99-based-standards] (SCNu16): Likewise.
13081 [C99-based-standards] (SCNx16): Likewise.
13082 [C99-based-standards] (PRIdLEAST16): Likewise.
13083 [C99-based-standards] (PRIiLEAST16): Likewise.
13084 [C99-based-standards] (PRIoLEAST16): Likewise.
13085 [C99-based-standards] (PRIuLEAST16): Likewise.
13086 [C99-based-standards] (PRIxLEAST16): Likewise.
13087 [C99-based-standards] (PRIXLEAST16): Likewise.
13088 [C99-based-standards] (SCNdLEAST16): Likewise.
13089 [C99-based-standards] (SCNiLEAST16): Likewise.
13090 [C99-based-standards] (SCNoLEAST16): Likewise.
13091 [C99-based-standards] (SCNuLEAST16): Likewise.
13092 [C99-based-standards] (SCNxLEAST16): Likewise.
13093 [C99-based-standards] (PRIdFAST16): Likewise.
13094 [C99-based-standards] (PRIiFAST16): Likewise.
13095 [C99-based-standards] (PRIoFAST16): Likewise.
13096 [C99-based-standards] (PRIuFAST16): Likewise.
13097 [C99-based-standards] (PRIxFAST16): Likewise.
13098 [C99-based-standards] (PRIXFAST16): Likewise.
13099 [C99-based-standards] (SCNdFAST16): Likewise.
13100 [C99-based-standards] (SCNiFAST16): Likewise.
13101 [C99-based-standards] (SCNoFAST16): Likewise.
13102 [C99-based-standards] (SCNuFAST16): Likewise.
13103 [C99-based-standards] (SCNxFAST16): Likewise.
13104 [C99-based-standards] (PRId32): Likewise.
13105 [C99-based-standards] (PRIi32): Likewise.
13106 [C99-based-standards] (PRIo32): Likewise.
13107 [C99-based-standards] (PRIu32): Likewise.
13108 [C99-based-standards] (PRIx32): Likewise.
13109 [C99-based-standards] (PRIX32): Likewise.
13110 [C99-based-standards] (SCNd32): Likewise.
13111 [C99-based-standards] (SCNi32): Likewise.
13112 [C99-based-standards] (SCNo32): Likewise.
13113 [C99-based-standards] (SCNu32): Likewise.
13114 [C99-based-standards] (SCNx32): Likewise.
13115 [C99-based-standards] (PRIdLEAST32): Likewise.
13116 [C99-based-standards] (PRIiLEAST32): Likewise.
13117 [C99-based-standards] (PRIoLEAST32): Likewise.
13118 [C99-based-standards] (PRIuLEAST32): Likewise.
13119 [C99-based-standards] (PRIxLEAST32): Likewise.
13120 [C99-based-standards] (PRIXLEAST32): Likewise.
13121 [C99-based-standards] (SCNdLEAST32): Likewise.
13122 [C99-based-standards] (SCNiLEAST32): Likewise.
13123 [C99-based-standards] (SCNoLEAST32): Likewise.
13124 [C99-based-standards] (SCNuLEAST32): Likewise.
13125 [C99-based-standards] (SCNxLEAST32): Likewise.
13126 [C99-based-standards] (PRIdFAST32): Likewise.
13127 [C99-based-standards] (PRIiFAST32): Likewise.
13128 [C99-based-standards] (PRIoFAST32): Likewise.
13129 [C99-based-standards] (PRIuFAST32): Likewise.
13130 [C99-based-standards] (PRIxFAST32): Likewise.
13131 [C99-based-standards] (PRIXFAST32): Likewise.
13132 [C99-based-standards] (SCNdFAST32): Likewise.
13133 [C99-based-standards] (SCNiFAST32): Likewise.
13134 [C99-based-standards] (SCNoFAST32): Likewise.
13135 [C99-based-standards] (SCNuFAST32): Likewise.
13136 [C99-based-standards] (SCNxFAST32): Likewise.
13137 [C99-based-standards] (PRId64): Likewise.
13138 [C99-based-standards] (PRIi64): Likewise.
13139 [C99-based-standards] (PRIo64): Likewise.
13140 [C99-based-standards] (PRIu64): Likewise.
13141 [C99-based-standards] (PRIx64): Likewise.
13142 [C99-based-standards] (PRIX64): Likewise.
13143 [C99-based-standards] (SCNd64): Likewise.
13144 [C99-based-standards] (SCNi64): Likewise.
13145 [C99-based-standards] (SCNo64): Likewise.
13146 [C99-based-standards] (SCNu64): Likewise.
13147 [C99-based-standards] (SCNx64): Likewise.
13148 [C99-based-standards] (PRIdLEAST64): Likewise.
13149 [C99-based-standards] (PRIiLEAST64): Likewise.
13150 [C99-based-standards] (PRIoLEAST64): Likewise.
13151 [C99-based-standards] (PRIuLEAST64): Likewise.
13152 [C99-based-standards] (PRIxLEAST64): Likewise.
13153 [C99-based-standards] (PRIXLEAST64): Likewise.
13154 [C99-based-standards] (SCNdLEAST64): Likewise.
13155 [C99-based-standards] (SCNiLEAST64): Likewise.
13156 [C99-based-standards] (SCNoLEAST64): Likewise.
13157 [C99-based-standards] (SCNuLEAST64): Likewise.
13158 [C99-based-standards] (SCNxLEAST64): Likewise.
13159 [C99-based-standards] (PRIdFAST64): Likewise.
13160 [C99-based-standards] (PRIiFAST64): Likewise.
13161 [C99-based-standards] (PRIoFAST64): Likewise.
13162 [C99-based-standards] (PRIuFAST64): Likewise.
13163 [C99-based-standards] (PRIxFAST64): Likewise.
13164 [C99-based-standards] (PRIXFAST64): Likewise.
13165 [C99-based-standards] (SCNdFAST64): Likewise.
13166 [C99-based-standards] (SCNiFAST64): Likewise.
13167 [C99-based-standards] (SCNoFAST64): Likewise.
13168 [C99-based-standards] (SCNuFAST64): Likewise.
13169 [C99-based-standards] (SCNxFAST64): Likewise.
13170 [C99-based-standards] (PRIdMAX): Likewise.
13171 [C99-based-standards] (PRIiMAX): Likewise.
13172 [C99-based-standards] (PRIoMAX): Likewise.
13173 [C99-based-standards] (PRIuMAX): Likewise.
13174 [C99-based-standards] (PRIxMAX): Likewise.
13175 [C99-based-standards] (PRIXMAX): Likewise.
13176 [C99-based-standards] (SCNdMAX): Likewise.
13177 [C99-based-standards] (SCNiMAX): Likewise.
13178 [C99-based-standards] (SCNoMAX): Likewise.
13179 [C99-based-standards] (SCNuMAX): Likewise.
13180 [C99-based-standards] (SCNxMAX): Likewise.
13181 [C99-based-standards] (PRIdPTR): Likewise.
13182 [C99-based-standards] (PRIiPTR): Likewise.
13183 [C99-based-standards] (PRIoPTR): Likewise.
13184 [C99-based-standards] (PRIuPTR): Likewise.
13185 [C99-based-standards] (PRIxPTR): Likewise.
13186 [C99-based-standards] (PRIXPTR): Likewise.
13187 [C99-based-standards] (SCNdPTR): Likewise.
13188 [C99-based-standards] (SCNiPTR): Likewise.
13189 [C99-based-standards] (SCNoPTR): Likewise.
13190 [C99-based-standards] (SCNuPTR): Likewise.
13191 [C99-based-standards] (SCNxPTR): Likewise.
13192 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13194 * conform/data/stdint.h-data: Update comments to clarify
13196 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13198 [C99-based standards] (INT8_MAX): Likewise.
13199 [C99-based standards] (INT16_MIN): Likewise.
13200 [C99-based standards] (INT16_MAX): Likewise.
13201 [C99-based standards] (INT32_MIN): Likewise.
13202 [C99-based standards] (INT32_MAX): Likewise.
13203 [C99-based standards] (INT64_MIN): Likewise.
13204 [C99-based standards] (INT64_MAX): Likewise.
13205 [C99-based standards] (UINT8_MAX): Likewise.
13206 [C99-based standards] (UINT16_MAX): Likewise.
13207 [C99-based standards] (UINT32_MAX): Likewise.
13208 [C99-based standards] (UINT64_MAX): Likewise.
13209 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13210 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13211 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13212 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13213 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13214 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13215 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13216 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13217 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13218 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13219 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13220 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13221 [C99-based standards] (INT_FAST8_MIN): Likewise.
13222 [C99-based standards] (INT_FAST8_MAX): Likewise.
13223 [C99-based standards] (INT_FAST16_MIN): Likewise.
13224 [C99-based standards] (INT_FAST16_MAX): Likewise.
13225 [C99-based standards] (INT_FAST32_MIN): Likewise.
13226 [C99-based standards] (INT_FAST32_MAX): Likewise.
13227 [C99-based standards] (INT_FAST64_MIN): Likewise.
13228 [C99-based standards] (INT_FAST64_MAX): Likewise.
13229 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13230 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13231 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13232 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13233 [C99-based standards] (INTPTR_MIN): Likewise.
13234 [C99-based standards] (INTPTR_MAX): Likewise.
13235 [C99-based standards] (UINTPTR_MAX): Likewise.
13236 [C99-based standards] (INTMAX_MIN): Likewise.
13237 [C99-based standards] (INTMAX_MAX): Likewise.
13238 [C99-based standards] (UINTMAX_MAX): Likewise.
13239 [C99-based standards] (PTRDIFF_MIN): Likewise.
13240 [C99-based standards] (PTRDIFF_MAX): Likewise.
13241 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13242 [C99-based standards] (SIZE_MAX): Likewise.
13243 [C99-based standards] (WCHAR_MAX): Likewise.
13244 [C99-based standards] (WINT_MAX): Likewise.
13245 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13246 constraint on value.
13247 [C99-based standards] (WCHAR_MIN): Likewise.
13248 [C99-based standards] (WINT_MIN): Likewise.
13249 [C99-based standards] (*_t): Allow.
13250 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13251 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13252 Include math.h-data and complex.h-data. Remove all expectations
13253 of math.h and complex.h contents.
13254 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13256 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13257 (struct tm): Expect tag.
13258 [C99-based-standards] (wcstof): Expect function.
13259 [C99-based-standards] (wcstold): Likewise.
13260 [C99-based-standards] (wcstoll): Likewise.
13261 [C99-based-standards] (wcstoull): Likewise.
13262 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13263 macro-int-constant. Specify type.
13264 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13265 constraint on value.
13266 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13268 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13270 [ISO C standards]: Do not allow headers.
13271 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13272 wcs[abcdefghijklmnopqrstuvwxyz]*.
13273 [ISO C standards] (*_t): Do not allow.
13274 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13276 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13277 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13279 [ISO C standards]: Do not allow headers.
13280 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13281 is[abcdefghijklmnopqrstuvwxyz]*.
13282 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13283 to[abcdefghijklmnopqrstuvwxyz]*.
13284 [ISO C standards] (*_t): Do not allow.
13285 * conform/data/stdalign.h-data: New file.
13286 * conform/data/stdbool.h-data: Likewise.
13287 * conform/data/stdnoreturn.h-data: Likewise.
13289 2012-11-07 Roland McGrath <roland@hack.frob.com>
13292 * manual/filesys.texi (Directory Entries): Typo fix.
13293 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13295 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13297 * elf/elf.h (EM_AARCH64): New macro.
13298 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13299 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13300 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13301 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13302 (R_AARCH64_TLSDESC): Likewise.
13303 (NT_ARM_TLS): Likewise.
13304 (NT_ARM_HW_BREAK): Likewise.
13305 (NT_ARM_HW_WATCH): Likewise.
13307 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13310 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13311 (__ieee754_powl): Saturate nonzero exponents with absolute value
13312 below 0x1p-79 to +/- 0x1p-79.
13313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13314 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13315 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13316 nonzero exponents with absolute value below 0x1p-32 to +/-
13318 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13319 (__ieee754_powl): Saturate nonzero exponents with absolute value
13320 below 0x1p-79 to +/- 0x1p-79.
13321 * math/libm-test.inc (pow_test): Add more tests.
13323 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13325 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13326 _dl_s390_cap_flags with kernel. Increase string length.
13327 (_dl_s390_platforms): Add z196 and zEC12.
13329 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13331 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13332 Change XOPEN21K to XOPEN2K.
13334 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13336 * string/memmove.c: Use memcpy when possible.
13338 2012-11-06 Andreas Jaeger <aj@suse.de>
13340 * po/eo.po: Update from translation team.
13342 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13346 exponent and small x and y exponents, scale x or y up. Increase
13347 by 2 the exponent used in scaling up.
13348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13350 * math/libm-test.inc (fma_test): Add more tests.
13351 (fma_test_towardzero): Likewise.
13352 (fma_test_downward): Likewise.
13353 (fma_test_upward): Likewise.
13355 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13358 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13362 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13363 namespace for names of struct fields.
13364 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13366 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13367 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13369 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13372 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13374 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13376 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13380 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13383 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13387 definitely overflow as x * y not x * y + z.
13388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13390 * math/libm-test.inc (fma_test): Add more tests.
13391 (fma_test_towardzero): Likewise.
13392 (fma_test_downward): Likewise.
13393 (fma_test_upward): Likewise.
13395 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13399 * include/stub-tag.h: Remove file.
13400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13402 * manual/maint.texi (Porting): Don't reference it.
13403 * Makerules ($(objpfx)stubs): Likewise.
13404 * dirent/closedir.c: Don't include <stub-tag.h>.
13405 * dirent/dirfd.c: Likewise.
13406 * dirent/fdopendir.c: Likewise.
13407 * dirent/getdents.c: Likewise.
13408 * dirent/getdents64.c: Likewise.
13409 * dirent/opendir.c: Likewise.
13410 * dirent/readdir.c: Likewise.
13411 * dirent/readdir64.c: Likewise.
13412 * dirent/readdir64_r.c: Likewise.
13413 * dirent/readdir_r.c: Likewise.
13414 * dirent/rewinddir.c: Likewise.
13415 * dirent/seekdir.c: Likewise.
13416 * dirent/telldir.c: Likewise.
13417 * gmon/profil.c: Likewise.
13418 * grp/setgroups.c: Likewise.
13419 * inet/if_index.c: Likewise.
13420 * io/access.c: Likewise.
13421 * io/chdir.c: Likewise.
13422 * io/chmod.c: Likewise.
13423 * io/chown.c: Likewise.
13424 * io/close.c: Likewise.
13425 * io/dup.c: Likewise.
13426 * io/dup2.c: Likewise.
13427 * io/dup3.c: Likewise.
13428 * io/euidaccess.c: Likewise.
13429 * io/faccessat.c: Likewise.
13430 * io/fchdir.c: Likewise.
13431 * io/fchmod.c: Likewise.
13432 * io/fchmodat.c: Likewise.
13433 * io/fchown.c: Likewise.
13434 * io/fchownat.c: Likewise.
13435 * io/fcntl.c: Likewise.
13436 * io/flock.c: Likewise.
13437 * io/fstatfs.c: Likewise.
13438 * io/fstatfs64.c: Likewise.
13439 * io/fstatvfs.c: Likewise.
13440 * io/fstatvfs64.c: Likewise.
13441 * io/futimens.c: Likewise.
13442 * io/fxstat.c: Likewise.
13443 * io/fxstat64.c: Likewise.
13444 * io/fxstatat.c: Likewise.
13445 * io/fxstatat64.c: Likewise.
13446 * io/getcwd.c: Likewise.
13447 * io/isatty.c: Likewise.
13448 * io/lchmod.c: Likewise.
13449 * io/lchown.c: Likewise.
13450 * io/link.c: Likewise.
13451 * io/linkat.c: Likewise.
13452 * io/lseek.c: Likewise.
13453 * io/lseek64.c: Likewise.
13454 * io/lxstat64.c: Likewise.
13455 * io/mkdir.c: Likewise.
13456 * io/mkdirat.c: Likewise.
13457 * io/mkfifo.c: Likewise.
13458 * io/mkfifoat.c: Likewise.
13459 * io/open.c: Likewise.
13460 * io/open64.c: Likewise.
13461 * io/openat.c: Likewise.
13462 * io/openat64.c: Likewise.
13463 * io/pipe.c: Likewise.
13464 * io/pipe2.c: Likewise.
13465 * io/poll.c: Likewise.
13466 * io/posix_fadvise.c: Likewise.
13467 * io/posix_fadvise64.c: Likewise.
13468 * io/posix_fallocate.c: Likewise.
13469 * io/posix_fallocate64.c: Likewise.
13470 * io/read.c: Likewise.
13471 * io/readlink.c: Likewise.
13472 * io/readlinkat.c: Likewise.
13473 * io/rmdir.c: Likewise.
13474 * io/sendfile.c: Likewise.
13475 * io/sendfile64.c: Likewise.
13476 * io/statfs.c: Likewise.
13477 * io/statfs64.c: Likewise.
13478 * io/statvfs.c: Likewise.
13479 * io/statvfs64.c: Likewise.
13480 * io/symlink.c: Likewise.
13481 * io/symlinkat.c: Likewise.
13482 * io/ttyname.c: Likewise.
13483 * io/ttyname_r.c: Likewise.
13484 * io/umask.c: Likewise.
13485 * io/unlink.c: Likewise.
13486 * io/unlinkat.c: Likewise.
13487 * io/utime.c: Likewise.
13488 * io/utimensat.c: Likewise.
13489 * io/write.c: Likewise.
13490 * io/xmknod.c: Likewise.
13491 * io/xmknodat.c: Likewise.
13492 * io/xstat.c: Likewise.
13493 * io/xstat64.c: Likewise.
13494 * login/getpt.c: Likewise.
13495 * login/grantpt.c: Likewise.
13496 * login/unlockpt.c: Likewise.
13497 * math/e_acoshl.c: Likewise.
13498 * math/e_acosl.c: Likewise.
13499 * math/e_asinl.c: Likewise.
13500 * math/e_atan2l.c: Likewise.
13501 * math/e_atanhl.c: Likewise.
13502 * math/e_coshl.c: Likewise.
13503 * math/e_expl.c: Likewise.
13504 * math/e_fmodl.c: Likewise.
13505 * math/e_gammal_r.c: Likewise.
13506 * math/e_hypotl.c: Likewise.
13507 * math/e_j0l.c: Likewise.
13508 * math/e_j1l.c: Likewise.
13509 * math/e_jnl.c: Likewise.
13510 * math/e_lgammal_r.c: Likewise.
13511 * math/e_log10l.c: Likewise.
13512 * math/e_log2l.c: Likewise.
13513 * math/e_logl.c: Likewise.
13514 * math/e_powl.c: Likewise.
13515 * math/e_rem_pio2l.c: Likewise.
13516 * math/e_sinhl.c: Likewise.
13517 * math/e_sqrtl.c: Likewise.
13518 * math/fclrexcpt.c: Likewise.
13519 * math/fedisblxcpt.c: Likewise.
13520 * math/feenablxcpt.c: Likewise.
13521 * math/fegetenv.c: Likewise.
13522 * math/fegetexcept.c: Likewise.
13523 * math/fegetround.c: Likewise.
13524 * math/feholdexcpt.c: Likewise.
13525 * math/fesetenv.c: Likewise.
13526 * math/fesetround.c: Likewise.
13527 * math/feupdateenv.c: Likewise.
13528 * math/fgetexcptflg.c: Likewise.
13529 * math/fraiseexcpt.c: Likewise.
13530 * math/fsetexcptflg.c: Likewise.
13531 * math/ftestexcept.c: Likewise.
13532 * math/k_cosl.c: Likewise.
13533 * math/k_rem_pio2l.c: Likewise.
13534 * math/k_sinl.c: Likewise.
13535 * math/k_tanl.c: Likewise.
13536 * math/s_asinhl.c: Likewise.
13537 * math/s_atanl.c: Likewise.
13538 * math/s_cbrtl.c: Likewise.
13539 * math/s_erfl.c: Likewise.
13540 * math/s_expm1l.c: Likewise.
13541 * math/s_log1pl.c: Likewise.
13542 * math/s_tanhl.c: Likewise.
13543 * misc/acct.c: Likewise.
13544 * misc/brk.c: Likewise.
13545 * misc/chflags.c: Likewise.
13546 * misc/chroot.c: Likewise.
13547 * misc/fchflags.c: Likewise.
13548 * misc/fgetxattr.c: Likewise.
13549 * misc/flistxattr.c: Likewise.
13550 * misc/fremovexattr.c: Likewise.
13551 * misc/fsetxattr.c: Likewise.
13552 * misc/fsync.c: Likewise.
13553 * misc/ftruncate.c: Likewise.
13554 * misc/futimes.c: Likewise.
13555 * misc/futimesat.c: Likewise.
13556 * misc/getdomain.c: Likewise.
13557 * misc/getdtsz.c: Likewise.
13558 * misc/gethostid.c: Likewise.
13559 * misc/gethostname.c: Likewise.
13560 * misc/getloadavg.c: Likewise.
13561 * misc/getpagesize.c: Likewise.
13562 * misc/getsysstats.c: Likewise.
13563 * misc/getxattr.c: Likewise.
13564 * misc/gtty.c: Likewise.
13565 * misc/ioctl.c: Likewise.
13566 * misc/lgetxattr.c: Likewise.
13567 * misc/listxattr.c: Likewise.
13568 * misc/llistxattr.c: Likewise.
13569 * misc/lremovexattr.c: Likewise.
13570 * misc/lsetxattr.c: Likewise.
13571 * misc/lutimes.c: Likewise.
13572 * misc/madvise.c: Likewise.
13573 * misc/mincore.c: Likewise.
13574 * misc/mlock.c: Likewise.
13575 * misc/mlockall.c: Likewise.
13576 * misc/mmap.c: Likewise.
13577 * misc/mprotect.c: Likewise.
13578 * misc/msync.c: Likewise.
13579 * misc/munlock.c: Likewise.
13580 * misc/munlockall.c: Likewise.
13581 * misc/munmap.c: Likewise.
13582 * misc/preadv.c: Likewise.
13583 * misc/preadv64.c: Likewise.
13584 * misc/ptrace.c: Likewise.
13585 * misc/pwritev.c: Likewise.
13586 * misc/pwritev64.c: Likewise.
13587 * misc/readv.c: Likewise.
13588 * misc/reboot.c: Likewise.
13589 * misc/remap_file_pages.c: Likewise.
13590 * misc/removexattr.c: Likewise.
13591 * misc/revoke.c: Likewise.
13592 * misc/select.c: Likewise.
13593 * misc/setdomain.c: Likewise.
13594 * misc/setegid.c: Likewise.
13595 * misc/seteuid.c: Likewise.
13596 * misc/sethostid.c: Likewise.
13597 * misc/sethostname.c: Likewise.
13598 * misc/setregid.c: Likewise.
13599 * misc/setreuid.c: Likewise.
13600 * misc/setxattr.c: Likewise.
13601 * misc/sstk.c: Likewise.
13602 * misc/stty.c: Likewise.
13603 * misc/swapoff.c: Likewise.
13604 * misc/swapon.c: Likewise.
13605 * misc/sync.c: Likewise.
13606 * misc/syncfs.c: Likewise.
13607 * misc/syscall.c: Likewise.
13608 * misc/truncate.c: Likewise.
13609 * misc/ualarm.c: Likewise.
13610 * misc/usleep.c: Likewise.
13611 * misc/ustat.c: Likewise.
13612 * misc/utimes.c: Likewise.
13613 * misc/vhangup.c: Likewise.
13614 * misc/writev.c: Likewise.
13615 * posix/_exit.c: Likewise.
13616 * posix/alarm.c: Likewise.
13617 * posix/execve.c: Likewise.
13618 * posix/fexecve.c: Likewise.
13619 * posix/fork.c: Likewise.
13620 * posix/fpathconf.c: Likewise.
13621 * posix/getaddrinfo.c: Likewise.
13622 * posix/getegid.c: Likewise.
13623 * posix/geteuid.c: Likewise.
13624 * posix/getgid.c: Likewise.
13625 * posix/getgroups.c: Likewise.
13626 * posix/getlogin.c: Likewise.
13627 * posix/getlogin_r.c: Likewise.
13628 * posix/getpgid.c: Likewise.
13629 * posix/getpid.c: Likewise.
13630 * posix/getppid.c: Likewise.
13631 * posix/getresgid.c: Likewise.
13632 * posix/getresuid.c: Likewise.
13633 * posix/getsid.c: Likewise.
13634 * posix/getuid.c: Likewise.
13635 * posix/glob64.c: Likewise.
13636 * posix/nanosleep.c: Likewise.
13637 * posix/pathconf.c: Likewise.
13638 * posix/pause.c: Likewise.
13639 * posix/posix_madvise.c: Likewise.
13640 * posix/pread.c: Likewise.
13641 * posix/pread64.c: Likewise.
13642 * posix/pwrite.c: Likewise.
13643 * posix/pwrite64.c: Likewise.
13644 * posix/sched_getaffinity.c: Likewise.
13645 * posix/sched_getp.c: Likewise.
13646 * posix/sched_gets.c: Likewise.
13647 * posix/sched_primax.c: Likewise.
13648 * posix/sched_primin.c: Likewise.
13649 * posix/sched_rr_gi.c: Likewise.
13650 * posix/sched_setaffinity.c: Likewise.
13651 * posix/sched_setp.c: Likewise.
13652 * posix/sched_sets.c: Likewise.
13653 * posix/sched_yield.c: Likewise.
13654 * posix/setgid.c: Likewise.
13655 * posix/setlogin.c: Likewise.
13656 * posix/setpgid.c: Likewise.
13657 * posix/setresgid.c: Likewise.
13658 * posix/setresuid.c: Likewise.
13659 * posix/setsid.c: Likewise.
13660 * posix/setuid.c: Likewise.
13661 * posix/sleep.c: Likewise.
13662 * posix/spawni.c: Likewise.
13663 * posix/sysconf.c: Likewise.
13664 * posix/times.c: Likewise.
13665 * posix/wait.c: Likewise.
13666 * posix/wait3.c: Likewise.
13667 * posix/wait4.c: Likewise.
13668 * posix/waitpid.c: Likewise.
13669 * resolv/gai_sigqueue.c: Likewise.
13670 * resource/getpriority.c: Likewise.
13671 * resource/getrlimit.c: Likewise.
13672 * resource/getrusage.c: Likewise.
13673 * resource/nice.c: Likewise.
13674 * resource/setpriority.c: Likewise.
13675 * resource/setrlimit.c: Likewise.
13676 * resource/ulimit.c: Likewise.
13677 * rt/aio_cancel.c: Likewise.
13678 * rt/aio_fsync.c: Likewise.
13679 * rt/aio_read.c: Likewise.
13680 * rt/aio_sigqueue.c: Likewise.
13681 * rt/aio_suspend.c: Likewise.
13682 * rt/aio_write.c: Likewise.
13683 * rt/clock_getres.c: Likewise.
13684 * rt/clock_gettime.c: Likewise.
13685 * rt/clock_nanosleep.c: Likewise.
13686 * rt/clock_settime.c: Likewise.
13687 * rt/lio_listio.c: Likewise.
13688 * rt/mq_close.c: Likewise.
13689 * rt/mq_getattr.c: Likewise.
13690 * rt/mq_notify.c: Likewise.
13691 * rt/mq_open.c: Likewise.
13692 * rt/mq_receive.c: Likewise.
13693 * rt/mq_send.c: Likewise.
13694 * rt/mq_setattr.c: Likewise.
13695 * rt/mq_timedreceive.c: Likewise.
13696 * rt/mq_timedsend.c: Likewise.
13697 * rt/mq_unlink.c: Likewise.
13698 * rt/shm_open.c: Likewise.
13699 * rt/shm_unlink.c: Likewise.
13700 * rt/timer_create.c: Likewise.
13701 * rt/timer_delete.c: Likewise.
13702 * rt/timer_getoverr.c: Likewise.
13703 * rt/timer_gettime.c: Likewise.
13704 * rt/timer_settime.c: Likewise.
13705 * setjmp/__longjmp.c: Likewise.
13706 * setjmp/setjmp.c: Likewise.
13707 * signal/kill.c: Likewise.
13708 * signal/killpg.c: Likewise.
13709 * signal/raise.c: Likewise.
13710 * signal/sigaction.c: Likewise.
13711 * signal/sigaltstack.c: Likewise.
13712 * signal/sigblock.c: Likewise.
13713 * signal/sigignore.c: Likewise.
13714 * signal/sigintr.c: Likewise.
13715 * signal/signal.c: Likewise.
13716 * signal/sigpause.c: Likewise.
13717 * signal/sigpending.c: Likewise.
13718 * signal/sigqueue.c: Likewise.
13719 * signal/sigreturn.c: Likewise.
13720 * signal/sigset.c: Likewise.
13721 * signal/sigsetmask.c: Likewise.
13722 * signal/sigstack.c: Likewise.
13723 * signal/sigsuspend.c: Likewise.
13724 * signal/sigtimedwait.c: Likewise.
13725 * signal/sigvec.c: Likewise.
13726 * signal/sigwait.c: Likewise.
13727 * signal/sigwaitinfo.c: Likewise.
13728 * signal/sysv_signal.c: Likewise.
13729 * socket/accept.c: Likewise.
13730 * socket/accept4.c: Likewise.
13731 * socket/bind.c: Likewise.
13732 * socket/connect.c: Likewise.
13733 * socket/getpeername.c: Likewise.
13734 * socket/getsockname.c: Likewise.
13735 * socket/getsockopt.c: Likewise.
13736 * socket/isfdtype.c: Likewise.
13737 * socket/listen.c: Likewise.
13738 * socket/recv.c: Likewise.
13739 * socket/recvfrom.c: Likewise.
13740 * socket/recvmsg.c: Likewise.
13741 * socket/send.c: Likewise.
13742 * socket/sendmsg.c: Likewise.
13743 * socket/sendto.c: Likewise.
13744 * socket/setsockopt.c: Likewise.
13745 * socket/shutdown.c: Likewise.
13746 * socket/sockatmark.c: Likewise.
13747 * socket/socket.c: Likewise.
13748 * socket/socketpair.c: Likewise.
13749 * stdio-common/ctermid.c: Likewise.
13750 * stdio-common/cuserid.c: Likewise.
13751 * stdio-common/remove.c: Likewise.
13752 * stdio-common/rename.c: Likewise.
13753 * stdio-common/renameat.c: Likewise.
13754 * stdio-common/tempname.c: Likewise.
13755 * stdlib/getcontext.c: Likewise.
13756 * stdlib/makecontext.c: Likewise.
13757 * stdlib/setcontext.c: Likewise.
13758 * stdlib/swapcontext.c: Likewise.
13759 * stdlib/system.c: Likewise.
13760 * streams/fattach.c: Likewise.
13761 * streams/fdetach.c: Likewise.
13762 * streams/getmsg.c: Likewise.
13763 * streams/getpmsg.c: Likewise.
13764 * streams/putmsg.c: Likewise.
13765 * streams/putpmsg.c: Likewise.
13766 * sysdeps/unix/bsd/getpt.c: Likewise.
13767 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13768 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13769 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13772 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13773 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13774 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13775 * sysvipc/msgctl.c: Likewise.
13776 * sysvipc/msgget.c: Likewise.
13777 * sysvipc/msgrcv.c: Likewise.
13778 * sysvipc/msgsnd.c: Likewise.
13779 * sysvipc/semctl.c: Likewise.
13780 * sysvipc/semget.c: Likewise.
13781 * sysvipc/semop.c: Likewise.
13782 * sysvipc/semtimedop.c: Likewise.
13783 * sysvipc/shmat.c: Likewise.
13784 * sysvipc/shmctl.c: Likewise.
13785 * sysvipc/shmdt.c: Likewise.
13786 * sysvipc/shmget.c: Likewise.
13787 * termios/tcdrain.c: Likewise.
13788 * termios/tcflow.c: Likewise.
13789 * termios/tcflush.c: Likewise.
13790 * termios/tcgetattr.c: Likewise.
13791 * termios/tcgetpgrp.c: Likewise.
13792 * termios/tcsendbrk.c: Likewise.
13793 * termios/tcsetattr.c: Likewise.
13794 * termios/tcsetpgrp.c: Likewise.
13795 * time/adjtime.c: Likewise.
13796 * time/clock.c: Likewise.
13797 * time/getitimer.c: Likewise.
13798 * time/gettimeofday.c: Likewise.
13799 * time/setitimer.c: Likewise.
13800 * time/settimeofday.c: Likewise.
13801 * time/stime.c: Likewise.
13802 * time/time.c: Likewise.
13804 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13806 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13809 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13811 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13813 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13817 FE_TONEAREST before applying Dekker multiplication and Knuth
13818 addition. Clear inexact exceptions and check for exact zero
13819 results afterwards.
13820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13821 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13823 * math/libm-test.inc (fma_test): Add more tests.
13824 (fma_test_towardzero): Likewise.
13825 (fma_test_downward): Likewise.
13826 (fma_test_upward): Likewise.
13827 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13829 (libc_fesetround): New macro.
13830 (libc_fesetroundf): Likewise.
13831 (libc_fesetroundl): Likewise.
13832 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13834 (libc_fesetround_387): Likewise.
13835 (libc_fesetroundf): New macro.
13836 (libc_fesetround): Likewise.
13837 (libc_fesetroundl): Likewise.
13838 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13840 (libc_fesetroundf): New macro.
13841 (libc_fesetround): Likewise.
13842 (libc_fesetroundl): Likewise.
13843 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13844 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13845 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13847 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13848 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13850 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13851 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13853 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13857 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13858 integer constant usable in #if and use that to give value to enum
13860 (FE_DIVBYZERO): Likewise.
13861 (FE_UNDERFLOW): Likewise.
13862 (FE_OVERFLOW): Likewise.
13863 (FE_INVALID): Likewise.
13864 (FE_INVALID_SNAN): Likewise.
13865 (FE_INVALID_ISI): Likewise.
13866 (FE_INVALID_IDI): Likewise.
13867 (FE_INVALID_ZDZ): Likewise.
13868 (FE_INVALID_IMZ): Likewise.
13869 (FE_INVALID_COMPARE): Likewise.
13870 (FE_INVALID_SOFTWARE): Likewise.
13871 (FE_INVALID_SQRT): Likewise.
13872 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13873 (FE_TONEAREST): Likewise.
13874 (FE_TOWARDZERO): Likewise.
13875 (FE_UPWARD): Likewise.
13876 (FE_DOWNWARD): Likewise.
13877 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13878 (FE_DIVBYZERO): Likewise.
13879 (FE_OVERFLOW): Likewise.
13880 (FE_UNDERFLOW): Likewise.
13881 (FE_INEXACT): Likewise.
13882 (FE_TONEAREST): Likewise.
13883 (FE_DOWNWARD): Likewise.
13884 (FE_UPWARD): Likewise.
13885 (FE_TOWARDZERO): Likewise.
13886 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13887 (FE_UNDERFLOW): Likewise.
13888 (FE_OVERFLOW): Likewise.
13889 (FE_DIVBYZERO): Likewise.
13890 (FE_INVALID): Likewise.
13891 (FE_TONEAREST): Likewise.
13892 (FE_TOWARDZERO): Likewise.
13893 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13894 (FE_OVERFLOW): Likewise.
13895 (FE_UNDERFLOW): Likewise.
13896 (FE_DIVBYZERO): Likewise.
13897 (FE_INEXACT): Likewise.
13898 (FE_TONEAREST): Likewise.
13899 (FE_TOWARDZERO): Likewise.
13900 (FE_UPWARD): Likewise.
13901 (FE_DOWNWARD): Likewise.
13902 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13903 (FE_DIVBYZERO): Likewise.
13904 (FE_OVERFLOW): Likewise.
13905 (FE_UNDERFLOW): Likewise.
13906 (FE_INEXACT): Likewise.
13907 (FE_TONEAREST): Likewise.
13908 (FE_DOWNWARD): Likewise.
13909 (FE_UPWARD): Likewise.
13910 (FE_TOWARDZERO): Likewise.
13912 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13914 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13916 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13918 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13919 commands. Quote $PWD.
13920 (blacklist_exports): Don't use remove_newlines. Replace "declare
13922 (remove_newlines): Remove.
13924 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13926 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13927 * stdlib/stdlib.h (atof): Moved to ...
13928 * include/bits/stdlib-float.h: Here. New file.
13929 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13930 * stdlib/bits/stdlib-float.h: New file.
13931 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13933 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13936 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13938 * conform/conformtest.pl (@headers): Add fenv.h.
13939 * conform/data/fenv.h-data: New file.
13940 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13941 include of <math/fenv.h>.
13943 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13944 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13945 && !UNIX98]. Enables tests for XOPEN2K8.
13946 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13947 POSIX2008]: Likewise.
13949 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13950 (struct rusage): Do not expect type or its members.
13953 * math/math.h (FP_NAN): Define macro to integer constant usable in
13954 #if and use that to give value to enum constant.
13955 (FP_INFINITE): Likewise.
13956 (FP_ZERO): Likewise.
13957 (FP_SUBNORMAL): Likewise.
13958 (FP_NORMAL): Likewise.
13960 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13962 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13963 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13966 2012-11-02 Roland McGrath <roland@hack.frob.com>
13968 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13969 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13970 autoconf-time if not.
13971 * configure.in: Remove AC_PREREQ.
13973 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13975 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13976 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13977 of the internal implementation.
13979 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13981 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13982 except include of <misc/sys/syslog.h>.
13984 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13987 function returns with a NULL context exit with zero.
13989 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13991 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13993 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13995 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13996 (run_program_cmd): This.
13997 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13998 (tst_langinfo): New variable. Use it.
14000 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14002 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14003 floating point opcodes.
14005 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14007 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14010 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14012 * sysdeps/mach/hurd/powerpc: Remove directory.
14013 * sysdeps/mach/powerpc: Likewise.
14015 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14017 * scripts/check-local-headers.sh: Ignore c++ headers.
14019 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14021 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14022 __libc_cleanup_region_start argument.
14024 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14029 x * y using scaling, not as x * y + z.
14030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14032 * math/libm-test.inc (fma_test): Add more tests.
14033 (fma_test_towardzero): Likewise.
14034 (fma_test_downward): Likewise.
14035 (fma_test_upward): Likewise.
14037 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14039 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14041 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14043 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14046 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14048 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14050 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14057 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14060 Fix the order of the list for glibc 2.17.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14064 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14068 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14071 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14072 for low part of x being zero before using __atanl (y).
14073 * math/libm-test.inc (atan2_test): Add another test.
14075 * manual/install.texi (Configuring and compiling): Document
14076 general use of test-wrapper and test-wrapper-env.
14077 * INSTALL: Regenerated.
14079 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14080 (__fma): Do not extract and scale down low bits on after-rounding
14081 systems when result rounded to normal precision would have normal
14083 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14084 (__fmal): Do not extract and scale down low bits on after-rounding
14085 systems when result rounded to normal precision would have normal
14087 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14088 (__fmal): Do not extract and scale down low bits on after-rounding
14089 systems when result rounded to normal precision would have normal
14091 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14093 (fma_test): Add more tests.
14094 (fma_test_towardzero): Likewise.
14095 (fma_test_downward): Likewise.
14096 (fma_test_upward): Likewise.
14098 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14100 * sysdeps/i386/tininess.h: Renamed to ...
14101 * sysdeps/x86/tininess.h: This.
14102 * sysdeps/x86_64/tininess.h: Removed.
14104 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14106 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14107 input. Use $(build-program-cmd).
14108 ($(objpfx)tst-array1-static.out): Likewise.
14109 ($(objpfx)tst-array2.out): Likewise.
14110 ($(objpfx)tst-array3.out): Likewise.
14111 ($(objpfx)tst-array4.out): Likewise.
14112 ($(objpfx)tst-array5.out): Likewise.
14113 ($(objpfx)tst-array5-static.out): Likewise.
14115 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14117 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14120 * nss/nsswitch.h (nss_interface_function): Provide new
14121 macro for use with NSS functions.
14122 * grp/initgroups.c: Use new macro.
14123 * nss/getXXbyYY.c: Likewise.
14124 * nss/getXXbyYY_r.c: Likewise.
14125 * nss/getXXent.c: Likewise.
14126 * nss/getXXent_r.c: Likewise.
14127 * sysdeps/posix/getaddrinfo.c: Likewise.
14129 2012-10-30 Andreas Jaeger <aj@suse.de>
14131 * po/ru.po: Update Russion translation from translation project.
14133 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14138 result and shift together with sticky bit instead of replicating
14139 round-to-nearest rounding.
14140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14142 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14143 missing underflow exceptions.
14144 (fma_test_towardzero): Add more tests.
14145 (fma_test_downward): Likewise.
14146 (fma_test_upward): Likewise.
14149 * sysdeps/generic/tininess.h: New file.
14150 * sysdeps/i386/tininess.h: Likewise.
14151 * sysdeps/sh/tininess.h: Likewise.
14152 * sysdeps/x86_64/tininess.h: Likewise.
14153 * stdlib/tst-strtod-underflow.c: Likewise.
14154 * stdlib/tst-tininess.c: Likewise.
14155 * stdlib/strtod_l.c: Include <tininess.h>.
14156 (round_and_return): Do not set errno for exact underflow cases.
14157 Force an underflow exception when setting errno for underflow.
14158 Determine underflow based on rounding to normal precision if
14159 TININESS_AFTER_ROUNDING.
14160 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14161 ERANGE for exact underflow cases.
14162 * stdlib/Makefile (tests): Add tst-tininess and
14163 tst-strtod-underflow.
14164 ($(objpfx)tst-tininess): Use $(link-libm).
14165 ($(objpfx)tst-strtod-underflow): Likewise.
14167 2012-10-30 Andreas Jaeger <aj@suse.de>
14170 * elf/Makefile (tests): Remove conditional for have-initfini-array
14171 since this is now always required and the variable does not exist
14173 (tests-static): Likewise.
14174 (modules-names): Likewise.
14176 * po/eo.po: Add Esperanto translation from translation project.
14178 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14179 merged with constructor/destructor.
14180 (init_array): Likewise.
14181 * elf/tst-array2dep.c (fini_array): Likewise.
14182 (init_array): Likewise.
14184 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14186 * manual/message.texi: Delete @cartouche tags.
14188 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14190 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14192 * sysdeps/mach/hurd/fsync.c: Likewise.
14194 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14195 [_POSIX_REALTIME_SIGNALS]: Change condition to
14196 [_POSIX_REALTIME_SIGNALS > 0].
14198 2012-10-27 Andreas Jaeger <aj@suse.de>
14200 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14201 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14203 [__WORDSIZE != 64]: Likewise.
14205 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14207 * iconvdata/tst-table.sh: Remove ${SHELL}.
14208 * iconvdata/tst-tables.sh: Likewise.
14210 2012-10-25 David S. Miller <davem@davemloft.net>
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14213 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14219 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14220 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14223 2012-10-25 Roland McGrath <roland@hack.frob.com>
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14226 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14229 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14230 Jim Blandy <jimb@codesourcery.com>
14232 * scripts/cross-test-ssh.sh: New file.
14233 * manual/install.texi (Configuring and compiling): Document use of
14235 * INSTALL: Regenerated.
14237 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14239 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14242 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14244 * Makeconfig (run-program-prefix): Fix comment.
14246 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14247 Jim Blandy <jimb@codesourcery.com>
14249 * Makeconfig (test-wrapper): New variable,
14250 (test-wrapper-env): Likewise.
14251 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14252 (run-built-tests): Define to yes.
14253 (run-program-prefix): Use $(test-wrapper).
14254 (built-program-cmd): Likewise.
14255 * Rules (make-test-out): Use $(test-wrapper-env) and
14256 $(host-built-program-cmd).
14257 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14258 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14260 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14261 $(test-wrapper-env) to tst-rtld-load-self.sh.
14262 ($(objpfx)order2.out): Use $(test-wrapper).
14263 ($(objpfx)tst-initorder.out): Likewise.
14264 ($(objpfx)tst-initorder2.out): Likewise.
14265 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14266 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14267 (test_wrapper_env): New variable. Use it to run ld.so.
14268 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14269 Use it to run ld.so.
14270 (test_wrapper_env): Likewise.
14271 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14272 $(test-wrapper) to run-iconv-test.sh.
14273 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14274 (ICONV): Use $test_wrapper.
14275 * posix/Makefile ($(objpfx)globtest.out): Pass
14276 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14277 globtest.sh, not $(run-program-prefix).
14278 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14279 (test_wrapper): Likewise.
14280 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14281 set together with run_via_rtld_prefix.
14282 (run_program_prefix): Define in terms of test_wrapper and
14283 run_via_rtld_prefix.
14285 2012-10-24 Roland McGrath <roland@hack.frob.com>
14287 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14288 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14292 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14293 Declare __clock_getres, __clock_gettime, __clock_settime,
14294 __clock_nanosleep, and __clock_getcpuclockid.
14295 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14296 Remove librt_hidden_def (clock_gettime).
14297 * sysdeps/unix/clock_gettime.c: Likewise.
14298 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14299 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14300 * rt/clock_getres.c: Define __clock_getres as an alias.
14301 * sysdeps/posix/clock_getres.c: Likewise.
14302 * rt/clock_settime.c: Define __clock_settime as an alias.
14303 * sysdeps/unix/clock_settime.c: Likewise.
14304 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14305 * sysdeps/unix/clock_nanosleep.c: Likewise.
14306 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14307 * rt/clock-compat.c: New file.
14308 * rt/Makefile (librt-routines): Add clock-compat and move
14309 $(clock-routines) to ...
14310 (routines): ... here, new variable.
14311 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14312 Don't add get_clockfreq here.
14313 * rt/Versions (libc: GLIBC_2.17): New version set.
14314 Add clock_* symbols here.
14315 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14316 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14317 (GLIBC_2.17): Add clock_* symbols.
14318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14329 * NEWS: Mention the move.
14331 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14332 Use __open, __read, __close rather than their public counterparts.
14333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14334 (__get_clockfreq_via_cpuinfo): Likewise.
14335 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14336 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14338 * config.h.in (HAVE_IFUNC): New #undef.
14339 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14341 * configure: Regenerated.
14343 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14345 * configure.in: Move READELF check to start of file.
14346 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14347 libc_cv_asm_gnu_indirect_function in the process.
14348 * configure: Regenerated.
14350 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14352 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14353 send the output to /dev/null.
14354 (libc_cv_cc_with_libunwind): Likewise.
14355 (libc_cv_as_noexecstack): Likewise.
14356 * configure: Regenerate.
14358 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14360 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14362 * posix/globtest.sh (TMPDIR): Do not set.
14363 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14364 (testout): Likewise.
14366 2012-10-24 Andreas Jaeger <aj@suse.de>
14368 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14369 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14370 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14371 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14372 posix_fadvise64, posix_fallocate64.
14374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14375 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14376 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14378 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14380 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14383 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14384 <bits/fcntl-linux.h>.
14385 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14388 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14389 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14390 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14391 [__WORDSIZE != 64]: Likewise.
14393 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14395 * Makeconfig (run-built-tests): New variable.
14396 * Rules [$(cross-compiling) = yes]: Change condition to
14397 [$(run-built-tests) = no].
14398 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14399 to [$(run-built-tests) = yes].
14400 * elf/Makefile [$(cross-compiling) = no]: Likewise
14401 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14402 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14403 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14404 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14405 * io/Makefile [$(cross-compiling) = no]: Likewise.
14406 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14407 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14408 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14409 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14410 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14411 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14412 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14413 * string/Makefile [$(cross-compiling) = no]: Likewise.
14415 * posix/Makefile ($(objpfx)globtest.out): Pass
14416 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14417 $(rtld-installed-name).
14418 * posix/globtest.sh (elf_objpfx): Remove variable.
14419 (rtld_installed_name): Likewise.
14420 (library_path): Likewise.
14421 (run_program_prefix): New variable. Use for running globtest
14424 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14425 Joseph Myers <joseph@codesourcery.com>
14427 * Makeconfig (host-built-program-cmd): New variable.
14428 * elf/Makefile (tst-stackguard1-ARGS): Use
14429 $(host-built-program-cmd).
14430 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14431 (tst-spawn-ARGS): Likewise.
14432 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14434 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14435 Jim Blandy <jimb@codesourcery.com>
14437 * Makeconfig (run-via-rtld-prefix): New variable.
14438 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14439 (built-program-cmd): Likewise.
14441 2012-10-22 Andreas Jaeger <aj@suse.de>
14443 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14444 __O_RSYNC if it exists, otherwise to O_SYNC.
14446 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14447 Joseph Myers <joseph@codesourcery.com>
14449 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14451 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14453 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14456 2012-10-22 Andreas Jaeger <aj@suse.de>
14458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14463 bits/fcntl-linux.h.
14465 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14466 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14473 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14474 Joseph Myers <joseph@codesourcery.com>
14476 * config.make.in (NM): New variable.
14478 2012-10-21 Andreas Jaeger <aj@suse.de>
14480 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14481 definitions and declarations that are provided by
14482 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14484 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14487 * elf/Makefile (tests-static): Add tst-leaks1-static.
14488 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14489 ($(objpfx)tst-leaks1-static): New rule.
14490 ($(objpfx)tst-leaks1-static-mem): Likewise.
14491 (tst-leaks1-static-ENV): New macro.
14492 * elf/dl-open.c (dl_open_worker): Check the main application
14493 only if SHARED is defined.
14494 * elf/tst-leaks1-static.c: New file.
14496 2012-10-20 Andreas Jaeger <aj@suse.de>
14498 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14499 generic values for Linux.
14500 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14501 and declarations that are provided by <bits/fcntl-linux.h> and
14502 include <bits/fcntl-linux.h>.
14503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14506 2012-10-20 Roland McGrath <roland@hack.frob.com>
14508 * io/fcntl.h: Move include of <bits/types.h> to the top and
14509 include it unconditionally.
14511 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14513 * wcsmbs/Makefile (tests-ifunc): New variable.
14514 (tests): Add $(tests-ifunc).
14515 * wcsmbs/test-wcschr-ifunc.c: New file.
14516 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14517 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14518 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14519 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14520 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14522 * string/Makefile (tests-ifunc): New variable.
14523 (tests): Add $(tests-ifunc).
14524 * string/test-memccpy.c (TEST_NAME): New macro.
14525 * string/test-memchr.c (TEST_NAME): Likewise.
14526 * string/test-memcmp.c (TEST_NAME): Likewise.
14527 * string/test-memcpy.c (TEST_NAME): Likewise.
14528 * string/test-memmem.c (TEST_NAME): Likewise.
14529 * string/test-memmove.c (TEST_NAME): Likewise.
14530 * string/test-memset.c (TEST_NAME): Likewise.
14531 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14532 * string/test-stpcpy.c (TEST_NAME): Likewise.
14533 * string/test-stpncpy.c (TEST_NAME): Likewise.
14534 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14535 * string/test-strcasestr.c (TEST_NAME): Likewise.
14536 * string/test-strcat.c (TEST_NAME): Likewise.
14537 * string/test-strchr.c (TEST_NAME): Likewise.
14538 * string/test-strcmp.c(TEST_NAME): Likewise.
14539 * string/test-strcpy.c (TEST_NAME): Likewise.
14540 * string/test-strcspn.c (TEST_NAME): Likewise.
14541 * string/test-strlen.c (TEST_NAME): Likewise.
14542 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14543 * string/test-strncmp.c (TEST_NAME): Likewise.
14544 * string/test-strncpy.c (TEST_NAME): Likewise.
14545 * string/test-strnlen.c (TEST_NAME): Likewise.
14546 * string/test-strpbrk.c (TEST_NAME): Likewise.
14547 * string/test-strrchr.c (TEST_NAME): Likewise.
14548 * string/test-strspn.c (TEST_NAME): Likewise.
14549 * string/test-strstr.c (TEST_NAME): Likewise.
14550 * string/test-bcopy-ifunc.c: New file.
14551 * string/test-bzero-ifunc.c: Likewise.
14552 * string/test-memccpy-ifunc.c: Likewise.
14553 * string/test-memchr-ifunc.c: Likewise.
14554 * string/test-memcmp-ifunc.c: Likewise.
14555 * string/test-memcpy-ifunc.c: Likewise.
14556 * string/test-memmem-ifunc.c: Likewise.
14557 * string/test-memmove-ifunc.c: Likewise.
14558 * string/test-mempcpy-ifunc.c: Likewise.
14559 * string/test-memset-ifunc.c: Likewise.
14560 * string/test-rawmemchr-ifunc.c: Likewise.
14561 * string/test-stpcpy-ifunc.c: Likewise.
14562 * string/test-stpncpy-ifunc.c: Likewise.
14563 * string/test-strcasecmp-ifunc.c: Likewise.
14564 * string/test-strcasestr-ifunc.c: Likewise.
14565 * string/test-strcat-ifunc.c: Likewise.
14566 * string/test-strchr-ifunc.c: Likewise.
14567 * string/test-strchrnul-ifunc.c: Likewise.
14568 * string/test-strcmp-ifunc.c: Likewise.
14569 * string/test-strcpy-ifunc.c: Likewise.
14570 * string/test-strcspn-ifunc.c: Likewise.
14571 * string/test-strlen-ifunc.c: Likewise.
14572 * string/test-strncasecmp-ifunc.c: Likewise.
14573 * string/test-strncat-ifunc.c: Likewise.
14574 * string/test-strncmp-ifunc.c: Likewise.
14575 * string/test-strncpy-ifunc.c: Likewise.
14576 * string/test-strnlen-ifunc.c: Likewise.
14577 * string/test-strpbrk-ifunc.c: Likewise.
14578 * string/test-strrchr-ifunc.c: Likewise.
14579 * string/test-strspn-ifunc.c: Likewise.
14580 * string/test-strstr-ifunc.c: Likewise.
14582 * debug/Makefile (tests-ifunc): New variable.
14583 (tests): Add $(tests-ifunc).
14584 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14585 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14586 * debug/test-stpcpy_chk-ifunc.c: New file.
14587 * debug/test-strcpy_chk-ifunc.c: Likewise.
14589 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14592 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14593 header is not read in.
14595 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14597 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14598 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14599 directly. Pass built executable to script as
14600 $(built-program-cmd).
14601 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14602 $testprogram without using LD_LIBRARY_PATH and $ldso.
14604 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14605 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14606 $(rtld-installed-name).
14607 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14608 (rtld_installed_name): Likewise.
14609 (library_path): Likewise.
14610 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14611 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14612 $(run-program-prefix) to tst-tables.sh.
14613 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14614 it to run tst-table-from and tst-table-to.
14615 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14616 Pass it to tst-table.sh.
14617 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14618 $(run-program-prefix) to tst-gettext.sh.
14619 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14621 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14623 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14624 to run tst-gettext.
14625 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14626 to run tst-gettext2.
14627 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14628 to run tst-translit.
14629 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14630 $(run-program-prefix) to tst-mtrace.sh.
14631 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14633 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14634 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14635 $(rtld-installed-name).
14636 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14637 (rtld_installed_name): Likewise.
14638 (run_program_prefix): New variable. Use it to run wordexp-test.
14640 * Makeconfig (ARCH): Remove all definitions.
14641 (machine): Likewise.
14642 [ARCH]: Remove conditional code.
14643 [!objdir]: Give error.
14644 [!objdir] (objpfx): Remove.
14645 [!objdir] (common-objpfx): Likewise.
14646 [!objdir] (common-objdir): Likewise.
14647 * configure.in (config_makefile): Remove. Hardcode Makefile in
14648 AC_CONFIG_FILES call.
14649 * configure: Regenerated.
14652 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14654 (testout): Likewise.
14656 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14657 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14658 $(rtld-installed-name).
14659 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14660 (rtld_installed_name): Likwise.
14661 (runit): Remove function.
14662 (run_getconf): New variable, Use it for running getconf binary.
14664 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14667 * string/test-memmem.c (check_result): New function.
14668 (do_one_test): Use it.
14669 (check1): New function.
14670 (test_main): Use it.
14672 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14674 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14676 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14678 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14679 (_G_LSEEK64): Likewise.
14680 (_G_MMAP64): Likewise.
14681 (_G_FSTAT64): Likewise.
14682 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14683 (_G_LSEEK64): Likewise.
14684 (_G_MMAP64): Likewise.
14685 (_G_FSTAT64): Likewise.
14686 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14687 unconditional. Call __mmap64 directly.
14688 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14689 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14690 __lseek64 directly.
14691 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14692 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14694 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14695 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14696 __lseek64 directly.
14697 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14698 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14699 __lseek64 directly.
14700 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14701 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14702 __lseek64 directly.
14703 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14704 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14705 __fxstat64 directly.
14706 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14707 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14709 (freopen64) [!_G_OPEN64]: Remove conditional code.
14710 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14712 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14713 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14715 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14716 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14718 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14719 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14721 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14722 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14724 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14725 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14727 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14728 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14730 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14732 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14735 * manual/memory.texi (Malloc Tunable Parameters): Add note
14736 about free list pointers overwriting some perturb bytes.
14737 Wording suggested by Roland McGrath.
14739 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14741 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14742 (lgamma_test): Likewise.
14743 (tgamma_test): Likewise.
14745 2012-10-16 Florian Weimer <fweimer@redhat.com>
14748 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14749 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14751 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14753 * NEWS: Mention BZ #14716.
14754 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14755 when removing AVAILABLE1_USES_J macro.
14757 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14759 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14760 (__bswap_64): __uint64_t for unsigned 64-bit int.
14762 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14764 * include/string.h (memmem): Declare libc hidden alias.
14765 * string/memmem.c (memmem): Define libc hidden alias.
14766 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14767 __read, __close instead of open, read, close.
14769 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14772 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14774 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14775 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14776 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14778 (__rawmemchr_sse2): Likewise.
14779 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14780 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14781 (__strchr_sse2): Likewise.
14782 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14783 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14784 (__strcasecmp_sse2): Likewise.
14785 (__strncasecmp_sse2): Likewise.
14786 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14787 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14788 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14789 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14790 (__strrchr_sse2): Likewise.
14791 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14793 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14794 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14795 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14796 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14797 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14798 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14799 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14800 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14801 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14802 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14803 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14804 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14805 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14806 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14807 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14808 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14809 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14810 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14811 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14812 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14813 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14814 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14815 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14816 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14817 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14818 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14819 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14820 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14821 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14822 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14824 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14826 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14827 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14828 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14829 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14831 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14833 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14834 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14835 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14836 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14838 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14839 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14840 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14841 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14842 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14843 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14844 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14845 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14846 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14847 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14848 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14849 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14850 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14851 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14852 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14853 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14854 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14855 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14856 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14857 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14858 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14859 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14860 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14861 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14862 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14863 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14864 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14865 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14866 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14867 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14868 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14869 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14870 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14871 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14872 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14873 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14874 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14875 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14876 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14877 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14878 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14880 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14881 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14882 * include/ifunc-impl-list.h: New file.
14883 * misc/ifunc-impl-list.c: Likewise.
14884 * misc/Makefile (routines): Add ifunc-impl-list.
14885 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14886 * string/test-string.h: Include <ifunc-impl-list.h>.
14887 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14888 impl_array): New variables.
14889 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14891 (test_init): Call __libc_ifunc_impl_list to initialize
14892 func_list if TEST_IFUNC and TEST_NAME are defined.
14894 * string/Makefile (strop-tests): Add bcopy and bzero.
14895 * string/test-bcopy.c: New file.
14896 * string/test-bzero.c: Likewise.
14897 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14899 * string/test-memset.c: Support bzero test if TEST_BZERO is
14901 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14903 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14905 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14908 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14910 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14911 * configure: Regenerated.
14913 * Makeconfig (+link-static-before-libc): Don't include
14914 $(link-static-libc).
14916 * libio/libio.h (_IO_pos_t): Remove.
14918 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14920 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14923 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14925 * crypt/crypt-entry.c: Include fips-private.h.
14926 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14927 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14928 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14929 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14931 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14933 * crypt/crypt-private.h: Include stdbool.h.
14934 (_ufc_setup_salt_r): Return bool.
14935 * crypt/crypt-entry.c: Include errno.h.
14936 (__crypt_r): Return NULL with EINVAL for bad salt.
14937 * crypt/crypt_util.c (bad_for_salt): New.
14938 (_ufc_setup_salt_r): Check that salt is long enough and within
14939 the specified alphabet.
14940 * crypt/badsalttest.c: New file.
14941 * crypt/Makefile (tests): Add it.
14942 ($(objpfx)badsalttest): New.
14944 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14946 * NEWS: Add entry for BZ #14602.
14948 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14950 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14952 * math/libm-test.inc: Update comment listing what functions and
14954 (isgreater_test): New function.
14955 (isgreaterequal_test): Likewise.
14956 (isless_test): Likewise.
14957 (islessequal_test): Likewise.
14958 (islessgreater_test): Likewise.
14959 (isunordered_test): Likewise.
14960 (main): Call the new functions.
14962 2012-10-09 Roland McGrath <roland@hack.frob.com>
14964 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14965 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14966 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14967 * sysdeps/i386/configure: Regenerated.
14968 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14969 * sysdeps/mach/configure: Regenerated.
14970 * sysdeps/mach/hurd/configure: Regenerated.
14971 * sysdeps/powerpc/configure: Regenerated.
14972 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14973 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14974 * sysdeps/s390/s390-32/configure: Regenerated.
14975 * sysdeps/s390/s390-64/configure: Regenerated.
14976 * sysdeps/sh/configure: Regenerated.
14977 * sysdeps/sparc/configure: Regenerated.
14978 * sysdeps/unix/sysv/linux/configure: Regenerated.
14979 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14980 * sysdeps/x86_64/configure: Regenerated.
14982 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14983 defined. Don't check if MAP is NULL.
14985 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14987 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14988 (_G_stat64): Likewise.
14989 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14990 (_G_stat64): Likewise.
14991 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14992 instead of struct _G_stat64.
14993 * libio/fileops.c (mmap_remap_check): Likewise.
14994 (decide_maybe_mmap): Likewise.
14995 (_IO_new_file_seekoff): Likewise.
14996 (_IO_file_stat): Likewise.
14997 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14999 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15000 instead of struct _G_stat64.
15001 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15003 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15006 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15008 (CHECK_EOL): New macro.
15009 (two_way_short_needle): Check beginning of haystack for EOL. Use
15011 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15012 Replace with CHECK_EOL.
15013 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15014 Replace with CHECK_EOL.
15016 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15018 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15020 * math/libm-test.inc: Update comment listing what functions and
15022 (finite_test): New function.
15023 (isinf_test): Likewise.
15024 (isnan_test): Likewise.
15025 (fpclassify_test): Test subnormal input.
15026 (isfinite_test): Likewise.
15027 (isnormal_test): Likewise.
15028 (main): Call the new functions.
15030 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15033 * Makerules (%.dynsym): Force C locale when running
15034 $(OBJDUMP) --dynamic-syms.
15036 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15038 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15041 2012-10-06 David S. Miller <davem@davemloft.net>
15043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15044 upper 32-bits of the length value in %o2 since we use branch-on-register
15045 tests which consider the entire 64-bit register.
15047 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15049 * string/test-strstr.c (check2): Add a test for page boundary.
15051 2012-10-05 David S. Miller <davem@davemloft.net>
15053 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15054 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15056 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15058 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15059 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15060 and bzero when HWCAP_SPARC_CRYPTO is present.
15062 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15065 * string/test-strstr.c (check2): New function.
15066 (test_main): Call check2.
15068 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15070 * string/bug-strcasestr1.c (do_test): Moved to ...
15071 * string/test-strcasestr.c (check1): Here. New function.
15072 (do_one_test): Break out result checking code into ...
15073 (check_result): This. New function.
15074 (do_one_test): Call check_result.
15075 (test_main): Call check1.
15076 * string/bug-strchr1.c (do_test): Moved to ...
15077 * string/test-strchr.c (check1): Here. New function.
15078 (do_one_test): Break out result checking code into ...
15079 (check_result): This. New function.
15080 (do_one_test): Call check_result.
15081 (test_main): Call check1.
15082 * string/bug-strstr1.c (main): Moved to ...
15083 * string/test-strstr.c (check1): Here. New function.
15084 (do_one_test): Break out result checking code into ...
15085 (check_result): This. New function.
15086 (do_one_test): Call check_result.
15087 (test_main): Call check1.
15088 * string/bug-strcasestr1.c: Removed.
15089 * string/bug-strchr1.c: Likewise.
15090 * string/bug-strstr1.c: Likewise.
15092 * elf/Makefile (dl-routines): Add hwcaps.
15093 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15094 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15095 (_dl_important_hwcaps): Moved to ...
15096 * elf/dl-hwcaps.c: Here. New file.
15097 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15100 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15101 if IS_IN_rtld isn't defined.
15103 * elf/dl-support.c (_dl_sysinfo_map): New.
15104 Include "get-dynamic-info.h" and "setup-vdso.h".
15105 (_dl_non_dynamic_init): Call setup_vdso.
15106 * elf/dynamic-link.h: Don't include <assert.h>.
15107 (elf_get_dynamic_info): Moved to ...
15108 * elf/get-dynamic-info.h: Here. New file.
15109 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15110 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15111 * elf/setup-vdso.h: Here. New file.
15112 * elf/rtld.c: Include "setup-vdso.h".
15113 (dl_main): Call setup_vdso.
15115 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15117 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15118 creal in comment listing functions tested. List finite, isinf,
15119 isnan, isless, islessequal, isgreater, isgreaterequal,
15120 islessgreater, isunordered, lgamma_r and pow10 as functions and
15121 macros not tested. Mention which functions not tested are aliases
15122 for other functions. Fix typo. Note that signs of NaNs are not
15125 * scripts/config.guess: Update from config.git.
15126 * scripts/config.sub: Likewise.
15128 2012-10-04 Roland McGrath <roland@hack.frob.com>
15130 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15131 * misc/madvise.c (madvise): Renamed to __madvise.
15132 Make madvise a weak alias.
15133 * include/sys/mman.h: Declare __madvise.
15134 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15135 * sysdeps/unix/syscalls.list
15136 (madvise): Make __madvise the strong name, and madvise a weak alias.
15137 * sysdeps/unix/sysv/linux/syscalls.list
15138 (madvise, mmap): Remove redundant entries.
15139 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15140 * malloc/malloc.c (mtrim): Likewise.
15141 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15143 2012-10-03 Roland McGrath <roland@hack.frob.com>
15145 * sysdeps/mach/hurd/dl-cache.c: File removed.
15146 * config.h.in (USE_LDCONFIG): New #undef.
15147 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15148 * configure: Regenerated.
15149 * elf/Makefile (dl-routines): Add dl-cache only under
15150 [$(use-ldconfig) = yes].
15151 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15152 cache on [USE_LDCONFIG].
15153 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15155 * elf/rtld.c (dl_main): Likewise.
15157 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15159 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15160 _SC_LEVEL4_CACHE_LINESIZE.
15162 2012-10-03 Roland McGrath <roland@hack.frob.com>
15164 * sysdeps/unix/bsd/confstr.h: File removed.
15166 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15168 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15171 2012-10-02 Roland McGrath <roland@hack.frob.com>
15173 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15174 Make 'mapoff' field ElfW(Off) rather than off_t.
15176 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15178 * nscd/Makefile: Remove nscd-cflags and all its users.
15179 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15180 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15183 * malloc.c (malloc_printerr): Clarify error message.
15185 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15189 Set bit_FMA_Usable if FMA is supported.
15190 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15192 (bit_FMA4_Usable): Updated.
15193 (index_FMA_Usable): New macro.
15194 (CPUID_FMA): Likewise
15195 (HAS_FMA): Defined with bit_FMA_Usable.
15197 2012-10-01 Roland McGrath <roland@hack.frob.com>
15199 * bits/types.h (__swblk_t): Type removed.
15200 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15201 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15203 (__SWBLK_T_TYPE): Likewise.
15204 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15205 (__SWBLK_T_TYPE): Likewise.
15206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15207 (__SWBLK_T_TYPE): Likewise.
15208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15209 (__SWBLK_T_TYPE): Likewise.
15211 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15212 Honza Horak <hhorak@redhat.com>
15214 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15215 (xdr_mapname): Use YPMAXMAP as maxsize.
15216 (xdr_peername): Use YPMAXPEER as maxsize.
15217 (xdr_keydat): Use YPAXRECORD as maxsize.
15218 (xdr_valdat): Use YPMAXRECORD as maxsize.
15220 2012-10-01 Roland McGrath <roland@hack.frob.com>
15222 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15224 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15225 * csu/init-first.c: ... here.
15226 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15227 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15228 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15229 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15230 * sysdeps/i386/init-first.c: File removed.
15231 * sysdeps/sh/init-first.c: File removed.
15233 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15237 if x * y might underflow to zero and z is zero.
15238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15240 * math/libm-test.inc (min_subnorm_value): New variable.
15241 (fma_test): Add more tests.
15242 (fma_test_towardzero): Likewise.
15243 (fma_test_downward): Likewise
15244 (fma_test_upward): Likewise.
15245 (initialize): Set min_subnorm_value.
15247 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15252 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15253 mode for addition resulting in exact zero.
15254 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15257 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15259 * math/libm-test.inc (fma_test): Add more tests.
15260 (fma_test_towardzero): New function.
15261 (fma_test_downward): Likewise.
15262 (fma_test_upward): Likewise.
15263 (main): Call the new functions.
15265 2012-09-28 David S. Miller <davem@davemloft.net>
15267 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15269 2012-09-28 Roland McGrath <roland@hack.frob.com>
15271 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15272 instead of SIGALRM.
15274 * sysdeps/gnu/_G_config.h: Moved to ...
15275 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15276 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15277 * sysdeps/generic/_G_config.h: ... here.
15279 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15281 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15283 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15284 Conditionalize target on [libnss_test1.so-version].
15286 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15288 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15289 (elfobjdir): Move out of conditionals.
15291 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15292 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15293 (__nss_lookup_function): Conditionalize label remove_from_tree on
15294 [!DO_STATIC_NSS || SHARED], matching its only use.
15296 2012-09-28 David S. Miller <davem@davemloft.net>
15298 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15299 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15301 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15303 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15305 when HWCAP_SPARC_CRYPTO is present.
15307 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15309 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15311 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15314 * stdio-common/vfprintf.c (process_string_arg): Revert
15317 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15319 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15321 * stdio-common/tst-sprintf.c: Include <locale.h>
15322 (main): Test sprintf's handling of incomplete multibyte
15325 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15327 * elf/dl-runtime.c (VERSYMIDX): Removed.
15328 * elf/dl-version.c (VERSYMIDX): Likewise.
15329 * elf/do-rel.h (VERSYMIDX): Likewise.
15330 (VALIDX): Likewise.
15331 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15332 * elf/rtld.c (VALIDX): Likewise.
15333 (ADDRIDX): Likewise.
15334 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15335 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15336 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15337 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15338 (VALIDX): Likewise.
15339 (ADDRIDX): Likewise.
15341 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15343 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15345 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15348 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15350 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15351 addresses are in the same scope as 192.0.2/24.
15352 * posix/gai.conf: Document new scope table defaults.
15354 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15357 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15358 for ftell. Compute offsets from write pointers instead.
15359 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15361 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15364 * libio/Makefile (tests): New test case tst-fseek.
15365 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15366 combination works in wide mode.
15367 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15368 state when the external buffer state changes.
15370 2012-09-27 David S. Miller <davem@davemloft.net>
15373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15374 pass reloc->r_addend in as the 'high' argument to
15375 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15379 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15381 * rt/tst-aio2.c: Include <pthread.h>.
15382 * rt/tst-aio3.c: Likewise.
15384 2012-09-27 Steve Ellcey <sellcey@mips.com>
15386 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15388 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15390 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15391 contents on [SHARED].
15393 2012-09-26 Marek Polacek <polacek@redhat.com>
15397 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15398 for C++ and GCC <4.3 as well as for non GCC compilers.
15400 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15404 2012-09-25 Roland McGrath <roland@hack.frob.com>
15406 * Makefile.in (all, install): Declare with .PHONY.
15407 Reported by Michael Hope <michael.hope@linaro.org>.
15409 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15411 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15412 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15414 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15416 (sydep_routines): Add the new and the internal functions.
15417 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15418 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15420 (GLIBC_2.17): Add the new function.
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15422 (GLIBC_2.17): Likewise.
15423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15424 (GLIBC_2.17): Likewise.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15426 (GLIBC_2.17): Likewise.
15427 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15429 2012-09-25 Alan Modra <amodra@gmail.com>
15431 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15432 Add release barrier before setting once_control to say
15433 initialisation is done. Add hints on lwarx. Use macro in
15435 (clear_once_control): Add release barrier.
15437 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15440 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15442 * math/s_clog10.c (__clog10): Likewise.
15443 * math/s_clog10f.c (__clog10f): Likewise.
15444 * math/s_clog10l.c (__clog10l): Likewise.
15445 * math/s_clogf.c (__clogf): Likewise.
15446 * math/s_clogl.c (__clogl): Likewise.
15447 * math/Makefile (libm-calls): Add x2y2m1.
15448 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15449 (__x2y2m1): Likewise.
15450 (__x2y2m1l): Likewise.
15451 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15452 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15457 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15458 * sysdeps/i386/fpu/libm-test-ulps: Update.
15459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15462 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15463 int as type of variable DEPTH.
15464 (glob): Use size_t instead of int as type of variables NEWCOUNT
15467 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15469 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15470 Add s_sincosf-sse2.
15471 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15472 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15473 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15474 macros for using routine as __sincosf_ia32.
15475 Use macro for function declaration and weak_alias.
15476 * sysdeps/i386/fpu/libm-test-ulps: Update.
15478 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15481 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15482 subnormal argument.
15483 * math/s_cexpf.c (__cexpf): Likewise.
15484 * math/s_csinf.c (__csinf): Likewise.
15485 * math/s_csinhf.c (__csinhf): Likewise.
15486 * math/s_ctanf.c (__ctanf): Likewise.
15487 * math/s_ctanhf.c (__ctanhf): Likewise.
15488 * math/s_ccosh.c (__ccoshf): Likewise.
15489 * math/s_cexp.c (__cexpl): Likewise.
15490 * math/s_csin.c (__csin): Likewise.
15491 * math/s_csinh.c (__csinh): Likewise.
15492 * math/s_ctan.c (__ctan): Likewise.
15493 * math/s_ctanh.c (ctanh): Likewise.
15494 * math/s_ccoshl.c (__ccoshl): Likewise.
15495 * math/s_cexpl.c (__cexpl): Likewise.
15496 * math/s_csinl.c (__csinl): Likewise.
15497 * math/s_csinhl.c (__csinhl): Likewise.
15498 * math/s_ctanl.c (__ctanl): Likewise.
15499 * math/s_ctanhl.c (__ctanhl): Likewise.
15501 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15503 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15504 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15505 (_IO_off_t): Define to __off_t, not _G_off_t.
15506 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15507 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15508 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15509 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15510 type of __dummy and __dummy2 fields.
15511 * sysdeps/generic/_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.
15518 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15519 (_G_ssize_t): Likewise.
15520 (_G_off_t): Likewise.
15521 (_G_pid_t): Likewise.
15522 (_G_uid_t): Likewise.
15523 (_G_wchar_t): Likewise.
15524 (_G_wint_t): Likewise.
15525 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15526 (_G_ssize_t): Likewise.
15527 (_G_off_t): Likewise.
15528 (_G_pid_t): Likewise.
15529 (_G_uid_t): Likewise.
15530 (_G_wchar_t): Likewise.
15531 (_G_wint_t): Likewise.
15533 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15535 * malloc/arena.c: Include malloc-sysdep.h.
15536 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15537 is sufficient to shrink the heap or an unmap is needed.
15538 * sysdeps/generic/malloc-sysdep.h: New file. Define
15539 new function check_may_shrink_heap.
15540 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15541 new function check_may_shrink_heap.
15543 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15545 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15548 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15550 * catgets/test-gencat.sh: Add "set -e".
15551 * elf/tst-pathopt.sh: Likewise.
15552 * grp/tst_fgetgrent.sh: Likewise.
15553 * iconvdata/run-iconv-test.sh: Likewise.
15554 * intl/tst-gettext.sh: Likewise.
15555 * intl/tst-gettext2.sh: Likewise.
15556 * intl/tst-gettext4.sh: Likewise.
15557 * intl/tst-gettext6.sh: Likewise.
15558 * intl/tst-translit.sh: Likewise.
15559 * io/ftwtest-sh: Likewise.
15560 * libio/test-freopen.sh: Likewise.
15561 * malloc/tst-mtrace.sh: Likewise.
15562 * posix/globtest.sh: Likewise.
15563 * posix/tst-getconf.sh: Likewise.
15564 * posix/wordexp-tst.sh: Likewise.
15565 * stdio-common/tst-printf.sh: Likewise.
15566 * stdio-common/tst-unbputc.sh: Likewise.
15567 * stdlib/tst-fmtmsg.sh: Likewise.
15568 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15569 * catgets/Makefile: Do not specify -e option when running
15570 testsuite shell scripts.
15571 * elf/Makefile: Likewise.
15572 * grp/Makefile: Likewise.
15573 * iconvdata/Makefile: Likewise.
15574 * intl/Makefile: Likewise.
15575 * io/Makefile: Likewise.
15576 * libio/Makefile: Likewise.
15577 * malloc/Makefile: Likewise.
15578 * posix/Makefile: Likewise.
15579 * stdio-common/Makefile: Likewise.
15580 * stdlib/Makefile: Likewise.
15581 * sysdeps/x86_64/Makefile: Likewise.
15583 * io/ftwtest-sh: Add copyright header.
15584 * posix/globtest.sh: Likewise.
15585 * posix/tst-getconf.sh: Likewise.
15586 * posix/wordexp-tst.sh: Likewise.
15587 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15589 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15592 * Makeconfig (+link): Defined as $(+link-static) if
15593 $(build-shared) isn't yes.
15594 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15596 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15598 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15601 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15602 new chunk size with MALLOC_ALIGN_MASK.
15604 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15607 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15609 (__printf_fphex): Determine rounding using get_rounding_mode and
15611 * stdio-common/tst-printf-round.c (struct hex_test): New
15613 (hex_tests): New variable.
15614 (test_hex_in_one_mode): New function.
15615 (do_test): Also run tests for hex float output.
15617 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15619 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15620 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15621 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15622 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15623 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15624 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15625 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15626 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15628 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15630 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15631 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15632 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15633 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15635 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15638 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15640 * elf/tst-rtld-load-self.sh: New test.
15641 * elf/Makefile: Run it.
15643 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15645 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15646 (tst-writev-ENV): Remove.
15647 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15649 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15651 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15653 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15655 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15657 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15659 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15660 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15661 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15664 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15667 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15668 * config.make.in (have-cpp-asm-debuginfo): Removed.
15669 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15670 * configure: Regenerated.
15672 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15675 * stdio-common/printf_fp.c: Include <stdbool.h> and
15677 (___printf_fp): Determine rounding using get_rounding_mode and
15679 * stdio-common/tst-printf-round.c: New file.
15680 * stdio-common/Makefile (tests): Add tst-printf-round.
15681 (link-libm): New variable.
15682 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15684 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15687 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15688 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15690 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15693 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15695 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15696 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15697 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15698 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15700 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15703 * include/rounding-mode.h: New file.
15704 * sysdeps/generic/get-rounding-mode.h: Likewise.
15705 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15706 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15707 (MAX_VALUE): New macro.
15708 (MIN_VALUE): Likewise.
15709 (overflow_value): New function.
15710 (underflow_value): Likewise.
15711 (round_and_return): Use overflow_value and underflow_value to
15712 determine return values in overflow and underflow cases. Use
15713 round_away to determine rounding depending on rounding mode.
15714 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15715 determine return values in overflow and underflow cases.
15716 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15717 (struct test_results): New structure.
15718 (struct test): Use struct test_results to store expected results
15719 for all rounding modes.
15720 (TEST): Include expected results for all rounding modes.
15721 (test_in_one_mode): New function.
15722 (do_test): Use test_in_one_mode to compute and check results.
15723 Check results for all rounding modes.
15724 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15727 2012-12-09 Allan McRae <allan@archlinux.org>
15729 * sysdeps/i386/fpu/libm-test-ulps: Update
15731 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15733 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15734 (_G_int32_t): Likewise.
15735 (_G_uint16_t): Likewise.
15736 (_G_uint32_t): Likewise.
15737 (_G_HAVE_BOOL): Likewise.
15738 (_G_HAVE_ATEXIT): Likewise.
15739 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15740 (_G_HAVE_IO_FILE_OPEN): Likewise.
15741 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15742 (_G_int32_t): Likewise.
15743 (_G_uint16_t): Likewise.
15744 (_G_uint32_t): Likewise.
15745 (_G_HAVE_BOOL): Likewise.
15746 (_G_HAVE_ATEXIT): Likewise.
15747 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15748 (_G_HAVE_IO_FILE_OPEN): Likewise.
15749 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15750 (_G_int32_t): Likewise.
15751 (_G_uint16_t): Likewise.
15752 (_G_uint32_t): Likewise.
15753 (_G_HAVE_BOOL): Likewise.
15754 (_G_HAVE_ATEXIT): Likewise.
15755 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15756 (_G_HAVE_IO_FILE_OPEN): Likewise.
15758 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15760 * csu/libc-tls.c: Update copyright years.
15762 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15764 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15765 [!_G_USING_THUNKS]: Remove conditional code.
15766 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15767 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15769 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15770 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15771 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15772 (_G_VTABLE_LABEL_PREFIX): Likewise.
15773 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15774 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15775 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15776 (_G_VTABLE_LABEL_PREFIX): Likewise.
15777 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15778 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15779 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15780 (_G_VTABLE_LABEL_PREFIX): Likewise.
15781 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15783 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15785 * libio/Makefile: Include ../Makeconfig before tests.
15786 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15787 only if $(build-shared) is yes.
15789 * iconv/gconv_db.c: Update copyright years.
15791 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15793 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15794 unwind info if defined PIC. Fix special cases description.
15795 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15797 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15799 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15801 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15803 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15805 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15808 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15809 (LDLIBS-tst-chk4): This.
15810 (LDFLAGS-tst-chk5): Renamed to ...
15811 (LDLIBS-tst-chk5): This.
15812 (LDFLAGS-tst-chk6): Renamed to ...
15813 (LDLIBS-tst-chk6): This.
15814 (LDFLAGS-tst-lfschk4): Renamed to ...
15815 (LDLIBS-tst-lfschk4): This.
15816 (LDFLAGS-tst-lfschk5): Renamed to ...
15817 (LDLIBS-tst-lfschk5): This.
15818 (LDFLAGS-tst-lfschk6): Renamed to ...
15819 (LDLIBS-tst-lfschk6): This.
15821 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15822 on $(common-objpfx)soversions.mk.
15824 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15827 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15830 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 * malloc/arena.c (arena_get_retry): New function that gets
15833 another arena for the caller to try its request on.
15834 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15835 current arena cannot fulfill the request.
15836 (__libc_memalign): Likewise.
15837 (__libc_memalign): Likewise.
15838 (__libc_pvalloc): Likewise.
15839 (__libc_calloc): Likewise.
15841 2012-09-05 John Tobey <john.tobey@gmail.com>
15844 * manual/arith.texi (Operations on Complex): Fix description
15845 of carg branch cut.
15847 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15850 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15854 * manual/memory.texi (Memory): Make order of menu items match
15857 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15859 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15860 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15861 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15863 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15865 * csu/libc-tls.c (static_dtv): Renamed to ...
15866 (_dl_static_dtv): This. Make it global.
15867 (_dl_initial_dtv): Removed.
15868 (__libc_setup_tls): Updated.
15869 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15870 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15873 2012-09-06 Petr Machata <pmachata@redhat.com>
15875 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15876 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15877 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15878 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15880 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15883 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15884 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15887 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15890 * Makeconfig (link-static-before-libc): Replace $(+prector)
15892 (link-static-after-libc): Replace $(+postctor) with
15894 (link-bounded): Replace $(+prector)/$(+postctor) with
15895 $(+prectorT)/$(+postctorT).
15896 (+prectorT): New macro.
15897 (+postctorT): Likewise.
15899 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15901 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15902 (round_str): Handle values above the maximum for IBM long double
15904 * stdlib/tst-strtod-round.c (tests): Regenerated.
15906 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15908 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15910 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15911 zarch_nohighgprs around the zarch optimized routines.
15912 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15913 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15914 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15917 2012-09-05 David S. Miller <davem@davemloft.net>
15919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15921 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15922 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15923 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15924 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15927 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15929 * malloc/arena.c: Fold copyright years.
15930 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15932 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15934 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15936 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15938 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15940 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15942 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15943 change internal state upon failure.
15945 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15947 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15948 * malloc/memusage.c (mmap): Likewise.
15949 (mmap64, mremap): Likewise. Adjust name in comment.
15951 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15953 * libio/fileops.c: Fix typos in comments.
15954 * libio/oldfileops.c: Likewise.
15955 * libio/wfileops.c: Likewise.
15957 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15960 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15961 (tst-malloc-usable-ENV): Set environment for test case.
15962 * malloc/hooks.c (malloc_check_get_size): New function to get
15964 * malloc/malloc.c (musable): Use malloc_check_get_size.
15965 * malloc/tst-malloc-usable.c: New test case.
15967 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15969 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15971 2012-09-05 Allan McRae <allan@archlinux.org>
15974 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15975 determine header location.
15976 * configure: Regenerated.
15978 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15980 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15982 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15983 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15985 (test): Regenerate.
15987 2012-09-04 David S. Miller <davem@davemloft.net>
15989 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15990 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15991 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15993 2012-09-04 Florian Weimer <fweimer@redhat.com>
15995 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15998 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16000 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16003 * libio/iogetdelim.c: Include <limits.h>.
16004 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16005 + len + 1 would overflow.
16007 2012-09-03 Andreas Jaeger <aj@suse.de>
16009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16010 * sysdeps/i386/fpu/libm-test-ulps: Update.
16012 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16014 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16015 Add s_sinf-sse2, s_conf-sse2.
16017 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16018 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16019 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16020 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16022 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16023 for using routine as __sinf_ia32.
16024 Use macro for function declaration and weak_alias.
16025 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16026 for using routine as __cosf_ia32.
16027 Use macro for function declaration and weak_alias.
16029 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16030 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16032 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16033 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16036 * math/libm-test.inc (cos_test): Add more test cases.
16037 (sin_test): Likewise.
16038 (sincos_test): Likewise.
16040 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16042 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16043 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16045 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16047 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16050 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16051 first element of the GOT.
16052 (elf_machine_load_address): Return the difference between
16053 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16055 2012-09-01 Allan McRae <allan@archlinux.org>
16058 * configure.in (AWK): Require gawk version 3.0 or later.
16059 * configure: Regenerated.
16061 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16063 * sysdeps/unix/sysv/linux/kernel-features.h
16064 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16066 [__NR_clock_getres]: Make code unconditional.
16067 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16068 (clock_getcpuclockid): Remove code left unreachable by removal of
16070 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16071 code unconditional.
16072 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16073 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16074 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16075 Make code unconditional.
16076 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16077 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16078 * sysdeps/unix/sysv/linux/clock_settime.c
16079 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16081 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16082 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16084 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16087 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16088 scripts/test-installation.pl.
16090 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16091 and $ld_so_version if it is set.
16093 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16097 failure if reading from procfs failed.
16098 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16100 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16102 * sysdeps/unix/sysv/linux/kernel-features.h
16103 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16104 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16105 Remove conditional code.
16106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16107 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16108 Remove conditional code.
16109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16110 * sysdeps/unix/sysv/linux/i386/fxstat.c
16111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16113 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16114 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16116 * sysdeps/unix/sysv/linux/i386/lxstat.c
16117 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16119 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16120 Remove conditional code.
16121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16122 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16123 Remove conditional code.
16124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16125 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16126 <kernel-features.h>.
16127 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16129 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16130 Remove conditional code.
16131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16132 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16133 Remove conditional.
16135 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16138 * NEWS: Add fixed bug number.
16140 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16143 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16144 underflowing exponent in case of negative sign.
16145 * stdlib/tst-strtod-round-data: Add more tests.
16146 * stdlib/tst-strtod-round.c (tests): Regenerated.
16149 * stdlib/strtod_l.c (NDIG): Remove.
16150 (HEXNDIG): Likewise.
16151 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16152 smallest representable value.
16153 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16154 lie within an exact representation of 1/2 ulp of the result.
16155 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16157 (TENS_P9_IDX): Define unconditionally.
16158 (TENS_P9_SIZE): Likewise.
16159 (TENS_P10_IDX): Likewise.
16160 (TENS_P10_SIZE): Likewise.
16161 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16162 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16163 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16164 entries for 10^2^13 and 10^2^14.
16165 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16166 (TENS_P13_IDX): Define.
16167 (TENS_P13_SIZE): Likewise.
16168 (TENS_P14_IDX): Likewise.
16169 (TENS_P14_SIZE): Likewise.
16170 (_fpioconst_pow10): Change array size to
16171 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16173 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16174 1024]: Add entries for 10^2^13 and 10^2^14.
16175 [LAST_POW10 > _LAST_POW10]: Remove #error.
16176 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16177 (_fpioconst_pow10): Change array size to
16178 FPIOCONST_POW10_ARRAY_SIZE.
16179 * stdlib/gen-fpioconst.c: New file.
16180 * stdlib/gen-tst-strtod-round.c: Likewise.
16181 * stdlib/tst-strtod-round-data: Likewise.
16182 * stdlib/tst-strtod-round.c: Likewise.
16183 * stdlib/Makefile (tests): Add tst-strtod-round.
16186 * stdlib/strtod_l.c: Include <stdint.h>.
16187 (NDEBUG): Do not define.
16188 (round_and_return): Change EXPONENT parameter to type intmax_t.
16189 Rearrange calculations to avoid internal overflow possibilities.
16190 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16191 Rearrange calculations to avoid internal overflow possibilities.
16192 Assert that number fits inside MPNSIZE limbs.
16193 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16194 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16195 calculations and add assertions to avoid internal overflow
16196 possibilities. Add casts to avoid signed/unsigned operations.
16197 * stdlib/tst-strtod-overflow.c: New file.
16198 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16200 2012-08-25 Marek Polacek <polacek@redhat.com>
16202 * time/time.h: Fix some typos in comments.
16204 2012-08-23 Roland McGrath <roland@hack.frob.com>
16206 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16207 * posix/tst-rfc3484-2.c: Likewise.
16208 * posix/tst-rfc3484-3.c: Likewise.
16210 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16212 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16213 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16215 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16217 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16218 #include of fxstatat64.c.
16220 2012-08-22 Roland McGrath <roland@hack.frob.com>
16222 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16223 * shadow/getspent_r.c: Likewise.
16224 * shadow/getspnam.c: Likewise.
16225 * shadow/getspnam_r.c: Likewise.
16226 * gshadow/getsgent.c: Likewise.
16227 * gshadow/getsgent_r.c: Likewise.
16228 * gshadow/getsgnam.c: Likewise.
16229 * gshadow/getsgnam_r.c: Likewise.
16230 * inet/getnetbyad.c: Likewise.
16231 * inet/getnetbyad_r.c: Likewise.
16232 * inet/getnetbynm.c: Likewise.
16233 * inet/getnetbynm_r.c: Likewise.
16234 * inet/getnetent.c: Likewise.
16235 * inet/getnetent_r.c: Likewise.
16236 * inet/getproto.c: Likewise.
16237 * inet/getproto_r.c: Likewise.
16238 * inet/getprtent.c: Likewise.
16239 * inet/getprtent_r.c: Likewise.
16240 * inet/getprtname.c: Likewise.
16241 * inet/getprtname_r.c: Likewise.
16242 * inet/getrpcbyname.c: Likewise.
16243 * inet/getrpcbyname_r.c: Likewise.
16244 * inet/getrpcbynumber.c: Likewise.
16245 * inet/getrpcbynumber_r.c: Likewise.
16246 * inet/getrpcent.c: Likewise.
16247 * inet/getrpcent_r.c: Likewise.
16248 * inet/getaliasent.c: Likewise.
16249 * inet/getaliasent_r.c: Likewise.
16250 * inet/getaliasname.c: Likewise.
16251 * inet/getaliasname_r.c: Likewise.
16252 * nscd/getgrgid_r.c: Likewise.
16253 * nscd/getgrnam_r.c: Likewise.
16254 * nscd/gethstbyad_r.c: Likewise.
16255 * nscd/gethstbynm3_r.c: Likewise.
16256 * nscd/getpwnam_r.c: Likewise.
16257 * nscd/getpwuid_r.c: Likewise.
16258 * nscd/getsrvbynm_r.c: Likewise.
16259 * nscd/getsrvbypt_r.c: Likewise.
16260 * nscd/gai.c: Likewise.
16262 * configure.in (build_nscd): New substituted variable, set
16263 by --disable-build-nscd and defaults to $use_nscd.
16264 * configure: Regenerated.
16265 * config.make.in (build-nscd): New substituted variable.
16266 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16267 Change conditional to require [$(build-nscd) = yes] as well.
16268 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16271 * configure.in (use_nscd): New substituted variable, set by
16272 --disable-nscd. If enabled, define USE_NSCD.
16273 * configure: Regenerated.
16274 * config.h.in: Add USE_NSCD.
16275 * config.make.in (use-nscd): New substituted variable.
16276 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16277 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16278 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16279 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16280 (CFLAGS-getgrnam_r.c): Likewise.
16281 (CFLAGS-initgroups.c): Likewise.
16282 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16283 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16285 * inet/getnetgrent_r.c
16286 (nscd_setnetgrent): New function, broken out of ...
16287 (setnetgrent): ... here. Call it.
16288 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16289 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16290 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16291 * nscd/Makefile (routines, aux): Move definitions after include of
16292 Makeconfig. Conditionalize on [$(use-nscd) != no].
16293 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16294 Conditionalize on [USE_NSCD].
16295 (is_nscd, nscd_init_cb): Likewise.
16296 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16297 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16298 * nss/nss_db/db-init.c: Likewise.
16299 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16301 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16302 (make_request): Use it.
16303 (cache_valid_p): New function.
16304 (__check_pf): Use it.
16305 * NEWS: Add item for --disable-nscd.
16307 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16309 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16310 to support sed >= 4.2.1-20-ga9bf076.
16311 * configure: Regenerated.
16313 2012-08-22 Roland McGrath <roland@hack.frob.com>
16315 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16316 Conditionalize whole body on [IREL].
16318 2012-08-22 Jeff Law <law@redhat.com>
16321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16322 if the family is PF_UNSPEC.
16324 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16326 * Makerules (lib-version): Rename from V.
16327 (install-lib-nosubdir): Change V to lib-version.
16329 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16332 * powerpc32/power6/wcschr.c: New file.
16333 * powerpc32/power6/wcscpy.c: New file.
16334 * powerpc32/power6/wcsrchr.c: New file.
16335 * powerpc64/power6/wcschr.c: New file.
16336 * powerpc64/power6/wcscpy.c: New file.
16337 * powerpc64/power6/wcsrchr.c: New file.
16339 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16341 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16342 (two_way_short_needle): Use it.
16343 * string/strstr.c (AVAILABLE1_USES_J): Define.
16344 * string/strcasestr.c: Likewise.
16346 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16348 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16351 * NEWS: Add an entry.
16352 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16353 define their defaults.
16354 (two_way_short_needle): Detect end-of-string on-the-fly.
16355 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16356 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16357 * string/bug-strcasestr1.c: New test.
16358 * string/Makefile: Run it.
16360 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16363 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16364 the first character.
16366 2012-08-21 Roland McGrath <roland@hack.frob.com>
16368 * csu/elf-init.c (__libc_csu_irel): Function removed.
16369 * csu/libc-start.c (apply_irel): New function.
16370 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16372 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16374 * sysdeps/unix/sysv/linux/kernel-features.h
16375 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16376 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16377 <kernel-features.h>.
16378 [__NR_fadvise64_64]: Make code unconditional.
16379 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16380 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16381 !__NR_fadvise64_64)]: Likewise.
16382 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16383 !__NR_fadvise64_64))]: Likewise.
16384 [__NR_fadvise64]: Make code unconditional.
16385 [!__NR_fadvise64]: Remove conditional code.
16386 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16387 <kernel-features.h>.
16388 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16390 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16393 not include <kernel-features.h>.
16394 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16396 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16398 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16399 include <kernel-features.h>.
16400 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16402 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16405 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16407 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16408 slight instruction rearrangements per scrollpipe analysis.
16409 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16411 2012-08-20 Roland McGrath <roland@hack.frob.com>
16413 * manual/syslog.texi (syslog; vsyslog, closelog):
16414 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16415 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16417 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16418 DSOCAPS to match condition on defining it.
16420 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16422 * sysdeps/unix/sysv/linux/kernel-features.h
16423 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16428 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16429 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16431 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16432 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16434 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16435 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16437 * sysdeps/unix/sysv/linux/kernel-features.h
16438 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16439 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16441 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16442 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16443 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16444 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16445 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16446 Make code unconditional.
16447 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16448 (__mmap64) [!__NR_mmap2]: Likewise.
16449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16450 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16451 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16453 [__NR_mmap2]: Make code unconditional.
16454 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16455 (__mmap64) [!__NR_mmap2]: Likewise.
16457 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16459 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16461 2012-08-18 Andreas Jaeger <aj@suse.de>
16463 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16465 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16467 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16468 * include/unistd.h (__have_sock_cloexec): Likewise.
16469 (__have_pipe2): Likewise.
16470 (__have_dup3): Likewise.
16472 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16475 * include/unistd.h (__have_pipe2): Change define into an extern int.
16476 (__have_dup3): Likewise.
16477 * socket/have_sock_cloexec.c: Include fcntl.h.
16478 (__have_pipe2): New variable.
16479 (__have_dup3): Likewise.
16481 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16483 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16485 2012-08-17 Marek Polacek <polacek@redhat.com>
16487 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16488 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16490 2012-08-17 Roland McGrath <roland@hack.frob.com>
16492 * configure.in: Add AC_SUBST for sysheaders.
16493 * configure: Regenerated.
16494 * config.make.in (sysheaders): New substituted variable.
16496 * sysdeps/unix/mkfifo.c: Moved ...
16497 * sysdeps/posix/mkfifo.c: ... here.
16498 * sysdeps/unix/mkfifoat.c: Moved ...
16499 * sysdeps/posix/mkfifoat.c: ... here.
16501 * sysdeps/unix/utime.c: Moved ...
16502 * sysdeps/posix/utime.c: ... here.
16504 * sysdeps/unix/time.c: Moved ...
16505 * sysdeps/posix/time.c: ... here.
16506 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16507 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16509 * sysdeps/unix/nice.c: Moved ...
16510 * sysdeps/posix/nice.c: ... here.
16512 * sysdeps/unix/alarm.c: Moved ...
16513 * sysdeps/posix/alarm.c: ... here.
16515 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16517 2012-08-17 Jeff Law <law@redhat.com>
16519 * intl/Makefile (codeset_mo): New variable.
16520 ($(codeset_mo)): New target.
16521 (tst-codeset.out): Depend on that. Remove explicit rule.
16522 (tst-gettext3.out, tst-gettext5.out): Likewise.
16523 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16524 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16525 * intl/tst-codeset.sh: Remove.
16526 * intl/tst-gettext3.sh: Likewise.
16527 * intl/tst-gettext5.sh: Likewise.
16529 2012-08-17 Roland McGrath <roland@hack.frob.com>
16531 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16532 * sysdeps/unix/syscalls.list: ... here.
16534 * sysdeps/posix/getaddrinfo.c
16535 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16536 (gaiconf_init, gaiconf_reload): Use them.
16537 [!_STATBUF_ST_NSEC]
16538 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16539 Define using time_t rather than struct timespec.
16541 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16542 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16544 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16546 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16547 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16550 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16551 __libc_cleanup_push argument.
16553 * bits/param.h: New file.
16554 * misc/sys/param.h: New file.
16555 * include/sys/param.h: New file.
16556 * misc/Makefile (headers): Add bits/param.h.
16557 * sysdeps/generic/sys/param.h: File removed.
16558 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16559 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16560 * sysdeps/mach/hurd/bits/param.h: New file.
16561 * sysdeps/mach/hurd/sys/param.h: File removed.
16563 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16566 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16568 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16569 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16572 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16573 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16574 rather than -D_IO_MTSAFE_IO conditionally.
16575 * stdio-common/Makefile (CPPFLAGS): Likewise.
16576 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16577 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16578 Use $(libio-mtsafe).
16579 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16580 of -D_IO_MTSAFE_IO.
16581 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16582 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16583 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16584 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16585 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16586 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16587 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16588 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16589 (CFLAGS-fread_u_chk.c): Likewise.
16590 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16591 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16592 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16593 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16594 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16595 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16596 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16597 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16598 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16600 * libio/Makefile: Test [$(libc-reentrant) = yes]
16601 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16604 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16605 * sysdeps/pthread/configure: File removed.
16606 * sysdeps/pthread/Makeconfig: New file.
16607 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16608 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16610 2012-08-16 Gary Benson <gbenson@redhat.com>
16612 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16613 unmapping the first object in a namespace.
16615 2012-08-16 Roland McGrath <roland@hack.frob.com>
16617 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16618 (__internal_setnetgrent): ... this. Add internal_function to
16619 definition. Add libc_hidden_def.
16620 (setnetgrent): Update caller.
16621 (internal_endnetgrent): Renamed to ...
16622 (__internal_endnetgrent): ... this. Add internal_function to
16623 definition. Add libc_hidden_def.
16624 (endnetgrent): Update caller.
16625 (internal_getnetgrent_r): Renamed to ...
16626 (__internal_getnetgrent_r): ... this. Add internal_function to
16627 definition. Add libc_hidden_def.
16628 (__getnetgrent_r): Update caller.
16629 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16631 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16633 * stdlib/longlong.h: Update from GCC.
16635 2012-08-16 Roland McGrath <roland@hack.frob.com>
16637 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16638 on _QL, which is set by umul_ppmm but never used.
16639 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16640 variables, which are set by GMP macros but never used.
16641 * stdio-common/_itowa.c (_itowa): Likewise.
16642 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16643 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16645 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16647 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16648 struct La_sh_regs is not constant.
16649 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16650 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16651 and struct La_sparc64_regs are not constant.
16653 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16655 * sysdeps/unix/sysv/linux/kernel-features.h
16656 (__ASSUME_POSIX_TIMERS): Remove.
16657 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16659 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16660 Make code unconditional.
16661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16662 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16663 Make code unconditional.
16664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16665 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16666 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16668 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16669 Make code unconditional.
16670 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16671 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16672 (__libc_missing_posix_timers): Remove.
16674 2012-08-15 Roland McGrath <roland@hack.frob.com>
16676 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16677 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16679 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16681 * elf/dl-sym.c: Include <stdlib.h>.
16683 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16684 constants, which avoids warnings in 32-bit builds.
16686 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16687 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16689 * misc/lseek.c: File moved to ...
16690 * io/lseek.c: ... here.
16692 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16694 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16695 shifting LEN more than 31 bits at once.
16697 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16700 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16701 segmentation fault for a case of two empty input strings.
16702 * string/test-strncasecmp.c (check1): Renamed to...
16703 (bz12205): ...this.
16704 (bz14195): Add new testcase for two empty input strings and N > 0.
16705 (test_main): Call new testcase, adapt for renamed function.
16707 2012-08-15 Andreas Jaeger <aj@suse.de>
16710 * crypt/md5test2.c: New test, based on test supplied by Serge
16711 Belyshev <belyshev@depni.sinp.msu.ru>.
16712 * crypt/Makefile (xtests): Add md5test-giant..
16713 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16715 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16718 * crypt/md5.c (md5_process_block): Don't assume the buffer
16719 length is less than 2**32.
16720 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16721 length is less than 2**64.
16723 2012-08-15 Roland McGrath <roland@hack.frob.com>
16725 * string/str-two-way.h: Include <sys/param.h>.
16726 (MAX): Macro removed.
16728 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16729 Move #define and #undef of memmove to just before and after
16730 including <string.h>.
16732 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16733 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16734 and after including <string.h>. Move declarations of
16735 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16736 to before #include "string/memmove.c".
16738 * include/dirent.h: Declare __getdirentries.
16740 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16741 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16743 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16745 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16746 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16747 * sysdeps/i386/configure: Regenerated.
16748 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16749 STABS_CURRENT_FILE, and STABS_FUN.
16750 (END): Remove call to STABS_FUN_END.
16751 (STABS_CURRENT_FILE1): Delete.
16752 (STABS_CURRENT_FILE): Likewise.
16753 (STABS_FUN): Likewise.
16754 (STABS_FUN_END): Likewise.
16755 (STABS_FUN2): Likewise.
16756 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16757 * sysdeps/x86_64/configure: Regenerated.
16759 2012-08-14 Roland McGrath <roland@hack.frob.com>
16761 * elf/dl-open.c: Include <atomic.h>.
16762 * elf/dl-lookup.c: Likewise.
16764 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16766 * sysdeps/unix/sysv/linux/kernel-features.h
16767 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16768 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16770 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16772 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16773 condition on __ASSUME_CLONE_THREAD_FLAGS.
16775 2012-08-14 Andreas Jaeger <aj@suse.de>
16777 * sysdeps/i386/fpu/libm-test-ulps: Update.
16779 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16781 * include/atomic.h (atomic_exchange_and_add): Split into ...
16782 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16785 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16789 2012-08-13 Jeff Law <law@redhat.com>
16791 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16792 null byte in the output string.
16794 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16796 * sysdeps/unix/sysv/linux/kernel-features.h
16797 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16798 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16799 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16800 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16801 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16802 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16803 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16805 2012-08-09 Jeff Law <law@redhat.com>
16808 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16809 When avoid_arena is set, don't retry in the that arena. Pick the
16810 next one, whatever it might be.
16811 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16812 (arena_lock): Pass in new parameter to arena_get2.
16813 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16815 (__libc_malloc): Unify retrying after main arena failure with
16816 __libc_memalign version.
16817 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16819 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16822 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16823 to __redirect_strstr.
16824 (__strstr_sse42): Use typeof __redirect_strstr.
16825 (__strstr_ia32): Likewise.
16826 (__libc_strstr): New prototype.
16827 (strstr): Renamed to ...
16828 (__libc_strstr): This.
16829 (strstr): New strong alias of __libc_strstr.
16830 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16831 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16834 (__libc_time): New prototype.
16835 (time_ifunc): Replace time with __libc_time.
16836 (time): New strong alias and hidden definition of __libc_time.
16837 (__GI_time): Remove strong alias.
16838 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16839 Include <stddef.h>.
16840 (memmove): Redefined to __redirect_memmove.
16841 (__memmove_sse2): Use typeof __redirect_memmove.
16842 (__memmove_ssse3): Likewise.
16843 (__memmove_ssse3_back): Likewise.
16844 (__libc_memmove): New prototype.
16845 (memmove): Renamed to ...
16846 (__libc_memmove): This.
16847 (memmove): New strong alias of __libc_memmove.
16849 2012-08-08 Mark Salter <msalter@redhat.com>
16852 (R_MN10300_TLS_GD): Define.
16853 (R_MN10300_TLS_LD): Likewise.
16854 (R_MN10300_TLS_LDO): Likewise.
16855 (R_MN10300_TLS_GOTIE): Likewise.
16856 (R_MN10300_TLS_IE): Likewise.
16857 (R_MN10300_TLS_LE): Likewise.
16858 (R_MN10300_TLS_DTPMOD): Likewise.
16859 (R_MN10300_TLS_DTPOFF): Likewise.
16860 (R_MN10300_TLS_TPOFF): Likewise.
16861 (R_MN10300_SYM_DIFF): Likewise.
16862 (R_MN10300_ALIGN): Likewise.
16863 (R_MN10300_NUM): Update.
16865 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16867 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16870 2012-08-08 Roland McGrath <roland@hack.frob.com>
16872 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16874 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16875 sysdeps/unix -> sysdeps/posix move.
16876 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16878 2012-08-07 Allan McRae <allan@archlinux.org>
16881 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16882 (SUNOS_CPP): Likewise.
16883 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16885 (open_input): Call CPP using execvp.
16887 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16889 * sysdeps/unix/sysv/linux/kernel-features.h
16890 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16891 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16892 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16893 (__ASSUME_WAITID_SYSCALL): Likewise.
16894 * sysdeps/unix/sysv/linux/dl-execstack.c
16895 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16896 code unconditional.
16897 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16900 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16901 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16903 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16905 [__ASSUME_WAITID_SYSCALL]: Likewise.
16906 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16908 2012-08-07 Roland McGrath <roland@hack.frob.com>
16910 * sysdeps/unix/closedir.c: Renamed to ...
16911 * sysdeps/posix/closedir.c: ... here.
16912 * sysdeps/unix/dirfd.c: Renamed to ...
16913 * sysdeps/posix/dirfd.c: ... here.
16914 * sysdeps/unix/dirstream.h: Renamed to ...
16915 * sysdeps/posix/dirstream.h: ... here.
16916 * sysdeps/unix/fdopendir.c: Renamed to ...
16917 * sysdeps/posix/fdopendir.c: ... here.
16918 * sysdeps/unix/opendir.c: Renamed to ...
16919 * sysdeps/posix/opendir.c: ... here.
16920 * sysdeps/unix/readdir.c: Renamed to ...
16921 * sysdeps/posix/readdir.c: ... here.
16922 * sysdeps/unix/readdir_r.c: Renamed to ...
16923 * sysdeps/posix/readdir_r.c: ... here.
16924 * sysdeps/unix/rewinddir.c: Renamed to ...
16925 * sysdeps/posix/rewinddir.c: ... here.
16926 * sysdeps/unix/seekdir.c: Renamed to ...
16927 * sysdeps/posix/seekdir.c: ... here.
16928 * sysdeps/unix/telldir.c: Renamed to ...
16929 * sysdeps/posix/telldir.c: ... here.
16930 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16931 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16932 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16933 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16935 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16936 * bits/fcntl.h: ... here.
16938 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16940 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16941 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16942 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16943 (struct flock): Move l_start, l_len to the beginning.
16944 Use __pid_t for l_pid.
16945 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16946 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16947 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16948 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16949 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16950 [__USE_LARGEFILE64] (struct flock64): New type.
16951 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16953 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16954 * bits/dirent.h: ... here.
16956 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16957 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16959 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16962 Change from 2.6.0 to 2.6.16.
16963 * sysdeps/unix/sysv/linux/configure: Regenerated.
16964 * sysdeps/unix/sysv/linux/kernel-features.h
16965 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16966 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16968 (__ASSUME_UTIMES): Likewise.
16969 (__ASSUME_CLONE_STOPPED): Remove.
16970 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16971 architectures, not kernel version.
16972 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16973 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16974 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16975 (__ASSUME_WAITID_SYSCALL): Likewise.
16976 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16977 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16978 * README: State 2.6.16 as minimum Linux kernel version. Do not
16979 refer to older versions.
16981 2012-08-06 Roland McGrath <roland@hack.frob.com>
16983 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16984 Define alphasort64 as an alias.
16985 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16986 Define versionsort64 as an alias.
16987 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16988 Define scandir64 as an alias.
16989 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16990 Define scandirat64 as an alias.
16991 * dirent/alphasort64.c (alphasort64):
16992 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16993 * dirent/versionsort64.c: Likewise.
16994 * dirent/scandir64.c: Likewise.
16995 * dirent/scandirat64.c: Likewise.
16996 * sysdeps/wordsize-64/alphasort.c: File removed.
16997 * sysdeps/wordsize-64/alphasort64.c: File removed.
16998 * sysdeps/wordsize-64/scandir.c: File removed.
16999 * sysdeps/wordsize-64/scandir64.c: File removed.
17000 * sysdeps/wordsize-64/scandirat.c: File removed.
17001 * sysdeps/wordsize-64/scandirat64.c: File removed.
17002 * sysdeps/wordsize-64/versionsort.c: File removed.
17003 * sysdeps/wordsize-64/versionsort64.c: File removed.
17004 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17005 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17007 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17009 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17011 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17013 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17015 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17017 [defined __arch64__ || defined __sparcv9]
17018 (__INO_T_MATCHES_INO64_T): New macro.
17019 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17020 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17021 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17022 * sysdeps/unix/sysv/linux/bits/dirent.h
17023 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17024 (_DIRENT_MATCHES_DIRENT64): New macro.
17026 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17027 Define lockf64 as an alias.
17028 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17029 Define fseeko64 as an alias.
17030 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17031 Define ftello64 as an alias.
17032 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17033 Define _IO_fgetpos64 and fgetpos64 as aliases.
17034 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17035 Define _IO_fsetpos64 and fsetpos64 as aliases.
17036 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17037 Conditionalize body on this.
17038 * libio/fseeko64.c: Likewise.
17039 * libio/ftello64.c: Likewise.
17040 * libio/iofgetpos64.c: Likewise.
17041 * libio/iofsetpos64.c: Likewise.
17042 * sysdeps/wordsize-64/lockf.c: File removed.
17043 * sysdeps/wordsize-64/lockf64.c: File removed.
17044 * sysdeps/wordsize-64/fseeko.c: File removed.
17045 * sysdeps/wordsize-64/fseeko64.c: File removed.
17046 * sysdeps/wordsize-64/ftello.c: File removed.
17047 * sysdeps/wordsize-64/ftello64.c: File removed.
17048 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17049 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17050 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17051 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17052 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17054 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17055 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17056 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17057 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17060 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17061 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17063 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17065 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17067 [defined __arch64__ || defined __sparcv9]
17068 (__OFF_T_MATCHES_OFF64_T): New macro.
17069 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17070 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17071 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17072 (__OFF_T_MATCHES_OFF64_T): New macro.
17074 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17076 * stdlib/secure-getenv.c (__secure_getenv): Replace
17077 GLIBC_2_16 with GLIBC_2_17.
17079 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17082 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17084 2012-08-03 David S. Miller <davem@davemloft.net>
17086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17088 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17090 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17092 (__ASSUME_CORRECT_SI_PID): Likewise.
17093 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17094 (__ASSUME_TMPFS_NAME): Likewise.
17095 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17096 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17097 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17098 (HAVE_AUX_SECURE): Make definition unconditional.
17099 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17100 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17102 2012-08-03 Roland McGrath <roland@hack.frob.com>
17104 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17105 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17106 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17107 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17108 __eloop_threshold instead of SYMLOOP_MAX.
17110 * sysdeps/generic/eloop-threshold.h: New file.
17111 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17113 * elf/chroot_canon.c (chroot_canon): Likewise.
17115 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17119 Change to 2.6.0 everywhere.
17120 * sysdeps/unix/sysv/linux/configure: Regenerated.
17121 * sysdeps/unix/sysv/linux/kernel-features.h
17122 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17123 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17125 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17126 (__ASSUME_FUTEX_REQUEUE): Remove.
17127 (__ASSUME_STATFS64): Define unconditionally.
17128 (__ASSUME_AT_SECURE): Likewise.
17129 (__ASSUME_CORRECT_SI_PID): Likewise.
17130 (__ASSUME_TGKILL): Define without depending on kernel version for
17132 (__ASSUME_UTIMES): Likewise.
17133 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17135 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17136 (__ASSUME_TMPFS_NAME): Likewise.
17137 * README: Update reference to Linux kernel versions.
17139 2012-08-02 Marek Polacek <polacek@redhat.com>
17142 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17143 libc_cv_asm_type_prefix with %.
17144 * configure: Regenerated.
17145 * include/libc-symbols.h: Remove comment about
17146 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17147 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17148 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17149 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17150 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17151 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17152 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17153 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17154 * elf/tst-unique2mod1.c: Likewise.
17155 * elf/tst-unique1mod2.c: Likewise.
17156 * elf/tst-unique1mod1.c: Likewise.
17157 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17158 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17159 Replace ASM_TYPE_DIRECTIVE with .type.
17160 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17161 * sysdeps/i386/sysdep.h: Likewise.
17162 * sysdeps/x86_64/sysdep.h: Likewise.
17163 * sysdeps/sh/sysdep.h: Likewise.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17165 Do not define ASM_TYPE_DIRECTIVE.
17166 * sysdeps/powerpc/sysdep.h: Likewise.
17167 * sysdeps/powerpc/powerpc32/sysdep.h:
17168 Replace ASM_TYPE_DIRECTIVE with .type.
17169 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17170 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17171 * sysdeps/i386/fpu/e_powf.S: Likewise.
17172 * sysdeps/i386/fpu/e_expl.S: Likewise.
17173 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17174 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17175 * sysdeps/i386/fpu/e_pow.S: Likewise.
17176 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17177 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17178 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17179 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17180 * sysdeps/i386/fpu/e_log2.S: Likewise.
17181 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17182 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17183 * sysdeps/i386/fpu/e_powl.S: Likewise.
17184 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17185 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17186 * sysdeps/i386/fpu/e_logl.S: Likewise.
17187 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17188 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17189 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17190 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17191 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17192 * sysdeps/i386/fpu/e_log.S: Likewise.
17193 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17194 * sysdeps/i386/fpu/e_logf.S: Likewise.
17195 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17196 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17197 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17198 * sysdeps/i386/fpu/e_log10.S: Likewise.
17199 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17200 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17201 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17202 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17203 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17204 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17205 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17206 * sysdeps/i386/i686/strtok.S: Likewise.
17207 * sysdeps/i386/i386-mcount.S: Likewise.
17208 * sysdeps/i386/strtok.S: Likewise.
17209 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17210 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17212 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17213 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17214 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17215 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17216 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17217 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17218 * sysdeps/x86_64/_mcount.S: Likewise.
17219 * sysdeps/x86_64/strtok.S: Likewise.
17220 * sysdeps/sh/_mcount.S: Likewise.
17222 2012-08-01 Roland McGrath <roland@hack.frob.com>
17224 * libio/iofopen.c: Include <fcntl.h>.
17225 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17226 (_IO_fopen64, fopen64): Define as aliases.
17227 * libio/iofopen64.c: Include <fcntl.h>.
17228 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17229 Conditionalize body on this.
17230 * sysdeps/wordsize-64/iofopen.c: File removed.
17231 * sysdeps/wordsize-64/iofopen64.c: File removed.
17233 2012-08-01 Marek Polacek <polacek@redhat.com>
17235 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17236 Use dlfcn directly instead of a variable.
17237 (binfmt-subdir): Do not define.
17240 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17243 Remove all definitions.
17244 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17245 <kernel-features.h>.
17246 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17247 (miss_F_GETOWN_EX): Remove all definitions.
17248 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17250 [!__ASSUME_FCNTL64]: Remove conditional code.
17251 [__ASSUME_FCNTL64]: Make code unconditional.
17252 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17253 <kernel-features.h>.
17254 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17255 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17256 (lockf64) [__NR_fcntl64]: Make code unconditional.
17257 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17259 * sysdeps/unix/sysv/linux/kernel-features.h
17260 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17261 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17262 Make code unconditional.
17263 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17264 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17266 [__NR_vfork]: Make code unconditional.
17267 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17268 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17270 [__NR_vfork]: Make code unconditional.
17271 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17272 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17274 2012-08-01 Roland McGrath <roland@hack.frob.com>
17276 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17277 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17279 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17280 Define mkstemp64 as an alias.
17281 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17282 Define mkstemps64 as an alias.
17283 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17284 Define mkostemp64 as an alias.
17285 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17286 Define mkostemps64 as an alias.
17287 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17288 Conditionalize body on this.
17289 * misc/mkostemp64.c: Likewise.
17290 * misc/mkostemps64.c: Likewise.
17291 * misc/mkstemps64.c: Likewise.
17292 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17293 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17294 * sysdeps/wordsize-64/mkostemp.c: File removed.
17295 * sysdeps/wordsize-64/mkstemp.c: File removed.
17296 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17297 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17298 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17299 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17302 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17303 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17304 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17305 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17307 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17308 compat_symbol macros from <shlib-compat.h> rather than the underlying
17309 default_symbol_version and symbol_version macros, so that DEFAULT
17310 lines in shlib-versions are respected.
17311 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17313 2012-08-01 Florian Weimer <fweimer@redhat.com>
17315 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17316 Declare with warn_unused_result.
17317 (setgid, setregid, setegid, setresgid): Likewise.
17318 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17320 * WUR-REPORT: Remove set*id functions.
17322 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17324 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17326 2012-07-31 Roland McGrath <roland@hack.frob.com>
17329 * include/sys/socket.h (__libc_accept, __libc_accept4):
17330 Add attribute_hidden.
17331 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17333 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17335 * inet/getnetgrent_r.c (setup): Likewise.
17337 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17339 2012-07-31 David S. Miller <davem@davemloft.net>
17341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17343 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17346 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17347 value between 1.0 and 2.0 and smaller part has absolute value less
17349 * math/s_clog10.c (__clog10): Likewise.
17350 * math/s_clog10f.c (__clog10f): Likewise.
17351 * math/s_clog10l.c (__clog10l): Likewise.
17352 * math/s_clogf.c (__clogf): Likewise.
17353 * math/s_clogl.c (__clogl): Likewise.
17354 * math/libm-test.inc (clog_test): Add more tests.
17355 (clog10_test): Likewise.
17356 * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359 2012-07-31 Florian Weimer <fweimer@redhat.com>
17361 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17362 Exit with zero in case no suitable GID is found, and write a
17363 message to standard error.
17365 2012-07-30 Roland McGrath <roland@hack.frob.com>
17367 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17369 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17370 (MAXPATHLEN): Removed.
17371 (NOGROUP, NODEV): New macros.
17372 (setbit, clrbit, isset, isclr): New macros.
17373 (howmany, roundup, powerof2): New macros.
17374 (DEV_BSIZE): New macro.
17376 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17377 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17379 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17380 definition on [!__NO_LONG_DOUBLE_MATH].
17382 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17383 PTR_MANGLE and PTR_DEMANGLE.
17385 * socket/accept4.c (accept4): Rename to __libc_accept4.
17386 Define accept4 as a weak alias.
17388 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17389 on [_DIRENT_HAVE_D_TYPE].
17390 * io/ftw.c (ftw_dir): Likewise.
17392 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17394 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17396 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17397 Use the BSD numbers rather than the arbitrary ones we had.
17398 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17399 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17400 (SIGXCPU, SIGXFSZ): New macros.
17403 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17404 initializer on [_LIBC_REENTRANT].
17406 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17407 definitions inside [_POSIX_MAPPED_FILES].
17409 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17411 * dirent/opendir.c: Include <fcntl.h>.
17413 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17414 (__libc_getspecific): Likewise.
17415 (__libc_key_create): Likewise.
17417 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17418 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17419 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17420 (tmpfile64): Define as alias.
17421 * sysdeps/wordsize-64/tmpfile.c: File removed.
17422 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17424 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17426 * stdio-common/vfscanf.c: Include <stdbool.h>.
17427 * nss/makedb.c: Likewise.
17428 * stdio-common/_i18n_number.h: Likewise.
17429 * argp/argp-help.c: Likewise.
17430 * posix/wordexp.c: Likewise.
17431 * sysdeps/posix/spawni.c: Likewise.
17432 * nss/nss_files/files-initgroups.c: Likewise.
17433 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17434 * nss/nss_files/files-initgroups.c: Likewise.
17435 * nss/nss_db/db-netgrp.c: Likewise.
17436 * nss/nss_db/db-initgroups.c: Likewise.
17437 * io/fchmodat.c: Include <sys/stat.h>.
17439 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17440 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17442 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17445 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17446 Add multiple inclusion protection.
17448 2012-07-27 David S. Miller <davem@davemloft.net>
17450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17452 2012-07-27 Gary Benson <gbenson@redhat.com>
17455 * elf/rtld.c: Include <stap-probe.h>.
17456 (dl_main): Added static probes "init_start" and "init_complete".
17457 * elf/dl-load.c: Include <stap-probe.h>.
17458 (lose): Take new parameter "nsid".
17459 Added static probe "map_failed".
17460 (_dl_map_object_from_fd): Pass namespace id to lose.
17461 Added static probe "map_start".
17462 (open_verify): Pass namespace id to lose.
17463 * elf/dl-open.c: Include <stap-probe.h>.
17464 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17465 and "reloc_complete".
17466 * elf/dl-close.c: Include <stap-probe.h>.
17467 (_dl_close_worker): Added static probes "unmap_start" and
17469 * elf/rtld-debugger-interface.txt: New file documenting the above.
17471 2012-07-26 Roland McGrath <roland@hack.frob.com>
17473 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17474 rather than a string variable.
17475 * sunrpc/rpc_main.c (h_output): Likewise.
17476 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17478 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17480 * inet/check_native.c: New file.
17482 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17485 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17486 if larger part has absolute value 1.0.
17487 * math/s_clog10.c (__clog10): Likewise.
17488 * math/s_clog10f.c (__clog10f): Likewise.
17489 * math/s_clog10l.c (__clog10l): Likewise.
17490 * math/s_clogf.c (__clogf): Likewise.
17491 * math/s_clogl.c (__clogl): Likewise.
17492 * math/libm-test.inc (clog_test): Add more tests.
17493 (clog10_test): Likewise.
17494 * sysdeps/i386/fpu/libm-test-ulps: Update.
17495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17497 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17498 (pltexit): Likewise.
17499 (La_regs): Likewise.
17500 (La_retval): Likewise.
17501 (int_retval): Likewise.
17502 Update #error for removed macros to refer only to definitions in
17504 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17506 (pltexit): Likewise.
17507 (La_regs): Likewise.
17508 (La_retval): Likewise.
17509 (int_retval): Likewise.
17510 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17512 (pltexit): Likewise.
17513 (La_regs): Likewise.
17514 (La_retval): Likewise.
17515 (int_retval): Likewise.
17516 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17518 (pltexit): Likewise.
17519 (La_regs): Likewise.
17520 (La_retval): Likewise.
17521 (int_retval): Likewise.
17522 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17524 (pltexit): Likewise.
17525 (La_regs): Likewise.
17526 (La_retval): Likewise.
17527 (int_retval): Likewise.
17528 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17530 (pltexit): Likewise.
17531 (La_regs): Likewise.
17532 (La_retval): Likewise.
17533 (int_retval): Likewise.
17534 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17536 (pltexit): Likewise.
17537 (La_regs): Likewise.
17538 (La_retval): Likewise.
17539 (int_retval): Likewise.
17540 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17541 macro definitions in tst-audit.h.
17542 * sysdeps/i386/tst-audit.h: New file.
17543 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17544 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17545 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17546 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17547 * sysdeps/sh/tst-audit.h: Likewise.
17548 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17549 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17550 * sysdeps/x86_64/tst-audit.h: Likewise.
17552 2012-07-26 Andreas Jaeger <aj@suse.de>
17554 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17557 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17558 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17559 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17561 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17562 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17563 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17565 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17568 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17570 (si_call_addr, si_syscall, si_arch): Define new macro.
17571 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17573 (si_call_addr, si_syscall, si_arch): Define new marcro.
17574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17576 (si_call_addr, si_syscall, si_arch): Define new macro.
17577 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17579 (si_call_addr, si_syscall, si_arch): Define new macro.
17581 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17585 Change to 2.4.21 where previously 2.4.1.
17586 * sysdeps/unix/sysv/linux/configure: Regenerated.
17587 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17588 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17589 Linux kernel version.
17590 (__ASSUME_STD_AUXV): Remove.
17591 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17593 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17594 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17595 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17596 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17597 (__ASSUME_NETLINK_SUPPORT): Likewise.
17598 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17599 (__no_netlink_support): Remove conditional definition.
17600 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17602 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17603 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17604 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17605 (if_nameindex_ioctl): Remove.
17606 (if_nameindex_netlink): Do not handle __no_netlink_support.
17607 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17609 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17610 Remove conditional code.
17611 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17613 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17615 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17616 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17617 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17619 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17620 [!__ASSUME_STD_AUXV]: Remove conditional code.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17622 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17623 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17625 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17626 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17628 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17630 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17631 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17633 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17635 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17638 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17641 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17642 code unconditional.
17643 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17645 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17647 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17650 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17652 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17655 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17656 code unconditional.
17657 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17659 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17661 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17664 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17665 code unconditional.
17666 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17668 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17670 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17673 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17675 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17676 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17677 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17678 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17679 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17680 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17681 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17682 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17683 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17684 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17685 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17686 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17687 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17688 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17689 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17691 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17692 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17693 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17695 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17696 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17697 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17699 2012-07-25 Florian Weimer <fweimer@redhat.com>
17701 * Versions.def: Add GLIBC_2.17.
17702 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17703 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17704 Introduce __libc_secure_getenv.
17705 * stdlib/Versions (2.17): Add secure_getenv
17706 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17707 * stdlib/secure-getenv.c: Rename __secure_getenv to
17708 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17709 symbol __secure_getenv for GLIBC_2.0.
17710 * stdlib/tst-secure-getenv.c: New.
17711 * stdlib/Makefile (tests): Add testcase.
17712 * manual/startup.texi (Environment Access): Document
17714 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17715 __libc_secure_getenv.
17716 * inet/ruserpass.c (ruserpass): Likewise.
17717 * malloc/mtrace.c (mtrace): Likewise.
17718 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17719 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17720 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17721 * sysdeps/posix/tempname.c: Likewise. Evaluate
17722 HAVE_SECURE_GETENV.
17723 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17724 __secure_getenv to __libc_secure_getenv.
17725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17738 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17740 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17741 (struct La_i86_retval): Likewise.
17742 (struct La_x86_64_regs): Likewise.
17743 (struct La_x86_64_retval): Likewise.
17744 (struct La_x32_regs): Likewise.
17745 (struct La_x32_retval): Likewise.
17746 (struct La_ppc32_regs): Likewise.
17747 (struct La_ppc32_retval): Likewise.
17748 (struct La_ppc64_regs): Likewise.
17749 (struct La_ppc64_retval): Likewise.
17750 (struct La_sh_regs): Likewise.
17751 (struct La_sh_retval): Likewise.
17752 (struct La_s390_32_regs): Likewise.
17753 (struct La_s390_32_retval): Likewise.
17754 (struct La_s390_64_regs): Likewise.
17755 (struct La_s390_64_retval): Likewise.
17756 (struct La_sparc32_regs): Likewise.
17757 (struct La_sparc32_retval): Likewise.
17758 (struct La_sparc64_regs): Likewise.
17759 (struct La_sparc64_retval): Likewise.
17760 (struct audit_ifaces): Remove architecture-specific pltenter and
17762 * sysdeps/i386/ldsodefs.h: New file.
17763 * sysdeps/powerpc/ldsodefs.h: Likewise.
17764 * sysdeps/s390/ldsodefs.h: Likewise.
17765 * sysdeps/sh/ldsodefs.h: Likewise.
17766 * sysdeps/sparc/ldsodefs.h: Likewise.
17767 * sysdeps/x86_64/ldsodefs.h: Likewise.
17769 2012-07-25 Marek Polacek <polacek@redhat.com>
17772 * math/libm-test.inc (yn_test): Add another test.
17773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17774 to ERANGE when the result is +-Inf.
17775 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17776 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17777 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17778 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17780 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17782 * conform/data/time.h-data (NULL): Use macro-constant. Require
17784 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17786 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17788 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17790 * configure.in <sysdeps resolving>: Correct printing
17792 * configure: Regenerate.
17794 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17796 * math/w_ilogb.c: Include <limits.h>.
17797 * math/w_ilogbl.c: Likewise.
17799 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17801 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17802 va_copy. Document allowing for unavailable va_copy only as
17803 pre-C99 compatibility.
17804 * manual/string.texi (Copying and Concatenation): Use va_copy
17805 instead of __va_copy in concat example.
17807 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17809 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17810 (__sendto): Use create_address_port. Initialize APORT and deallocate
17813 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17814 with O_NOLINK passed to __file_name_lookup.
17816 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17817 with O_NOLINK passed to __file_name_lookup.
17819 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17820 negative N or less than NGIDS.
17822 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17823 type to string_t. Set ERANGE as errno and return it if NAME is not big
17824 enough. Use memcpy instead of strncpy.
17826 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17828 * elf/Makefile (check-data): Remove.
17829 (localplt.data): New vpath directive.
17830 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17831 instead of $(check-data).
17832 * scripts/data/localplt-generic.data: Move to ...
17833 * sysdeps/generic/localplt.data: ... here.
17834 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17835 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17836 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17839 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17842 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17845 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17848 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17851 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17855 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17857 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17858 PPC32 and PPC64 files.
17859 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17860 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17862 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17864 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17865 __makecontext_ret to ...
17866 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17867 ... here and call exit if uc_link is NULL. New file.
17868 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17869 __makecontext_ret.S.
17870 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17871 __makecontext_ret to ...
17872 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17873 ... here and call exit if uc_link is NULL. New file.
17874 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17875 __makecontext_ret.S.
17877 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17879 * elf/elf.h (R_390_IRELATIVE): New definition.
17880 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17881 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17882 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17883 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17884 (elf_machine_lazy_rel): Likewise.
17885 * sysdeps/s390/dl-irel.h: New file.
17886 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17887 * sysdeps/s390/s390-64/memset.S: New asm code.
17888 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17889 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17890 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17891 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17892 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17893 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17894 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17895 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17896 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17897 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17898 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17899 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17900 * sysdeps/s390/s390-32/memset.S: New asm code.
17901 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17903 2012-07-17 Marek Polacek <polacek@redhat.com>
17906 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17907 * sysdeps/s390/s390-64/configure.in: Likewise.
17908 * sysdeps/sparc/configure.in: Likewise.
17909 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17910 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17911 * sysdeps/i386/configure.in: Likewise.
17912 * sysdeps/x86_64/configure.in: Likewise.
17913 * sysdeps/sh/configure.in: Likewise.
17914 * sysdeps/s390/s390-32/configure: Regenerated.
17915 * sysdeps/s390/s390-64/configure: Likewise.
17916 * sysdeps/x86_64/configure: Likewise.
17917 * sysdeps/sh/configure: Likewise.
17918 * sysdeps/powerpc/powerpc64/configure: Likewise.
17919 * sysdeps/powerpc/powerpc32/configure: Likewise.
17920 * sysdeps/sparc/configure: Likwise.
17921 * sysdeps/i386/configure: Likewise.
17923 * elf/dl-open.c: Comment fixes.
17925 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17927 * Makefile [CXX] (check-data): Remove.
17928 [CXX] (c++-types.data): New vpath directive.
17929 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17930 vpath. Do not allow for C++ type data being missing.
17931 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17932 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17933 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17934 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17935 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17936 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17937 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17940 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17943 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17946 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17949 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17952 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17955 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17958 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17961 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17962 definitions to architecture-specific files.
17963 (TLS_IE): Likewise.
17964 (TLS_LD): Likewise.
17965 (TLS_GD): Likewise.
17966 * sysdeps/i386/tls-macros.h: New file.
17967 * sysdeps/powerpc/tls-macros.h: Likewise.
17968 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17969 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17970 * sysdeps/sh/tls-macros.h: Likewise.
17971 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17972 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17973 * sysdeps/x86_64/tls-macros.h: Likewise.
17975 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17978 zero value for regular exit case.
17980 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17981 (__start_context): Preserve zero value for regular exit case.
17983 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17984 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17986 * manual/setjmp.texi (setcontext): Clarify normal process
17987 termination when uc_link is the null pointer.
17988 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17991 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17993 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17994 preprocessor. Test for each exception mask separately.
17996 2012-07-16 Andreas Jaeger <aj@suse.de>
17998 * po/ru.po: Update from translation team.
18000 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18002 * conform/data/string.h-data (NULL): Use macro-constant. Require
18004 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18005 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18006 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18007 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18010 2012-07-13 Andreas Jaeger <aj@suse.de>
18012 * po/fr.po: Update from translation team.
18014 2012-07-12 Marek Polacek <polacek@redhat.com>
18017 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18021 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18024 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18025 Change to 2.4.1 where previously 2.4.0.
18026 * sysdeps/unix/sysv/linux/configure: Regenerated.
18027 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18028 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18030 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18031 (__ASSUME_AT_CLKTCK): Remove.
18032 (__ASSUME_AT_PAGESIZE): Likewise.
18033 (__ASSUME_AT_XID): Likewise.
18034 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18035 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18036 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18038 (HAVE_AUX_PAGESIZE): Likewise.
18039 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18040 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18041 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18043 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18047 the temporary buffer used to invoke __gethostbyname2_r,
18048 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18049 host_data / struct gaih_addrtuple.
18050 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18051 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18052 header file nss/nsswitch.h.
18053 * nss/nsswitch.h (global scope): Add definition of implementation
18054 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18055 resolv/nss_dns/dns-host.c).
18057 2012-07-11 Andreas Jaeger <aj@suse.de>
18059 * po/fr.po: Update from translation team.
18061 * po/sv.po: Update from translation team
18062 * po/fr.po: Another update from translation team.
18064 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18066 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18067 for subnormals or multiply small sinh result by itself.
18068 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18071 2012-07-11 David S. Miller <davem@davemloft.net>
18073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18075 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18078 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18079 (INTERNAL_MARK): Shift it here.
18081 2012-07-10 Marek Polacek <polacek@redhat.com>
18084 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18085 libc_cv_asm_global_directive with .globl.
18086 * configure: Regenerated.
18087 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18089 * sysdeps/i386/configure: Regenerated.
18090 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18092 * sysdeps/x86_64/configure: Regenerated.
18093 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18094 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18095 * elf/tst-unique2mod2.c: Likewise.
18096 * elf/tst-unique2mod1.c: Likewise.
18097 * elf/tst-unique1mod2.c: Likewise.
18098 * elf/tst-unique1mod1.c: Likewise.
18099 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18100 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18102 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18103 * sysdeps/mach/sysdep.h: Likewise.
18104 * sysdeps/i386/sysdep.h: Likewise.
18105 * sysdeps/i386/i386-mcount.S: Likewise.
18106 * sysdeps/x86_64/_mcount.S: Likewise.
18107 * sysdeps/x86_64/sysdep.h: Likewise.
18108 * sysdeps/sh/_mcount.S: Likewise.
18109 * sysdeps/sh/sysdep.h: Likewise.
18110 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18111 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18112 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18113 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18114 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18115 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18116 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18117 * locale/localeinfo.h: Likewise.
18118 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18119 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18121 2012-07-09 Roland McGrath <roland@hack.frob.com>
18124 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18126 * manual/message.texi (The Uniforum approach): Likewise.
18127 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18128 (glibc iconv Implementation): Likewise.
18130 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18133 * math/s_clog.c (__clog): Avoid scaling a value down where that
18134 could result in underflow.
18135 * math/s_clog10.c (__clog10): Likewise.
18136 * math/s_clog10f.c (__clog10f): Likewise.
18137 * math/s_clog10l.c (__clog10l): Likewise.
18138 * math/s_clogf.c (__clogf): Likewise.
18139 * math/s_clogl.c (__clogl): Likewise.
18140 * math/libm-test.inc (clog_test): Add more tests.
18141 (clog10_test): Likewise.
18142 * sysdeps/i386/fpu/libm-test-ulps: Update.
18143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18145 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18148 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18149 by 7 not 8 to examine high bit of fractional part.
18152 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18153 for call to __mcount_internal.
18154 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18155 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18156 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18158 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18161 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18162 approximation for values within 0x1p-13f of an odd multiple of
18164 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18165 exception. Add more tests.
18166 * sysdeps/i386/fpu/libm-test-ulps: Update.
18169 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18170 inputs and return -1 for them. Do not check for +Inf in case not
18171 reachable for +Inf.
18172 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18173 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18174 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18175 and return -1 for them. Do not check for +Inf in case not
18176 reachable for +Inf.
18177 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18179 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18180 and return -1 for them. Do not check for +Inf in case not
18181 reachable for +Inf.
18182 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18183 spurious underflow.
18184 * sysdeps/i386/fpu/libm-test-ulps: Update.
18185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18187 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18189 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18191 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18195 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18196 could result in spurious underflow. Scale down values above
18197 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18198 * math/s_csqrtf.c (__csqrtf): Likewise.
18199 * math/s_csqrtl.c (__csqrtl): Likewise.
18200 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18201 spurious underflow.
18202 * sysdeps/i386/fpu/libm-test-ulps: Update.
18203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18205 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18207 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18209 * catgets/xopen-msg.awk: New file.
18210 * catgets/xopen-msg.sed: Removed.
18212 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18214 * intl/po2test.awk: New file.
18215 * intl/po2test.sed: Removed.
18217 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18220 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18221 or multiply small sinh result by itself.
18222 * math/s_ctanf.c (__ctanf): Likewise.
18223 * math/s_ctanh.c (__ctanh): Likewise.
18224 * math/s_ctanhf.c (__ctanhf): Likewise.
18225 * math/s_ctanhl.c (__ctanhl): Likewise.
18226 * math/s_ctanl.c (__ctanl): Likewise.
18227 * math/libm-test.inc (ctan_test_tonearest): New function.
18228 (ctan_test_towardzero): Likewise.
18229 (ctan_test_downward): Likewise.
18230 (ctan_test_upward): Likewise.
18231 (ctanh_test_tonearest): Likewise.
18232 (ctanh_test_towardzero): Likewise.
18233 (ctanh_test_downward): Likewise.
18234 (ctanh_test_upward): Likewise.
18235 (main): Call these new functions.
18236 * sysdeps/i386/fpu/libm-test-ulps: Update.
18237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18239 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18241 * .gitignore: Delete /ports entry.
18243 2012-07-03 Andreas Jaeger <aj@suse.de>
18245 * po/bg.po: Update from translation team.
18246 * po/cs.po: Likewise.
18247 * po/de.po: Likewise.
18248 * po/hr.po: Likewise.
18249 * po/nl.pl: Likewise.
18250 * po/pl.po: Likewise.
18251 * po/vi.po: Likewise.
18253 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18255 * Makeconfig [!+link] (+link-before-libc): New variable.
18256 [!+link] (+link-after-libc): Likewise.
18257 [!+link] (+link-tests): Likewise.
18258 [!+link] (+link): Define in terms of $(+link-before-libc) and
18259 $(+link-after-libc).
18260 [!+link-static] (+link-static-before-libc): New variable.
18261 [!+link-static] (+link-static-after-libc): Likewise.
18262 [!+link-static] (+link-static-tests): Likewise.
18263 [!+link-static] (+link-static): Define in terms of
18264 $(+link-static-before-libc) and $(+link-static-after-libc).
18265 [build-shared] (link-libc-before-gnulib): New variable.
18266 [build-shared] (link-libc-tests): Likewise.
18267 [build-shared] (link-libc): Define in terms of
18268 $(link-libc-before-gnulib).
18269 [!build-shared] (link-libc-tests): New variable.
18270 (link-libc-static-tests): New variable.
18271 [!gnulib] (gnulib-arch): New variable.
18272 [!gnulib] (gnulib-tests): Likewise.
18273 [!gnulib] (static-gnulib-arch): Likewise.
18274 [!gnulib] (static-gnulib-tests): Likewise.
18275 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18276 Define with "=" instead of ":=".
18277 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18278 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18279 * Rules (binaries-all-notests): New variable.
18280 (binaries-all-tests): Likewise.
18281 (binaries-static-notests): Likewise.
18282 (binaries-static-tests): Likewise.
18283 (binaries-all): Define using $(binaries-all-notests) and
18284 $(binaries-all-tests).
18285 (binaries-static): Define using $(binaries-static-notests) and
18286 $(binaries-static-tests).
18287 (binaries-shared-tests): New variable.
18288 (binaries-shared-notests): Likewise.
18289 (binaries-shared): Remove variable.
18290 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18291 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18292 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18293 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18294 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18295 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18296 * elf/Makefile (sln-modules): New variable.
18297 (extra-objs): Add $(sln-modules:=.o).
18298 (ldconfig-modules): Add static-stubs.
18299 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18300 * elf/static-stubs.c: New file.
18303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18304 by 7 not 8 to examine high bit of fractional part. Use volatile
18305 variables when splitting into final array of floats if
18306 __FLT_EVAL_METHOD__ != 0.
18307 * math/libm-test.inc (cos_test): Add another test.
18308 (sin_test): Likewise.
18309 * sysdeps/i386/fpu/libm-test-ulps: Update.
18312 * math/libm-test.inc (cosh_test): Add more tests.
18314 * version.h (RELEASE): Set to "development".
18315 (VERSION): Set to "2.16.90".
18317 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18319 * NEWS: Update copyright. Remove last-updated date.
18320 Mention math library bug fixes and timezone data changes.
18321 * README: Mention GNU/Hurd, x32, and HPPA support status.
18323 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18325 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18327 2012-06-27 Andreas Jaeger <aj@suse.de>
18329 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18331 2012-06-25 Andreas Jaeger <aj@suse.de>
18333 * sysdeps/s390/fpu/libm-test-ulps: Update.
18335 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18336 Thomas Schwinge <thomas@codesourcery.com>
18338 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18339 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18343 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18345 * sysdeps/mach/start.c: Remove file.
18346 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18347 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18348 * sysdeps/sh/init-first.c: Likewise.
18350 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18351 registers for frame unwinding purposes, add CFI directives.
18352 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18353 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18354 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18357 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18358 __fortify_fail returning.
18359 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18361 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18362 sysdeps/sh/____longjmp_chk.S.
18363 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18364 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18365 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18366 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18368 * sysdeps/sh/abort-instr.h: New file.
18369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18370 process in case exit returns.
18372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18373 initialize the GOT register before use.
18375 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18376 calculation of ARGC > 4.
18378 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18379 meaningful names to some local labels.
18381 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18382 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18384 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18385 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18386 (__arch_compare_and_exchange_val_16_acq): Likewise.
18387 (__arch_compare_and_exchange_val_32_acq): Likewise.
18388 (atomic_exchange_and_add): Fix gUSA sequence.
18389 (atomic_add): Likewise.
18390 (atomic_add_negative): Likewise.
18391 (atomic_add_zero): Likewise.
18392 (atomic_bit_test_set): Likewise.
18394 2012-06-22 Andreas Schwab <schwab@redhat.com>
18397 * include/link.h (struct link_map): Add l_free_initfini.
18398 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18400 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18401 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18402 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18405 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18407 * configure.in: Use AC_LANG_SOURCE.
18408 * configure: Regenerate.
18410 2012-06-22 Roland McGrath <roland@hack.frob.com>
18412 * configure.in (libc_cv_localstatedir): New substituted variable.
18413 * configure: Regenerated.
18414 * config.make.in (localstatedir): New variable, substituted from
18415 libc_cv_localstatedir.
18416 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18417 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18418 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18419 * sysdeps/gnu/configure: Regenerated.
18421 2012-06-21 Jeff Law <law@redhat.com>
18424 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18425 free. Simplify list management for _LIBC case.
18427 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18430 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18431 Clear sign bit of 64-bit integer value before comparing against
18434 * sysdeps/mach/configure: Regenerated.
18436 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18439 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18441 2012-06-21 Jeff Law <law@redhat.com>
18444 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18445 uint16_t for elements in the "seen" array to avoid char overflows.
18446 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18447 * elf/dl-open.c (dl_open_worker): Likewise.
18449 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18451 * scripts/list-sources.sh: Scan PORTS for translations.
18452 * po/libc.pot: Regenerated.
18454 2012-06-21 Andreas Jaeger <aj@suse.de>
18457 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18459 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18460 * bits/byteswap-16.h (__bswap_16): Likewise.
18461 * bits/byteswap.h (__bswap_constant_16): Likewise.
18463 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18466 * sysdeps/i386/fpu_control.h: Removed.
18467 * sysdeps/x86_64/fpu_control.h: Moved to ...
18468 * sysdeps/x86/fpu_control.h: Here.
18470 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18471 (_FPU_SETCW): Likewise.
18473 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18476 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18477 * sysdeps/x86/fpu/bits/mathinline.h: This.
18478 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18482 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18483 functions if __x86_64__ is defined.
18485 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18487 * string/endian.h: Add !__ASSEMBLER__ condition for including
18488 conversion interfaces.
18490 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18494 of ABS(x) in calculating zero to negative powers other than odd
18496 * math/libm-test.inc (pow_test): Add more tests.
18498 2012-06-15 Andreas Jaeger <aj@suse.de>
18500 * manual/contrib.texi (Contributors): Update entry of Liubov
18501 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18504 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18506 * string/string.h: Add __wur to GNU version of strerror_r.
18508 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18511 * string/Makefile (tests): Add tst-strtok_r.
18512 * string/tst-strtok_r.c: New file.
18513 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18514 RAX_LP/RDX_LP on SAVE_PTR.
18516 2012-06-14 Roland McGrath <roland@hack.frob.com>
18518 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18520 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18522 * libm_test.inc (csqrt_test): Allow more spurious underflow
18524 (j0_test): Likewise.
18525 (j1_test): Likewise.
18526 (y0_test): Likewise.
18527 (y1_test): Likewise.
18529 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18531 * po/Makefile (libc.pot): Use UTF-8 charset.
18533 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18536 Suppress sign-conversion warning from FD_SET.
18537 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18538 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18539 not unsigned long int.
18540 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18542 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18546 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18547 __extern_always_inline instead of __extern_inline.
18548 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18549 (__signbit): Likewise.
18550 (__signbitl): Support C++ namespace.
18551 (lrintf): New inline function.
18553 (llrintf): Likewise.
18554 (llrint): Likewise.
18564 (floorf): Likewise.
18565 (nearbyint): Likewise.
18566 (nearbyintf): Likewise.
18568 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18570 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18571 non-default versions.
18573 2012-06-11 Roland McGrath <roland@hack.frob.com>
18576 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18578 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18580 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18581 (FE_UPWARD, FE_DOWNWARD): Don't define.
18582 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18583 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18585 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18587 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18588 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18590 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18592 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18594 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18595 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18597 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18600 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18601 * sysdeps/i386/fpu/Implies: New file.
18602 * sysdeps/x86_64/fpu/Implies: Likewise.
18603 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18604 * sysdeps/x86/fpu/bits/fenv.h: This.
18606 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18609 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18612 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18613 character 0xffff that matches the last element of the
18616 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18618 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18621 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18624 values higher than 25.6283.
18626 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18628 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18629 subnormal exponent extraction and add some __builtin_expect.
18630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18631 Fix for subnormal mantissa calculation.
18633 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18635 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18636 cpu2 is -1 and errno is not ENOSYS.
18638 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18641 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18642 * sysdeps/x86/bits/string.h: This.
18643 * sysdeps/x86_64/bits/string.h: Removed.
18645 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18646 if not compiling for x86-64, but compiling for >= i486.
18648 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18649 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18651 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18652 New macro from Linux kernel 3.4.0.
18653 (FP_XSTATE_MAGIC2): Likewise.
18654 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18655 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18656 (struct _fpx_sw_bytes): New struct.
18657 (struct _xsave_hdr): Likewise.
18658 (struct _ymmh_state): Likewise.
18659 (struct _xstate): Likewise.
18661 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18662 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18663 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18664 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18665 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18666 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18668 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18669 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18670 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18671 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18672 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18673 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18675 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18678 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18679 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18680 (sysdep_headers): Include sys/platform/ppc.h.
18681 * sysdeps/powerpc/test-gettimebase.c: Test for
18682 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18683 * manual/Makefile (appendices): Include platform.texi.
18684 * manual/contrib.texi (Contributors): Update @node pointers.
18685 * manual/maint.texi (Maintenance): Likewise.
18686 (Platform): New node.
18687 * manual/platform.texi: New file. Document the new features.
18689 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18690 Jakub Jelinek <jakub@redhat.com>
18693 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18694 where __builtin_expect is unavailable.
18696 2012-06-03 David S. Miller <davem@davemloft.net>
18698 * stdlib/longlong.h: Updated from GCC.
18700 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18703 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18704 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18707 (GLIBC_2.16): Likewise.
18709 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18711 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18713 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18716 (default-abi): New variable.
18717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18718 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18720 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18722 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18724 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18727 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18728 definition. Document in comment.
18730 2012-06-01 David S. Miller <davem@davemloft.net>
18732 * stdlib/longlong.h: Updated from GCC.
18734 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18737 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18738 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18739 sys/debugreg.h sys/io.h here.
18740 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18741 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18743 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18744 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18745 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18746 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18747 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18748 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18751 Define only if __x86_64__ is defined.
18753 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18756 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18757 Use int64_t for variable i.
18758 * math/libm-test.inc (fmod_test): Add more tests.
18760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18761 z computation is not scheduled after fetestexcept.
18762 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18763 Use math_force_eval instead of asm to ensure calculation scheduled
18764 before exception test.
18765 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18766 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18768 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18771 computation is not scheduled after fetestexcept.
18773 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18776 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18777 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18779 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18781 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18782 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18784 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18787 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18789 (__WCHAR_MIN): Support __WORDSIZE == 64.
18790 (__WCHAR_MAX): Likewise.
18792 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18793 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18796 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18797 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18800 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18801 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18803 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18804 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18807 Defined to 1 if __x86_64__ isn't defined.
18808 (_STAT_VER_LINUX_OLD): New.
18809 (st_atime): Remove duplicate.
18810 (st_mtime): Likewise.
18811 (st_ctime): Likewise.
18813 2012-05-31 David S. Miller <davem@davemloft.net>
18815 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18818 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18820 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18824 * elf/dl-reloc.c: Include <_itoa.h>.
18825 (_dl_reloc_bad_type): Remove use of INTUSE.
18826 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18827 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18828 * stdio-common/psiginfo.c (psiginfo): Likewise.
18829 * stdio-common/psignal.c (psignal): Likewise.
18830 * string/strsignal.c (strsignal): Likewise.
18831 * include/signal.h (_sys_siglist): Declare hidden proto.
18832 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18833 INTVARDEF with libc_hidden_data_def.
18834 * stdio-common/itoa-udigits.c: Likewise.
18835 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18836 (_itoa_lower_digits_internal): Remove declaration.
18837 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18838 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18839 (_sys_sigabbrev_internal): Remove aliases.
18840 (_sys_siglist): Define hidden alias.
18842 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18847 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18850 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18851 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18853 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18854 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18855 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18856 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18857 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18858 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18860 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18861 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18862 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18864 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18872 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18874 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18876 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18877 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18878 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18879 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18880 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18881 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18883 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18884 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18886 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18887 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18890 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18891 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18893 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18894 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18896 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18898 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18899 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18900 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18902 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18904 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18906 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18908 * math/math.h (M_El): Use two more decimal places.
18909 (M_LOG2El): Likewise.
18910 (M_LOG10El): Likewise.
18911 (M_LN2l): Likewise.
18912 (M_LN10l): Likewise.
18914 (M_PI_2l): Likewise.
18915 (M_PI_4l): Likewise.
18916 (M_1_PIl): Likewise.
18917 (M_2_PIl): Likewise.
18918 (M_2_SQRTPIl): Likewise.
18919 (M_SQRT2l): Likewise.
18920 (M_SQRT1_2l): Likewise.
18922 2012-05-31 David S. Miller <davem@davemloft.net>
18924 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18925 values between float registers.
18926 * sysdeps/sparc/sparc64/memset.S: Likewise.
18927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18929 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18931 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18932 -D_FORTIFY_SOURCE=1.
18933 (CPPFLAGS-tst-longjmp_chk.c): Define.
18934 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18935 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18936 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18937 CFLAGS-tst-wchar-h.c.
18939 2012-05-31 Marek Polacek <polacek@redhat.com>
18942 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18943 __endmntent_internal): Remove declaration.
18944 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18945 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18946 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18948 2012-05-30 David S. Miller <davem@davemloft.net>
18950 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18951 (___Q_simulate_exceptions): Use real FP ops rather than writing
18953 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18956 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18959 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18960 * sysdeps/x86/bits/xtitypes.h: This.
18962 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18963 * sysdeps/x86/bits/wordsize.h: This.
18965 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18966 * sysdeps/x86/bits/huge_vall.h: This.
18968 * sysdeps/i386/bits/select.h: Removed.
18969 * sysdeps/x86_64/bits/select.h: Renamed to ...
18970 * sysdeps/x86/bits/select.h: This.
18972 * sysdeps/i386/bits/setjmp.h: Removed.
18973 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18974 * sysdeps/x86/bits/setjmp.h: This.
18976 * sysdeps/i386/bits/mathdef.h: Removed.
18977 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18978 * sysdeps/x86/bits/mathdef.h: This.
18980 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18983 * include/sys/socket.h (__connect_internal)
18984 (__libc_sa_len_internal): Remove declaration.
18985 (__connect, __libc_sa_len): Declare hidden_proto.
18986 (SA_LEN): Remove use of INTUSE.
18987 * socket/connect.c: Add libc_hidden_def.
18988 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18989 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18990 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18992 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18993 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18994 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18995 of adding _internal alias.
18997 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19000 * sysdeps/i386/bits/link.h: Removed.
19001 * sysdeps/i386/bits/linkmap.h: Likewise.
19002 * sysdeps/x86_64/bits/link.h: Renamed to ...
19003 * sysdeps/x86/bits/link.h: This.
19004 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19005 * sysdeps/x86/bits/linkmap.h: This.
19007 * sysdeps/i386/bits/endian.h: Removed.
19008 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19009 * sysdeps/x86/bits/endian.h: This.
19011 * sysdeps/i386/bits/byteswap.h: Removed.
19012 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19013 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19014 * sysdeps/x86/bits/byteswap.h: This.
19015 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19016 * sysdeps/x86/bits/byteswap-16.h: This.
19017 * sysdeps/i386/Implies: Add x86.
19018 * sysdeps/x86_64/Implies: Likewise.
19020 2012-05-30 David S. Miller <davem@davemloft.net>
19022 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19023 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19024 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19025 (FP_TRAPPING_EXCEPTIONS): Define.
19026 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19027 (FP_TRAPPING_EXCEPTIONS): Define.
19028 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19029 subnormals only when inexact has been signalled or underflow
19030 exceptions are enabled.
19031 (_FP_PACK_CANONICAL): Likewise.
19033 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19037 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19039 2012-05-30 Richard Henderson <rth@twiddle.net>
19041 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19042 with #ifndef NOT_IN_libc.
19044 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19045 marked to avoid plt entry.
19047 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19050 * Makeconfig (default-abi): New macro.
19051 (abi-includes): Likewise.
19052 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19053 $(abi-$(default-abi)-lib-soname) for soname if defined.
19054 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19056 * Makefile (installed-stubs): Likewise.
19057 * include/stubs-biarch.h: Removed.
19058 * scripts/lib-names.awk: Only handle one library at a time.
19059 * scripts/soversions.awk: Remove WORDSIZE support.
19060 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19062 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19064 (syscall-list-default-condition): Likewise.
19065 (syscall-list-default-condition): Likewise.
19066 (syscall-list-includes): Likewise.
19067 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19068 syscall-list-* with abi-*. Handle undefined abi-variants.
19069 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19070 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19071 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19072 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19073 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19074 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19076 (syscall-list-32-options): Likewise.
19077 (syscall-list-32-condition): Likewise.
19078 (syscall-list-64-options): Likewise.
19079 (syscall-list-64-condition): Likewise.
19080 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19082 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19085 (abi-64-ld-soname): New macro.
19086 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19087 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19090 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19091 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19093 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19095 * sysdeps/unix/sysv/linux/kernel-features.h
19096 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19097 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19098 include <kernel-features.h>.
19099 [!__NR_ftruncate64]: Remove conditional code.
19100 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19101 [__NR_ftruncate64]: Make code unconditional.
19102 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19103 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19104 include <kernel-features.h>.
19105 [!__NR_ftruncate64]: Remove conditional code.
19106 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19107 [__NR_ftruncate64]: Make code unconditional.
19108 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19110 include <kernel-features.h>.
19111 [!__NR_ftruncate64]: Remove conditional code.
19112 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19113 [__NR_ftruncate64]: Make code unconditional.
19114 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19116 include <kernel-features.h>.
19117 [!__NR_ftruncate64]: Remove conditional code.
19118 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19119 [__NR_ftruncate64]: Make code unconditional.
19120 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19122 * configure.in (libc_cv_fpie): Weaken to a compile test using
19123 LIBC_TRY_CC_OPTION.
19124 * configure: Regenerated.
19126 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19141 2012-05-27 David S. Miller <davem@davemloft.net>
19143 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19145 (__Q_simulate_exceptions): Return void. Change to simulate
19146 exceptions by writing into the %fsr.
19147 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19148 (__Qp_handle_exceptions): Likewise.
19150 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19151 __Qp_handle_exceptions.
19152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19153 __Qp_handle_exceptions.
19154 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19155 as unused and give dummy FP_RND_NEAREST initializer.
19156 (FP_INHIBIT_RESULTS): Define.
19157 (___Q_simulate_exceptions): Update declaration.
19158 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19160 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19161 as unused and give dummy FP_RND_NEAREST initializer.
19162 (__Qp_handle_exceptions): Update declaration.
19163 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19166 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19168 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19169 the temporary FPU control word.
19170 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19171 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19172 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19173 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19174 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19175 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19176 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19177 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19178 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19179 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19180 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19182 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19184 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19187 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19189 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19190 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19191 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19192 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19194 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19195 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19198 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19200 * po/h.po: Update from translation team.
19202 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19204 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19206 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19207 handling of denormals.
19208 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19209 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19211 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19212 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19217 2012-05-26 Marek Polacek <polacek@redhat.com>
19220 * math/libm-test.inc (fma_test): Don't always expect underflow
19223 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19226 * elf/tst-execstack.c: Include stackinfo.h.
19227 (do_test): Adjust test case to ensure that pthread_getattr_np
19228 behaviour remains the same after marking stack executable.
19230 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19232 * sysdeps/unix/sysv/linux/kernel-features.h
19233 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19234 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19236 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19237 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19238 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19240 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19241 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19243 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19245 * configure.in: Define the default includes to being none.
19246 * configure: Regenerated.
19248 2012-05-25 Roland McGrath <roland@hack.frob.com>
19250 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19251 * sysdeps/x86_64/setjmp.S: Likewise.
19252 * sysdeps/i386/bsd-setjmp.S: Likewise.
19253 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19254 * sysdeps/i386/setjmp.S: Likewise.
19255 * sysdeps/i386/__longjmp.S: Likewise.
19256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19257 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19259 * include/stap-probe.h: New file.
19260 * configure.in: Handle --enable-systemtap.
19261 * configure: Regenerated.
19262 * config.h.in (USE_STAP_PROBE): New #undef.
19263 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19264 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19265 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19267 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19271 to 2.4.0 where earlier.
19272 * sysdeps/unix/sysv/linux/configure: Regenerated.
19273 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19274 <kernel-features.h>.
19275 [__ASSUME_32BITUIDS]: Make code unconditional.
19276 [!__ASSUME_32BITUIDS]: Remove conditional code.
19277 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19278 <kernel-features.h>.
19279 [__ASSUME_32BITUIDS]: Make code unconditional.
19280 [!__ASSUME_32BITUIDS]: Remove conditional code.
19281 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19282 [__ASSUME_32BITUIDS]: Make code unconditional.
19283 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19284 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19285 <kernel-features.h>.
19286 [__ASSUME_32BITUIDS]: Make code unconditional.
19287 [!__ASSUME_32BITUIDS]: Remove conditional code.
19288 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19289 <kernel-features.h>.
19290 [__ASSUME_32BITUIDS]: Make code unconditional.
19291 [!__ASSUME_32BITUIDS]: Remove conditional code.
19292 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19293 <kernel-features.h>.
19294 [__ASSUME_32BITUIDS]: Make code unconditional.
19295 [!__ASSUME_32BITUIDS]: Remove conditional code.
19296 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19297 <kernel-features.h>.
19298 [__ASSUME_32BITUIDS]: Make code unconditional.
19299 [!__ASSUME_32BITUIDS]: Remove conditional code.
19300 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19301 <kernel-features.h>.
19302 [__ASSUME_32BITUIDS]: Make code unconditional.
19303 [!__ASSUME_32BITUIDS]: Remove conditional code.
19304 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19305 <kernel-features.h>.
19306 [__ASSUME_32BITUIDS]: Make code unconditional.
19307 [!__ASSUME_32BITUIDS]: Remove conditional code.
19308 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19309 <kernel-features.h>.
19310 [__ASSUME_32BITUIDS]: Make code unconditional.
19311 [!__ASSUME_32BITUIDS]: Remove conditional code.
19312 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19313 <kernel-features.h>.
19314 [__ASSUME_32BITUIDS]: Make code unconditional.
19315 [!__ASSUME_32BITUIDS]: Remove conditional code.
19316 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19317 <kernel-features.h>.
19318 [__ASSUME_32BITUIDS]: Make code unconditional.
19319 [!__ASSUME_32BITUIDS]: Remove conditional code.
19320 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
19325 <kernel-features.h>.
19326 [__NR_setresgid] (__setresgid): Do not declare.
19327 [__ASSUME_32BITUIDS]: Make code unconditional.
19328 [!__ASSUME_32BITUIDS]: Remove conditional code.
19329 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19330 <kernel-features.h>.
19331 [__NR_setresuid] (__setresuid): Do not declare.
19332 [__ASSUME_32BITUIDS]: Make code unconditional.
19333 [!__ASSUME_32BITUIDS]: Remove conditional code.
19334 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19335 <kernel-features.h>.
19336 [__ASSUME_32BITUIDS]: Make code unconditional.
19337 [!__ASSUME_32BITUIDS]: Remove conditional code.
19338 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19339 <kernel-features.h>.
19340 [__ASSUME_32BITUIDS]: Make code unconditional.
19341 [!__ASSUME_32BITUIDS]: Remove conditional code.
19342 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19343 <kernel-features.h>.
19344 [__ASSUME_32BITUIDS]: Make code unconditional.
19345 [!__ASSUME_32BITUIDS]: Remove conditional code.
19346 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19347 <kernel-features.h>.
19348 [__ASSUME_32BITUIDS]: Make code unconditional.
19349 [!__ASSUME_32BITUIDS]: Remove conditional code.
19350 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19351 <kernel-features.h>.
19352 [__ASSUME_32BITUIDS]: Make code unconditional.
19353 [!__ASSUME_32BITUIDS]: Remove conditional code.
19354 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19355 <kernel-features.h>.
19356 [__ASSUME_32BITUIDS]: Make code unconditional.
19357 [!__ASSUME_32BITUIDS]: Remove conditional code.
19358 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19359 <kernel-features.h>.
19360 [__ASSUME_32BITUIDS]: Make code unconditional.
19361 [!__ASSUME_32BITUIDS]: Remove conditional code.
19362 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19363 <kernel-features.h>.
19364 [__ASSUME_32BITUIDS]: Make code unconditional.
19365 [!__ASSUME_32BITUIDS]: Remove conditional code.
19366 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19367 <kernel-features.h>.
19368 [__ASSUME_32BITUIDS]: Make code unconditional.
19369 [!__ASSUME_32BITUIDS]: Remove conditional code.
19370 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19371 <kernel-features.h>.
19372 [__ASSUME_32BITUIDS]: Make code unconditional.
19373 [!__ASSUME_32BITUIDS]: Remove conditional code.
19374 * sysdeps/unix/sysv/linux/kernel-features.h
19375 (__ASSUME_SETRESUID_SYSCALL): Remove.
19376 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19377 (__ASSUME_32BITUIDS): Likewise.
19378 (__ASSUME_LDT_WORKS): Likewise.
19379 (__ASSUME_O_DIRECTORY): Likewise.
19380 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19381 architecture but not kernel version.
19382 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19383 (__ASSUME_MMAP2_SYSCALL): Likewise.
19384 (__ASSUME_STAT64_SYSCALL): Likewise.
19385 (__ASSUME_IPC64): Likewise.
19386 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19387 <kernel-features.h>.
19388 [__ASSUME_32BITUIDS]: Make code unconditional.
19389 [!__ASSUME_32BITUIDS]: Remove conditional code.
19390 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19391 <kernel-features.h>.
19392 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19393 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19394 132096]: Remove conditional code.
19395 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19396 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19397 <kernel-features.h>.
19398 [__ASSUME_32BITUIDS]: Make code unconditional.
19399 [!__ASSUME_32BITUIDS]: Remove conditional code.
19400 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19401 <kernel-features.h>.
19402 [__ASSUME_32BITUIDS]: Make code unconditional.
19403 [!__ASSUME_32BITUIDS]: Remove conditional code.
19404 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19405 <kernel-features.h>.
19406 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19408 (__setresgid): Do not declare.
19409 [__ASSUME_32BITUIDS]: Make code unconditional.
19410 [!__ASSUME_32BITUIDS]: Remove conditional code.
19411 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19412 <kernel-features.h>.
19413 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19415 (__setresuid): Do not declare.
19416 [__ASSUME_32BITUIDS]: Make code unconditional.
19417 [!__ASSUME_32BITUIDS]: Remove conditional code.
19418 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19419 <kernel-features.h>.
19420 [__ASSUME_32BITUIDS]: Make code unconditional.
19421 [!__ASSUME_32BITUIDS]: Remove conditional code.
19422 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19423 <kernel-features.h>.
19424 [__ASSUME_32BITUIDS]: Make code unconditional.
19425 [!__ASSUME_32BITUIDS]: Remove conditional code.
19427 2012-05-25 Richard Henderson <rth@twiddle.net>
19429 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19430 dl_hwcap to ifunc resolver.
19431 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19433 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19434 dl_hwcap to ifunc resolver.
19435 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19437 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19440 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19441 for |x| <= 2**-26, not 2**-57.
19442 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19445 2012-05-24 Jeff Law <law@redhat.com>
19447 * stdio-common/Makefile (tests): Add bug25.
19448 * stdio-common/bug25.c: New test.
19450 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19453 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19454 multiple of MALLOC_ALIGNMENT in size.
19455 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19457 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19459 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19461 (FILENAME_MAX): Use macro-int-constant.
19462 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19463 (_IOFBF): Use macro-int-constant.
19464 (_IOLBF): Likewise.
19465 (_IONBF): Likewise.
19466 (SEEK_CUR): Likewise.
19467 (SEEK_END): Likewise.
19468 (SEEK_SET): Likewise.
19469 (TMP_MAX): Likewise.
19470 (EOF): Use macro-int-constant. Require < 0.
19471 (NULL): Use macro-constant. Require == 0.
19472 (stdin): Require type to be FILE *.
19473 (stdout): Likewise.
19474 (stderr): Likewise.
19475 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19476 macro-int-constant.
19477 (EXIT_SUCCESS): Likewise.
19478 (NULL): Use macro-constant. Require == 0.
19479 (RAND_MAX): Use macro-int-constant.
19480 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19481 [C99-based standards] (strtof): Require function.
19482 [C99-based standards] (strtold): Likewise.
19483 [C99-based standards] (strtoll): Likewise.
19484 [C99-based standards] (strtoull): Likewise.
19485 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19486 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19487 [ISO || ISO99 || ISO11] (math.h): Likewise.
19488 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19489 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19492 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19495 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19496 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19497 * intl/dgettext.c (DCGETTEXT): Likewise.
19498 * intl/gettext.c (DCGETTEXT): Likewise.
19499 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19500 * posix/regex_internal.h (gettext): Likewise.
19501 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19502 Remove declaration.
19503 * include/argz.h (__argz_count_internal)
19504 (__argz_stringify_internal): Remove declaration.
19505 (__argz_count, __argz_stringify): Declare hidden proto.
19506 * intl/dcgettext.c: Remove use of INTDEF.
19507 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19508 * string/argz-stringify.c: Likewise.
19509 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19510 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19511 Declare hidden proto.
19512 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19513 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19514 Declare hidden proto.
19515 * include/stdio.h (__asprintf_internal): Don't declare.
19516 (__asprintf): Don't define as macro. Declare hidden proto.
19517 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19518 (__fsetlocking): Declare hidden proto.
19519 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19520 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19522 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19523 (_IO_setlinebuf): Remove use of INTUSE.
19524 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19525 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19526 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19527 Remove declaration.
19528 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19529 (_IO_do_flush): Remove use of INTUSE.
19530 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19531 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19532 (_IO_adjust_column, _IO_least_wmarker)
19533 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19534 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19535 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19536 (_IO_default_doallocate, _IO_wdefault_doallocate)
19537 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19538 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19539 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19540 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19541 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19542 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19543 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19544 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19545 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19546 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19547 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19548 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19549 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19551 (_IO_flush_all_internal, _IO_adjust_column_internal)
19552 (_IO_default_uflow_internal, _IO_default_finish_internal)
19553 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19554 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19555 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19556 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19557 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19558 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19559 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19560 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19561 (_IO_file_close_internal, _IO_file_close_it_internal)
19562 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19563 (_IO_file_init_internal, _IO_file_attach_internal)
19564 (_IO_file_fopen_internal, _IO_file_read_internal)
19565 (_IO_file_sync_internal, _IO_file_seek_internal)
19566 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19567 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19568 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19569 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19570 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19571 (_IO_list_all_internal, _IO_link_in_internal)
19572 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19573 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19574 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19575 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19576 (_IO_do_write_internal, _IO_padn_internal)
19577 (_IO_getline_info_internal, _IO_getline_internal)
19578 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19579 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19580 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19581 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19582 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19583 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19584 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19585 with libc_hidden_ver, remove use of INTUSE.
19586 * libio/genops.c: Likewise.
19587 * libio/freopen.c: Likewise.
19588 * libio/freopen64.c: Likewise.
19589 * libio/iofclose.c: Likewise.
19590 * libio/iofdopen.c: Likewise.
19591 * libio/iofflush.c: Likewise.
19592 * libio/iofflush_u.c: Likewise.
19593 * libio/iofgets.c: Likewise.
19594 * libio/iofgets_u.c: Likewise.
19595 * libio/iofopen.c: Likewise.
19596 * libio/iofopncook.c: Likewise.
19597 * libio/iofread.c: Likewise.
19598 * libio/iofread_u.c: Likewise.
19599 * libio/ioftell.c: Likewise.
19600 * libio/iofwrite.c: Likewise.
19601 * libio/iogetline.c: Likewise.
19602 * libio/iogets.c: Likewise.
19603 * libio/iogetwline.c: Likewise.
19604 * libio/iopadn.c: Likewise.
19605 * libio/iopopen.c: Likewise.
19606 * libio/ioseekoff.c: Likewise.
19607 * libio/ioseekpos.c: Likewise.
19608 * libio/iosetbuffer.c: Likewise.
19609 * libio/iosetvbuf.c: Likewise.
19610 * libio/ioungetc.c: Likewise.
19611 * libio/ioungetwc.c: Likewise.
19612 * libio/iovdprintf.c: Likewise.
19613 * libio/iovsprintf.c: Likewise.
19614 * libio/iovsscanf.c: Likewise.
19615 * libio/memstream.c: Likewise.
19616 * libio/obprintf.c: Likewise.
19617 * libio/oldfileops.c: Likewise.
19618 * libio/oldiofclose.c: Likewise.
19619 * libio/oldiofdopen.c: Likewise.
19620 * libio/oldiofopen.c: Likewise.
19621 * libio/oldiopopen.c: Likewise.
19622 * libio/oldstdfiles.c: Likewise.
19623 * libio/putc.c: Likewise.
19624 * libio/setbuf.c: Likewise.
19625 * libio/setlinebuf.c: Likewise.
19626 * libio/stdfiles.c: Likewise.
19627 * libio/strops.c: Likewise.
19628 * libio/vasprintf.c: Likewise.
19629 * libio/vscanf.c: Likewise.
19630 * libio/vsnprintf.c: Likewise.
19631 * libio/vswprintf.c: Likewise.
19632 * libio/wfiledoalloc.c: Likewise.
19633 * libio/wfileops.c: Likewise.
19634 * libio/wgenops.c: Likewise.
19635 * libio/wmemstream.c: Likewise.
19636 * libio/wstrops.c: Likewise.
19637 * libio/__fpurge.c: Likewise.
19638 * libio/__fsetlocking.c: Likewise.
19639 * assert/assert.c: Likewise.
19640 * debug/fgets_chk.c: Likewise.
19641 * debug/fgets_u_chk.c: Likewise.
19642 * debug/fread_chk.c: Likewise.
19643 * debug/fread_u_chk.c: Likewise.
19644 * debug/gets_chk.c: Likewise.
19645 * debug/obprintf_chk.c: Likewise.
19646 * debug/vasprintf_chk.c: Likewise.
19647 * debug/vdprintf_chk.c: Likewise.
19648 * debug/vsnprintf_chk.c: Likewise.
19649 * debug/vsprintf_chk.c: Likewise.
19650 * malloc/mtrace.c: Likewise.
19651 * misc/error.c: Likewise.
19652 * misc/syslog.c: Likewise.
19653 * stdio-common/asprintf.c: Likewise.
19654 * stdio-common/fxprintf.c: Likewise.
19655 * stdio-common/getw.c: Likewise.
19656 * stdio-common/isoc99_fscanf.c: Likewise.
19657 * stdio-common/isoc99_scanf.c: Likewise.
19658 * stdio-common/isoc99_vfscanf.c: Likewise.
19659 * stdio-common/isoc99_vscanf.c: Likewise.
19660 * stdio-common/isoc99_vsscanf.c: Likewise.
19661 * stdio-common/printf-prs.c: Likewise.
19662 * stdio-common/printf_fp.c: Likewise.
19663 * stdio-common/printf_fphex.c: Likewise.
19664 * stdio-common/printf_size.c: Likewise.
19665 * stdio-common/putw.c: Likewise.
19666 * stdio-common/scanf.c: Likewise.
19667 * stdio-common/sprintf.c: Likewise.
19668 * stdio-common/tmpfile.c: Likewise.
19669 * stdio-common/vfprintf.c: Likewise.
19670 * stdio-common/vfscanf.c: Likewise.
19671 * stdlib/strfmon_l.c: Likewise.
19672 * sunrpc/openchild.c: Likewise.
19673 * sunrpc/xdr_stdio.c: Likewise.
19674 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19675 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19677 2012-05-24 Roland McGrath <roland@hack.frob.com>
19679 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19681 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19682 in the third column, to generate for the shared library an IFUNC
19683 that uses _dl_vdso_vsym.
19684 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19685 * Makeconfig (object-suffixes-noshared): New variable.
19687 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19688 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19689 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19690 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19693 * include/sys/time.h (__gettimeofday): Remove macro.
19694 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19695 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19697 (__gettimeofday): Add libc_hidden_def.
19698 (gettimeofday): Add libc_hidden_weak.
19699 * sysdeps/mach/gettimeofday.c: Likewise.
19700 * sysdeps/posix/gettimeofday.c: Likewise.
19701 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19702 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19704 (__gettimeofday_internal): Remove strong_alias.
19705 (__gettimeofday): Add libc_hidden_def.
19706 (gettimeofday): Add libc_hidden_weak.
19707 * sysdeps/unix/syscalls.list (gettimeofday):
19708 Remove __gettimeofday_internal alias.
19710 2012-05-24 Daniel Jacobowitz <drow@false.org>
19711 H.J. Lu <hongjiu.lu@intel.com>
19714 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19715 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19716 (largebin_index_32_big): New.
19717 (largebin_index): Use it for 16-byte alignment.
19718 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19719 correction with front_misalign.
19721 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19749 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19750 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19752 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19756 * math/libm-test.inc (exp_test): Add test from bug 14036.
19757 (pow_test): Add test from bug 10846.
19759 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19761 (special_function): Do not include flags in test name.
19762 (parse_args): Likewise.
19763 * sysdeps/i386/fpu/libm-test-ulps: Update.
19764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19765 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19766 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19769 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19771 * math/libm-test.inc ("Philosophy"): Update comment about
19773 (UNDERFLOW_EXCEPTION): New macro.
19774 (UNDERFLOW_EXCEPTION_OK): Likewise.
19775 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19776 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19777 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19778 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19779 (INVALID_EXCEPTION_OK): Update value.
19780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19781 (OVERFLOW_EXCEPTION_OK): Likewise.
19782 (IGNORE_ZERO_INF_SIGN): Likewise.
19783 (test_exceptions): Handle underflow exceptions.
19784 (acos_test): Update for underflow exception expectations.
19785 (cexp_test): Likewise.
19786 (clog_test): Likewise.
19787 (clog10_test): Likewise.
19788 (csqrt_test): Likewise.
19789 (ctan_test): Likewise.
19790 (ctanh_test): Likewise.
19791 (exp_test): Likewise.
19792 (exp10_test): Likewise.
19793 (exp2_test): Likewise.
19794 (expm1_test): Likewise.
19795 (fma_test): Likewise.
19796 (j0_test): Likewise.
19797 (jn_test): Likewise.
19798 (nexttoward_test): Likewise.
19799 (pow_test): Likewise.
19800 (scalbn_test): Likewise.
19801 (scalbln_test): Likewise.
19802 (tan_test): Likewise.
19803 (y1_test): Likewise.
19804 * sysdeps/i386/fpu/libm-test-ulps: Update.
19805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19807 2012-05-23 David S. Miller <davem@davemloft.net>
19809 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19810 (__libc_sigaction): Remove unused local variables.
19812 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19814 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19816 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19818 mktime: avoid signed integer overflow
19819 * time/mktime.c (__mktime_internal): Do not mishandle the case
19820 where diff == INT_MIN.
19822 mktime: simplify computation of average
19823 * time/mktime.c (ranged_convert): Use new time_t_avg function
19824 instead of rolling our own (probably-slower) code.
19826 mktime: do not assume signed right shift propagates sign bit
19827 * time/mktime.c (isdst_differ): New static function.
19828 (__mktime_internal): No need to normalize tm_isdst now.
19829 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19832 mktime: merge another wrapv change from gnulib
19833 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19834 from some compilers.
19836 mktime: remove incorrect attempt at unusual arithmetics
19837 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19838 The code didn't really work on such machines anyway.
19839 (TYPE_MINIMUM): Assume two's complement.
19840 (twos_complement_arithmetic): Verify that long_int and time_t
19841 are two's complement (or unsigned, in the latter case).
19843 mktime: check signed shifts on long_int and time_t, too
19844 * time/mktime.c (SHR): Check that shifts work as desired
19845 on the types long_int and time_t too, as SHR is used on
19848 mktime: do not assume 'long' is wide enough
19849 * time/mktime.c (verify): Move decl up.
19850 (long_int): New type.
19851 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19852 to remove assumption in the code that 'long' is wide enough to
19853 store year values. This assumption is not true on x32 and on
19854 some non-glibc platforms.
19856 mktime: merge wrapv change from gnulib
19857 * time/mktime.c (WRAPV): New macro.
19858 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19859 (guess_time_tm, __mktime_internal): Do not assume that signed
19860 integer overflow wraps around; modern compilers generate code
19861 where this assumption is no longer valid.
19863 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19865 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19866 Replace "jmp L(pseudo_end)" with "ret".
19867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19870 2012-05-23 Andreas Jaeger <aj@suse.de>
19872 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19873 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19875 2012-05-23 Andreas Jaeger <aj@suse.de>
19876 Maximilian Attems <max@stro.at>
19878 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19881 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19883 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19884 code so that pseudo_end is just ret and the stack pointer is
19885 correct also for static library in error case.
19887 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19889 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19890 move to syscalls.list.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19896 * manual/install.texi (Running make install): Do not mention Linux
19897 kernel version for which pt_chown is not needed.
19898 (Linux): Do not mention problems with nscd with 2.0 kernels.
19899 * INSTALL: Regenerated.
19901 2012-05-23 Andreas Jaeger <aj@suse.de>
19903 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19904 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19906 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19907 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19908 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19909 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19910 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19911 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19913 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19915 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19916 * sysdeps/unix/sysv/linux/bits/in.h
19917 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19919 2012-05-22 Roland McGrath <roland@hack.frob.com>
19921 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19922 (PREPARE_VERSION): Just use assert instead, it will be elided
19923 under [NDEBUG] anyway.
19925 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19927 * sysdeps/unix/sysv/linux/Makefile: Include
19928 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19929 (sysdep_routines): Remove sysctl.
19930 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19931 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19932 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19933 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19934 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19936 2012-05-22 Andreas Jaeger <aj@suse.de>
19938 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19939 that pseudo_end is just ret and the stack pointer is correct also
19940 for static library in error case.
19942 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19945 * nss/nsswitch.c (defconfig_entries): New variable.
19946 (__nss_database_lookup): Don't leak defconfig entries.
19947 (nss_parse_service_list): Don't leak on error paths.
19948 (free_database_entries): New function.
19949 (free_defconfig): New function.
19950 (free_mem): Move common code to free_database_entries.
19952 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19954 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19956 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19958 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19959 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19962 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19963 (INTERNAL_SYSCALL_TYPES): Likewise.
19964 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19965 (LOAD_REGS_TYPES_[1-6]): Likewise.
19966 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19967 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19969 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19971 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19972 copysignl for GLIBC_2_0.
19973 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19974 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19976 logbl for GLIBC_2_0.
19977 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19978 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19980 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19983 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19985 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19988 * time/mktime.c: Update copyright years.
19990 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19992 mktime: merge comment-quoting-style change from gnulib
19993 * time/mktime.c: Quote 'like this' in comments.
19994 The GNU coding standards suggest that we no longer quote `like this',
19995 as "`" and "'" are typically rendered asymmetrically nowadays.
19996 The typical gnulib style is to quote 'like this' when quoting
19997 code, and "like this" when quoting English.
19999 * time/mktime.c (compile-command): Add "-I.".
20001 mktime: merge mktime-internal.h change from gnulib
20002 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20004 mktime: merge time_r change from gnulib
20005 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20007 mktime: merge DEBUG change from gnulib
20008 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20009 case system <time.h> has a #define.
20011 mktime: merge <sys/types.h> change from gnulib
20012 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20013 since <time.t> is now guaranteed to define time_t.
20015 mktime: merge HAVE_CONFIG_H change from gnulib
20016 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20018 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20023 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20025 (struct rusage): Use anonymous union to pad each field to
20028 2012-05-21 David S. Miller <davem@davemloft.net>
20030 * Makefules (o-iterator): Remove .s cases.
20031 (compile-command.s): Delete.
20032 (COMPILE.s): Delete.
20033 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20035 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20037 * configure.in (libc_cv_predef_stack_protector): Only consider
20038 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20039 * configure: Regenerated.
20041 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20044 New macro. Use R*LP on int and pointer.
20045 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20046 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20047 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20048 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20050 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20051 [__WORDSIZE_TIME64_COMPAT32] instead of
20052 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20053 (struct utmp): Likewise.
20054 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20055 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20057 (__WORDSIZE_TIME64_COMPAT32): This.
20058 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20059 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20060 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20061 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20062 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20063 (__WORDSIZE_TIME64_COMPAT32): New macro.
20065 2012-05-21 Andreas Jaeger <aj@suse.de>
20067 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20068 only if [SHARED]. Add prototype for __wcschr_ia32.
20070 2012-05-21 Roland McGrath <roland@hack.frob.com>
20072 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20073 of %rbp unmolested in the jmp_buf while mangling the low bits.
20074 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20075 unmolested high bits of %rbp while demangling the low bits.
20076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20078 2012-05-21 Andreas Jaeger <aj@suse.de>
20080 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20081 * sunrpc/svc_simple.c: Use it for registerrpc.
20082 * sunrpc/xcrypt.c: Use it for passwd2des.
20084 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20086 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20088 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20089 Don't define if [__SYSCALL_WORDSIZE != 32].
20090 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20093 2012-05-21 Bruno Haible <bruno@clisp.org>
20094 Andreas Jaeger <aj@suse.de>
20096 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20097 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20098 inptr and inend for must_buffer_ch.
20099 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20100 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20101 * stdio-common/Makefile (tests): Remove bug15.
20102 (bug15-ENV): Remove macro.
20103 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20106 2012-05-19 Andreas Jaeger <aj@suse.de>
20107 Roland McGrath <roland@hack.frob.com>
20109 * manual/contrib.texi: Completely rewritten. It contains now an
20110 alphabetical list of contributors and their contributions.
20112 2012-05-21 Richard Henderson <rth@twiddle.net>
20114 * misc/getauxval.c (__getauxval): Use unsigned long int.
20115 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20116 (getauxval): Use unsigned long int.
20118 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20120 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20122 2012-05-21 Roland McGrath <roland@hack.frob.com>
20124 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20125 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20126 __alignof__ (long double).
20128 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20132 2012-05-20 Richard Henderson <rth@twiddle.net>
20134 * misc/getauxval.c: New file.
20135 * misc/sys/auxv.h: New file.
20136 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20137 (routines): Add getauxval.
20138 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20139 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20140 * elf/dl-sysdep.c (_dl_auxv): Remove.
20141 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20142 * elf/dl-support.c (_dl_auxv): New variable.
20143 (_dl_aux_init): Initialize it.
20144 * manual/startup.texi (Auxiliary Vector): New node.
20145 * sysdeps/generic/bits/hwcap.h: New file.
20146 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20147 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20148 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20149 * sysdeps/sparc/sysdep.h: ... here. Include it.
20150 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20151 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20163 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20167 2012-05-19 David S. Miller <davem@davemloft.net>
20169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20171 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20174 * math/s_ccosh.c: Include <float.h>
20175 (__ccosh): Avoid internal overflow calculating sinh and cosh
20176 values before multiplying by sin and cos values.
20177 * math/s_ccoshf.c: Likewise.
20178 * math/s_ccoshl.c: Likewise.
20179 * math/s_csin.c: Likewise.
20180 * math/s_csinf.c: Likewise.
20181 * math/s_csinl.c: Likewise.
20182 * math/s_csinh.c: Likewise.
20183 * math/s_csinhf.c: Likewise.
20184 * math/s_csinhl.c: Likewise.
20185 * math/libm-test.inc (ccos_test): Add more tests.
20186 (ccosh_test): Likewise.
20187 (csin_test): Likewise.
20188 (csinh_test): Likewise.
20189 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20192 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20194 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20195 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20197 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20199 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20201 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20202 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20203 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20204 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20205 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20206 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20207 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20208 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20209 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20210 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20211 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20212 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20213 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20214 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20215 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20216 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20217 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20218 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20219 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20220 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20221 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20222 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20223 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20224 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20225 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20226 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20227 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20228 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20229 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20230 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20231 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20233 2012-05-18 Andreas Jaeger <aj@suse.de>
20235 * csu/.gitignore: Delete.
20237 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20239 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20240 (timex): Use __syscall_slong_t.
20242 2012-05-18 Andreas Jaeger <aj@suse.de>
20243 Carlos O'Donell <carlos_odonell@mentor.com>
20245 * manual/install.texi (Configuring and compiling): Update
20246 description about files modified in the source directory.
20247 * INSTALL: Regenerated.
20249 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20251 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20252 value. Use "or" to set return value to -1.
20253 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20254 negate return value.
20256 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20258 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20259 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20260 failure if the compiler has Graphite support disabled.
20261 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20263 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20264 CFLAGS-memmove.c): Likewise.
20265 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20268 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20270 * sysdeps/x86_64/x32/_itoa.h: New file.
20272 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20273 getdents system call only if kernel and user dirents have the
20274 same d_ino and d_off.
20276 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20277 LLONG_MAX != LONG_MAX.
20278 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20279 (_fitoa_word): Likewise.
20281 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20283 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20284 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20285 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20287 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20288 include <bits/wordsize.h>. Check __x86_64__ instead of
20290 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20291 if __x86_64__ is defined. Use anonymous union on fpstate.
20293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20296 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20298 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20299 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20300 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20301 Refer to _rtld_local_ro instead of _rtld_global_ro.
20302 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20304 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20306 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20308 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20309 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20310 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20312 * sysdeps/powerpc/powerpc32/dl-machine.c
20313 (__elf_machine_runtime_setup) [PROF]: Don't reference
20316 2012-05-18 Andreas Jaeger <aj@suse.de>
20318 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20319 function only available for GCCs before 3.4 since GCC 3.4
20320 introduced a builtin.
20322 (llrintf): Likewise.
20323 (llrint): Likewise.
20330 (nearbyint): Likewise.
20331 (nearbyintf): Likewise.
20335 (floorf): Likewise.
20337 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20339 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20340 on both fields and cast pointer to __syscall_ulong_t.
20342 * bits/types.h (__fsword_t): New type.
20343 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20344 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20345 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20346 (__FSWORD_T_TYPE): Likewise.
20347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20348 (__FSWORD_T_TYPE): Likewise.
20349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20350 (__FSWORD_T_TYPE): Likewise.
20351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20352 (__FSWORD_T_TYPE): Likewise.
20353 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20354 __SWORD_TYPE with __fsword_t.
20355 (statfs64): Likewise.
20357 2012-05-17 David S. Miller <davem@davemloft.net>
20359 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20361 2012-05-17 Andreas Jaeger <aj@suse.de>
20363 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20366 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20368 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20370 2012-05-17 Andreas Jaeger <aj@suse.de>
20372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20375 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20377 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20379 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20381 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20382 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20384 2012-05-17 Andreas Jaeger <aj@suse.de>
20385 Carlos O'Donell <carlos_odonell@mentor.com>
20388 * sysdeps/x86_64/multiarch/init-arch.h
20389 (bit_YMM_Usable): Rename to...
20390 (bit_AVX_Usable): ... this.
20391 (bit_FMA4_Usable): New macro.
20392 (bit_XMM_state): New macro.
20393 (bit_YMM_state): New macro.
20394 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20395 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20396 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20397 (CPUID_OSXSAVE): New macro.
20398 (CPUID_AVX): New macro.
20399 (CPUID_FMA4): New macro.
20400 (index_YMM_Usable): Rename to...
20401 (index_AVX_Usable): ... this.
20402 (HAS_AVX): Use HAS_ARCH_FEATURE.
20403 (HAS_FMA4): Likewise.
20404 (HAS_YMM_USABLE): Remove.
20405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20406 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20408 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20409 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20410 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20411 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20412 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20414 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20416 * math/libm-test.c: Support platforms without multiple rounding modes.
20417 * math/bug-nextafter.c: Support platforms without FP exceptions.
20418 * math/bug-nexttoward.c: Likewise.
20419 * math/test-fenv.c: Likewise.
20420 * math/test-misc.c: Likewise.
20421 * stdlib/bug-getcontext.c: Likewise.
20423 2012-05-17 Andreas Jaeger <aj@suse.de>
20425 * manual/examples/search.c (critter_cmp): Change signature to
20427 * manual/string.texi (Collation Functions): Likewise.
20429 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20431 * bits/types.h: Fold copyright years.
20432 * bits/typesizes.h: Likewise.
20433 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20437 * time/time.h: Likewise.
20439 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20442 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20443 in instead of returning them. Return void.
20444 (__libc_mallinfo): Accumulate over all arenas.
20445 (__malloc_stats): Adjust for change in int_mallinfo interface.
20447 2012-05-16 Roland McGrath <roland@hack.frob.com>
20450 * configure.in (NM): Add AC_CHECK_TOOL for it.
20451 (libc_extra_cflags): New substituted variable.
20452 Check for -fstack-protector being used implicitly.
20453 * configure: Regenerated.
20454 * config.make.in (config-extra-cflags): New variable,
20455 gets @libc_extra_cflags@.
20456 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20459 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20460 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20461 * configure: Regenerated.
20462 * config.make.in (CPPUNDEFS): New substituted variable.
20463 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20464 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20465 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20467 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20469 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20470 (mq_attr): Use __syscall_slong_t.
20472 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20474 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20475 Check __x86_64__ instead of __WORDSIZE.
20476 (_STAT_VER_LINUX): Likewise.
20477 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20478 __syscall_ulong_t and __syscall_slong_t.
20479 (stat64): Likewise.
20481 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20485 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20487 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20489 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20491 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20494 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20495 include <bits/wordsize.h>. Check __x86_64__ instead of
20497 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20499 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20502 include <bits/wordsize.h>. Check __x86_64__ instead of
20504 (user_regs_struct): Use "__extension__ unsigned long long"
20505 instead of "unsigned long" if __x86_64__ is defined.
20506 (user): Likewise. Pad after pointer field if __ILP32__ is
20509 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20511 * configure.in (makeinfo): Require version 4.5 or later. Allow
20513 * configure: Regenerated.
20514 * manual/install.texi (texinfo): Increase version requirement to
20516 * INSTALL: Regenerated.
20518 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20520 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20522 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20524 * sysdeps/x86_64/x32/ffs.c: New file.
20526 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20528 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20529 defined. Use __syscall_ulong_t.
20530 (shminfo): Use __syscall_ulong_t.
20531 (shm_info): Likewise.
20533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20536 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20538 (msgqnum_t): Use __syscall_ulong_t.
20539 (msglen_t): Likewise.
20540 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20543 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20544 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20546 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20548 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20549 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20551 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20555 include <bits/wordsize.h>. Check __x86_64__ instead of
20558 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20559 "unsigned long long int" if __x86_64__ is defined.
20560 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20562 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20563 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20564 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20566 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20568 (GET_PC): Cast to uintptr_t first.
20569 (GET_FRAME): Likewise.
20570 (GET_STACK): Likewise.
20572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20578 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20579 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20580 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20583 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20584 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20586 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20590 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20592 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20598 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20602 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20604 * Makerules (+depfiles): Also collect depfiles from .oS in
20606 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20607 .oS, $(libnldbl-routines)).
20609 * Makerules (native-compile-mkdep-flags): Define.
20610 * sunrpc/Makefile (extra-objs): Add $(addprefix
20611 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20612 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20613 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20614 calling $(make-target-directory).
20616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20618 * bits/types.h (__snseconds_t): Removed.
20619 * time/time.h (struct timespec): Replace __snseconds_t with
20621 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20622 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20625 (__SNSECONDS_T_TYPE): Likewise.
20626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20627 (__SNSECONDS_T_TYPE): Likewise.
20628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20629 (__SNSECONDS_T_TYPE): Likewise.
20631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20633 * sysdeps/mach/hurd/bits/typesizes.h
20634 (__SYSCALL_SLONG_TYPE): New macro.
20635 (__SYSCALL_ULONG_TYPE): Likewise.
20637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20639 * bits/types.h (__syscall_slong_t): New type.
20640 (__syscall_ulong_t): Likewise.
20642 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20643 (__SYSCALL_ULONG_TYPE): Likewise.
20644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20645 (__SYSCALL_SLONG_TYPE): Likewise.
20646 (__SYSCALL_ULONG_TYPE): Likewise.
20647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20648 (__SYSCALL_SLONG_TYPE): Likewise.
20649 (__SYSCALL_ULONG_TYPE): Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20651 (__SYSCALL_SLONG_TYPE): Likewise.
20652 (__SYSCALL_ULONG_TYPE): Likewise.
20654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20656 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20657 Add sigaltstack-offsets.sym.
20658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20659 <sigaltstack-offsets.h>.
20660 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20661 longjmp_msg pointer.
20662 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20663 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20665 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20667 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20669 * elf/stackguard-macros.h: Remove file.
20670 * sysdeps/generic/stackguard-macros.h: New file.
20671 * sysdeps/i386/stackguard-macros.h: Likewise.
20672 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20673 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20674 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20675 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20676 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20677 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20678 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20679 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20680 <elf/stackguard-macros.h>.
20683 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20684 __aligned__ in attribute.
20685 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20686 (gregset_t): Likewise.
20688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20690 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20691 * sysdeps/x86_64/64/Implies-after: Here. New file.
20692 * sysdeps/x86_64/x32/Implies-after: New file.
20694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20696 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20697 and access return value for _dl_profile_fixup. Use R10_LP to
20700 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20702 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20706 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20707 * sysdeps/x86_64/x32/sysdep.h: New file.
20709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20711 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20712 * sysdeps/x86_64/setjmp.S: Likewise.
20714 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20716 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20718 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20719 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20720 remove unused global constant.
20722 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20724 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20725 include of <not-cancel.h>.
20727 2012-05-15 Roland McGrath <roland@hack.frob.com>
20729 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20731 2012-05-15 Jeff Law <law@redhat.com>
20732 Andreas Jaeger <aj@suse.de>
20735 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20737 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20738 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20739 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20740 code changing __hst_map_handle.map.
20742 2012-05-15 Roland McGrath <roland@hack.frob.com>
20744 * configure.in (sysnames): Look for Implies-before and Implies-after
20746 * configure: Regenerated.
20748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20750 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20751 8-byte data alignment with LP_SIZE alignment.
20753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20755 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20760 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20764 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20765 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20766 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20768 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20772 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20773 (stackinfo_sub_sp): Likewise.
20775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20777 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20782 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20792 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20796 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20797 into R11_LP and load __x86_64_shared_cache_size_half into
20800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20802 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20805 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20813 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20814 powerpc32/power7/fpu/s_logb.c via #include.
20815 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20816 powerpc32/power7/fpu/s_logbf.c via #include.
20817 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20818 powerpc32/power7/fpu/s_logbl.c via #include.
20820 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20822 * README.libm: Remove file.
20824 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20826 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20827 count for x32. Use R*_LP and omit operand-size suffix.
20829 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20831 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20832 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20833 * sysdeps/x86_64/x32/shlib-versions: New file.
20835 2012-05-14 Roland McGrath <roland@hack.frob.com>
20837 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20838 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20839 Use _dl_fatal_printf instead.
20841 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20843 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20844 set if not set by the user. Do not allow for being unset.
20845 * sysdeps/unix/sysv/linux/configure: Regenerated.
20847 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20849 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20850 the `q' suffix from lea and replace .quad with ASM_ADDR.
20852 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20855 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20857 (PTR_DEMANGLE): Likewise.
20859 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20861 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20863 (ASM_ADDR): Likewise.
20864 (RAX_LP): Likewise.
20865 (RBP_LP): Likewise.
20866 (RBX_LP): Likewise.
20867 (RCX_LP): Likewise.
20868 (RDI_LP): Likewise.
20869 (RSI_LP): Likewise.
20870 (RSP_LP): Likewise.
20873 (R10_LP): Likewise.
20874 (R10_LP): Likewise.
20875 (R11_LP): Likewise.
20876 (R12_LP): Likewise.
20877 (R13_LP): Likewise.
20878 (R14_LP): Likewise.
20879 (R15_LP): Likewise.
20881 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20883 * sysdeps/x86_64/x32/dl-machine.h: New file.
20885 2012-05-14 Andreas Jaeger <aj@suse.de>
20887 * manual/Makefile (subdir): Remove export of subdir.
20888 (all): Remove target.
20889 (.PHONY): Remove all from list.
20890 (mkinstalldirs): Remove.
20891 (.PHONY): Remove installdirs from list.
20892 ($(inst_infodir)/libc.info): Use make-target-directory.
20893 (installdirs): Remove.
20894 (subdir_%): Remove.
20895 (glibc-targets): Remove.
20898 ($(objpfx)stubs ../po/manual.pot): Remove.
20899 ($(objpfx)stamp%): Remove.
20900 (make-target-directory): Remove.
20901 (subdir_install): Remove.
20902 (routines): Remove.
20909 * manual/.gitignore: Remove, it's not needed anymore.
20910 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20912 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20914 (texis): Renamed to $(objpfx)texis.
20915 (texis-path): New, contains path to generated files.
20916 (chapters.%): Use texis-path for complete path, add extra argument
20918 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20919 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20920 (summary,texi, stamp-summary): Use complete path of
20921 files. Generate files in build dir.
20922 (dir-add.texi): Build in build dir.
20923 (libm-err.texi,stamp-libm-err): Likewise.
20924 (version.texi, stamp-version): Likewise.
20925 (.%c.texi): Likewise.
20926 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20927 (mostlyclean): Remove target.
20928 (realclean): Remove target.
20929 (generated): Add new variable with contents from mostlyclean and
20930 realclean, remove entries duplicated in common-mostlyclean, add
20931 stamp-libm-err and stamp-version.
20932 (generated-dirs): Add libc directory.
20933 ($(inst_infodir)/libc.info): Install files from build dir.
20935 * manual/install.texi (Configuring and compiling): Adjust since
20936 the info files are not part of the tar ball anymore.
20938 2012-05-14 Andreas Jaeger <aj@suse.de>
20940 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20943 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20946 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20947 to 2.2.0 where earlier.
20948 * sysdeps/unix/sysv/linux/configure: Regenerated.
20949 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20950 Remove conditional code.
20951 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20952 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20953 Remove conditional code.
20954 [!__NR_lchown]: Likewise.
20955 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20956 [__NR_lchown]: Likewise.
20957 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20958 comment referencing __ASSUME_LCHOWN_SYSCALL.
20959 * sysdeps/unix/sysv/linux/i386/sigaction.c
20960 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20961 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20962 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20963 Remove conditional code.
20964 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20965 (__protocol_available): Remove #if 0 code.
20966 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20968 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20969 * sysdeps/unix/sysv/linux/kernel-features.h
20970 (__ASSUME_GETCWD_SYSCALL): Don't define.
20971 (__ASSUME_REALTIME_SIGNALS): Likewise.
20972 (__ASSUME_PREAD_SYSCALL): Likewise.
20973 (__ASSUME_PWRITE_SYSCALL): Likewise.
20974 (__ASSUME_POLL_SYSCALL): Likewise.
20975 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20976 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20978 (__ASSUME_SIOCGIFNAME): Don't define.
20979 (__ASSUME_MSG_NOSIGNAL): Likewise.
20980 (__ASSUME_SENDFILE): Define unconditionally.
20981 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20982 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20984 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20985 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20986 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20987 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20988 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20989 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20990 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20995 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21015 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21016 Remove conditional code.
21017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21018 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21019 Remove conditional code.
21020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21021 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21022 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21023 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21024 Remove conditional code.
21025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21026 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21027 Remove conditional code.
21028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21029 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21030 Remove conditional code.
21031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21032 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21033 Remove conditional code.
21034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21035 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21036 Remove conditional code.
21037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21038 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21039 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21041 * sysdeps/unix/sysv/linux/sigaction.c
21042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21044 * sysdeps/unix/sysv/linux/sigpending.c
21045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21047 * sysdeps/unix/sysv/linux/sigprocmask.c
21048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21050 * sysdeps/unix/sysv/linux/sigsuspend.c
21051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21053 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21054 (__libc_missing_rt_sigs): Remove.
21055 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21056 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21057 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21058 Remove conditional code.
21059 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21060 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21062 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21063 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21064 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21065 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21067 2012-05-14 Andreas Jaeger <aj@suse.de>
21069 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21070 it's not used in glibc.
21071 (__coshm1): Likewise.
21072 (__acosh1p): Likewise.
21075 * manual/string.texi (Copying and Concatenation): Add missing
21076 variable in concat example.
21077 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21082 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21083 __builtin_clzl with __builtin_clzll.
21085 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21088 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21091 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21093 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21094 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21095 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21096 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21098 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21100 * NEWS: Update ia64 info.
21102 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21104 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21107 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21109 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21110 * sysdeps/unix/syscalls.list (dup3): Likewise.
21111 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21112 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21114 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21116 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21117 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21119 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21121 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21123 (TLS_IE): Use mov/add instead of movq/addq to load thread
21125 (TLS_GD_PREFIX): New.
21128 2012-05-11 David S. Miller <davem@davemloft.net>
21130 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21131 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21132 (_FPU_SETCW): Likewise.
21134 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21136 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21137 is 32-byte aligned.
21139 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21142 * iconvdata/gb18030.c: Update tables.
21143 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21144 characters specially.
21145 (BODY for TO_LOOP): Add encoding of missing ranges.
21147 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21150 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21151 * sysdeps/mach/hurd/dup3.c: Likewise.
21152 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21153 * sysdeps/powerpc/memmove.c:: Likewise.
21155 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21158 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21160 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21162 * elf/elf.h (R_X86_64_RELATIVE64): New.
21163 (R_X86_64_NUM): Updated.
21164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21165 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21166 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21167 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21168 tst-quad1pie tst-quad2pie
21169 (modules-names): Add tst-quadmod1 tst-quadmod2.
21170 ($(objpfx)tst-quad1): New dependency.
21171 ($(objpfx)tst-quad2): Likewise.
21172 ($(objpfx)tst-quad1pie): Likewise.
21173 ($(objpfx)tst-quad2pie): Likewise.
21174 * sysdeps/x86_64/tst-quad1.c: New file.
21175 * sysdeps/x86_64/tst-quad1pie.c: New file.
21176 * sysdeps/x86_64/tst-quad2.c: Likewise.
21177 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21178 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21179 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21180 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21181 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21183 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21185 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21186 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21187 * streams/stropts.h (t_scalar_t): Define type.
21189 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21190 (_PATH_PRESERVE): Set to "/var/lib".
21191 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21193 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21196 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21197 if __dir_mkfile succeeded.
21199 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21200 checking for _hurd_dtablesize. Unlock it right after having
21201 finished _hurd_dtable allocation.
21203 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21205 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21206 * sysdeps/mach/hurd/configure: Regenerated.
21207 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21208 special-casing to...
21209 * sysdeps/gnu/configure.in: ... this new file.
21210 * sysdeps/unix/sysv/linux/configure: Regenerated.
21211 * sysdeps/gnu/configure: New generated file.
21213 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21214 for Linux: use nsec instead of usec, as well as:
21215 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21216 members of type struct timespec.
21217 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21219 (struct stat64): Likewise.
21220 (_STATBUF_ST_NSEC): New macro.
21221 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21223 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21224 __strtoul_internal rather than strtoul.
21226 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21228 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21233 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21234 which preserves existing values.
21235 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21237 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21239 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21240 TIMEOUT values. Return EINVAL for NFDS values either negative or
21241 greater than FD_SETSIZE.
21243 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21245 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21246 allocated, call __vm_protect to finish enabling the existing space, and
21247 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21248 allocate the remainder.
21250 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21252 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21253 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21255 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21257 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21258 sysdeps/mach/hurd/readlink.c.
21260 * posix/tst-sysconf.c (posix_options): Only use
21261 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21262 _POSIX_SYNCHRONIZED_IO when they are defined
21263 * sysdeps/mach/hurd/bits/posix_opt.h:
21264 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21265 (_XOPEN_REALTIME): Undefine macro.
21266 (_XOPEN_REALTIME_THREADS): Undefine macro.
21267 (_XOPEN_SHM): Undefine macro.
21268 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21270 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21272 (_POSIX_ASYNC_IO): Undefine macro.
21273 (_POSIX_PRIORITIZED_IO): Undefine macro.
21274 (_POSIX_SPIN_LOCKS): Define macro to -1.
21276 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21277 SA_NODEFER, SA_RESETHAND.
21278 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21279 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21282 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21284 * elf/Makefile (pldd-modules): Define unconditionally.
21286 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21288 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21290 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21292 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21293 Return ENOENT when name is empty.
21294 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21296 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21298 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21300 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21302 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21304 Fix mlock in all cases except non-readable pages.
21305 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21306 instead of VM_PROT_ALL as parameter to __vm_wire function.
21308 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21309 (__mkdir): When path is `/', just fail with EEXIST.
21310 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21314 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21315 <sys/uio.h> (for writev).
21316 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21317 and <sys/param.h> (for MIN).
21319 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21321 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21322 REQUESTED_TIME. Properly set the remaining time and return EINTR
21325 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21327 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21328 Depend on against $(link-rpcuserlibs).
21330 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21332 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21333 (__libc_stack_end): Do not use attribute_relro.
21334 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21335 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21336 to libthread-provided value.
21337 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21343 * bits/libc-lock.h (__libc_once_get): New macro.
21344 * sysdeps/mach/bits/libc-lock.h: Likewise.
21345 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21346 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21347 instead of using implementation details.
21349 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21350 * libio/freopen.c: Likewise.
21351 * libio/freopen64.c: Likewise.
21352 * misc/syslog.c: Likewise.
21353 * nscd/connections.c: Likewise.
21354 * nscd/netgroupcache.c: Likewise.
21355 * sysdeps/posix/getcwd.c: Likewise.
21357 2012-05-10 Roland McGrath <roland@hack.frob.com>
21359 * math/w_ilogbf.c: Add #include <limits.h>.
21361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21363 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21364 path instead of returning without unlocking.
21366 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21367 immediate-write ioctls.
21368 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21370 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21372 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21373 __builtin_frame_address instead of making assumptions about the
21374 location of the return address relative to DATA. Force early load of
21375 the return address.
21376 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21377 __builtin_frame_address.
21380 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21381 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21382 implement dup3 and do some further code clean-ups.
21383 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21384 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21386 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21388 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21390 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21391 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21392 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21393 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21394 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21397 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21398 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21399 when handler == SIG_ERR, not when handler != SIG_ERR.
21401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21403 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21404 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21407 accept4 for GNU Hurd.
21408 * include/sys/socket.h (__libc_accept4): New prototype.
21409 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21410 to implement __libc_accept4.
21411 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21413 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21415 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21416 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21417 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21418 signal-defines.sym.
21420 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21422 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21426 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21427 assertion on O_CLOEXEC flag.
21428 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21429 * hurd/intern-fd.c: Likewise.
21430 * hurd/port2fd.c: Likewise.
21432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21435 * bits/in.h (IPV6_PKTINFO): Define new macro.
21436 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21438 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21443 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21445 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21446 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21448 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21449 * math/libm-test.inc (logb_test) : Additional logb tests.
21451 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21452 Andreas Jaeger <aj@suse.de>
21454 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21455 * configure: Regenerated.
21456 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21457 * config.make.in (link-obsolete-rpc): New substituted variable.
21458 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21459 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21460 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21461 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21462 so that libc.a contains the symbols.
21463 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21464 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21465 * sunrpc/auth_none.c: Likewise.
21466 * sunrpc/auth_unix.c: Likewise.
21467 * sunrpc/authdes_prot.c: Likewise.
21468 * sunrpc/authuxprot.c: Likewise.
21469 * sunrpc/clnt_gen.c: Likewise.
21470 * sunrpc/clnt_perr.c: Likewise.
21471 * sunrpc/clnt_raw.c: Likewise.
21472 * sunrpc/clnt_simp.c: Likewise.
21473 * sunrpc/clnt_tcp.c: Likewise.
21474 * sunrpc/clnt_udp.c: Likewise.
21475 * sunrpc/clnt_unix.c: Likewise.
21476 * sunrpc/des_crypt.c: Likewise.
21477 * sunrpc/des_soft.c: Likewise.
21478 * sunrpc/get_myaddr.c: Likewise.
21479 * sunrpc/key_call.c: Likewise.
21480 * sunrpc/key_prot.c: Likewise.
21481 * sunrpc/netname.c: Likewise.
21482 * sunrpc/pm_getmaps.c: Likewise.
21483 * sunrpc/pm_getport.c: Likewise.
21484 * sunrpc/pmap_clnt.c: Likewise.
21485 * sunrpc/pmap_prot.c: Likewise.
21486 * sunrpc/pmap_prot2.c: Likewise.
21487 * sunrpc/pmap_rmt.c: Likewise.
21488 * sunrpc/publickey.c: Likewise.
21489 * sunrpc/rpc_cmsg.c: Likewise.
21490 * sunrpc/rpc_common.c: Likewise.
21491 * sunrpc/rpc_dtable.c: Likewise.
21492 * sunrpc/rpc_prot.c: Likewise.
21493 * sunrpc/rpc_thread.c: Likewise.
21494 * sunrpc/rtime.c: Likewise.
21495 * sunrpc/svc.c: Likewise.
21496 * sunrpc/svc_auth.c: Likewise.
21497 * sunrpc/svc_raw.c: Likewise.
21498 * sunrpc/svc_run.c: Likewise.
21499 * sunrpc/svc_tcp.c: Likewise.
21500 * sunrpc/svc_udp.c: Likewise.
21501 * sunrpc/svc_unix.c: Likewise.
21502 * sunrpc/svcauth_des.c: Likewise.
21503 * sunrpc/xcrypt.c: Likewise.
21504 * sunrpc/xdr.c: Likewise.
21505 * sunrpc/xdr_array.c: Likewise.
21506 * sunrpc/xdr_float.c: Likewise.
21507 * sunrpc/xdr_intXX_t.c: Likewise.
21508 * sunrpc/xdr_mem.c: Likewise.
21509 * sunrpc/xdr_rec.c: Likewise.
21510 * sunrpc/xdr_ref.c: Likewise.
21511 * sunrpc/xdr_sizeof.c: Likewise.
21512 * sunrpc/xdr_stdio.c: Likewise.
21514 2012-05-10 Roland McGrath <roland@hack.frob.com>
21516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21517 change. Update copyright years.
21519 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21521 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21523 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21524 Joseph Myers <joseph@codesourcery.com>
21525 Paul Pluzhnikov <ppluzhnikov@google.com>
21528 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21530 [cross-compiling] (extra-libs): Likewise.
21531 [cross-compiling] (extra-libs-others): Likewise.
21532 [cross-compiling] (librpcsvc-routines): Likewise.
21533 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21534 [cross-compiling] (omit-deps): Likewise.
21535 (sunrpc-CPPFLAGS): New variable.
21536 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21537 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21538 (cross-rpcgen-objs): New variable.
21539 (extra-objs): Append $(cross-rpcgen-objs).
21540 ($(cross-rpcgen-objs)): New rule.
21541 ($(objpfx)cross-rpcgen): Likewise.
21542 (rpcgen-cmd): Define to use $(built-program-file). Expand
21544 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21545 ($(objpfx)x%.stmp): Likewise.
21546 * sunrpc/proto.h [IS_IN_build] (_): Define.
21547 [IS_IN_build] (_libc_intl_domainname): Likewise.
21549 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21552 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21553 and R_X86_64_TPOFF64.
21555 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21557 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21558 sysdeps/unix/sysv/syscalls.list.
21561 * sysdeps/unix/sysv/syscalls.list: Remove file.
21563 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21566 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21567 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21568 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21569 (__LC_IDENTIFICATION): Make these macros useful in #if
21570 expressions, as required by C99.
21572 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21574 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21575 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21578 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21580 * stdlib/longlong.h: Updated from GCC.
21582 2012-05-09 Andreas Jaeger <aj@suse.de>
21584 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21585 default is first entry.
21586 (run_mode): Set type.
21587 (main): Remove informal message about syslog.
21588 (options): Fix typo.
21591 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21594 (llrintf): Likewise.
21595 (llrint): Likewise.
21598 (nearbyint): Likewise.
21599 (nearbyintf): Likewise.
21601 2012-05-09 Andreas Jaeger <aj@suse.de>
21602 Pedro Alves <palves@redhat.com>
21604 * nscd/nscd.c (run_mode): Use enum.
21605 (main): Cleanup coding style issue.
21607 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21608 Andreas Jaeger <aj@suse.de>
21610 * nscd/nscd.c (go_background): Replaced with...
21611 (run_mode): ... this.
21612 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21613 (options): Add -F --foreground.
21614 (main): Implement it.
21615 (parse_opt): Parse it.
21617 2012-05-09 Andreas Jaeger <aj@suse.de>
21620 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21621 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21622 -Wconversion warning.
21623 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21626 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21628 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21630 (LC_ALL): Use macro-int-constant.
21631 (LC_COLLATE): Likewise.
21632 (LC_CTYPE): Likewise.
21633 (LC_MESSAGES): Likewise.
21634 (LC_MONETARY): Likewise.
21635 (LC_NUMERIC): Likewise.
21636 (LC_TIME): Likewise.
21637 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21638 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21640 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21642 [C99-based standards] (float_t): Expect type.
21643 [C99-based standards] (double_t): Expect type.
21644 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21646 [C99-based standards] (HUGE_VALL): Likewise.
21647 [C99-based standards] (INFINITY): Likewise.
21648 [C99-based standards] (NAN): Likewise.
21649 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21650 [C99-based standards] (FP_NAN): Likewise.
21651 [C99-based standards] (FP_NORMAL): Likewise.
21652 [C99-based standards] (FP_SUBNORMAL): Likewise.
21653 [C99-based standards] (FP_ZERO): Likewise.
21654 [C99-based standards] (FP_FAST_FMA): Use
21655 optional-macro-int-constant. Specify type. Require == 1.
21656 [C99-based standards] (FP_FAST_FMAF): Likewise.
21657 [C99-based standards] (FP_FAST_FMAL): Likewise.
21658 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21659 [C99-based standards] (FP_ILOGBNAN): Likewise.
21660 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21662 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21663 [C99-based standards] (math_errhandling): Specify type.
21664 [ISO99 || ISO11] (signgam): Do not allow.
21665 [non-C99-based standards] (copysignf): Do not allow.
21666 [non-C99-based standards] (exp2f): Likewise.
21667 [non-C99-based standards] (log2f): Likewise.
21668 [non-C99-based standards] (modff): Allow.
21669 [non-C99-based standards] (erff): Do not allow.
21670 [non-C99-based standards] (erfcf): Likewise.
21671 [non-C99-based standards] (gammaf): Likewise.
21672 [non-C99-based standards] (hypotf): Likewise.
21673 [non-C99-based standards] (j0f): Likewise.
21674 [non-C99-based standards] (j1f): Likewise.
21675 [non-C99-based standards] (jnf): Likewise.
21676 [non-C99-based standards] (lgammaf): Likewise.
21677 [non-C99-based standards] (tgammaf): Likewise.
21678 [non-C99-based standards] (y0f): Likewise.
21679 [non-C99-based standards] (y1f): Likewise.
21680 [non-C99-based standards] (ynf): Likewise.
21681 [non-C99-based standards] (isnanf): Likewise.
21682 [non-C99-based standards] (acoshf): Likewise.
21683 [non-C99-based standards] (asinhf): Likewise.
21684 [non-C99-based standards] (atanhf): Likewise.
21685 [non-C99-based standards] (cbrtf): Likewise.
21686 [non-C99-based standards] (expm1f): Likewise.
21687 [non-C99-based standards] (ilogbf): Likewise.
21688 [non-C99-based standards] (log1pf): Likewise.
21689 [non-C99-based standards] (logbf): Likewise.
21690 [non-C99-based standards] (nextafterf): Likewise.
21691 [non-C99-based standards] (remainderf): Likewise.
21692 [non-C99-based standards] (rintf): Likewise.
21693 [non-C99-based standards] (scalbf): Likewise.
21694 [non-C99-based standards] (copysignl): Likewise.
21695 [non-C99-based standards] (exp2l): Likewise.
21696 [non-C99-based standards] (log2l): Likewise.
21697 [non-C99-based standards] (modfl): Allow.
21698 [non-C99-based standards] (erfl): Do not allow.
21699 [non-C99-based standards] (erfcl): Likewise.
21700 [non-C99-based standards] (gammal): Likewise.
21701 [non-C99-based standards] (hypotl): Likewise.
21702 [non-C99-based standards] (j0l): Likewise.
21703 [non-C99-based standards] (j1l): Likewise.
21704 [non-C99-based standards] (jnl): Likewise.
21705 [non-C99-based standards] (lgammal): Likewise.
21706 [non-C99-based standards] (tgammal): Likewise.
21707 [non-C99-based standards] (y0l): Likewise.
21708 [non-C99-based standards] (y1l): Likewise.
21709 [non-C99-based standards] (ynl): Likewise.
21710 [non-C99-based standards] (isnanl): Likewise.
21711 [non-C99-based standards] (acoshl): Likewise.
21712 [non-C99-based standards] (asinhl): Likewise.
21713 [non-C99-based standards] (atanhl): Likewise.
21714 [non-C99-based standards] (cbrtl): Likewise.
21715 [non-C99-based standards] (expm1l): Likewise.
21716 [non-C99-based standards] (ilogbl): Likewise.
21717 [non-C99-based standards] (log1pl): Likewise.
21718 [non-C99-based standards] (logbl): Likewise.
21719 [non-C99-based standards] (nextafterl): Likewise.
21720 [non-C99-based standards] (remainderl): Likewise.
21721 [non-C99-based standards] (rintl): Likewise.
21722 [non-C99-based standards] (scalbl): Likewise.
21723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21724 [non-C99-based standards] (FP_*): Do not allow.
21725 [C99-based standards] (FP_*): Change to
21726 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21727 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21729 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21730 (SIG_ERR): Likewise.
21731 [X/Open-based standards] (SIG_HOLD): Likewise.
21732 (SIG_IGN): Likewise.
21733 (SIGABRT): Use macro-int-constant. Specify type. Require
21735 (SIGFPE): Likewise.
21736 (SIGILL): Likewise.
21737 (SIGINT): Likewise.
21738 (SIGSEGV): Likewise.
21739 (SIGTER): Likewise.
21740 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21741 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21742 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21743 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21744 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21745 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21746 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21747 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21748 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21749 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21750 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21751 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21752 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21753 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21754 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21755 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21756 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21757 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21758 [X/Open-based standards] (SIGTRAP): Likewise.
21759 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21760 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21761 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21762 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21763 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21766 2012-05-08 Ian Wienand <ianw@vmware.com>
21769 * time/tzset.c (__tzset_parse_tz): Update default rules for
21770 daylight time changes in the Energy Policy Act of 2005.
21772 2012-05-09 Andreas Jaeger <aj@suse.de>
21775 * elf/ldconfig.c (parse_conf): Change string to make clear that
21776 ldconfig only issued a warning if ld.so.conf does not exist.
21778 2012-05-08 David S. Miller <davem@davemloft.net>
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21781 movxtod instead of popping the value on the stack.
21783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21785 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21787 * config.h.in: Add HAVE_ARM_PCS_VFP.
21789 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21792 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21793 checking but the checks are disabled for any reason.
21795 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21797 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21798 and ELF64_R_TYPE with ELFW(R_TYPE).
21800 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21802 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21803 (ulimit): Likewise.
21805 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21806 (settimeofday): Likewise.
21808 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21810 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21811 a struct th_u2 inside the union, and move tu_block/tu_code into
21812 a new th_u3 union of tu_block/tu_code inside of that. Move
21813 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21814 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21815 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21816 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21817 (th_stuff): Change to th_u1.tu_stuff.
21819 (th_msg): Change to th_u1.th_u2.tu_data.
21821 2012-05-07 David S. Miller <davem@davemloft.net>
21823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21826 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21827 (SETUP_PIC_REG): Use it.
21828 (SETUP_PIC_REG_LEAF): Use it.
21830 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21834 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21836 (EXPL_FINITE): Likewise.
21837 (FLDLOG): Likewise.
21838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21839 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21843 (EXPL_FINITE): Likewise.
21844 (FLDLOG): Likewise.
21845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21846 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21848 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21849 test of -max_value argument for long double.
21850 * sysdeps/i386/fpu/libm-test-ulps: Update.
21851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21853 2012-05-06 David S. Miller <davem@davemloft.net>
21855 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21856 quad soft-float symbols whose references which are compiler
21858 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21860 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21864 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21866 (EXPL_FINITE): Likewise.
21867 (FLDLOG): Likewise.
21870 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21871 Adjust comments for base varying.
21872 (__expl_finite): Change alias to EXPL_FINITE.
21873 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21875 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21876 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21877 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21878 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21879 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21881 (EXPL_FINITE): Likewise.
21882 (FLDLOG): Likewise.
21885 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21886 Adjust comments for base varying.
21887 (__expl_finite): Change alias to EXPL_FINITE.
21888 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21893 * math/libm-test.inc (check_float_internal): Correct ulp
21894 calculation for subnormal expected results.
21896 2012-05-06 Andreas Jaeger <aj@suse.de>
21898 * Makeconfig (+math-flags): New, set to -frounding-math.
21899 (+cflags): Add +math-flags so that all of glibc gets compiled with
21902 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21904 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21906 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21912 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21913 (__ieee754_expl): Allow for and saturate large arguments.
21914 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21915 (u_threshold): Likewise.
21916 (__exp): Call __ieee754_exp before checking for overflow and
21918 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21919 (u_threshold): Likewise.
21920 (__expf): Call __ieee754_expf before checking for overflow and
21922 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21923 (u_threshold): Likewise.
21924 (__expl): Call __ieee754_expl before checking for overflow and
21926 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21927 (__ieee754_expl): Allow for and saturate large arguments.
21928 * math/libm-test.inc (exp_test): Add another test. Do not allow
21929 missing overflow exception on overflow.
21930 (expm1_test): Do not allow missing overflow exception on overflow.
21932 * sysdeps/i386/fpu/e_expl.c: Move to ...
21933 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21934 rather than using inline asm.
21935 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21936 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21937 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21939 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21942 (signal): Likewise.
21946 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21948 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21949 sysdeps/unix/common/syscalls.list.
21950 (fchmod): Likewise.
21951 (fchown): Likewise.
21952 (ftruncate): Likewise.
21953 (getrusage): Likewise.
21954 (gettimeofday): Likewise.
21955 (setpgid): Likewise.
21956 (setregid): Likewise.
21957 (setreuid): Likewise.
21958 (sigaction): Likewise.
21959 (truncate): Likewise.
21960 (vhangup): Likewise.
21961 * sysdeps/unix/common/syscalls.list: Remove file.
21962 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21963 * sysdeps/unix/sysv/linux/Implies: Likewise.
21965 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21967 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21969 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21973 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21976 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21979 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21982 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21985 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21988 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21991 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21995 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21999 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22002 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22006 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22010 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22012 * sysdeps/unix/common/bits/dirent.h: Remove file.
22013 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22015 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22016 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22017 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22018 * sysdeps/unix/bsd/isatty.c: Likewise.
22019 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22020 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22021 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22023 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22027 long double comparison inaccuracies.
22028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22031 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22033 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22036 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22039 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22040 nonzero digits before rounding a hex value.
22041 * stdlib/tst-strtod.c (tests): Add another test.
22043 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22045 * sysdeps/s390/fpu/libm-test-ulps: Update.
22047 2012-05-03 Andreas Jaeger <aj@suse.de>
22049 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22050 does not get optimized out.
22051 (malloc_opt_barrier): New.
22053 2012-05-03 Andreas Jaeger <aj@suse.de>
22054 Roland McGrath <roland@hack.frob.com>
22056 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22057 intermediate file deletion.
22058 (generated): Add .symlist files.
22060 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22063 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22064 Redirect under this condition.
22065 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22066 [__USE_GNU] (__dprintf_chk): Not under this condition.
22067 [__USE_GNU] (__vdprintf_chk): Likewise.
22068 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22069 under this condition.
22070 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22071 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22072 [__USE_XOPEN2K8] (vdprintf): Likewise.
22073 [__USE_GNU] (__dprintf_chk): Not under this condition.
22074 [__USE_GNU] (__vdprintf_chk): Likewise.
22075 [__USE_GNU] (dprintf): Likewise.
22076 [__USE_GNU] (vdprintf): Likewise.
22078 2012-05-03 Roland McGrath <roland@hack.frob.com>
22080 * elf/Makefile (common-generated): Set this instead of generated for
22081 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22082 $(all-built-dso)-derived lists.
22084 2012-05-03 Andreas Jaeger <aj@suse.de>
22086 * sysdeps/i386/fpu/libm-test-ulps: Update.
22089 * FAQ.in: Likewise.
22090 * scripts/gen-FAQ.pl: Likewise.
22091 * manual/install.texi (Installation): Point to online location of
22093 * Makefile (files-for-dist): Remove FAQ.
22096 2012-05-02 Allan McRae <allan@archlinux.org>
22098 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22099 (LDFLAGS-reldepmod5.so): Likewise.
22100 (LDFLAGS-reldep6mod1.so): Likewise.
22101 (LDFLAGS-reldep6mod4.so): Likewise.
22102 (LDFLAGS-reldep8mod3.so): Likewise.
22103 (LDFLAGS-unload4mod1.so): Likewise.
22104 (LDFLAGS-unload4mod2.so): Likewise.
22105 (LDFLAGS-tst-initorder): Likewise.
22106 (LDFLAGS-tst-initordera2.so): Likewise.
22107 (LDFLAGS-tst-initordera3.so): Likewise.
22108 (LDFLAGS-tst-initordera4.so): Likewise.
22109 (LDFLAGS-tst-initorderb2.so): Likewise.
22110 (LDFLAGS-noload): Likewise.
22111 (LDFLAGS-next): Likewise.
22112 (LDFLAGS-order2mod1.so): Likewise.
22113 (LDFLAGS-order2mod2.so): Likewise.
22114 (LDFLAGS-tst-initorder2): Likewise.
22115 (LDFLAGS-tst-initorder2a.so): Likewise.
22116 (LDFLAGS-tst-initorder2b.so): Likewise.
22117 (LDFLAGS-tst-initorder2c.so): Likewise.
22118 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22120 2012-05-02 David S. Miller <davem@davemloft.net>
22122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22124 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22127 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22129 2012-05-02 Andreas Jaeger <aj@suse.de>
22131 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22132 since we manipulate rounding mode.
22133 (CPPFLAGS-test-idouble.c): Likewise.
22134 (CPPFLAGS-test-ifloat.c): Likewise.
22135 (CFLAGS-test-ldouble.c): Likewise.
22136 (CFLAGS-test-double.c): Likewise.
22137 (CFLAGS-test-float.c): Likewise.
22138 (CFLAGS-test-misc.c): Likewise.
22139 (CFLAGS-test-test-fenv.c): Likewise.
22141 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22145 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22146 comparisons to determine direction to adjust input.
22148 2012-05-01 Roland McGrath <roland@hack.frob.com>
22150 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22151 output to the target.
22153 * scripts/localplt.awk: New file.
22154 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22155 (check-localplt-CFLAGS): Variable removed.
22156 ($(all-built-dso:=.jmprel)): New static pattern rule.
22157 (generated): Add those targets.
22158 (localplt-built-dso): New variable.
22159 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22161 * elf/check-localplt.c: File removed.
22163 * scripts/check-execstack.awk: New file.
22164 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22165 (check-execstack-CFLAGS): Variable removed.
22166 ($(objpfx)check-execstack.h): Target removed.
22167 ($(objpfx)execstack-default): New target.
22168 (generated): Add that instead of check-execstack.h.
22169 ($(all-built-dso:=.phdr)): New static pattern rule.
22170 (generated): Add those targets.
22171 * elf/check-execstack.c: File removed.
22173 * scripts/check-textrel.awk: New file.
22174 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22175 (check-textrel-CFLAGS): Variable removed.
22176 (all-built-dso): Use := to define.o
22177 ($(all-built-dso:=.dyn)): New static pattern rule.
22178 (generated): Add those targets.
22179 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22180 * config.make.in (READELF): New substituted variable.
22181 * elf/check-textrel.c: File removed.
22183 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22185 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22187 * conform/data/ctype.h-data [C99-based standards] (isblank):
22189 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22190 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22192 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22193 Specify type. Require positive value.
22194 (EILSEQ): Likewise.
22195 (ERANGE): Likewise.
22196 [ISO || POSIX] (EILSEQ): Do not expect.
22197 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22198 Specify type. Require positive value.
22199 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22200 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22201 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22202 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22203 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22204 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22205 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22206 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22207 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22208 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22209 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22210 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22211 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22212 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22213 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22214 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22215 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22216 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22217 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22218 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22219 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22221 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22225 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22226 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22227 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22228 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22229 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22230 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22233 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22234 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22235 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22236 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22237 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22238 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22239 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22240 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22241 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22242 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22243 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22246 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22247 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22248 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22249 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22250 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22253 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22254 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22255 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22256 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22257 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22258 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22259 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22260 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22261 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22262 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22263 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22264 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22265 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22266 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22267 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22268 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22269 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22270 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22271 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22272 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22273 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22274 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22275 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22277 (FLT_ROUNDS): Expect as macro, not constant.
22278 (FLT_MANT_DIG): Use macro-int-constant.
22279 (DBL_MANT_DIG): Likewise.
22280 (LDBL_MANT_DIG): Likewise.
22281 (FLT_DIG): Likewise.
22282 (DBL_DIG): Likewise.
22283 (LDBL_DIG): Likewise.
22284 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22285 (DBL_MIN_EXP): Likewise.
22286 (LDBL_MIN_EXP): Likewise.
22287 (FLT_MAX_EXP): Use macro-int-constant.
22288 (DBL_MAX_EXP): Likewise.
22289 (LDBL_MAX_EXP): Likewise.
22290 (FLT_MAX_10_EXP): Likewise.
22291 (DBL_MAX_10_EXP): Likewise.
22292 (LDBL_MAX_10_EXP): Likewise.
22293 (FLT_MAX): Use macro-constant.
22294 (DBL_MAX): Likewise.
22295 (LDBL_MAX): Likewise.
22296 (FLT_EPSILON): Use macro-constant. Give upper bound.
22297 (DBL_EPSILON): Likewise.
22298 (LDBL_EPSILON): Likewise.
22299 (FLT_MIN): Likewise.
22300 (DBL_MIN): Likewise.
22301 (LDBL_MIN): Likewise.
22302 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22303 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22304 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22305 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22306 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22307 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22308 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22309 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22310 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22311 [ISO11] (FLT_TRUE_MIN): Likewise.
22312 [ISO11] (LDBL_TRUE_MIN): Likewise.
22313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22314 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22315 (SCHAR_MIN): Use macro-int-constant. Specify type.
22316 (SCHAR_MAX): Likewise.
22317 (UCHAR_MAX): Likewise.
22318 (CHAR_MIN): Likewise.
22319 (CHAR_MAX): Likewise.
22320 (MB_LEN_MAX): Use macro-int-constant.
22321 (SHRT_MIN): Use macro-int-constant. Specify type.
22322 (SHRT_MAX): Likewise.
22323 (USHRT_MAX): Likewise.
22324 (INT_MAX): Likewise.
22325 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22327 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22329 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22331 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22332 bound negative. Suffix upper bound with "L".
22333 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22335 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22337 [C99-based standards] (LLONG_MAX): Likewise.
22338 [C99-based standards] (ULLONG_MAX): Likewise.
22339 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22341 [ISO11] (max_align_t): Require type.
22342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22344 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22345 from $CFLAGS, without defining away __attribute__ calls.
22346 (checknamespace): Use $CFLAGS_namespace.
22348 * conform/conformtest.pl (@keywords): Only include C99 keywords
22349 for standards based on C99 or C11.
22351 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22353 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22356 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22357 usability of symbols in #if.
22359 * conform/conformtest.pl: If macro or constant types start
22360 "promoted:", expect the symbol to be of the following type
22361 promoted by the integer promotions.
22363 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22364 in one place. Also handle "macro-constant".
22366 * conform/conformtest.pl: Only accept expected macro values with
22367 "==". Parse all "macro" lines in one place.
22368 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22370 * conform/conformtest.pl: Handle braced types on "constant" lines
22371 instead of handling "typed-constant".
22372 * conform/data/signal.h-data: Use "constant" instead of
22375 * conform/conformtest.pl: Handle "optional-" at start of lines in
22376 one place rather than duplicating several cases. Handle each
22377 format of "macro" line with initial "optional-".
22379 * conform/conformtest.pl: Only accept expected constant or
22380 optional-constant values with "==". Parse all "constant" lines in
22381 one place. Parse all "optional-constant" lines in one place.
22382 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22383 * conform/data/fmtmsg.h-data: Likewise.
22384 * conform/data/netinet/in.h-data: Likewise.
22385 * conform/data/tar.h-data: Likewise.
22386 * conform/data/limits.h-data: Use "==" form on "constant" and
22387 "optional-constant" lines.
22389 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22390 Use -std=c99 for XOPEN2K.
22391 (@knownproblems): Remove.
22392 (newtoken): Don't check %isknown.
22394 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22395 Do not expect macro.
22396 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22400 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22401 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22402 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22407 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22408 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22409 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22410 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22411 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22412 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22413 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22414 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22415 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22416 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22417 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22419 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22420 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22423 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22424 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22426 [XPG3] (acosh): Likewise.
22427 [XPG3] (asinh): Likewise.
22428 [XPG3] (atanh): Likewise.
22429 [XPG3] (cbrt): Likewise.
22430 [XPG3] (expm1): Likewise.
22431 [XPG3] (ilogb): Likewise.
22432 [XPG3] (log1p): Likewise.
22433 [XPG3] (logb): Likewise.
22434 [XPG3] (nextafter): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22437 [XPG3] (remainder): Likewise.
22438 [XPG3] (rint): Likewise.
22439 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22440 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22441 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22442 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22443 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22444 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22445 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22446 [UNIX98 || XOPEN2K] (scalb): Expect.
22447 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22448 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22449 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22450 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22451 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22452 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22453 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22454 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22455 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22456 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22457 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22458 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22459 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22460 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22461 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22462 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22463 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22464 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22465 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22466 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22467 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22468 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22469 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22470 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22471 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22472 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22473 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22474 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22475 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22476 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22477 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22478 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22479 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22480 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22481 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22482 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22483 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22484 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22485 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22486 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22487 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22488 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22489 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22490 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22491 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22492 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22493 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22494 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22495 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22496 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22497 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22498 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22499 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22500 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22501 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22502 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22503 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22504 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22505 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22506 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22507 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22508 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22509 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22510 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22511 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22512 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22513 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22514 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22515 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22516 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22517 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22519 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22520 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22521 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22526 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22527 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22534 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22544 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22545 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22546 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22549 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22550 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22551 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22552 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22555 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22556 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22565 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22566 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22571 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22572 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22573 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22574 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22575 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22578 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22579 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22580 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22581 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22585 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22586 _XOPEN_SOURCE_EXTENDED for XPG4.
22588 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22590 * Makeconfig (localtime): Remove variable.
22591 (inst_localtime-file): Likewise.
22593 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22614 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22618 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22619 comparisons to determine direction to adjust input.
22620 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22621 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22622 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22624 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22631 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22633 * math/libm-test.inc (nexttoward_test): Add more tests.
22635 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22638 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22639 in version GLIBC_2.1, not GLIBC_2.0.
22640 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22643 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22646 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22648 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22649 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22650 * math/libm-test.inc (acos_test): Add more tests.
22651 (asin_test): Likewise.
22652 * sysdeps/i386/fpu/libm-test-ulps: Update.
22653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22656 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22658 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22659 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22660 * math/libm-test.inc (acos_test_tonearest): New function.
22661 (acos_test_towardzero): Likewise.
22662 (acos_test_downward): Likewise.
22663 (acos_test_upward): Likewise.
22664 (asin_test_tonearest): Likewise.
22665 (asin_test_towardzero): Likewise.
22666 (asin_test_downward): Likewise.
22667 (asin_test_upward): Likewise.
22668 (main): Call the new functions.
22669 * sysdeps/i386/fpu/libm-test-ulps: Update.
22670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22674 * math/e_exp10.c: Include <float.h>.
22675 (__ieee754_exp10): Handle underflow here rather than multiplying
22676 large negative argument by M_LN10.
22677 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22679 * math/e_exp10l.c: Include <float.h>.
22680 (__ieee754_exp10l): Handle underflow here rather than multiplying
22681 large negative argument by M_LN10l.
22682 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22683 spurious overflow exception on underflow.
22685 2012-04-29 Marek Polacek <polacek@redhat.com>
22687 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22688 (__fortify_function): New macro.
22689 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22690 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22691 __extern_always_inline.
22692 * libio/bits/stdio2.h: Likewise.
22693 * libio/bits/stdio.h: Likewise.
22694 * string/string.h: Likewise.
22695 * string/bits/string3.h: Likewise.
22696 * include/stdio.h: Likewise.
22697 * stdlib/bits/stdlib.h: Likewise.
22698 * stdlib/stdlib.h: Likewise.
22699 * rt/bits/mqueue2.h: Likewise.
22700 * rt/mqueue.h: Likewise.
22701 * posix/bits/unistd.h: Likewise.
22702 * posix/unistd.h: Likewise.
22703 * io/bits/poll2.h: Likewise.
22704 * io/bits/fcntl2.h: Likewise.
22705 * io/fcntl.h: Likewise.
22706 * io/sys/poll.h: Likewise.
22707 * misc/bits/syslog.h: Likewise.
22708 * misc/bits/syslog-ldbl.h: Likewise.
22709 * misc/sys/syslog.h: Likewise.
22710 * socket/bits/socket2.h: Likewise.
22711 * socket/sys/socket.h: Likewise.
22712 * debug/tst-chk1.c: Likewise.
22713 * wcsmbs/bits/wchar2.h: Likewise.
22714 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22715 * wcsmbs/wchar.h: Likewise.
22717 2012-04-29 Andreas Jaeger <aj@suse.de>
22719 * Makerules (tests): Remove enable-check-abi protection.
22720 (check-abi-warn): Remove.
22721 (check-abi-%): Remove check-abi-warn usage.
22723 * configure.in: Remove check-abi configure option.
22724 * configure: Regenerated.
22725 * config.make.in (enable-check-abi): Remove.
22727 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22730 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22731 double functions to double *_finite functions.
22734 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22735 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22737 * stdio-common/Makefile (tests): Add tst-sprintf3.
22738 * stdio-common/tst-sprintf3.c: New file.
22740 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22741 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22743 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22745 * conform/conformtest.pl: Remove duplicate typed-constant
22748 2012-04-28 David S. Miller <davem@davemloft.net>
22750 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22751 (check-abi-%): Remove AWK script prerequisite and explicit
22753 (check-abi): Rewrite to just diff the symlist with the abilist.
22754 (config-tls, config-abi-config): Delete, no longer used.
22755 (update-abi-%): Remove AWK script and explicit abilist directory.
22756 (update-abi): Rewrite to simply compare and conditionally copy the
22757 symlist and the sysdep abilist file. Remove update-abi-config
22759 * abilist/ld.abilist: Remove.
22760 * abilist/libBrokenLocale.abilist: Remove.
22761 * abilist/libanl.abilist: Remove.
22762 * abilist/libcrypt.abilist: Remove.
22763 * abilist/libdl.abilist: Remove.
22764 * abilist/librt.abilist: Remove.
22765 * abilist/libthread_db.abilist: Remove.
22766 * abilist/libutil.abilist: Remove.
22767 * scripts/extract-abilist.awk: Remove.
22768 * scripts/merge-abilist.awk: Remove.
22769 * sysdeps/generic/libcidn.abilist: New file.
22770 * sysdeps/generic/libnss_compat.abilist: New file.
22771 * sysdeps/generic/libnss_db.abilist: New file.
22772 * sysdeps/generic/libnss_dns.abilist: New file.
22773 * sysdeps/generic/libnss_files.abilist: New file.
22774 * sysdeps/generic/libnss_hesiod.abilist: New file.
22775 * sysdeps/generic/libnss_nis.abilist: New file.
22776 * sysdeps/generic/libnss_nisplus.abilist: New file.
22777 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22778 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22779 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22782 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22783 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22784 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22785 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22786 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22787 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22788 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22789 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22791 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22792 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22793 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22794 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22796 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22797 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22798 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22799 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22800 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22801 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22803 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22804 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22805 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22807 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22910 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22911 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22912 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22915 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22916 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22917 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22918 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22919 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22920 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22921 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22922 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22923 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22975 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22977 * conform/conformtest.pl: Fix typo in handling typed-constant from
22980 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22982 * README: Cut down references to pre-2.6 Linux kernels and
22983 Linuxthreads. Update lists of configurations in libc and ports
22984 and sort alphabetically. Say "or newer" with Linux kernel version
22987 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22989 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22992 * math/libm-test.inc (logb_test_downward): New test to expose
22993 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22996 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22999 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23001 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23002 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23004 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23006 * sysdeps/unix/i386/brk.S: Remove file.
23007 * sysdeps/unix/i386/dl-brk.S: Likewise.
23008 * sysdeps/unix/i386/pipe.S: Likewise.
23009 * sysdeps/unix/i386/sigreturn.S: Likewise.
23010 * sysdeps/unix/i386/syscall.S: Likewise.
23011 * sysdeps/unix/i386/vfork.S: Likewise.
23012 * sysdeps/unix/i386/wait.S: Likewise.
23014 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23015 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23017 * configure.in (arm*-none*): Do not allow without
23018 --enable-hacker-mode.
23019 (netbsd*): Remove case setting base_os.
23020 (386bsd*): Likewise.
23021 (freebsd*): Likewise.
23024 (sunos*): Likewise.
23025 (ultrix*): Likewise.
23026 (newsos*): Likewise.
23027 (dynix*): Likewise.
23033 (minix*): Likewise.
23034 (irix4*): Likewise.
23035 (irix6*): Likewise.
23036 (solaris[2-9]*): Likewise.
23038 * configure: Regenerated.
23040 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23043 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23044 overflow or cancellation in calculating denominator.
23045 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23047 down expression to avoid unexpected rounding in newer GCCs.
23048 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23050 2012-04-26 David S. Miller <davem@davemloft.net>
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23053 long-double compat symbols.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23068 2012-04-25 David S. Miller <davem@davemloft.net>
23070 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23071 HWCAP_* values only after the memory barriers have been defined.
23072 (atomic_full_barrier): Define.
23073 (atomic_read_barrier): Define.
23074 (atomic_write_barrier): Define.
23076 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23078 * shlib-versions: Add libgcc_s version information.
23079 * sysdeps/generic/libgcc_s.h: Remove.
23080 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23082 * sysdeps/gnu/unwind-resume.c: Likewise.
23083 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23085 2012-04-25 David S. Miller <davem@davemloft.net>
23087 * sysdeps/unix/sparc/brk.S: Delete.
23088 * sysdeps/unix/sparc/dl-brk.S: Delete.
23089 * sysdeps/unix/sparc/pipe.S: Delete.
23090 * sysdeps/unix/sparc/sysdep.S: Delete.
23091 * sysdeps/unix/sparc/sysdep.h: Delete.
23092 * sysdeps/unix/sparc/vfork.S: Delete.
23093 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23094 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23095 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23096 ret_ERRVAL, r0, r1, MOVE): Define.
23097 (JUMPTARGET): Remove.
23098 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23099 sysdeps/unix/sparc/sysdep.h
23100 (ENTRY, END): Remove.
23101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23103 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23105 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23106 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23109 * timezone/README: Update upstream location and email address for
23111 * timezone/zdump.c: Update from tzcode 2012b.
23112 * timezone/zic.c: Likewise.
23114 * configure.in (libc_cv_as_needed): Remove test.
23115 * configure: Regenerated.
23116 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23117 conditional definition.
23118 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23119 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23120 * config.make.in (have-as-needed): Remove variable.
23122 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23123 Paul Pluzhnikov <ppluzhnikov@google.com>
23125 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23128 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23130 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23131 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23132 * sysdeps/sh/strlen.S: Likewise.
23134 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23136 * sysdeps/unix/fork.S: Remove file.
23137 * sysdeps/unix/i386/fork.S: Likewise.
23138 * sysdeps/unix/sparc/fork.S: Likewise.
23140 * sysdeps/unix/system.c: Remove file.
23141 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23143 * sysdeps/unix/getegid.S: Remove file.
23144 * sysdeps/unix/geteuid.S: Likewise.
23146 2012-04-24 Roland McGrath <roland@hack.frob.com>
23148 * scripts/check-localplt.awk: New file.
23149 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23151 * scripts/data/localplt-generic.data: Add a comment.
23153 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23154 NODE when __dir_mkfile failed.
23155 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23156 Reported by Ludovic Courtès <ludo@gnu.org>.
23158 2012-04-24 Andreas Jaeger <aj@suse.de>
23160 * Makerules (common-clean): Also remove gen-as-const-headers
23163 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23165 * Makerules (native-compile): Do not change working directory for
23166 build. Use $(OUTPUT_OPTION) in command.
23167 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23169 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23172 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23173 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23174 * math/libm-test.inc (floor_test): Add more tests.
23175 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23177 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23179 * sysdeps/unix/getdents.c: Remove file.
23180 * sysdeps/unix/sysv/getdents.c: Likewise.
23181 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23183 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23184 sysdeps/unix/mman/syscalls.list.
23186 (mprotect): Likewise.
23188 (munmap): Likewise.
23189 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23190 * sysdeps/unix/mman/syscalls.list: Remove.
23191 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23193 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23194 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23195 * configure: Regenerated.
23196 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23197 $(libgcc_s_suffix).
23198 * config.make.in (libgcc_s_suffix): Remove variable.
23200 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23202 * sysdeps/unix/sysv/gethostname.c: Move to ...
23203 * sysdeps/posix/gethostname.c: ... here.
23205 * sysdeps/unix/execve.S: Remove file.
23207 * sysdeps/unix/_exit.S: Remove file.
23209 2012-04-23 Andreas Jaeger <aj@suse.de>
23212 * manual/Makefile: Remove make dist support, there's no
23213 need for a stand-alone documentation tar ball.
23214 (TEXI2DVI): Define always, it's not in Makeconfig.
23217 (edition): Removed.
23218 (glibc-doc-$(edition).tar): Removed
23222 (ETAGS): Remove, it's in Makeconfig.
23223 (move-if-change): Remove, it's in Makeconfig.
23225 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23228 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23229 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23230 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23231 (strtod_l, strtof_l, strtold_l): Remove __wur.
23232 It is not necessarily an error to ignore strtol's return value.
23233 One can reliably look at the stored endptr to decide whether
23234 the number had valid syntax.
23236 2012-04-21 Andreas Jaeger <aj@suse.de>
23239 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23241 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23243 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23244 * sysdeps/unix/sysv/Versions: Remove file.
23246 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23251 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23255 version from __vm86.
23257 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23259 * sysdeps/unix/common/lxstat.c: Remove file.
23260 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23262 * sysdeps/unix/sysv/Makefile: Remove file.
23264 * sysdeps/unix/sysv/direct.h: Remove file.
23266 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23267 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23268 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23269 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23270 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23271 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23272 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23274 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23276 * sysdeps/unix/xmknod.c: Remove file.
23277 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23279 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23281 * sysdeps/unix/sysv/i386/time.S: Remove file.
23283 * sysdeps/unix/fxstat.c: Remove file.
23284 * sysdeps/unix/xstat.c: Likewise.
23285 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23287 * sysdeps/unix/sysv/sigaction.c: Remove file.
23289 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23290 (sysdep_headers): Remove variable.
23291 [termio.h not in sysdep_headers] (generated): Likewise.
23292 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23293 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23294 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23295 * sysdeps/unix/sysv/tcflow.c: Likewise.
23296 * sysdeps/unix/sysv/tcflush.c: Likewise.
23297 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23298 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23299 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23300 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23301 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23303 * sysdeps/unix/siglist.c: Remove file.
23305 * sysdeps/unix/getppid.S: Remove file.
23307 * sysdeps/unix/mkdir.c: Remove file.
23308 * sysdeps/unix/rmdir.c: Likewise.
23310 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23312 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23314 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23315 errlist-compat value.
23317 2012-04-18 David S. Miller <davem@davemloft.net>
23319 * sysdeps/generic/memcopy.h (reg_char): Delete.
23320 * debug/strcat_chk.c: Use char, not reg_char.
23321 * debug/strcpy_chk.c: Likewise.
23322 * debug/strncat_chk.c: Likewise.
23323 * debug/strncpy_chk.c: Likewise.
23324 * string/memchr.c: Likewise.
23325 * string/memrchr.c: Likewise.
23326 * string/rawmemchr.c: Likewise.
23327 * string/strcat.c: Likewise.
23328 * string/strchr.c: Likewise.
23329 * string/strchrnul.c: Likewise.
23330 * string/strcmp.c: Likewise.
23331 * string/strcpy.c: Likewise.
23332 * string/strncat.c: Likewise.
23333 * string/strncmp.c: Likewise.
23334 * string/strncpy.c: Likewise.
23336 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23338 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23339 __builtin_memcopy is called when src and dest ranges are known to not
23342 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23344 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23345 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23346 fwd_align_merge macro call.
23347 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23348 bwd_align_merge macro call.
23349 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23351 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23353 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23354 bwd_align_merge macros.
23355 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23356 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23357 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23359 2012-04-18 David S. Miller <davem@davemloft.net>
23361 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23363 2012-04-18 Andreas Jaeger <aj@suse.de>
23366 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23367 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23368 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23370 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23371 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23372 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23374 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23375 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23376 Adjust for changed ldbl-128 files.
23378 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23379 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23380 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23382 2012-04-17 David S. Miller <davem@davemloft.net>
23384 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23386 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23388 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23389 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23390 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23391 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23392 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23395 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23398 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23399 * math/libm-test.inc: Add ilogb errno and exception tests.
23400 * math/w_ilogb.c: New file: ilogb wrapper.
23401 * math/w_ilogbf.c: New file: ilogbf wrapper.
23402 * math/w_ilogbl.c: New file: ilogbl wrapper.
23403 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23404 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23405 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23406 exception being thrown with 0.0 as argument.
23407 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23408 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23409 exception being thrown with 0.0 as argument.
23410 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23411 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23412 exception being thrown with 0.0 as argument.
23413 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23414 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23415 exception being thrown with 0.0 as argument.
23416 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23417 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23418 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23419 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23420 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23421 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23422 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23423 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23424 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23426 2012-04-17 Petr Baudis <pasky@ucw.cz>
23428 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23431 2012-04-16 Marek Polacek <polacek@redhat.com>
23433 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23435 2012-04-16 Marek Polacek <polacek@redhat.com>
23437 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23438 operands of fdivp instruction.
23440 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23442 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23443 * elf/tst-auditmod3b.c: Likewise.
23444 * elf/tst-auditmod4b.c: Likewise.
23445 * elf/tst-auditmod5b.c: Likewise.
23446 * elf/tst-auditmod6b.c: Likewise.
23447 * elf/tst-auditmod6c.c: Likewise.
23448 * elf/tst-auditmod7b.c: Likewise.
23449 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23450 * sysdeps/x86_64/preconfigure.in: Likewise.
23451 * sysdeps/x86_64/preconfigure: Regenerated.
23453 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23455 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23458 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23461 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23463 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23466 * locale/iso-639.def: Fix gl language name. Spotted by
23469 2012-04-12 Roland McGrath <roland@hack.frob.com>
23472 * libio/libio.h (__io_write_fn): Update comment.
23474 2012-04-12 Petr Baudis <pasky@ucw.cz>
23477 * stdio.texi (Hook Functions): The user provided writer function
23478 is not allowed to return -1.
23480 2012-04-11 David S. Miller <davem@davemloft.net>
23482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23484 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23486 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23487 Add a leading slash to rtkaio.
23489 2012-04-11 Jim Meyering <meyering@redhat.com>
23492 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23493 It is not necessarily an error to ignore fwrite's return
23494 value. One can reliably use ferror to test for errors after
23497 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23499 * bits/types.h (__snseconds_t): New type.
23500 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23502 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23504 (__SNSECONDS_T_TYPE): Likewise.
23505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23506 (__SNSECONDS_T_TYPE): Likewise.
23507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23508 (__SNSECONDS_T_TYPE): Likewise.
23510 2012-04-10 Andreas Jaeger <aj@suse.de>
23513 * manual/time.texi (Processor Time): Return type of times is
23514 elapsed real time since an arbitrary point in the past.
23515 (CPU Time): Move CLK_TCK from here...
23516 (Processor Time): ...to here. Correct description.
23517 * manual/conf.texi (Constants for Sysconf): Correct description of
23520 2012-04-10 David S. Miller <davem@davemloft.net>
23523 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23524 where the is a gap between DT_REL(A) and DT_JMPREL.
23526 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23528 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23529 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23530 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23532 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23534 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23535 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23536 (dl_main): Handle --inhibit-cache.
23537 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23539 * elf/dl-load.c (_dl_map_object): Use it.
23540 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23542 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23545 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23546 (__ieee754_powl): Saturate large exponents rather than testing for
23547 overflow of y*log2(x).
23548 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23549 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23553 * math/s_ctan.c: Include <float.h>.
23554 (__ctan): Avoid internal overflow or cancellation in calculating
23556 * math/s_ctanf.c: Likewise.
23557 * math/s_ctanl.c: Likewise.
23558 * math/s_ctanh.c: Likewise.
23559 * math/s_ctanhf.c: Likewise.
23560 * math/s_ctanhl.c: Likewise.
23561 * math/libm-test.inc (ctan_test): Add more tests.
23562 (ctanh_test): Likewise.
23563 * sysdeps/i386/fpu/libm-test-ulps: Update.
23564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23566 2012-04-09 Andreas Jaeger <aj@suse.de>
23569 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23570 is an optional BSD extension.
23573 * manual/stdio.texi (Opening Streams): Document additional fopen
23576 2012-04-09 Roland McGrath <roland@hack.frob.com>
23578 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23579 %eax without telling the compiler.
23581 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23584 * manual/install.texi: Use sourceware.org.
23586 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23589 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23590 (__ieee754_pow): Generate overflow and underflow using huge*huge
23591 and tiny*tiny rather than just returning constant infinity or zero
23592 for large exponents.
23593 * math/libm-test.inc (pow_test): Require overflow exceptions for
23594 applicable cases of large exponents.
23597 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23598 (__ieee754_pow): Use iterative multiplication algorithm only for
23599 integer exponents with absolute value below 1024. Check for odd
23600 integer exponents when using algorithm for real exponents.
23601 * math/libm-test.inc (pow_test): Add more tests.
23602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23604 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23607 * math/libm-test.inc (exp_test): Do not allow overflow exception
23610 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23613 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23614 instead of __kernel_standard_f.
23616 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23618 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23619 * sysdeps/x86_64/memset_chk.S: Likewise.
23621 2012-04-08 Andreas Jaeger <aj@suse.de>
23624 * manual/startup.texi (Environment Access): Describe return value
23625 for putenv and setenv.
23628 * manual/filesys.texi (Directory Entries): Add description for
23632 * manual/filesys.texi (Directory Entries): Clarify that it's file
23633 system not operating system in the description of DT_UNKNOWN.
23636 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23638 2012-04-08 Stephen Compall <s11@member.fsf.org>
23641 * manual/llio.texi (Opening and Closing Files): Add cross
23642 reference to explain mode argument.
23644 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23646 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23647 * sysdeps/x86_64/memset_chk.S: Likewise.
23649 2012-04-07 David S. Miller <davem@davemloft.net>
23651 * elf/elf.h (R_SPARC_WDISP10): Define.
23652 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23654 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23655 R_SPARC_SIZE64 and R_SPARC_H34.
23657 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23659 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23660 conditions and remove no longer applicable assertion.
23662 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23664 * bits/byteswap.h: Include <features.h>.
23665 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23666 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23668 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23670 * bits/byteswap.h (__bswap_16): Removed.
23671 Include <bits/byteswap-16.h> to get __bswap_16.
23672 * sysdeps/i386/bits/byteswap.h: Likewise.
23673 * sysdeps/s390/bits/byteswap.h: Likewise.
23674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23675 * bits/byteswap-16.h: New file.
23676 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23677 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23678 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23679 * string/Makefile (headers): Add bits/byteswap-16.h.
23681 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23684 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23686 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23687 * nss/tst-nss-static.c: New.
23689 2012-04-06 Robert Millan <rmh@gnu.org>
23692 * manual/llio.texi (File Position Primitive): lseek
23693 refers to WHENCE when it really means OFFSET.
23695 2012-04-06 Andreas Jaeger <aj@suse.de>
23697 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23698 strncmp declarations.
23700 * abilist/libc.abilist: Add __poll and __ppoll.
23702 2012-04-05 David S. Miller <davem@davemloft.net>
23704 * scripts/check-local-headers.sh: Accept a host triplet in the
23705 path matched by the exclude regexp.
23707 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23709 * sysdeps/powerpc/powerpc32/dl-machine.h
23710 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23711 * sysdeps/s390/s390-32/dl-machine.h
23712 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23713 * sysdeps/sparc/sparc32/dl-machine.h
23714 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23715 * sysdeps/sparc/sparc64/dl-machine.h
23716 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23718 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23720 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23721 undefined symbol errors.
23723 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23726 2012-04-05 Michael Matz <matz@suse.de>
23729 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23731 2012-04-05 Andreas Jaeger <aj@suse.de>
23734 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23737 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23739 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23740 which ROUND is no valid rounding mode.
23742 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23744 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23746 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23748 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23750 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23751 an exception using FPU order intentionally.
23753 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23755 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23756 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23757 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23758 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23760 2012-04-05 Simon Josefsson <simon@josefsson.org>
23763 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23764 EINVAL when BUFLEN is too smal.
23766 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23769 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23770 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23772 2012-04-03 Andreas Jaeger <aj@suse.de>
23775 * manual/setjmp.texi (System V contexts): Fix sentence.
23778 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23779 New macro for this case.
23780 [!__GNUC__] (__bswap_64): New inline function for this case.
23781 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23782 * bits/byteswap.h: Likewise.
23783 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23784 ull, guard with __GLIBC_HAVE_LONG_LONG.
23786 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23787 __GLIBC_HAVE_LONG_LONG.
23789 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23790 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23792 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23795 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23796 inptr and inend, rather than using last_ch.
23798 2012-04-02 David S. Miller <davem@davemloft.net>
23800 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23801 * stdio-common/printf-parse.h (read_int): Change return type to
23802 'int', return -1 on INT_MAX overflow.
23803 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23804 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23805 overflows INT_MAX. Check for overflow of in-format-string precision
23806 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23807 SIZE_MAX not INT_MAX for integer overflow test.
23808 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23809 skip the construct in the format string but do not record anything.
23810 * stdio-common/bug22.c: Adjust to test both width/prevision
23811 INT_MAX overflow as well as total length INT_MAX overflow. Check
23812 explicitly for proper errno values.
23814 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23816 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23818 * string/test-strcmp.c [! WIDE]: Likewise.
23819 * time/tst-mktime2.c: Likewise for INT_MAX.
23820 * string/test-string.h: #include <sys/param.h> for MIN.
23822 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23823 * sysdeps/i386/init-first.c (init): Likewise.
23824 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23825 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23826 * sysdeps/sh/init-first.c (init): Likewise.
23828 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23830 * po/ru.po: Update from translation team.
23831 * po/vi.po: Likewise.
23833 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23835 * resolv/nss_dns/dns-host.c: Merge copyright years.
23837 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23840 Optimize memcpy with prefetch if
23841 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23842 src, dst pointers have unequal 16 byte alignments.
23844 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23847 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23848 from a CNAME entry and return the minimum ttl for the query.
23849 (gaih_getanswer_slice): Likewise.
23851 2012-03-30 Jeff Law <law@redhat.com>
23853 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23855 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23856 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23858 * resolv/nss_dns/dns-host.c: Update copyright year.
23860 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23862 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23863 requests to save a system call. Fix check that all bytes are sent.
23865 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23866 comments for sendmmsg.
23868 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23871 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23872 with only 1 character between 0x0041 and 0x01b0.
23873 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23874 * wcsmbs/tst-mbsnrtowcs.c: New file.
23876 2012-03-29 David S. Miller <davem@davemloft.net>
23878 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23879 small copies by hand.
23881 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23884 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23885 _nss_compat_initgroups_dyn): Fall back to malloc/free
23886 for large group memberships.
23888 2012-03-28 David S. Miller <davem@davemloft.net>
23890 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23891 that branches into memcpy.
23892 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23895 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23898 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23899 implementation too.
23900 * sysdeps/sparc/mempcpy.S: New file.
23902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23903 the IFUNC routine in the libc case.
23904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23906 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23907 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23908 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23909 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23910 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23911 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23912 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23913 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23915 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23916 loop to 256 bytes instead of 64 bytes and fix test signedness.
23918 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23919 * sysdeps/sparc/sparc32/Makefile: rather than here...
23920 * sysdeps/sparc/sparc64/Makefile: and here.
23922 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23924 * malloc/mallocbug.c: Avoid warnings about unused variables.
23926 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23929 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23930 in the right place. Discard and retry query if response is
23931 larger than input buffer size.
23933 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23938 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23939 x for large integer exponent.
23940 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23941 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23942 sign of result as needed afterwards.
23943 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23944 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23945 result for underflowing pow the same as for overflow.
23946 (__kernel_standard_l): Handle powl overflow and underflow here
23947 rather than calling __kernel_standard.
23948 * math/libm-test.inc (pow_test): Add more tests.
23963 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23964 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23965 (__kernel_standard_l): New function.
23966 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23968 * math/w_acosl.c (__acosl): Likewise.
23969 * math/w_asinl.c (__asinl): Likewise.
23970 * math/w_atan2l.c (__atan2l): Likewise.
23971 * math/w_atanhl.c (__atanhl): Likewise.
23972 * math/w_coshl.c (__coshl): Likewise.
23973 * math/w_exp10l.c (__exp10l): Likewise.
23974 * math/w_exp2l.c (__exp2l): Likewise.
23975 * math/w_fmodl.c (__fmodl): Likewise.
23976 * math/w_hypotl.c (__hypotl): Likewise.
23977 * math/w_j0l.c (__j0l, __y0l): Likewise.
23978 * math/w_j1l.c (__j1l, __y1l): Likewise.
23979 * math/w_jnl.c (__jnl, __ynl): Likewise.
23980 * math/w_lgammal.c (__lgammal): Likewise.
23981 * math/w_log10l.c (__log10l): Likewise.
23982 * math/w_log2l.c (__log2l): Likewise.
23983 * math/w_logl.c (__logl): Likewise.
23984 * math/w_powl.c (__powl): Likewise.
23985 * math/w_remainderl.c (__remainderl): Likewise.
23986 * math/w_scalbl.c (sysv_scalbl): Likewise.
23987 * math/w_sinhl.c (__sinhl): Likewise.
23988 * math/w_sqrtl.c (__sqrtl): Likewise.
23989 * math/w_tgammal.c (__tgammal): Likewise.
23990 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23991 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23992 * math/libm-test.inc (acos_test): Add more tests.
23993 (acosh_test): Likewise.
23994 (asin_test): Likewise.
23995 (atanh_test): Likewise.
23996 (exp_test): Likewise.
23997 (exp10_test): Likewise.
23998 (exp2_test): Likewise.
23999 (expm1_test): Likewise.
24000 (lgamma_test): Likewise.
24001 (log_test): Likewise.
24002 (log10_test): Likewise.
24003 (log1p_test): Likewise.
24004 (log2_test): Likewise.
24005 (pow_test): Do not allow some spurious overflow exceptions.
24006 (sqrt_test): Add more tests.
24007 (tgamma_test): Likewise.
24008 (y0_test): Likewise.
24009 (y1_test): Likewise.
24010 (yn_test): Likewise.
24012 2012-03-27 Anton Blanchard <anton@samba.org>
24014 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24016 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24020 2012-03-27 David S. Miller <davem@davemloft.net>
24022 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24024 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24025 have-as-vis3 check.
24027 2012-03-27 Andreas Jaeger <aj@suse.de>
24029 * sysdeps/x86_64/elf/configure.in: Moved to ...
24030 * sysdeps/x86_64/configure.in: ... here.
24031 * sysdeps/x86_64/elf/start.S: Moved to ...
24032 * sysdeps/x86_64/start.S: ... here.
24033 * sysdeps/x86_64/elf/configure: Delete.
24035 * sysdeps/x86_64/configure.in: Merge contents from
24036 sysdeps/i386/configure.in (without i686 check).
24038 * sysdeps/i386/elf/Versions: Merge into ...
24039 * sysdeps/i386/Versions: ... this.
24040 * sysdeps/i386/elf/Versions: Delete file.
24041 * sysdeps/i386/elf/start.S: Moved to ...
24042 * sysdeps/i386/start.S: ...here.
24043 * sysdeps/i386/elf/configure.in: Merge into...
24044 * sysdeps/i386/configure.in: ...here.
24045 * sysdeps/i386/elf/configure.in: Delete file.
24046 * sysdeps/i386/elf/configure: Delete file.
24048 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24049 * debug/backtracesyms.c: ... here.
24050 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24051 * debug/backtracesymsfd.c: ... here.
24052 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24053 * sysdeps/generic/ifunc-sel.h: ... here.
24055 * sysdeps/unix/i386/start.c: Delete file.
24056 * sysdeps/unix/sparc/start.c: Delete file.
24057 * sysdeps/unix/start.c: Delete file.
24059 * sysdeps/sh/elf/configure.in: Moved to ...
24060 * sysdeps/sh/configure.in: ... here.
24061 * sysdeps/sh/elf/start.S: Moved to ...
24062 * sysdeps/sh/start.S: ... here.
24063 * sysdeps/sh/elf/configure: Delete file.
24065 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24066 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24067 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24068 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24069 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24070 * sysdeps/powerpc/powerpc64/start.S: here.
24071 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24072 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24073 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24074 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24075 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24077 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24078 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24079 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24080 * sysdeps/powerpc/powerpc32/start.S: ... here.
24081 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24082 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24083 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24085 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24086 * sysdeps/powerpc/ifunc-sel.h: ... here.
24087 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24088 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24090 * sysdeps/sparc/elf/configure.in: Moved to ...
24091 * sysdeps/sparc/configure.in: ... here.
24092 * sysdeps/sparc/elf/configure: Delete file.
24093 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24094 * sysdeps/sparc/sparc32/start.S: ... here.
24095 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24096 * sysdeps/sparc/sparc64/start.S: ... here.
24097 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24098 * sysdeps/sparc/sparc32/Makefile: ... this.
24099 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24100 * sysdeps/sparc/sparc64/Makefile: ... this.
24102 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24103 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24104 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24105 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24106 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24107 * sysdeps/s390/s390-32/setjmp.S: ... here.
24108 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24109 * sysdeps/s390/s390-32/configure.in: ... here.
24110 * sysdeps/s390/s390-32/elf/configure: Delete file.
24111 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24112 * sysdeps/s390/s390-32/start.S: ... here.
24114 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24115 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24116 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24117 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24118 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24119 * sysdeps/s390/s390-64/setjmp.S: ... here.
24120 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24121 * sysdeps/s390/s390-64/configure.in: ... here
24122 * sysdeps/s390/s390-64/elf/configure: Delete file.
24123 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24124 * sysdeps/s390/s390-64/start.S: ... here.
24125 * sysdeps/s390/s390-64/elf/configure: Delete.
24127 * configure.in: Remove support for elf directories in sysdeps.
24129 * configure: Regenerated.
24130 * sysdeps/i386/configure: Regenerated.
24131 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24132 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24133 * sysdeps/s390/s390-32/configure: Regenerated.
24134 * sysdeps/s390/s390-64/configure: Regenerated.
24135 * sysdeps/sh/configure: Regenerated.
24136 * sysdeps/sparc/configure: Regenerated.
24137 * sysdeps/x86_64/configure: Regenerated.
24139 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24144 denormal result into account.
24146 2012-03-25 Roland McGrath <roland@hack.frob.com>
24148 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24149 Reported by Allan McRae <allan@archlinux.org>.
24151 2012-03-23 Jeff Law <law@redhat.com>
24153 * nss/getnssent.c (__nss_getent): Fix typo.
24155 2012-03-23 David S. Miller <davem@davemloft.net>
24157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24159 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24161 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24162 to pad to uint64_t for each field.
24163 (dl_tls_index): Replace unsigned long with uint64_t.
24165 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24166 Paul Pluzhnikov <ppluzhnikov@google.com>
24169 * grp/Makefile (otherlibs): Don't set it.
24170 * inet/Makefile (otherlibs): Likewise.
24171 * login/Makefile (otherlibs): Likewise.
24172 * nscd/Makefile (otherlibs): Likewise.
24173 * posix/Makefile (otherlibs): Likewise.
24174 * pwd/Makefile (otherlibs): Likewise.
24175 * rt/Makefile (otherlibs): Likewise.
24176 * sunrpc/Makefile (otherlibs): Likewise.
24177 * nss/Makefile (otherlibs): Likewise.
24178 Add libnss_files to routines and static-only-routines.
24179 ($(objpfx)getent): Remove rule.
24180 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24181 static-only-routines.
24183 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24186 * math/s_cexp.c: Include <float.h>.
24187 (__cexp): Handle exp result overflowing not necessarily
24188 overflowing both real and imaginary parts of result.
24189 * math/s_cexpf.c: Likewise.
24190 * math/s_cexpl.c: Likewise.
24191 * math/libm-test.inc (cexp_test): Add more tests.
24192 * sysdeps/i386/fpu/libm-test-ulps: Update.
24193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24195 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24197 * include/link.h (ELFW): New macro.
24198 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24199 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24201 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24203 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24206 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24208 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24210 (struct La_x32_retval): Likewise.
24212 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24214 * sysdeps/x86_64/preconfigure.in: New file.
24215 * sysdeps/x86_64/preconfigure: New generated file.
24217 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24220 * math/e_exp2l.c: Include <float.h>.
24221 (__ieee754_exp2l): Handle overflow and underflow cases
24222 separately. Only pass fractional part of argument to
24224 * math/libm-test.inc (exp2_test): Add more tests.
24226 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24227 negating x to take absolute value.
24228 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24230 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24233 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24234 computing low part if x was negated.
24235 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24237 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24239 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24240 la_x32_gnu_pltexit.
24241 (pltexit): Cast int_retval to ptrdiff_t.
24242 * elf/tst-auditmod3b.c: Likewise.
24243 * elf/tst-auditmod4b.c: Likewise.
24244 * elf/tst-auditmod5b.c: Likewise.
24245 * elf/tst-auditmod6b.c: Likewise.
24246 * elf/tst-auditmod6c.c: Likewise.
24247 * elf/tst-auditmod7b.c: Likewise.
24249 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24250 and x32_gnu_pltexit.
24252 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24253 __ELF_NATIVE_CLASS.
24254 (La_x32_regs): New macro.
24255 (La_x32_retval): Likewise.
24256 (la_x32_gnu_pltenter): New function prototype.
24257 (la_x32_gnu_pltexit): Likewise.
24259 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24266 * configure.in (libc_cv_cc_nofma): Check for option to disable
24267 generation of FMA instructions.
24268 * configure: Regenerate.
24269 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24270 * sysdeps/ieee754/dbl-64/Makefile: New file.
24271 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24272 Remove brandred-fma4.
24273 (CFLAGS-brandred-fma4.c): Remove.
24274 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24275 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24277 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24280 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24282 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24283 LLONG_MAX != LONG_MAX.
24284 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24285 (_fitoa_word): Likewise.
24286 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24287 LLONG_MAX != LONG_MAX.
24288 * stdio-common/_itowa.h: Include <_itoa.h>.
24289 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24290 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24291 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24292 only if not defined.
24293 (_ITOA_WORD_TYPE): Likewise.
24294 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24295 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24297 2012-03-21 David S. Miller <davem@davemloft.net>
24299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24301 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24303 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24304 of x86_64 when setting libc_cv_slibdir, libdir and
24306 * sysdeps/unix/sysv/linux/configure: Regenerated.
24308 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24310 * manual/lang.texi (Old Varargs): Remove section.
24311 (How Variadic): Update menu.
24312 (va_start): Do not mention varargs.h.
24314 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24315 Joseph Myers <joseph@codesourcery.com>
24317 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24319 * configure: Regenerated.
24321 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24323 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24324 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24327 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24330 * Makefile (files-for-dist): Remove NOTES.
24331 (NOTES): Remove rule.
24332 * README: Don't refer to NOTES.
24333 * manual/creature.texi: Don't include macros.texi.
24334 * manual/intro.texi (creature.texi): Remove comment referring to
24337 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24338 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24339 * configure: Regenerated.
24340 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24341 LIBC_TRY_CC_OPTION.
24342 (libc_cv_as_i686): Likewise.
24343 (libc_cv_cc_avx): Likewise.
24344 (libc_cv_cc_sse2avx): Likewise.
24345 (libc_cv_cc_fma4): Likewise.
24346 (libc_cv_cc_novzeroupper): Likewise.
24347 * sysdeps/i386/configure: Regenerated.
24350 * sysdeps/i386/fpu/s_cexp.S: Remove.
24351 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24352 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24353 * math/libm-test.inc (cexp_test): Add more tests.
24354 * sysdeps/i386/fpu/libm-test-ulps: Update.
24355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24357 2012-03-21 Allan McRae <allan@archlinux.org>
24359 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24361 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24364 * math/w_exp2.c: Do not include <float.h>.
24365 (o_threshold, u_threshold): Remove.
24366 (__exp2): Calculate result before checking finiteness and calling
24368 * math/w_exp2f.c: Likewise.
24369 * math/w_exp2l.c: Likewise.
24370 * math/libm-test.inc (exp2_test): Require overflow exception for
24374 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24375 range of signed 64-bit integers before using fistpll. Remove
24376 checks for whether integers fit in mantissa bits.
24377 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24378 the range of signed 32-bit integers before using fistpl. Remove
24379 checks for whether integers fit in mantissa bits.
24380 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24381 (__ieee754_powl): Test for y outside the range of signed 64-bit
24382 integers before using fistpll. Reduce 64-bit values to 63-bit
24384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24385 divide-by-zero is raised for zero to large negative powers.
24386 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24387 (__ieee754_powl): Test for y outside the range of signed 64-bit
24388 integers before using fistpll. Reduce 64-bit values to 63-bit
24390 * math/libm-test.inc (pow_test): Add more tests.
24392 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24394 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24395 <stdio-common/_itoa.h>.
24396 * debug/segfault.c: Likewise.
24397 * elf/dl-cache.c: Likewise.
24398 * elf/dl-minimal.c: Likewise.
24399 * elf/dl-misc.c: Likewise.
24400 * elf/dl-sysdep.c: Likewise.
24401 * elf/dl-version.c: Likewise.
24402 * elf/rtld.c: Likewise.
24403 * hurd/hurdsock.c: Likewise.
24404 * hurd/lookup-retry.c: Likewise.
24405 * malloc/malloc.c: Likewise.
24406 * malloc/mtrace.c: Likewise.
24407 * nscd/nscd_getgr_r.c: Likewise.
24408 * nscd/nscd_getpw_r.c: Likewise.
24409 * nscd/nscd_getserv_r.c: Likewise.
24410 * posix/getopt_init.c: Likewise.
24411 * posix/wordexp.c: Likewise.
24412 * stdio-common/_itoa.c: Likewise.
24413 * stdio-common/printf_fphex.c: Likewise.
24414 * stdio-common/vfprintf.c: Likewise.
24415 * string/_strerror.c: Likewise.
24416 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24417 * sysdeps/i386/i686/hp-timing.h: Likewise.
24418 * sysdeps/mach/_strerror.c: Likewise.
24419 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24420 * sysdeps/mach/hurd/sethostid.c: Likewise.
24421 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24422 * sysdeps/mach/xpg-strerror.c: Likewise.
24423 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24424 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24425 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24426 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24427 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24428 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24429 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24430 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24431 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24432 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24433 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24434 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24435 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24436 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24437 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24438 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24439 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24440 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24441 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24442 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24443 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24445 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24447 * stdio-common/_itoa.h: Moved to ...
24448 * sysdeps/generic/_itoa.h: Here.
24450 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24452 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24453 instead of "_itoa.h" and "_itowa.h".
24454 * stdio-common/vfprintf.: Likewise.
24456 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24458 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24460 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24461 (__signbit): Likwise.
24462 (llrintf): Likwise.
24465 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24467 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24470 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24472 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24473 OVERFLOW_EXCEPTION_OK.
24474 * math/libm-test.inc ("Philosophy"): Update comment about
24476 (OVERFLOW_EXCEPTION): Define.
24477 (OVERFLOW_EXCEPTION_OK): Likewise.
24478 (INVALID_EXCEPTION_OK): Renumber.
24479 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24480 (IGNORE_ZERO_INF_SIGN): Likewise.
24481 (test_exceptions): Handle FE_OVERFLOW.
24482 (exp10_test): Expect overflow exceptions.
24483 (exp2_test): Likewise.
24484 (expm1_test): Likewise.
24485 (nextafter_test): Likewise.
24486 (pow_test): Likewise.
24487 (scalbn_test): Likewise.
24488 (scalbln_test): Likewise.
24490 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24492 * sysdeps/x86_64/bits/atomic.h
24493 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24495 (atomic_exchange_acq): Likewise.
24496 (__arch_exchange_and_add_body): Likewise.
24497 (__arch_add_body): Likewise.
24498 (atomic_add_negative): Likewise.
24499 (atomic_add_zero): Likewise.
24501 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24503 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24504 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24506 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24508 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24509 Check __x86_64__ instead of __WORDSIZE.
24511 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24513 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24515 2012-03-19 David S. Miller <davem@davemloft.net>
24517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24519 * sysdeps/sparc/fpu/fenv_private.h: New file.
24520 * sysdeps/sparc/fpu/math_private.h: Use it.
24521 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24523 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24524 (libc_feholdexcept_setroundl): Remove.
24525 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24527 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24528 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24530 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24532 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24533 int64_t instead of long int.
24534 (INSERT_WORDS64): Likwise.
24536 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24538 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24539 _Unwind_GetCFA return to _Unwind_Ptr first.
24541 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24544 * math/s_clog.c: Include <float.h>.
24545 (__clog): Scale large or subnormal inputs.
24546 * math/s_clogf.c: Likewise.
24547 * math/s_clogl.c: Likewise.
24548 * math/s_clog10.c: Include <float.h>.
24549 (M_LOG10_2): Define.
24550 (__clog10): Scale large or subnormal inputs.
24551 * math/s_clog10f.c: Likewise.
24552 * math/s_clog10l.c: Likewise.
24553 * math/libm-test.inc (clog_test): Add more tests.
24554 (clog10_test): Likewise.
24555 * sysdeps/i386/fpu/libm-test-ulps: Update.
24556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24559 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24561 * math/libm-test.inc (atan2_test): Add another test.
24563 * Makerules (common-objdir-compile): Remove.
24564 * sysdeps/unix/Makefile (config-generated): Do not add
24565 $(unix-generated) to variable.
24566 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24567 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24569 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24571 [generic bits/local_lim.h] (before-compile): Do not append to
24573 [generic bits/local_lim.h] (common-generated): Likewise.
24574 [generic sys/param.h] (before-compile): Do not append to variable.
24575 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24576 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24577 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24578 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24580 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24581 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24582 [generic sys/param.h] ($(addprefix
24583 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24584 [generic sys/param.h] (common-generated): Do not append to
24586 [generic sys/param.h] (sysdep_headers): Likewise.
24587 [generic bits/errno.h] (before-compile): Do not append to
24589 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24591 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24592 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24593 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24594 [generic bits/errno.h] (common-generated): Do not append to
24596 [generic bits/ioctls.h] (before-compile): Do not append to
24598 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24600 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24601 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24602 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24604 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24605 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24606 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24607 [generic bits/ioctls.h] (common-generated): Do not append to
24609 [generic sys/syscall.h] (syscall.h): Remove variable.
24610 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24612 [generic sys/syscall.h] (before-compile): Do not append to
24614 [generic sys/syscall.h] (common-generated): Likewise.
24615 * sysdeps/unix/errnos-tmpl.c: Remove file.
24616 * sysdeps/unix/errnos.awk: Likewise.
24617 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24618 * sysdeps/unix/ioctls.awk: Likewise.
24619 * sysdeps/unix/mk-local_lim.c: Likewise.
24620 * sysdeps/unix/snarf-ioctls: Likewise.
24622 2012-03-19 Richard Henderson <rth@twiddle.net>
24624 * sysdeps/i386/fpu/fenv_private.h: New file.
24625 * sysdeps/i386/fpu/math_private.h: Use it.
24626 (math_opt_barrier, math_force_eval): Remove.
24627 (libc_feholdexcept_setround_53bit): Remove.
24628 (libc_feupdateenv_53bit): Remove.
24629 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24630 (math_opt_barrier, math_force_eval): Remove.
24631 (libc_feholdexcept): Remove.
24632 (libc_feholdexcept_setround): Remove.
24633 (libc_fetestexcept, libc_fesetenv): Remove.
24634 (libc_feupdateenv_test): Remove.
24635 (libc_feupdateenv, libc_feholdsetround): Remove.
24636 (libc_feresetround): Remove.
24638 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24639 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24641 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24642 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24643 (libc_feupdateenv_testl): New.
24644 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24645 (libc_feupdateenv_testf): New.
24646 (libc_feupdateenv): Use libc_feupdateenv_test.
24647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24648 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24650 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24651 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24652 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24653 (libc_feresetround_noex): New.
24654 (libc_feresetround_noexf): New.
24655 (libc_feresetround_noexl): New.
24656 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24657 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24658 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24659 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24661 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24664 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24665 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24666 SET_RESTORE_ROUND_NOEX.
24667 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24668 SET_RESTORE_ROUND_NOEXF.
24669 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24670 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24671 (libc_feholdsetroundf): New.
24672 (libc_feresetround, libc_feresetroundf): New.
24674 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24675 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24676 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24678 * sysdeps/generic/math_private.h: Include <fenv.h>.
24679 (default_libc_feholdexcept): New.
24680 (default_libc_feholdexcept_setround): New.
24681 (default_libc_fesetenv, default_libc_feupdateenv): New.
24682 (libc_feholdexcept): Only define if undefined.
24683 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24684 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24685 (libc_feholdexcept_setroundl): Likewise.
24686 (libc_feholdexcept_setround_53bit): Likewise.
24687 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24688 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24689 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24690 (libc_feupdateenv_53bit): Likewise.
24691 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24692 (libc_feholdexcept): Convert from macro to inline function.
24693 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24694 (libc_fesetenv, libc_feupdateenv): Likewise.
24696 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24697 not previously defined.
24698 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24699 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24700 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24701 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24702 * sysdeps/ieee754/flt-32/math_private.h: New file.
24703 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24704 math_private.h below SET_FLOAT_WORD.
24705 (__isnan, __isinf_ns, __finite): Remove.
24706 (__isnanf, __isinf_nsf, __finitef): Remove.
24708 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24712 2012-03-17 David S. Miller <davem@davemloft.net>
24715 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24718 2012-03-16 David S. Miller <davem@davemloft.net>
24720 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24724 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24726 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24727 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24728 sysdep_routines when subdir is sysvipc.
24729 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24730 __getshmlba helper.
24732 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24734 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24736 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24739 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24741 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24742 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24743 (__lround): Renamed to ...
24744 (__llround): This. Replace long int with long long int.
24745 Define lround functions as aliases of llround functions.
24746 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24748 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24750 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24751 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24752 adresses to uintptr_t. Replace "long int" and "unsigned long
24753 int" with "greg_t" on va_arg.
24755 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24757 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24758 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24760 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24761 Move e_machine check before EI_CLASS check. Handle x32
24762 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24763 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24764 SKIP_EM_IA_64 and include
24765 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24767 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24768 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24769 (add_system_dir): New macro.
24771 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24772 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24774 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24785 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24787 * math/w_j0f.c (j0f): Likewise.
24789 * math/w_j0l.c (__j0l): Likewise.
24791 * math/w_j1.c (j1): Likewise.
24793 * math/w_j1f.c (j1f): Likewise.
24795 * math/w_j1l.c (__j1l): Likewise.
24797 * math/w_jn.c (jn): Likewise.
24799 * math/w_jnf.c (jnf): Likewise.
24801 * math/w_jnl.c (__jnl): Likewise.
24803 * math/libm-test.inc (j0_test): Add more tests.
24804 (j1_test): Likewise.
24805 (jn_test): Likewise. Add trailing semicolon to existing test.
24806 (y0_test): Likewise.
24807 (y1_test): Likewise.
24808 * sysdeps/i386/fpu/libm-test-ulps: Update.
24809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24814 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24815 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24816 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24817 (__tanl): Set errno for infinite argument.
24818 * sysdeps/i386/fpu/mptan.c: Remove.
24819 * sysdeps/i386/fpu/s_tan.S: Likewise.
24820 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24821 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24822 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24823 * math/libm-test.inc (tan_test): Add more tests and enable more
24824 tests for double and long double.
24825 * sysdeps/i386/fpu/libm-test-ulps: Update.
24826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24828 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24830 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24831 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24833 2012-03-16 Roland McGrath <roland@hack.frob.com>
24835 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24836 * configure.in: Use it for both main tree and add-ons.
24837 * configure: Regenerated.
24839 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24841 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24843 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24845 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24849 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24850 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24855 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24857 != 0 for prec == 2.
24858 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24859 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24860 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24861 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24862 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24863 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24864 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24865 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24866 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24867 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24868 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24869 * math/libm-test.inc (cos_test): Add more tests and enable more
24870 tests for long double.
24871 (sin_test): Likewise.
24872 (sincos_test): Likewise.
24873 * sysdeps/i386/fpu/libm-test-ulps: Update.
24874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24876 2012-03-16 David S. Miller <davem@davemloft.net>
24878 * sysdeps/sparc/fpu/math_private.h: New file.
24880 2012-03-15 David S. Miller <davem@davemloft.net>
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24896 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24897 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24899 * sysdeps/sparc/sparc-ifunc.h: New file.
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24945 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24947 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24951 2012-03-15 Andreas Jaeger <aj@suse.de>
24954 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24955 ieee754/flt-32 implementation for sin, cos and sincos.
24956 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24957 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24958 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24959 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24960 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24961 ieee754/flt-32 implementation for tan.
24963 * math/libm-test.inc (cos_test): Enable some large input tests for
24965 (sin_test): Likewise.
24966 (sincos_test): Likewise.
24967 (tan_test): Add tests for large input.
24969 * sysdeps/i386/fpu/libm-test-ulps: Update.
24971 2012-03-15 Andreas Jaeger <aj@suse.de>
24974 * math/libm-test.inc (cos_test): Add more test cases.
24975 (sin_test): Likewise.
24976 (sincos_test): Likewise.
24978 2012-03-15 Andreas Jaeger <aj@suse.de>
24981 * math/libm-test.inc (cos_test): Add a test case for large input
24983 (sin_test): Likewise.
24984 (sincos_test): Likewise.
24986 2012-03-15 Andreas Jaeger <aj@suse.de>,
24987 Joseph Myers <joseph@codesourcery.com>
24990 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24991 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24992 * sysdeps/i386/fpu/branred.c: Likewise.
24993 * sysdeps/i386/fpu/dosincos.c: Likewise.
24994 * sysdeps/i386/fpu/mpa.c: Likewise.
24995 * sysdeps/i386/fpu/s_cos.S: Likewise.
24996 * sysdeps/i386/fpu/s_sin.S: Likewise.
24997 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24998 * sysdeps/i386/fpu/sincos32.c: Likewise.
25000 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25002 (libc_feupdateenv_53bit): Define.
25003 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25005 (libc_feupdateenv_53bit): Define.
25007 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25008 53 bit (without extend i386 double precision).
25010 * math/libm-test.inc (sincos_test): Add tests for large input.
25014 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25016 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25020 2012-03-15 David S. Miller <davem@davemloft.net>
25022 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25023 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25024 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25025 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25050 fmin/fmax sysdep routines.
25051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25053 2012-03-14 David S. Miller <davem@davemloft.net>
25055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25127 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25132 * sysdeps/sparc/configure.in: New file.
25133 * sysdeps/sparc/configure: Generate.
25134 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25135 * configure: Regenerate.
25136 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25137 * config.make.in (have-as-vis3): New.
25138 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25139 available use -Av9d instead of -Av9a.
25140 * sysdeps/sparc/sparc64/Makefile: Likewise.
25141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25156 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25157 fzeros/fnegs to load 0x80000000 into a float register instead of
25159 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25161 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25165 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25166 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25167 ($(inst_includedir)/bits/syscall.h): Remove rule.
25168 ($(objpfx)bits/syscall.d): Include instead of
25169 $(objpfx)syscall-list.d.
25170 (generated): Change syscall-list.h and syscall-list.d to
25171 bits/syscall.h and bits/syscall.d.
25173 2012-03-14 Roland McGrath <roland@hack.frob.com>
25176 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25178 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25181 * math/s_csqrt.c: Include <float.h>.
25182 (__csqrt): Scale large or subnormal inputs.
25183 * math/s_csqrtf.c: Likewise.
25184 * math/s_csqrtl.c: Likewise.
25185 * math/libm-test.inc (csqrt_test): Add more tests.
25186 * sysdeps/i386/fpu/libm-test-ulps: Update.
25187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25190 * math/libm-test.inc (hypot_test): Add more tests.
25192 2012-03-13 David S. Miller <davem@davemloft.net>
25195 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25196 double-precision for the calculation instead of scaling.
25198 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25200 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25201 manipulate bits before adding and subtracting TWO52[sx].
25202 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25205 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25207 2012-03-13 David S. Miller <davem@davemloft.net>
25209 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25210 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25212 rtld-global-offsets.h
25213 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25215 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25218 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25220 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25221 'err' in the ifdef scope in which it is actually used.
25223 * nss/nss_db/db-init.c: Include string.h
25225 2012-03-12 David S. Miller <davem@davemloft.net>
25227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25228 masking out of the most significant byte of random value used.
25229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25230 Fix coding style in previous change.
25232 * sysdeps/unix/sysv/linux/kernel-features.h
25233 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25234 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25236 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25239 2012-03-11 David S. Miller <davem@davemloft.net>
25241 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25242 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25244 for 'resultvar' otherwise things get truncated on 64-bit.
25246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25247 Fix masking out of the most significant byte of random value used.
25249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25251 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25255 2012-03-09 David S. Miller <davem@davemloft.net>
25257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25258 variables with appropriate CPP guards.
25259 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25260 frame pointer, not the stack pointer. Correct layout comments. Fix test
25261 on resulting framesize and the management of the outregs buffer for pltexit.
25262 Preserve floating point return values across _dl_call_pltexit call.
25263 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25264 framesize and the management of the outregs buffer for pltexit.
25265 Preserve floating point return values across _dl_call_pltexit
25267 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25268 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25269 (print_exit): Fix format string for return register value.
25271 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25273 * sunrpc/Makefile (others): Add rpcgen.
25274 ($(objpfx)rpcgen): Remove special build rule and dependency on
25276 * sunrpc/rpcgen.c: New file.
25278 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25281 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25282 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25283 * sysdeps/i386/crti.S: Likewise.
25284 * sysdeps/i386/crtn.S: Likewise.
25285 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25286 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25289 * sysdeps/sh/crti.S: Likewise.
25290 * sysdeps/sh/crtn.S: Likewise.
25291 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25294 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25296 * locale/programs/locfile-kw.gperf: Likewise.
25297 * locale/programs/charmap-kw.h: Regenerated.
25298 * locale/programs/locfile-kw.h: Likewise.
25301 * intl/plural.y: Replace FSF snail mail address with URL.
25302 * intl/plural.c: Regenerated.
25304 2012-03-09 Richard Henderson <rth@twiddle.net>
25306 * include/math_private.h: Remove file.
25307 * math/math_private.h: Move file ...
25308 * sysdeps/generic/math_private.h: ... here.
25310 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25311 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25312 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25314 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25315 and <math_private.h>.
25316 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25317 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25318 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25319 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25320 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25360 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25362 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25365 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25367 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25405 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25411 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25412 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25413 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25414 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25416 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25417 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25418 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25419 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25420 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25421 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25422 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25423 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25424 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25425 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25426 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25427 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25428 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25429 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25430 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25431 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25432 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25433 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25434 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25435 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25436 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25437 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25438 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25439 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25441 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25442 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25443 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25444 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25445 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25446 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25447 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25448 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25449 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25450 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25451 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25452 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25453 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25454 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25455 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25456 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25457 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25458 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25459 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25460 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25461 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25462 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25463 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25464 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25465 * sysdeps/ieee754/k_standard.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25470 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25471 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25475 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25478 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25479 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25585 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25614 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25615 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25616 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25617 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25626 * sysdeps/ieee754/s_lib_version.c: Likewise.
25627 * sysdeps/ieee754/s_matherr.c: Likewise.
25628 * sysdeps/ieee754/s_signgam.c: Likewise.
25629 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25630 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25631 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25632 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25633 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25634 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25635 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25636 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25637 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25638 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25639 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25640 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25641 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25642 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25643 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25644 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25645 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25646 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25647 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25651 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25653 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25654 * sunrpc/rpc_main.c: Likewise.
25655 * sunrpc/rpc_svcout.c: Likewise.
25657 2012-03-09 David S. Miller <davem@davemloft.net>
25659 * include/math_private.h: New file.
25661 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25663 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25664 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25665 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25666 from <bits/socket_type.h>.
25667 (enum __socket_type): Don't define here.
25668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25670 bits/socket_type.h.
25673 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25674 checking __USE_GNU.
25676 * Makerules ($(inst_includedir)/%.h): New rule.
25677 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25678 (install-others): Remove variable setting.
25679 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25681 2012-03-08 Richard Henderson <rth@twiddle.net>
25683 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25684 from macro to inline function; merge with the
25685 !__LIBC_INTERNAL_MATH_INLINES version.
25686 (__ieee754_sqrtf): Likewise.
25688 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25689 to inline function.
25690 (__rintf, __floor, __floorf): Likewise.
25692 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25693 macro to inline function.
25694 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25696 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25697 not <math/math_private.h>.
25699 2012-03-08 David S. Miller <davem@davemloft.net>
25701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25703 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25705 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25707 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25709 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25710 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25712 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25714 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25715 be defined individually, they must be defined as a block. Define
25716 S for printing a string instead of hidint the different by using a
25717 macro for adding the 'l'.
25718 * stdio-common/tst-fphex-wide.c: Adjust.
25720 2012-03-07 Marek Polacek <polacek@redhat.com>
25722 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25724 2012-03-08 Marek Polacek <polacek@redhat.com>
25727 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25728 * stdio-common/tst-fphex.c: Define a few macros to make the
25729 test reusable. Use them.
25730 * stdio-common/tst-fphex-wide.c: New file.
25732 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25735 * manual/macros.texi (gnusystems): New macro.
25736 (nongnusystems): Likewise.
25737 (gnulinuxhurdsystems): Likewise.
25738 (gnuhurdsystems): Likewise..
25739 (gnulinuxsystems): Likewise.
25740 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25741 variants of the GNU system, not "GNU system".
25742 * manual/conf.texi: Likewise.
25743 * manual/errno.texi: Likewise. Update example of errno macro
25745 * manual/filesys.texi: Likewise.
25746 (getumask): Document as specific to GNU/Hurd.
25747 * manual/install.texi: Likewise. Reword some references to
25749 * manual/intro.texi: Likewise.
25750 * manual/io.texi: Likewise.
25751 (File Name Portability): Detail which constraints are inapplicable
25752 to all GNU systems and which are only inapplicable to GNU/Hurd.
25753 * manual/job.texi: Likewise.
25754 * manual/llio.texi: Likewise.
25755 (O_NOCTTY): Document as present on GNU/Linux.
25756 * manual/maint.texi: Likewise.
25757 * manual/memory.texi: Likewise.
25758 * manual/pattern.texi: Likewise.
25759 * manual/pipe.texi: Likewise.
25760 * manual/process.texi: Likewise.
25761 * manual/resource.texi: Likewise.
25762 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25764 * manual/setjmp.texi: Likewise.
25765 * manual/signal.texi: Likewise.
25766 * manual/startup.texi: Likewise.
25767 * manual/stdio.texi: Likewise.
25768 * manual/terminal.texi: Likewise.
25769 (ONLCR): Document as POSIX.
25770 (OXTABS): Document availability on GNU/Linux as XTABS.
25771 (ONOEOT): Document availability separately from other bits.
25772 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25773 * manual/time.texi: Likewise.
25774 * manual/users.texi: Likewise.
25775 * INSTALL: Regenerated.
25776 * sysdeps/gnu/errlist.c: Regenerated.
25778 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25779 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25780 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25782 * configure: Regenerated.
25784 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25786 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25787 default includes instead of AC_HEADER_CHECK.
25788 * sysdeps/i386/configure: Regenerated.
25791 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25792 * math/s_cacoshf.c (__cacoshf): Likewise.
25793 * math/s_cacoshl.c (__cacoshl): Likewise.
25794 * math/s_casinh.c (__casinh): Set signs of result from argument.
25795 * math/s_casinhf.c (__casinhf): Likewise.
25796 * math/s_casinhl.c (__casinhl): Likewise.
25797 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25798 (casinh_test): Add more tests.
25799 * sysdeps/i386/fpu/libm-test-ulps: Update.
25800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25802 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25804 * po/zh_TW.po: Update from translation team.
25806 * login/Makefile (distribute): Remove variable.
25807 * catgets/Makefile: Likewise.
25808 * mach/Makefile: Likewise.
25809 * malloc/Makefile: Likewise.
25810 * misc/Makefile: Likewise.
25811 * iconv/Makefile: Likewise.
25812 * nscd/Makefile: Likewise.
25813 * hurd/Makefile: Likewise.
25814 * manual/Makefile: Likewise.
25815 * locale/Makefile: Likewise.
25816 * intl/Makefile: Likewise.
25817 * conform/Makefile: Likewise.
25818 * nss/Makefile: Likewise.
25819 * time/Makefile: Likewise.
25820 * soft-fp/Makefile: Likewise.
25821 * dirent/Makefile: Likewise.
25822 * gmon/Makefile: Likewise.
25823 * po/Makefile: Likewise.
25824 * rt/Makefile: Likewise.
25825 * socket/Makefile: Likewise.
25826 * math/Makefile: Likewise.
25827 * signal/Makefile: Likewise.
25828 * debug/Makefile: Likewise.
25829 * elf/Makefile: Likewise.
25830 * timezone/Makefile: Likewise.
25831 * stdlib/Makefile: Likewise.
25832 * iconvdata/Makefile: Likewise.
25833 * sunrpc/Makefile: Likewise.
25834 * io/Makefile: Likewise.
25835 * argp/Makefile: Likewise.
25836 * inet/Makefile: Likewise.
25837 * hesiod/Makefile: Likewise.
25838 * grp/Makefile: Likewise.
25839 * csu/Makefile: Likewise.
25840 * wctype/Makefile: Likewise.
25841 * crypt/Makefile: Likewise.
25842 * libio/Makefile: Likewise.
25843 * string/Makefile: Likewise.
25844 * nis/Makefile: Likewise.
25845 * resolv/Makefile: Likewise.
25846 * stdio-common/Makefile: Likewise.
25847 * wcsmbs/Makefile: Likewise.
25848 * dlfcn/Makefile: Likewise.
25849 * posix/Makefile: Likewise.
25852 * timezone/Makefile: Don't install timezone files, just the programs
25855 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25857 * nss/databases.def: Add missing gshadow entry.
25859 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25861 2012-03-06 Marek Polacek <polacek@redhat.com>
25864 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25865 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25866 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25867 * stdio-common/tst-long-dbl-fphex.c: New file.
25869 2012-03-06 David S. Miller <davem@davemloft.net>
25871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25872 (set_obp_int): New function.
25873 (get_obp_int): New function.
25874 (__get_clockfreq_via_dev_openprom): Likewise.
25875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25876 Avoid unused variable warnings on 'val' and use builtin_expect.
25877 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25879 (INLINE_CLONE_SYSCALL): Likewise.
25881 2012-03-05 David S. Miller <davem@davemloft.net>
25883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25885 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25890 only for |x| >= 40.
25891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25893 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25896 Replace gettimeofday with __vdso_gettimeofday.
25898 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25899 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25900 __vdso_clock_gettime and __vdso_getcpu.
25902 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25903 time with __vdso_time.
25905 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25907 * manual/lang.texi (size_t): Note types to which size_t may be
25908 equivalent with the GNU C Library, but do not describe when
25909 differences between them are significant.
25911 2012-03-05 Andreas Jaeger <aj@suse.de>
25913 * sysdeps/i386/fpu/libm-test-ulps: Update.
25915 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25918 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25919 (__ieee754_pow): Save and restore rounding mode and use
25920 round-to-nearest for main computations.
25921 * math/libm-test.inc (pow_test_tonearest): New function.
25922 (pow_test_towardzero): Likewise.
25923 (pow_test_downward): Likewise.
25924 (pow_test_upward): Likewise.
25925 (main): Call the new functions.
25926 * sysdeps/i386/fpu/libm-test-ulps: Update.
25927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25930 * math/libm-test.inc (cosh_test_tonearest): New function.
25931 (cosh_test_towardzero): Likewise.
25932 (cosh_test_downward): Likewise.
25933 (cosh_test_upward): Likewise.
25934 (sinh_test_tonearest): Likewise.
25935 (sinh_test_towardzero): Likewise.
25936 (sinh_test_downward): Likewise.
25937 (sinh_test_upward): Likewise.
25938 (main): Call the new functions.
25939 * sysdeps/i386/fpu/libm-test-ulps: Update.
25940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25942 2012-03-05 Tom de Vries <tom@codesourcery.com>
25944 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25945 default stack guard is set in last bytes.
25946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25948 2012-03-05 Kees Cook <keescook@chromium.org>
25950 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25953 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25954 possibly allocate from heap instead of stack.
25955 * stdio-common/bug-vfprintf-nargs.c: New file.
25956 * stdio-common/Makefile (tests): Add nargs overflow test.
25958 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25962 2012-03-03 Marek Polacek <polacek@redhat.com>
25964 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25965 * math/math_private.h: Likewise.
25966 * stdlib/tst-strtod.c: Likewise.
25967 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25968 * sysdeps/x86_64/bits/atomic.h: Likewise.
25970 2012-03-02 David S. Miller <davem@davemloft.net>
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25976 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25977 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25978 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25979 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25981 2012-03-02 Roland McGrath <roland@hack.frob.com>
25984 * manual/examples/README: New file, says the example source files
25985 can be used under GPL>=2.
25986 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25987 line containing just "*/".
25988 * manual/examples/add.c: Add copyright header (GPL>=2).
25989 * manual/examples/argp-ex1.c: Likewise.
25990 * manual/examples/argp-ex2.c: Likewise.
25991 * manual/examples/argp-ex3.c: Likewise.
25992 * manual/examples/argp-ex4.c: Likewise.
25993 * manual/examples/atexit.c: Likewise.
25994 * manual/examples/db.c: Likewise.
25995 * manual/examples/dir.c: Likewise.
25996 * manual/examples/dir2.c: Likewise.
25997 * manual/examples/execinfo.c: Likewise.
25998 * manual/examples/filecli.c: Likewise.
25999 * manual/examples/filesrv.c: Likewise.
26000 * manual/examples/fmtmsgexpl.c: Likewise.
26001 * manual/examples/genpass.c: Likewise.
26002 * manual/examples/inetcli.c: Likewise.
26003 * manual/examples/inetsrv.c: Likewise.
26004 * manual/examples/isockad.c: Likewise.
26005 * manual/examples/longopt.c: Likewise.
26006 * manual/examples/memopen.c: Likewise.
26007 * manual/examples/memstrm.c: Likewise.
26008 * manual/examples/mkfsock.c: Likewise.
26009 * manual/examples/mkisock.c: Likewise.
26010 * manual/examples/mygetpass.c: Likewise.
26011 * manual/examples/pipe.c: Likewise.
26012 * manual/examples/popen.c: Likewise.
26013 * manual/examples/rprintf.c: Likewise.
26014 * manual/examples/search.c: Likewise.
26015 * manual/examples/select.c: Likewise.
26016 * manual/examples/setjmp.c: Likewise.
26017 * manual/examples/sigh1.c: Likewise.
26018 * manual/examples/sigusr.c: Likewise.
26019 * manual/examples/stpcpy.c: Likewise.
26020 * manual/examples/strdupa.c: Likewise.
26021 * manual/examples/strftim.c: Likewise.
26022 * manual/examples/strncat.c: Likewise.
26023 * manual/examples/subopt.c: Likewise.
26024 * manual/examples/swapcontext.c: Likewise.
26025 * manual/examples/termios.c: Likewise.
26026 * manual/examples/testopt.c: Likewise.
26027 * manual/examples/testpass.c: Likewise.
26028 * manual/examples/timeval_subtract.c: Likewise.
26031 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26033 * manual/timeval_subtract.c.texi: ... here, new file.
26035 2012-03-02 David S. Miller <davem@davemloft.net>
26037 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26039 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26042 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26043 (__sin): Save and restore rounding mode and use round-to-nearest
26044 for all computations.
26045 (__cos): Save and restore rounding mode and use round-to-nearest
26046 for all computations.
26047 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26049 (tan): Save and restore rounding mode and use round-to-nearest for
26051 * math/libm-test.inc (cos_test_tonearest): New function.
26052 (cos_test_towardzero): Likewise.
26053 (cos_test_downward): Likewise.
26054 (cos_test_upward): Likewise.
26055 (sin_test_tonearest): Likewise.
26056 (sin_test_towardzero): Likewise.
26057 (sin_test_downward): Likewise.
26058 (sin_test_upward): Likewise.
26059 (tan_test_tonearest): Likewise.
26060 (tan_test_towardzero): Likewise.
26061 (tan_test_downward): Likewise.
26062 (tan_test_upward): Likewise.
26063 (main): Call the new functions.
26064 * sysdeps/i386/fpu/libm-test-ulps: Update.
26065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26068 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26069 small n, then large n, before computing and testing k+n.
26070 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26075 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26076 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26077 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26078 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26079 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26080 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26082 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26083 * math/libm-test.inc (scalbn_test): Add more tests.
26084 (scalbln_test): Likewise.
26086 * manual/filesys.texi (mode_t): Describe constraints on size and
26087 signedness, not exact equivalence to a particular type.
26089 (ino64_t): Likewise.
26091 (nlink_t): Likewise.
26092 (blkcnt_t): Likewise.
26093 (blkcnt64_t): Likewise.
26094 * manual/llio.texi (off_t): Likewise.
26097 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26098 (__ieee754_exp): Save and restore rounding mode and use
26099 round-to-nearest for all computations.
26100 * math/libm-test.inc (exp_test_tonearest): New function.
26101 (exp_test_towardzero): Likewise.
26102 (exp_test_downward): Likewise.
26103 (exp_test_upward): Likewise.
26104 (main): Call the new functions.
26105 * sysdeps/i386/fpu/libm-test-ulps: Update.
26106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26108 2012-03-01 Chris Demetriou <cgd@google.com>
26110 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26111 have predictable order.
26113 2012-03-01 David S. Miller <davem@davemloft.net>
26115 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26117 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26118 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26119 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26120 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26122 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26123 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26124 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26126 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26127 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26128 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26129 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26130 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26135 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26136 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26138 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26139 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26140 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26141 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26142 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26145 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26146 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26147 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26148 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26149 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26151 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26152 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26154 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26155 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26156 * sysdeps/sparc/elf/configure: Regenerated.
26158 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26160 * configure.in (AS, LD): Require binutils 2.20 or later.
26161 * configure: Regenerated.
26162 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26163 as required minimum version.
26164 * INSTALL: Regenerated.
26168 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26169 before squaring exponent.
26170 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26171 bottom long double and 27 bits of top long double before squaring
26173 * math/libm-test.inc (erfc_test): Add more tests.
26174 * sysdeps/i386/fpu/libm-test-ulps: Update.
26175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26178 2012-03-01 Kai Tietz <ktietz@redhat.com>
26180 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26181 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26182 containing bit-fields.
26183 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26184 * soft-fp/single.h (_FP_UNION_S): Likewise.
26185 * soft-fp/double.h (_FP_UNION_D): Likewise.
26187 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26190 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26191 not include ../strcmp.S.
26192 [USE_AS_STRNCASECMP_L]: Likewise.
26193 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26194 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26195 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26196 (__strncasecmp_l_ia32): Define as alias to
26197 __strncasecmp_l_nonascii.
26200 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26201 * sysdeps/i386/fpu/libm-test-ulps: Update.
26202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26204 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26207 2012-02-29 Jeff Law <law@redhat.com>
26209 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26210 out of bounds read.
26212 2012-02-29 Marek Polacek <polacek@redhat.com>
26215 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26216 * elf/Makefile: Add rules to run tst-unused-dep.out.
26218 2012-02-28 David S. Miller <davem@davemloft.net>
26220 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26221 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26224 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26225 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26227 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26229 * math/libm-test.inc (llround_test): Move one test from
26230 lround_test. Use TEST_f_L in moved test.
26231 (lround_test): Move misplaced test to llround_test. Add testcase
26234 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26236 * sysdeps/x86_64/fpu/e_expf.S: New file.
26237 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26239 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26242 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26243 of remain_len that may cause incomplete multi-byte character and
26245 * posix/bug-regex33.c: New file.
26246 * posix/Makefile (tests): Add bug-regex33.
26248 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26250 * manual/macros.texi: New file.
26251 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26252 * manual/libc.texinfo: Include macros.texi.
26253 * manual/creatute.texi: Likewise.
26254 * manual/install.texi: Likewise.
26255 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26256 @glibcadj{} in references to the GNU C Library.
26257 * manual/charset.texi: Likewise.
26258 * manual/conf.texi: Likewise.
26259 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26260 when not using those macros.
26261 * manual/creature.texi: Likewise.
26262 * manual/crypt.texi: Likewise.
26263 * manual/errno.texi: Likewise.
26264 * manual/filesys.texi: Likewise.
26265 * manual/header.texi: Likewise.
26266 * manual/install.texi: Likewise.
26267 * manual/intro.texi: Likewise.
26268 * manual/io.texi: Likewise.
26269 * manual/job.texi: Likewise.
26270 * manual/lang.texi: Likewise.
26271 * manual/libc.texiinfo: Likewise.
26272 * manual/llio.texi: Likewise.
26273 * manual/locale.texi: Likewise.
26274 * manual/maint.texi: Likewise.
26275 * manual/math.texi: Likewise.
26276 * manual/memory.texi: Likewise.
26277 * manual/message.texi: Likewise.
26278 * manual/nss.texi: Likewise.
26279 * manual/pattern.texi: Likewise.
26280 * manual/process.texi: Likewise.
26281 * manual/resource.texi: Likewise.
26282 * manual/search.texi: Likewise.
26283 * manual/setjmp.texi: Likewise.
26284 * manual/signal.texi: Likewise.
26285 * manual/socket.texi: Likewise.
26286 * manual/startup.texi: Likewise.
26287 * manual/stdio.texi: Likewise.
26288 * manual/string.texi: Likewise.
26289 * manual/sysinfo.texi: Likewise.
26290 * manual/syslog.texi: Likewise.
26291 * manual/terminal.texi: Likewise.
26292 * manual/time.texi: Likewise.
26293 * manual/users.texi: Likewise.
26294 * INSTALL: Regenerated.
26295 * NOTES: Regenerated.
26296 * sysdeps/gnu/errlist.c: Regenerated.
26298 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26300 * include/dirent.h: Include <dirstream.h> before
26303 2012-02-28 David S. Miller <davem@davemloft.net>
26305 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26306 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26307 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26308 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26310 2012-02-27 David S. Miller <davem@davemloft.net>
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26314 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26315 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26318 frame pointer instead of stack pointer relative arg slot.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26320 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26321 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26323 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26326 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26328 2012-02-27 David S. Miller <davem@davemloft.net>
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26334 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26335 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26336 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26337 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26339 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26341 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26342 later. Allow versions 5-9.
26343 * configure: Regenerated.
26344 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26345 required minimum version and 4.6 as recommended version. Do not
26346 mention bugs in GCC 2.7 and 2.8.
26347 * INSTALL: Regenerated.
26349 2012-02-27 David S. Miller <davem@davemloft.net>
26351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26357 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26358 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26360 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26361 manipulate bits before adding and subtracting TWO112[sx].
26362 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26364 2012-02-27 Roland McGrath <roland@hack.frob.com>
26367 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26368 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26369 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26370 being in POSIX, because they are in 1003.1-2008.
26372 * rt/tst-aio.c: Include <fcntl.h>.
26373 * rt/tst-aio7.c: Likewise.
26374 * rt/tst-aio64.c: Likewise.
26376 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26378 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26380 * manual/install.texi (--with-headers): Describe headers as
26381 interface headers, not private headers.
26382 (Specific advice for GNU/Linux systems): Describe use of headers
26383 from "make headers_install", not private headers from older
26385 * INSTALL: Regenerated.
26386 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26388 * sysdeps/unix/sysv/linux/configure: Regenerated.
26390 * manual/llio.texi (fclean): Remove documentation.
26392 * manual/Makefile (libc-texi-generated): New variable. Include
26394 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26395 $(libc-texi-generated), not duplicated list of files.
26396 (version.texi, stamp-version): New rules.
26397 (realclean): Remove $(libc-texi-generated), not individual files
26398 from that list. Do not remove dir-add.texinfo.
26399 * manual/libc.texinfo: Comment out uses of edition numbers and
26400 references to printed manual. Remove last-updated dates.
26401 (EDITION): Comment out.
26403 (VERSION, UPDATED): Remove.
26404 (version.texi): Include.
26406 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26408 * sysdeps/posix/spawni.c: Include <signal.h>.
26409 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26410 * sysdeps/pthread/aio_fsync.c: Likewise.
26412 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26414 * conform/Makefile (tests): Run only when not cross-compiling and
26415 when fast-check is not defined.
26417 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26418 * conform/data/limits.h-data: Fixes for POSIX2008.
26419 * conform/run-conformtest.sh: Run all tests.
26420 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26422 * include/bits/dlfcn.h: Likewise.
26423 * include/langinfo.h: Likewise.
26424 * include/monetary.h: Likewise.
26425 * include/sys/poll.h: Likewise.
26427 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26429 * posix/spawn.h: Define __need_sigset_t.
26430 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26431 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26432 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26433 to get sigevent_t only.
26434 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26435 only for __USE_GNU.
26436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26437 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26438 process_vm_writev only for __USE_GNU.
26439 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26441 * conform/Makefile: For now ignore errors from run-conformtest.
26442 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26443 POSIX to avoid namespace pollution. Don't prepend headers.
26444 * conform/data/aio.h-data: Fixes for POSIX testing.
26445 * conform/data/fcntl.h-data: Likewise.
26446 * conform/data/glob.h-data: Likewise.
26447 * conform/data/grp.h-data: Likewise.
26448 * conform/data/pthread.h-data: Likewise.
26449 * conform/data/pwd.h-data: Likewise.
26450 * conform/data/signal.h-data: Likewise.
26451 * conform/data/spawn.h-data: Likewise.
26452 * conform/data/stdio.h-data: Likewise.
26453 * conform/data/stdlib.h-data: Likewise.
26454 * conform/data/stropts.h-data: Likewise.
26455 * conform/data/sys/mman.h-data: Likewise.
26456 * conform/data/sys/stat.h-data: Likewise.
26457 * conform/data/sys/types.h-data: Likewise.
26458 * conform/data/sys/wait.h-data: Likewise.
26459 * conform/data/time.h-data: Likewise.
26460 * conform/data/unistd.h-data: Likewise.
26461 * conform/data/utime.h-data: Likewise.
26463 * io/sys/stat.h: fchmod was always in POSIX.
26464 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26465 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26466 * rt/aio.h: Define __need_timespec before including <time.h>.
26467 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26468 struct. Add forward declaration of pthread_attr_t and use it in
26470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26472 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26473 always remove CLK_TCK definition.
26475 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26477 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26479 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26481 * conform/run-conformtest.sh: New file.
26482 * conform/Makefile: Run run-conformtest for tests.
26483 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26486 * conform/data/uchar.h-data: New file.
26487 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26488 * conform/data/arpa/inet.h-data: Likewise.
26489 * conform/data/assert.h-data: Likewise.
26490 * conform/data/complex.h-data: Likewise.
26491 * conform/data/cpio.h-data: Likewise.
26492 * conform/data/ctype.h-data: Likewise.
26493 * conform/data/dirent.h-data: Likewise.
26494 * conform/data/dlfcn.h-data: Likewise.
26495 * conform/data/errno.h-data: Likewise.
26496 * conform/data/fcntl.h-data: Likewise.
26497 * conform/data/float.h-data: Likewise.
26498 * conform/data/fmtmsg.h-data: Likewise.
26499 * conform/data/fnmatch.h-data: Likewise.
26500 * conform/data/ftw.h-data: Likewise.
26501 * conform/data/glob.h-data: Likewise.
26502 * conform/data/grp.h-data: Likewise.
26503 * conform/data/iconv.h-data: Likewise.
26504 * conform/data/inttypes.h-data: Likewise.
26505 * conform/data/langinfo.h-data: Likewise.
26506 * conform/data/libgen.h-data: Likewise.
26507 * conform/data/limits.h-data: Likewise.
26508 * conform/data/locale.h-data: Likewise.
26509 * conform/data/math.h-data: Likewise.
26510 * conform/data/monetary.h-data: Likewise.
26511 * conform/data/mqueue.h-data: Likewise.
26512 * conform/data/ndbm.h-data: Likewise.
26513 * conform/data/net/if.h-data: Likewise.
26514 * conform/data/netdb.h-data: Likewise.
26515 * conform/data/netinet/in.h-data: Likewise.
26516 * conform/data/nl_types.h-data: Likewise.
26517 * conform/data/poll.h-data: Likewise.
26518 * conform/data/pthread.h-data: Likewise.
26519 * conform/data/pwd.h-data: Likewise.
26520 * conform/data/regex.h-data: Likewise.
26521 * conform/data/sched.h-data: Likewise.
26522 * conform/data/search.h-data: Likewise.
26523 * conform/data/semaphore.h-data: Likewise.
26524 * conform/data/setjmp.h-data: Likewise.
26525 * conform/data/signal.h-data: Likewise.
26526 * conform/data/spawn.h-data: Likewise.
26527 * conform/data/stdarg.h-data: Likewise.
26528 * conform/data/stdio.h-data: Likewise.
26529 * conform/data/stdlib.h-data: Likewise.
26530 * conform/data/string.h-data: Likewise.
26531 * conform/data/strings.h-data: Likewise.
26532 * conform/data/stropts.h-data: Likewise.
26533 * conform/data/sys/ipc.h-data: Likewise.
26534 * conform/data/sys/mman.h-data: Likewise.
26535 * conform/data/sys/msg.h-data: Likewise.
26536 * conform/data/sys/resource.h-data: Likewise.
26537 * conform/data/sys/select.h-data: Likewise.
26538 * conform/data/sys/sem.h-data: Likewise.
26539 * conform/data/sys/shm.h-data: Likewise.
26540 * conform/data/sys/socket.h-data: Likewise.
26541 * conform/data/sys/stat.h-data: Likewise.
26542 * conform/data/sys/statvfs.h-data: Likewise.
26543 * conform/data/sys/time.h-data: Likewise.
26544 * conform/data/sys/timeb.h-data: Likewise.
26545 * conform/data/sys/times.h-data: Likewise.
26546 * conform/data/sys/types.h-data: Likewise.
26547 * conform/data/sys/uio.h-data: Likewise.
26548 * conform/data/sys/un.h-data: Likewise.
26549 * conform/data/sys/utsname.h-data: Likewise.
26550 * conform/data/sys/wait.h-data: Likewise.
26551 * conform/data/syslog.h-data: Likewise.
26552 * conform/data/tar.h-data: Likewise.
26553 * conform/data/termios.h-data: Likewise.
26554 * conform/data/utime.h-data: Likewise.
26555 * conform/data/utmpx.h-data: Likewise.
26556 * conform/data/varargs.h-data: Likewise.
26557 * conform/data/wchar.h-data: Likewise.
26558 * conform/data/wctype.h-data: Likewise.
26559 * conform/data/wordexp.h-data: Likewise.
26561 * include/stropts.h: New file.
26562 * include/uchar.h: New file.
26563 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26564 * include/assert.h: Likewise.
26565 * include/ctype.h: Likewise.
26566 * include/dirent.h: Likewise.
26567 * include/dlfcn.h: Likewise.
26568 * include/fcntl.h: Likewise.
26569 * include/fnmatch.h: Likewise.
26570 * include/glob.h: Likewise.
26571 * include/grp.h: Likewise.
26572 * include/libio.h: Likewise.
26573 * include/locale.h: Likewise.
26574 * include/math.h: Likewise.
26575 * include/net/if.h: Likewise.
26576 * include/netdb.h: Likewise.
26577 * include/netinet/in.h: Likewise.
26578 * include/pthread.h: Likewise.
26579 * include/pwd.h: Likewise.
26580 * include/regex.h: Likewise.
26581 * include/sched.h: Likewise.
26582 * include/search.h: Likewise.
26583 * include/setjmp.h: Likewise.
26584 * include/signal.h: Likewise.
26585 * include/stdio.h: Likewise.
26586 * include/stdlib.h: Likewise.
26587 * include/string.h: Likewise.
26588 * include/sys/cdefs.h: Likewise.
26589 * include/sys/mman.h: Likewise.
26590 * include/sys/msg.h: Likewise.
26591 * include/sys/resource.h: Likewise.
26592 * include/sys/select.h: Likewise.
26593 * include/sys/socket.h: Likewise.
26594 * include/sys/stat.h: Likewise.
26595 * include/sys/statvfs.h: Likewise.
26596 * include/sys/time.h: Likewise.
26597 * include/sys/times.h: Likewise.
26598 * include/sys/uio.h: Likewise.
26599 * include/sys/utsname.h: Likewise.
26600 * include/sys/wait.h: Likewise.
26601 * include/termios.h: Likewise.
26602 * include/time.h: Likewise.
26603 * include/ulimit.h: Likewise.
26604 * include/unistd.h: Likewise.
26605 * include/utime.h: Likewise.
26606 * include/wchar.h: Likewise.
26607 * include/wctype.h: Likewise.
26608 * include/wordexp.h: Likewise.
26610 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26612 * time/time.h: TIME_UTC must be a macro.
26613 Make timespec_get available for ISO C11 only as well.
26615 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26617 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26618 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26620 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26622 * configure.in: Use -o not -a in test for unsupported multi-arch.
26624 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26626 * manual/texinfo.tex: Update to version 2012-01-19.16.
26628 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26630 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26632 2012-02-24 Roland McGrath <roland@hack.frob.com>
26635 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26636 * manual/fdl-1.3.texi: New file.
26637 * manual/fdl-1.1.texi: File removed.
26640 * manual/libc.texinfo (FDL_VERSION): New @set.
26641 Use it for mention of FDL in cover text.
26642 (Documentation License): Use it in @include file name.
26644 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26645 Roland McGrath <roland@hack.frob.com>
26648 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26649 not LONG_LONG_MAX and LONG_LONG_MIN.
26650 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26651 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26653 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26655 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26659 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26660 manipulate bits before adding and subtracting TWO23[sx].
26661 * math/libm-test.inc (nearbyint_test): Add more tests.
26663 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26666 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26667 bits before adding and subtracting TWO23[sx].
26668 * math/libm-test.inc (rint_test): Add more tests.
26669 (rint_test_tonearest): Likewise.
26670 (rint_test_towardzero): Likewise.
26671 (rint_test_downward): Likewise.
26672 (rint_test_upward: Likewise.
26674 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26677 * include/stdc-predef.h: New file. Extracted from features.h.
26678 * include/features.h: Include stdc-predef.h.
26679 * Makefile (headers): Add stdc-predef.h.
26680 * CONFORMANCE (Compiler limitations): Update.
26682 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26684 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26686 2012-02-21 David S. Miller <davem@davemloft.net>
26688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26689 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26691 2012-02-20 David S. Miller <davem@davemloft.net>
26693 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26694 using a normal save/restore sequence, rather than allocating a
26695 dummy stack frame just to store a frame pointer and restore.
26696 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26698 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26700 * manual/install.texi: Fix stray word in line-wrapped comment.
26702 2012-02-20 David S. Miller <davem@davemloft.net>
26704 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26705 both binutils and gcc support GOTDATA.
26707 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26708 "rd %pc" in the PIC register setup sequences.
26710 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26711 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26712 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26713 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26714 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26719 (SYSCALL_ERROR_HANDLER): Likewise.
26720 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26721 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26723 (SYSCALL_ERROR_HANDLER): Likewise.
26725 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26726 (HAVE_GCC_GOTDATA): New.
26727 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26728 relocation support in both binutils and gcc.
26729 * sysdeps/sparc/elf/configure: Regenerate.
26731 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26732 * sysdeps/sparc/sparc32/elf/configure: Delete.
26733 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26734 * sysdeps/sparc/sparc64/elf/configure: Delete.
26735 * sysdeps/sparc/elf/configure.in: New file.
26736 * sysdeps/sparc/elf/configure: Generate.
26738 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26739 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26740 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26741 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26742 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26744 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26746 * manual/install.texi: Do not mention specific glibc version
26748 * manual/libc.texinfo (VERSION, UPDATED): Update.
26749 (@copying): Use @copyright{} and range of years.
26751 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26754 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26755 [crti.S not in sysdirs] (generated): Do not append.
26756 [crti.S not in sysdirs] (omit-deps): Likewise.
26757 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26758 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26759 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26760 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26761 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26763 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26764 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26765 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26766 * csu/defs.awk: Remove file.
26767 * sysdeps/generic/initfini.c: Likewise.
26768 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26770 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26773 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26775 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26776 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26777 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26778 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26780 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26782 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26783 (__EPOLL_PACKED): Define to empty if not defined by
26785 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26789 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26791 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26792 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26793 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26794 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26796 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26800 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26802 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26805 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26811 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26812 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26814 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26816 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26817 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26819 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26821 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26824 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26826 * math/w_acos.c: Use non-signaling floating-point comparisons.
26827 * math/w_acosf.c: Likewise.
26828 * math/w_acosh.c: Likewise.
26829 * math/w_acoshf.c: Likewise.
26830 * math/w_acoshl.c: Likewise.
26831 * math/w_acosl.c: Likewise.
26832 * math/w_asin.c: Likewise.
26833 * math/w_asinf.c: Likewise.
26834 * math/w_asinl.c: Likewise.
26835 * math/w_atanh.c: Likewise.
26836 * math/w_atanhf.c: Likewise.
26837 * math/w_atanhl.c: Likewise.
26838 * math/w_exp2.c: Likewise.
26839 * math/w_exp2f.c: Likewise.
26840 * math/w_exp2l.c: Likewise.
26841 * math/w_j0.c: Likewise.
26842 * math/w_j0f.c: Likewise.
26843 * math/w_j0l.c: Likewise.
26844 * math/w_j1.c: Likewise.
26845 * math/w_j1f.c: Likewise.
26846 * math/w_j1l.c: Likewise.
26847 * math/w_jn.c: Likewise.
26848 * math/w_jnf.c: Likewise.
26849 * math/w_log.c: Likewise.
26850 * math/w_log10.c: Likewise.
26851 * math/w_log10f.c: Likewise.
26852 * math/w_log10l.c: Likewise.
26853 * math/w_log2.c: Likewise.
26854 * math/w_log2f.c: Likewise.
26855 * math/w_log2l.c: Likewise.
26856 * math/w_logf.c: Likewise.
26857 * math/w_logl.c: Likewise.
26858 * math/w_sqrt.c: Likewise.
26859 * math/w_sqrtf.c: Likewise.
26860 * math/w_sqrtl.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26864 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26865 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26867 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26870 * manual/string.texi (strnlen): Use correct parameter name in
26871 equivalent expression.
26873 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26876 * manual/users.texi (seteuid): Consistently use neweuid for
26879 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26882 * manual/nss.texi (Services in the NSS configuration): Correct
26883 list of services in example configuration file.
26885 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26888 * manual/arith.texi: Remove statements about negative zero
26889 behaving identically to zero.
26891 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26894 * manual/install.texi: Do not document upgrading from libc5.
26896 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26899 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26901 2012-02-18 David S. Miller <davem@davemloft.net>
26903 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26904 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26905 %o7 across the call.
26906 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26909 SETUP_PIC_REG_LEAF.
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26911 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26912 * sysdeps/sparc/crtn.S: Likewise.
26914 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26916 * aout/Makefile: Remove.
26918 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26921 * manual/examples/argp-ex1.c (main): Format definition in GNU
26923 * manual/examples/argp-ex2.c (main): Likewise.
26924 * manual/examples/argp-ex3.c (main): Likewise.
26925 * manual/examples/argp-ex4.c (main): Likewise.
26926 * manual/examples/longopt.c (main): Use new-style prototype
26928 * manual/examples/strncat.c (main): Specify return type and use
26929 (void) for arguments.
26930 * manual/examples/subopt.c (main): Use char **argv argument.
26932 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26935 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26938 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26941 * manual/string.texi (strchr): Change when strchrnul is
26944 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26947 * manual/locale.texi (setlocale): Document LOCPATH.
26949 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26952 * manual/process.texi (execle): Move @dots{} before last argument.
26954 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26957 * manual/charset.texi (Generic Charset Conversion): Fix typo
26958 (LC_TYPE -> LC_CTYPE).
26960 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26963 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26964 (scalbnf): Likewise.
26965 (scalbnl): Likewise.
26966 (scalbln): Likewise.
26967 (scalblnf): Likewise.
26968 (scalblnl): Likewise.
26969 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26970 (vwarnx): Likewise.
26973 * manual/filesys.texi (telldir): Use braces around return type.
26974 * manual/llio.texi (mmap): Add space after comma.
26975 (mmap64): Likewise.
26976 * manual/math.texi (jn): Use @var{} on parameter names.
26982 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26984 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26986 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26987 (sched_get_priority_max): Likewise.
26988 * manual/signal.texi (sigvec): Add space after comma.
26989 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26991 (if_indextoname): Likewise.
26992 (if_freenameindex): Likewise.
26993 (sendto): Use ',' instead of '.' in prototype.
26994 * manual/startup.texi (syscall): Use @dots{} instead of literal
26996 * manual/stdio.texi (__fpending): Separate initial words of
26997 paragraph from @deftypefun line.
26998 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27000 (vsyslog): Use @var{} on parameter names.
27001 * manual/terminal.texi (stty): Use @var{} on parameter names.
27002 * manual/users.texi (getutmp): Use @var{} on parameter names.
27003 (getutmpx): Likewise.
27005 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27008 * manual/stdio.texi (fopen): Fix typos in description of
27011 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27014 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27015 get clock_id definition.
27017 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27020 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27021 (madvise): Cast every argument to void on its own.
27023 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27026 * manual/startup.texi (Exit Status): Fix typo.
27028 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27031 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27032 * manual/examples/argp-ex2.c: Likewise.
27033 * manual/examples/argp-ex3.c: Likewise.
27035 2012-02-16 Richard Henderson <rth@redhat.com>
27037 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27038 * sysdeps/s390/s390-32/initfini.c: Remove.
27039 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27040 * sysdeps/s390/s390-64/initfini.c: Remove.
27042 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27044 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27045 compiler output for sysdeps/generic/initfini.c.
27046 * sysdeps/sh/elf/initfini.c: Remove file.
27048 2012-02-16 David S. Miller <davem@davemloft.net>
27051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27053 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27054 * sysdeps/sparc/crti.S: New file.
27055 * sysdeps/sparc/crtn.S: New file.
27056 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27057 * sysdeps/sparc/sparc64/Makefile: Likewise.
27059 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27062 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27064 2012-02-15 Roland McGrath <roland@hack.frob.com>
27067 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27069 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27070 (write, read, close): Likewise.
27071 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27073 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27075 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27076 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27077 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27078 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27080 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27084 2012-02-14 Marek Polacek <polacek@redhat.com>
27086 * sysdeps/x86_64/crti.S: New file.
27087 * sysdeps/x86_64/crtn.S: New file.
27088 * sysdeps/x86_64/elf/initfini.c: Remove file.
27090 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27092 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27093 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27094 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27095 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27097 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27101 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27103 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27104 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27105 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27106 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27108 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27112 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27114 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27115 __feraiseexcept instead of feraiseexcept.
27117 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27118 nanosleep invocations.
27119 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27120 strings, and add error checking for a nanosleep invocations.
27122 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27124 Replace FSF snail mail address with URLs, as per GNU coding standards.
27125 Most of the snail mail addresses were wrong anyway, and omitting
27126 them makes the source code easier to maintain. Almost all of the
27127 changes are to license notices and to locale LC_IDENTIFICATION
27128 addresses, except for this one:
27129 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27130 not its snail mail address.
27132 2012-02-09 Richard Henderson <rth@twiddle.net>
27134 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27135 of kernel-features.h.
27137 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27139 2012-02-08 Marek Polacek <polacek@redhat.com>
27141 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27142 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27143 * sysdeps/gnu/_G_config.h: Likewise.
27144 * sysdeps/generic/_G_config.h: Likewise.
27146 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27148 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27152 * sysdeps/powerpc/powerpc32/crti.S: New file.
27153 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27154 * sysdeps/powerpc/powerpc64/crti.S: New file.
27155 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27157 * Makeconfig (have-initfini): Don't set.
27158 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27159 * configure.in (nopic_initfini): Don't substitute.
27160 * config.h.in (HAVE_INITFINI): Don't #undef.
27161 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27162 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27164 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27166 Support crti.S and crtn.S provided directly by architectures.
27167 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27168 [crti.S in sysdirs] (omit-deps): Likewise.
27169 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27170 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27171 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27172 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27173 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27174 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27175 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27176 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27177 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27178 compiler output for sysdeps/generic/initfini.c.
27179 * sysdeps/i386/elf/Makefile: Remove file.
27180 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27182 2012-02-07 Marek Polacek <polacek@redhat.com>
27184 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27185 * sysdeps/gnu/_G_config.h: Likewise.
27186 * sysdeps/mach/hurd/_G_config.h: Likewise.
27188 2012-02-07 Marek Polacek <polacek@redhat.com>
27190 * math/Makefile (tests): Add tst-CMPLX2.
27191 * math/tst-CMPLX2.c: New file.
27193 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27195 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27197 * math/libm-test.inc (jn_test): Add missing L suffix.
27199 2012-02-06 Marek Polacek <polacek@redhat.com>
27201 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27202 * sysdeps/i386/fpu/e_powf.S: Likewise.
27203 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27204 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27205 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27206 * sysdeps/i386/fpu/e_pow.S: Likewise.
27207 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27208 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27209 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27210 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27211 * sysdeps/i386/fpu/e_log2.S: Likewise.
27212 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27213 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27214 * sysdeps/i386/fpu/e_powl.S: Likewise.
27215 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27216 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27217 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27218 * sysdeps/i386/fpu/e_logl.S: Likewise.
27219 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27220 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27221 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27222 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27223 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27224 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27225 * sysdeps/i386/fpu/e_log.S: Likewise.
27226 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27227 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27228 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27229 * sysdeps/i386/fpu/e_logf.S: Likewise.
27230 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27231 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27232 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27233 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27234 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27235 * sysdeps/i386/fpu/e_log10.S: Likewise.
27236 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27237 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27238 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27239 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27240 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27241 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27242 * sysdeps/i386/asm-syntax.h: Likewise.
27243 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27244 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27245 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27246 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27247 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27248 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27249 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27250 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27251 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27252 * sysdeps/powerpc/sysdep.h: Likewise.
27253 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27254 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27256 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27259 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27261 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27263 * sysdeps/i386/sysdep.h: Include <features.h>.
27264 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27267 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27269 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27271 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27274 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27276 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27277 (SETUP_PIC_REG): Use GET_PC_THUNK.
27278 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27281 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27283 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27284 for non-PIC compilation.
27285 (SETUP_PIC_REG): Add .p2align directive.
27286 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27287 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27288 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27289 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27290 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27291 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27292 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27294 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27295 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27296 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27297 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27298 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27299 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27300 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27301 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27302 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27303 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27304 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27305 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27306 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27308 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27309 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27312 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27313 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27314 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27315 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27316 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27318 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27319 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27320 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27321 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27322 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27323 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27324 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27325 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27326 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27328 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27330 * math/tst-CMPLX.c: Include <stdio.h>.
27332 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27334 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27336 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27337 * sysdeps/sparc/bits/mathdef.h: Likewise.
27339 2012-01-31 Marek Polacek <polacek@redhat.com>
27341 * libio/libio.h: Don't define _PARAMS.
27342 * locale/programs/config.h: Don't define PARAMS.
27343 * stdlib/strtol_l.c: Likewise.
27344 (__strtol_l): Remove PARAMS from the prototype.
27346 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27348 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27349 names. Just use the correct names. Remove unnecessary wrapper
27351 * malloc/arena.c: Likewise.
27352 * malloc/hooks.c: Likewise.
27354 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27355 ARENA_TEST says not to. Simplify test for creation of a new arena.
27356 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27358 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27360 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27362 (update_get_addr): New function.
27363 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27364 GET_ADDR_MODULE parameter.
27366 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27368 * crypt/cert.c: Remove __STDC__ conditionals.
27369 * crypt/crypt-entry.c: Likewise.
27370 * crypt/crypt_util.c: Likewise.
27371 * libio/filedoalloc.c: Likewise.
27372 * libio/fileops.c: Likewise.
27373 * libio/genops.c: Likewise.
27374 * libio/iofclose.c: Likewise.
27375 * libio/iofdopen.c: Likewise.
27376 * libio/iofopen.c: Likewise.
27377 * libio/iofopen64.c: Likewise.
27378 * libio/iogetdelim.c: Likewise.
27379 * libio/iopopen.c: Likewise.
27380 * libio/obprintf.c: Likewise.
27381 * libio/oldfileops.c: Likewise.
27382 * libio/oldiofclose.c: Likewise.
27383 * libio/oldiofdopen.c: Likewise.
27384 * libio/oldiofopen.c: Likewise.
27385 * libio/oldiopopen.c: Likewise.
27386 * libio/wfiledoalloc.c: Likewise.
27387 * libio/wgenops.c: Likewise.
27388 * locale/programs/xmalloc.c: Likewise.
27389 * misc/syslog.c: Likewise.
27390 * stdio-common/xbug.c: Likewise.
27391 * string/memchr.c: Likewise.
27392 * string/memcmp.c: Likewise.
27393 * string/memrchr.c: Likewise.
27394 * string/rawmemchr.c: Likewise.
27395 * sysdeps/posix/getcwd.c: Likewise.
27396 * time/strftime_l.c: Likewise.
27398 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27400 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27401 * config.make.in (config-cflags-sse2avx): Define.
27402 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27405 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27407 * scripts/config.guess: Update from upstream config git repository.
27408 * scripts/config.sub: Likewise.
27410 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27412 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27414 (R_TILEPRO_*, R_TILEGX_*): New macros.
27416 * scripts/firstversions.awk: Fix bug in version range handling.
27418 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27420 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27422 * include/sys/epoll.h: New file.
27423 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27426 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27428 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27429 Avoid unnecessary __WORDSIZE == 64 test.
27430 (fmaxf): Use VEX format if possible.
27435 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27436 * math/math_private.h: Remove libc_fegetround* and
27438 * sysdeps/i386/configure.in: Check for -msse2avx.
27439 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27440 also if SSE2AVX is defined.
27441 Remove libc_fegetround* and libc_fesetround*.
27442 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27443 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27444 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27446 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27447 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27450 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27452 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27454 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27456 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27458 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27460 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27463 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27465 * Makeconfig (libm): Define.
27466 * elf/Makefile: Add rules to build and run tst-relsort1.
27467 * elf/tst-relsort1.c: New file.
27468 * elf/tst-relsort1mod1.c: New file.
27469 * elf/tst-relsort1mod2.c: New file.
27471 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27473 * math/s_ldexp.c: Remove __STDC__ conditionals.
27474 * math/s_ldexpf.c: Likewise.
27475 * math/s_ldexpl.c: Likewise.
27476 * math/s_nextafter.c: Likewise.
27477 * math/s_nexttowardf.c: Likewise.
27478 * math/s_significand.c: Likewise.
27479 * math/s_significandf.c: Likewise.
27480 * math/s_significandl.c: Likewise.
27481 * math/w_jnl.c: Likewise.
27482 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27483 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27484 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27485 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27486 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27495 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27499 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27501 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27502 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27503 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27504 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27506 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27507 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27508 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27509 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27510 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27511 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27512 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27513 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27514 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27515 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27516 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27517 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27518 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27519 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27520 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27521 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27522 * sysdeps/ieee754/k_standard.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27536 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27555 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27558 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27571 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27572 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27579 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27583 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27584 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27585 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27586 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27587 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27588 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27589 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27590 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27592 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27593 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27594 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27595 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27596 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27597 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27598 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27599 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27600 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27601 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27602 * sysdeps/ieee754/s_matherr.c: Likewise.
27603 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27604 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27608 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27610 * crypt/md5.h: Remove __STDC__ conditionals.
27611 * libio/libioP.h: Likewise.
27612 * locale/programs/config.h: Likewise.
27613 * sysdeps/generic/sysdep.h: Likewise.
27614 * sysdeps/i386/asm-syntax.h: Likewise.
27615 * sysdeps/s390/asm-syntax.h: Likewise.
27616 * sysdeps/unix/sysdep.h: Likewise.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27620 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27622 * libio/libio.h: Remove __STDC__ conditionals.
27623 * malloc/obstack.h: Likewise.
27624 * math/complex.h: Likewise.
27625 * math/math.h: Likewise.
27626 * sysdeps/generic/_G_config.h: Likewise.
27627 * sysdeps/gnu/_G_config.h: Likewise.
27628 * sysdeps/mach/hurd/_G_config.h: Likewise.
27629 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27630 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27631 * sysdeps/sparc/bits/mathdef.h: Likewise.
27633 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27636 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27637 Clean up HAS_* macros.
27638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27639 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27649 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27651 * elf/tst-unique3.cc (gets): Remove declaration.
27652 * elf/tst-unique3lib.cc (gets): Likewise.
27653 * elf/tst-unique3lib2.cc (gets): Likewise.
27654 * elf/tst-unique4.cc (gets): Likewise.
27656 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27658 * include/stdio.h: Add C++ protection. Add gets declarations and
27660 * debug/tst-chk1.c: Don't declare gets here.
27661 * stdio-common/tst-gets.c: Likewise.
27663 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27665 * posix/glob: Remove directory.
27667 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27669 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27671 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27673 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27674 of the non-standard EPFNOSUPPORT.
27676 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27678 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27679 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27680 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27682 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27684 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27686 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27688 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27690 * nscd/grpcache.c (cache_addgr): Likewise.
27691 * nscd/hstcache.c (cache_addhst): Likewise.
27692 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27693 * nscd/pwdcache.c (cache_addpw): Likewise.
27694 * nscd/servicescache.c (cache_addserv): Likewise.
27696 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27698 * malloc/malloc.c: Various cleanups.
27699 * malloc/hooks.c: Likewise.
27701 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27702 * stdlib/bug-fmtmsg1.c: New file.
27704 * stdlib/fmtmsg.c (init): Add missing unlock.
27705 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27707 2012-01-12 Marek Polacek <polacek@redhat.com>
27709 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27712 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27714 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27715 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27716 macro to ensure uniqueness of label name.
27717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27720 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27722 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27724 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27725 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27726 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27729 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27731 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27733 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27734 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27737 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27739 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27740 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27744 * math/bits/math-finite.h: Add ldexp support.
27746 2012-01-10 Marek Polacek <polacek@redhat.com>
27748 * locale/programs/localedef.h (show_archive_content): Add noreturn
27751 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27753 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27755 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27757 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27759 * io/Makefile (headers): Add bits/poll2.h.
27761 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27764 typo #include statement.
27766 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27768 * include/sys/cdefs.h: Define __attribute_alloc_size.
27769 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27770 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27771 * elf/pldd.c: Likewise.
27772 * iconv/iconv_charmap.c: Likewise.
27773 * iconv/iconvconfig.c: Likewise.
27774 * iconv/strtab.c: Likewise.
27775 * locale/programs/locale.c: Likewise.
27776 * locale/programs/localedef.h: Likewise.
27777 * locale/programs/simple-hash.c: Likewise.
27778 * nscd/nscd.h: Likewise.
27779 * nss/makedb.c: Likewise.
27780 * sysdeps/generic/ldconfig.h: Likewise.
27781 * locale/programs/localedef.c: Remove xmalloc prototype.
27782 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27784 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27786 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27789 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27791 * math/Makefile (tests): Add tst-CMPLX.
27792 * math/tst-CMPLX.c: New file.
27794 * math/complex.h (CMPLXL): Fix typo.
27796 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27797 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27799 * debug/tst-chk1.c: Add poll and ppoll tests.
27800 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27801 * include/sys/poll.h: Add hidden proto for ppoll.
27802 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27803 * sysdeps/mach/hurd/ppoll.c: Likewise.
27804 * io/ppoll.c: Likewise.
27805 * debug/poll_chk.c: New file.
27806 * debug/ppoll_chk.c: New file.
27807 * include/bits/poll2.h: New file.
27808 * io/bits/poll2.h: New file.
27811 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27813 * configure.in: static is always set to yes. Remove.
27814 * config.make.in: Don't set build-static.
27815 * Makeconfig: Remove use of build-static.
27816 * dlfcn/Makefile: Likewise.
27817 * elf/Makefile: Likewise.
27818 * math/Makefile: Likewise.
27819 * misc/Makefile: Likewise.
27820 * nptl/Makefile: Likewise.
27821 * sysdeps/mach/hurd/Makefile: Likewise.
27823 * configure.in: PWD_P is not used anymore.
27824 * config.make.in: Remove PWD_P entry.
27826 * configure.in: Remove last remnants of RANLIB.
27827 No need to check for signed size_t anymore.
27828 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27830 Remove __builtin_expect test because we require at least gcc 3.4.
27831 * aclocal.m4: Likewise.
27833 * wcsmbs/mbrtoc16.c: Implement using towc function.
27834 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27835 * wcsmbs/wcsmbsload.c: Likewise.
27836 * iconv/gconv_simple.c: Likewise.
27837 * iconv/gconv_int.h: Likewise.
27838 * iconv/gconv_builtin.h: Likewise.
27839 * iconv/iconv_prog.c: Remove CHAR16 handling.
27841 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27843 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27845 * configure.in: Remove --with-elf and --enable-bounded options.
27846 Dont set base_machine for ia64. More non-ELF conditions removed.
27847 Remove testing and setting of leading underscore information.
27848 * config.make.in (build-bounded): Set to no.
27849 * config.h.in: Remove NO_UNDERSCORES entry.
27850 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27852 * csu/start.c: Remove !NO_UNDERSCORE code.
27853 * locale/localeinfo.h: Likewise.
27854 * sysdeps/generic/machine-gmon.h: Likewise.
27855 * sysdeps/generic/sysdep.h: Likewise.
27856 * sysdeps/i386/sysdep.h: Likewise.
27857 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27858 * sysdeps/mach/sysdep.h: Likewise.
27859 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27860 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27861 * sysdeps/sh/sysdep.h: Likewise.
27862 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27863 * sysdeps/unix/i386/sysdep.S: Likewise.
27864 * sysdeps/unix/sparc/start.c: Likewise.
27865 * sysdeps/unix/sparc/sysdep.S: Likewise.
27866 * sysdeps/unix/sparc/sysdep.h: Likewise.
27867 * sysdeps/unix/start.c: Likewise.
27868 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27869 * sysdeps/x86_64/sysdep.h: Likewise.
27871 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27874 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27876 * argp/argp-fmtstream.h: Use const instead __const.
27877 * argp/argp.h: Likewise.
27878 * assert/assert.h: Likewise.
27879 * bits/fenv.h: Likewise.
27880 * bits/sched.h: Likewise.
27881 * bits/sigset.h: Likewise.
27882 * bits/sigthread.h: Likewise.
27883 * catgets/nl_types.h: Likewise.
27884 * conform/data/pthread.h-data: Likewise.
27885 * crypt/crypt-private.h: Likewise.
27886 * crypt/crypt.h: Likewise.
27887 * crypt/crypt_util.c: Likewise.
27888 * ctype/ctype.h: Likewise.
27889 * debug/execinfo.h: Likewise.
27890 * debug/mbsnrtowcs_chk.c: Likewise.
27891 * debug/mbsrtowcs_chk.c: Likewise.
27892 * debug/wcsnrtombs_chk.c: Likewise.
27893 * debug/wcsrtombs_chk.c: Likewise.
27894 * debug/wcstombs_chk.c: Likewise.
27895 * dirent/dirent.h: Likewise.
27896 * dlfcn/dlfcn.h: Likewise.
27897 * elf/neededtest4.c: Likewise.
27898 * grp/grp.h: Likewise.
27899 * gshadow/gshadow.h: Likewise.
27900 * iconv/gconv.h: Likewise.
27901 * iconv/gconv_int.h: Likewise.
27902 * iconv/gconv_simple.c: Likewise.
27903 * iconv/iconv.h: Likewise.
27904 * iconv/loop.c: Likewise.
27905 * iconv/skeleton.c: Likewise.
27906 * include/aio.h: Likewise.
27907 * include/aliases.h: Likewise.
27908 * include/argz.h: Likewise.
27909 * include/arpa/inet.h: Likewise.
27910 * include/assert.h: Likewise.
27911 * include/dirent.h: Likewise.
27912 * include/dlfcn.h: Likewise.
27913 * include/execinfo.h: Likewise.
27914 * include/fcntl.h: Likewise.
27915 * include/fenv.h: Likewise.
27916 * include/glob.h: Likewise.
27917 * include/grp.h: Likewise.
27918 * include/libintl.h: Likewise.
27919 * include/mntent.h: Likewise.
27920 * include/netdb.h: Likewise.
27921 * include/pwd.h: Likewise.
27922 * include/rpc/netdb.h: Likewise.
27923 * include/sched.h: Likewise.
27924 * include/search.h: Likewise.
27925 * include/shadow.h: Likewise.
27926 * include/signal.h: Likewise.
27927 * include/stdio.h: Likewise.
27928 * include/stdlib.h: Likewise.
27929 * include/string.h: Likewise.
27930 * include/sys/socket.h: Likewise.
27931 * include/sys/stat.h: Likewise.
27932 * include/sys/statfs.h: Likewise.
27933 * include/sys/statvfs.h: Likewise.
27934 * include/sys/syslog.h: Likewise.
27935 * include/sys/time.h: Likewise.
27936 * include/sys/uio.h: Likewise.
27937 * include/time.h: Likewise.
27938 * include/unistd.h: Likewise.
27939 * include/utmp.h: Likewise.
27940 * include/wchar.h: Likewise.
27941 * include/wctype.h: Likewise.
27942 * inet/aliases.h: Likewise.
27943 * inet/arpa/inet.h: Likewise.
27944 * inet/netinet/ether.h: Likewise.
27945 * inet/netinet/in.h: Likewise.
27946 * intl/libintl.h: Likewise.
27947 * io/bits/fcntl2.h: Likewise.
27948 * io/fcntl.h: Likewise.
27949 * io/ftw.h: Likewise.
27950 * io/sys/poll.h: Likewise.
27951 * io/sys/stat.h: Likewise.
27952 * io/sys/statfs.h: Likewise.
27953 * io/sys/statvfs.h: Likewise.
27954 * io/utime.h: Likewise.
27955 * libio/bits/stdio.h: Likewise.
27956 * libio/bits/stdio2.h: Likewise.
27957 * libio/libio.h: Likewise.
27958 * libio/libioP.h: Likewise.
27959 * libio/stdio.h: Likewise.
27960 * locale/lc-ctype.c: Likewise.
27961 * locale/locale.h: Likewise.
27962 * login/utmp.h: Likewise.
27963 * malloc/arena.c: Likewise.
27964 * malloc/malloc.c: Likewise.
27965 * malloc/malloc.h: Likewise.
27966 * malloc/mcheck.c: Likewise.
27967 * malloc/mtrace.c: Likewise.
27968 * math/bits/mathcalls.h: Likewise.
27969 * math/fenv.h: Likewise.
27970 * math/math_private.h: Likewise.
27971 * misc/bits/error.h: Likewise.
27972 * misc/bits/syslog.h: Likewise.
27973 * misc/err.h: Likewise.
27974 * misc/error.h: Likewise.
27975 * misc/fstab.h: Likewise.
27976 * misc/mntent.h: Likewise.
27977 * misc/regexp.h: Likewise.
27978 * misc/search.h: Likewise.
27979 * misc/sgtty.h: Likewise.
27980 * misc/sys/mman.h: Likewise.
27981 * misc/sys/syslog.h: Likewise.
27982 * misc/sys/uio.h: Likewise.
27983 * misc/sys/xattr.h: Likewise.
27984 * misc/ttyent.h: Likewise.
27985 * nis/rpcsvc/ypclnt.h: Likewise.
27986 * nss/nss.h: Likewise.
27987 * posix/bits/unistd.h: Likewise.
27988 * posix/fnmatch.h: Likewise.
27989 * posix/glob.h: Likewise.
27990 * posix/sched.h: Likewise.
27991 * posix/spawn.h: Likewise.
27992 * posix/sys/wait.h: Likewise.
27993 * posix/unistd.h: Likewise.
27994 * posix/wordexp.h: Likewise.
27995 * pwd/pwd.h: Likewise.
27996 * resolv/netdb.h: Likewise.
27997 * resource/sys/resource.h: Likewise.
27998 * rt/aio.h: Likewise.
27999 * rt/bits/mqueue2.h: Likewise.
28000 * rt/mqueue.h: Likewise.
28001 * shadow/shadow.h: Likewise.
28002 * signal/signal.h: Likewise.
28003 * socket/send.c: Likewise.
28004 * socket/sendto.c: Likewise.
28005 * socket/sys/socket.h: Likewise.
28006 * stdio-common/printf.h: Likewise.
28007 * stdlib/bits/stdlib.h: Likewise.
28008 * stdlib/fmtmsg.h: Likewise.
28009 * stdlib/monetary.h: Likewise.
28010 * stdlib/stdlib.h: Likewise.
28011 * stdlib/ucontext.h: Likewise.
28012 * streams/stropts.h: Likewise.
28013 * string/argz.h: Likewise.
28014 * string/bits/string2.h: Likewise.
28015 * string/string.h: Likewise.
28016 * string/strings.h: Likewise.
28017 * sunrpc/rpc/auth.h: Likewise.
28018 * sunrpc/rpc/auth_des.h: Likewise.
28019 * sunrpc/rpc/clnt.h: Likewise.
28020 * sunrpc/rpc/netdb.h: Likewise.
28021 * sunrpc/rpc/pmap_clnt.h: Likewise.
28022 * sunrpc/rpc/xdr.h: Likewise.
28023 * sysdeps/generic/inttypes.h: Likewise.
28024 * sysdeps/generic/net/if.h: Likewise.
28025 * sysdeps/generic/sys/swap.h: Likewise.
28026 * sysdeps/gnu/net/if.h: Likewise.
28027 * sysdeps/gnu/utmpx.h: Likewise.
28028 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28029 * sysdeps/i386/i486/bits/string.h: Likewise.
28030 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28031 * sysdeps/s390/bits/string.h: Likewise.
28032 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28033 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28034 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28035 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28036 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28037 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28038 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28039 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28040 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28041 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28042 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28043 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28044 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28045 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28046 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28047 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28048 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28051 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28053 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28054 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28055 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28056 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28057 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28058 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28059 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28060 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28061 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28062 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28063 * sysvipc/sys/ipc.h: Likewise.
28064 * sysvipc/sys/msg.h: Likewise.
28065 * sysvipc/sys/sem.h: Likewise.
28066 * sysvipc/sys/shm.h: Likewise.
28067 * termios/termios.h: Likewise.
28068 * time/sys/time.h: Likewise.
28069 * time/time.h: Likewise.
28070 * wcsmbs/bits/wchar2.h: Likewise.
28071 * wcsmbs/uchar.h: Likewise.
28072 * wcsmbs/wchar.h: Likewise.
28073 * wctype/wctype.h: Likewise.
28076 * Makeconfig: Remove all but ELF support including AIX support.
28077 * Makerules: Likewise.
28078 * config.h.in: Likewise.
28079 * config.make.in: Likewise.
28080 * configure: Likewise.
28081 * configure.in: Likewise.
28082 * csu/Makefile: Likewise.
28083 * csu/version.c: Likewise.
28084 * debug/Makefile: Likewise.
28085 * dlfcn/Makefile: Likewise.
28086 * elf/Makefile: Likewise.
28087 * extra-lib.mk: Likewise.
28088 * iconv/Makefile: Likewise.
28089 * include/libc-symbols.h: Likewise.
28090 * include/shlib-compat.h: Likewise.
28091 * resolv/Makefile: Likewise.
28092 * resolv/res_libc.c: Likewise.
28093 * rt/Makefile: Likewise.
28094 * sysdeps/i386/asm-syntax.h: Likewise.
28095 * sysdeps/i386/sysdep.h: Likewise.
28096 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28097 * sysdeps/mach/sysdep.h: Likewise.
28098 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28099 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28100 * sysdeps/s390/asm-syntax.h: Likewise.
28101 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28102 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28103 * sysdeps/sh/sysdep.h: Likewise.
28104 * sysdeps/unix/sparc/sysdep.h: Likewise.
28105 * sysdeps/wordsize-32/divdi3.c: Likewise.
28106 * sysdeps/x86_64/sysdep.h: Likewise.
28108 * argp/Versions: Remove _argp_unlock_xxx.
28111 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28112 * abilist/libBrokenLocale.abilist: Likewise.
28113 * abilist/libanl.abilist: Likewise.
28114 * abilist/libc.abilist: Likewise.
28115 * abilist/libcrypt.abilist: Likewise.
28116 * abilist/libdl.abilist: Likewise.
28117 * abilist/libm.abilist: Likewise.
28118 * abilist/libnsl.abilist: Likewise.
28119 * abilist/libpthread.abilist: Likewise.
28120 * abilist/libresolv.abilist: Likewise.
28121 * abilist/librt.abilist: Likewise.
28122 * abilist/libthread_db.abilist: Likewise.
28123 * abilist/libutil.abilist: Likewise.
28124 * abilist/libnss_db.abilist: New file.
28126 * scripts/abilist.awk: Add support for indirect functions.
28128 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28130 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28132 * shlib-versions: Remove entries for ports architectures.
28134 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28136 * elf/stackguard-macros.h: Remove support for IA-64.
28137 * elf/tst-auditmod1.c: Likewise.
28138 * sysdeps/generic/ldsodefs.h: Likewise.
28140 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28141 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28145 * configure.in: Remove --enable-omitfp support.
28147 * config.make.in: Likewise.
28148 * Makeconfig: Likewise.
28149 * manual/install.texi: Likewise.
28151 In case anyone cares, the IA-64 architecture could move to ports.
28152 * sysdeps/ia64/*: Removed.
28153 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28154 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28157 * configure.in: Remove entries for unsupported architectures.
28160 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28161 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28163 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28164 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28165 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28166 fall back to using wcrtomb.
28167 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28168 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28170 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28171 * wcsmbs/tst-c16c32-1.c: New file.
28173 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28176 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28178 * elf/tst-unique3.cc: Add explicit declaration of gets.
28179 * elf/tst-unique3lib.cc: Likewise.
28180 * elf/tst-unique3lib2.cc: Likewise.
28181 * elf/tst-unique4.cc: Likewise.
28183 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28185 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28188 * assert/assert.h (static_assert): Don't define for C++.
28189 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28190 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28192 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28194 * iconv/loop.c (single loop): Fix assertion in storing of
28197 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28199 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28201 * posix/getconf.c: Update copyright year.
28202 * nss/getent.c: Likewise.
28203 * nss/makedb.c: Likewise.
28204 * iconv/iconvconfig.c: Likewise.
28205 * iconv/iconv_prog.c: Likewise.
28206 * elf/ldconfig.c: Likewise.
28207 * elf/pldd.c: Likewise.
28208 * elf/sotruss.ksh: Likewise.
28209 * catgets/gencat.c: Likewise.
28210 * csu/version.c: Likewise.
28211 * elf/ldd.bash.in: Likewise.
28212 * elf/sprof.c (print_version): Likewise.
28213 * locale/programs/locale.c: Likewise.
28214 * locale/programs/localedef.c: Likewise.
28215 * login/programs/pt_chown.c: Likewise.
28216 * nscd/nscd.c (print_version): Likewise.
28217 * debug/xtrace.sh: Likewise.
28218 * malloc/memusage.sh: Likewise.
28219 * malloc/mtrace.pl: Likewise.
28220 * debug/catchsegv.sh: Likewise.
28222 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28224 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28227 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28230 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28231 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28233 * iconv/gconv_int.h: Likewise.
28234 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28235 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28236 from libc for GLIBC_2.16.
28237 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28238 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28239 * wcsmbs/uchar.h: Really define mbstate_t.
28240 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28241 * wcsmbs/c16rtomb.c: New file.
28242 * wcsmbs/mbrtoc16.c: New file.
28243 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28244 for C/POSIX locale.
28245 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28246 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28248 * wcsmbs/wchar.h: Add missing __restrict.
28250 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28253 * time/Makefile (routines): Add timespec_get.
28254 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28255 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28256 timespec for ISO C11.
28257 * time/timespec_get.c: New file.
28258 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28259 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28262 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28263 * stdlib/stdlib.h: Declare aligned_alloc.
28264 * Versions.def: Add GLIBC_2.16 for libc.
28265 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28268 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28271 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28275 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28278 * assert/assert.h (static_assert): Define.
28280 * version.h: Update for 2.16 development version.
28283 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28286 * version.h (RELEASE): Bump for 2.15 release.
28287 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28289 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28290 Patch by Marek Polacek <mpolacek@redhat.com>.
28292 * bits/byteswap.h: Protect long long constants with __extension__.
28293 * sysdeps/i386/bits/byteswap.h: Likewise.
28294 * sysdeps/ia64/bits/byteswap.h: Likewise.
28295 * sysdeps/s390/bits/byteswap.h: Likewise.
28296 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28298 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28302 destination buffer.
28303 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28305 2011-12-23 Marek Polacek <polacek@redhat.com>
28307 * elf/dl-addr.c (determine_info): Add inline keyword.
28308 * elf/tst-auditmod4b.c (check_avx): Likewise.
28309 * elf/tst-auditmod6b.c (check_avx): Likewise.
28310 * elf/tst-auditmod6c.c (check_avx): Likewise.
28311 * elf/tst-auditmod7b.c (check_avx): Likewise.
28313 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28315 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28318 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28321 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28322 processing for last bytes.
28324 2011-08-06 Bruno Haible <bruno@clisp.org>
28327 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28328 U+0385, not to U+1FEE.
28331 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28332 entry for U+00A5 U+0301.
28334 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28337 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28338 buffer for the output is too small.
28340 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28344 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28345 SSE flags if possible.
28347 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28350 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28351 processing for last bytes.
28353 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28355 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28356 (syscall-list-default-options, syscall-list-default-condition)
28357 (syscall-list-includes): Define.
28358 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28359 list of ABIs and options and #if conditions for each ABI. Do not
28360 handle common syscalls between ABIs specially.
28361 * sysdeps/unix/sysv/linux/powerpc/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.
28366 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28367 (syscall-list-variants, syscall-list-32bit-options)
28368 (syscall-list-32bit-condition, syscall-list-64bit-options)
28369 (syscall-list-64bit-condition): Define.
28370 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28372 (syscall-list-variants, syscall-list-32bit-options)
28373 (syscall-list-32bit-condition, syscall-list-64bit-options)
28374 (syscall-list-64bit-condition): Define.
28375 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28377 (syscall-list-variants, syscall-list-32bit-options)
28378 (syscall-list-32bit-condition, syscall-list-64bit-options)
28379 (syscall-list-64bit-condition): Define.
28381 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28383 * locale/iso-639.def: Add brx entry.
28386 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28387 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28389 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28390 __feraiseexcept_renamed.
28392 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28395 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28396 EPOLLET with unsigned values.
28397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28398 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28400 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28401 to large cancellation.
28402 * math/s_cacoshf.c: Likewise.
28403 * math/s_cacoshl.c: Likewise.
28405 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28409 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28410 * math/s_cacoshf.c: Likewise.
28411 * math/s_cacoshl.c: Likewise.
28413 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28416 * iconv/gconv.h: Define __GCONV_SWAP.
28417 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28418 * iconvdata/utf-16.c: Likewise.
28419 * iconvdata/utf-32.c: Likewise.
28421 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28425 numerator after shifting it by one limb.
28427 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28429 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28430 under [__USE_EXTERN_INLINES].
28432 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28435 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28437 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28439 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28440 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28442 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28443 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28444 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28445 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28446 for strncasecmp/strncasecmp_l compilation.
28447 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28448 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28450 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28453 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28456 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28459 * time/tzfile.c (__tzfile_read): Check values from file header.
28461 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28463 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28464 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28465 * powerpc/powerpc32/dl-start.S: Likewise.
28466 * powerpc/powerpc32/elf/start.S: Likewise.
28467 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28468 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28469 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28470 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28471 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28472 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28473 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28474 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28475 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28476 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28477 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28478 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28479 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28480 * powerpc/powerpc32/memset.S: Likewise.
28481 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28482 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28483 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28484 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28485 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28486 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28487 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28488 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28489 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28490 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28491 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28492 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28493 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28495 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28497 * math/libm-test.inc: Added more nearbyint tests.
28498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28503 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28505 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28508 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28510 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28511 Add wcscpy-ssse3 wcscpy-c.
28512 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28513 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28514 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28515 * sysdeps/x86_64/wcschr.S: New file.
28516 * sysdeps/x86_64/wcsrchr.S: New file.
28517 * string/test-strcmp.c: Remove checking of wcscmp function for
28519 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28520 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28521 wcsrchr-sse2 wcsrchr-c.
28522 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28523 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28524 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28525 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28526 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28527 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28528 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28529 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28530 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28531 * wcsmbc/wcschr.c (WCSCHR): New macro.
28533 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28535 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28536 * wcsmbs/test-wcsrchr.c: New file.
28537 * string/test-strrchr.c: Add wcsrchr support.
28539 * wcsmbs/test-wcscpy.c: New file.
28540 * string/test-strcpy.c: Add wcscpy support.
28543 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28545 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28548 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28551 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28553 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28555 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28556 Minor optimizations.
28558 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28559 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28560 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28562 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28564 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28565 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28566 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28567 for gcc to avoid warnings.
28568 * inet/Makefile (tests): Add tst-checks.
28569 * inet/tst-checks.c: New file.
28571 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28574 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28577 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28578 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28580 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28582 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28584 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28587 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28589 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28591 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28592 conditional on GCC version.
28593 (__arch_compare_and_exchange_val_8_acq)
28594 (__arch_compare_and_exchange_val_16_acq)
28595 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28596 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28597 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28599 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28601 * sysdeps/sh/backtrace.c: New file.
28603 2011-12-02 Andreas Schwab <schwab@redhat.com>
28605 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28608 2011-12-01 Andreas Schwab <schwab@redhat.com>
28610 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28611 falling back to utime.
28613 2011-11-30 Andreas Schwab <schwab@redhat.com>
28615 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28616 expectations for float.
28618 2011-11-29 Andreas Schwab <schwab@redhat.com>
28620 * locale/weight.h (findidx): Add parameter len.
28621 * locale/weightwc.h (findidx): Likewise.
28622 * posix/fnmatch_loop.c (FCT): Adjust caller.
28623 * posix/regcomp.c (build_equiv_class): Likewise.
28624 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28625 * posix/regexec.c (check_node_accept_bytes): Likewise.
28626 * string/strcoll_l.c (STRCOLL): Likewise.
28627 * string/strxfrm_l.c (STRXFRM): Likewise.
28629 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28631 * Makefile.in: Remove CVSOPT handling.
28632 * configure.in: Remove use of AC_REVISION.
28633 * iconvdata/Makefile (distribute): No need to filter out CVS.
28634 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28637 2011-11-16 Andreas Schwab <schwab@redhat.com>
28639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28640 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28641 [USE_AS_STRNCASECMP_L]: Likewise.
28642 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28643 NO_TLS_DIRECT_SEG_REFS.
28644 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28645 Fix argument offsets for non-PIC.
28646 [USE_AS_STRNCASECMP_L]: Likewise.
28647 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28648 NO_TLS_DIRECT_SEG_REFS.
28650 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28652 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28654 * locale/loadlocale.c (_nl_load_locale): Likewise.
28656 2011-11-15 Andreas Schwab <schwab@redhat.com>
28658 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28659 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28661 (SYSCALL_GETTIME): Set errno on error.
28663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28664 count references to noai6ai_cached.
28666 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28668 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28670 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28671 FD_CLOEXEC for /proc/self/maps.
28673 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28674 FD_CLOEXEC for /proc/meminfo.
28676 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28679 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28680 FD_CLOEXEC for given file.
28682 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28684 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28685 FD_CLOEXEC for /etc/hosts.
28686 (_gethtent): Likewise.
28688 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28690 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28691 cancellation and set FD_CLOEXEC for /etc/netgroup.
28693 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28694 reading /etc/publickey.
28696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28697 allow cancellation when reading /etc/group.
28699 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28701 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28703 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28704 when using data file.
28706 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28708 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28709 (write_nis_obj): Use "c" and "e" in fopen.
28711 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28713 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28715 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28717 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28719 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28722 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28724 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28726 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28728 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28729 file parsing and set FD_CLOEXEC.
28731 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28733 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28735 2011-11-14 Andreas Schwab <schwab@redhat.com>
28737 * malloc/arena.c (arena_get2): Don't call reused_arena when
28738 _int_new_arena failed.
28740 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28742 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28743 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28744 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28745 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28746 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28747 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28748 to compile strcasecmp and strncasecmp.
28749 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28750 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28754 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28756 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28757 locale-defines.sym to gen-as-const-headers.
28758 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28759 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28760 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28761 to compile strcasecmp and strncasecmp.
28762 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28763 strcasecmp_l and strncasecmp_l.
28764 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28765 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28766 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28767 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28768 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28769 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28770 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28771 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28772 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28773 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28774 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28776 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28778 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28779 result of SYSDEP_GETTIME_CPU to retval.
28780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28781 parameter list to macro. Remove trailing semicolon. Adjust users.
28783 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28786 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28788 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28790 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28791 from unused variable.
28793 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28795 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28798 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28801 * sunrpc/rpc_prot.c (rejected): Fix case value.
28803 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28804 unsigned long long int to avoid warnings in shift.
28806 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28808 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28811 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28812 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28813 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28815 * nis/nis_table.c (nis_list): Use variable of correct type for
28816 result of __follow_path call.
28818 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28820 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28821 of math functions ceil, trunc, floor, round, and sqrt, when
28822 avaliable on the platform.
28823 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28825 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28826 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28827 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28829 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28831 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28832 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28834 2011-11-11 Roland McGrath <roland@hack.frob.com>
28836 * include/unistd.h: Fix __readlink return type.
28837 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28839 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28841 * stdlib/ucontext.h: Undo last change for makecontext.
28843 2011-11-11 Andreas Schwab <schwab@redhat.com>
28845 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28847 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28848 * setjmp/setjmp.h: Mark functions as non-leaf.
28849 * setjmp/bits/setjmp2.h: Likewise.
28850 * stdlib/ucontext.h: Likewise.
28852 2011-11-10 Andreas Schwab <schwab@redhat.com>
28854 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28855 (reused_arena): Don't check arena limit.
28856 (arena_get2): Atomically check arena limit.
28858 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28860 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28861 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28866 2011-11-07 Andreas Schwab <schwab@redhat.com>
28868 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28869 handler when locking.
28871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28872 Fix size of allocated buffer.
28874 2011-11-04 Andreas Schwab <schwab@redhat.com>
28877 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28878 declarations for long double functions.
28879 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28881 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28883 2011-11-03 Andreas Schwab <schwab@redhat.com>
28885 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28888 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28891 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28893 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28895 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28897 * include/alloca.h (stackinfo_alloca_round): Define.
28898 (extend_alloca): Use it.
28899 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28900 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28903 * scripts/check-local-headers.sh: Ignore libaudit.h.
28905 * nscd/Makefile (extra-objs): Make recursively expanded.
28907 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28909 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28910 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28912 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28913 * posix/tst-rfc3484-2.c: Likewise.
28914 * posix/tst-rfc3484-3.c: Likewise.
28916 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28918 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28920 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28921 process_vm_writev from libc using GLIBC_2.15 version.
28923 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28925 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28927 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28930 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28933 * nss/getent.c (initgroups_keys): Show error message in case no group
28936 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28937 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28938 __bump_nl_timestamp.
28939 * nscd/connections (nscd_init): When host database is served open
28940 netlink socket and request notification about configuration changes.
28941 (main_loop_poll): Track netlink file descriptor and bump timestamp
28942 in case data becomes available.
28943 (main_loop_epoll): Likewise.
28944 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28945 (database_pers_head): Add extra_data fileds.
28946 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28947 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28948 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28951 in6ai data, call __free_in6ai.
28952 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28953 Add -DHAVE_NETLINK.
28954 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28955 interface information. Reuse previous data if netlink timestamp
28957 (__bump_nl_timestamp): New function.
28958 (__free_in6ai): New function.
28960 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28962 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28963 close_not_cancel_no_status here.
28964 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28966 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28969 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28972 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28973 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28974 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28976 2011-07-03 Andreas Jaeger <aj@suse.de>
28979 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28980 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28981 * math/libm-test.inc (sin_test): Add test case.
28983 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28986 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28987 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28989 * elf/chroot_canon.c (chroot_canon): Cleanups.
28991 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28994 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28995 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28997 * string/test-strchr.c: Make usable for strchrnul testing.
28998 * string/test-strchrnul.c: New file.
28999 * string/Makefile (strop-tests): Add strchrnul.
29001 * po/it.po: Update from translation team.
29002 * po/es.po: Likewise.
29004 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29006 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29007 the three constants needed as parameters. Drop the others.
29008 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29009 __m128i_strloadu_tolower.
29010 Create and initialize variable zero and use it in all the places
29011 where _mm_setzero_si128 was used.
29013 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29014 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29015 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29018 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29019 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29020 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29021 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29022 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29023 __mpranred, __mptan.
29024 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29025 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29026 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29027 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29028 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29029 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29030 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29031 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29032 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29034 2011-10-28 Andreas Schwab <schwab@redhat.com>
29036 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29037 redefine if SHARED.
29038 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29041 wide char related routines to wcsmbs subdir.
29043 2011-10-27 Andreas Schwab <schwab@redhat.com>
29046 * misc/sys/cdefs.h (__THROWNL): Define.
29047 * posix/unistd.h: Use __THREADNL instead of __THREAD
29048 for memory synchronization functions.
29050 2011-10-26 Roland McGrath <roland@hack.frob.com>
29053 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29055 * manual/stdio.texi (Obstack Streams): Node removed.
29057 2011-10-26 Andreas Schwab <schwab@redhat.com>
29059 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29060 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29063 * math/math_private.h (math_force_eval): Allow non-addressable
29065 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29067 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29069 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29070 file is not needed.
29072 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29073 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29079 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29081 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29082 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29083 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29084 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29085 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29086 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29087 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29088 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29089 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29090 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29091 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29092 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29093 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29094 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29095 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29096 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29097 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29098 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29099 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29101 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29102 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29105 place. Use VEX encoding when compiling for AVX.
29107 2011-10-25 Andreas Schwab <schwab@redhat.com>
29109 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29110 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29112 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29114 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29116 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29117 useless if() expression.
29118 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29129 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29130 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29131 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29132 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29133 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29134 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29136 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29138 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29140 2011-10-25 Andreas Schwab <schwab@redhat.com>
29142 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29144 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29146 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29148 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29149 .text section. Avoid duplicate constants.
29150 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29160 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29162 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29165 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29167 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29173 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29174 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29175 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29176 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29177 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29178 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29179 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29180 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29181 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29183 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29184 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29185 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29186 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29187 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29188 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29189 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29190 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29191 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29192 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29193 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29194 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29196 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29198 * sysdeps/x86_64/dla.h: Move to ...
29199 * sysdeps/x86_64/fpu/dla.h: ...here.
29200 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29201 situations. Use __builtin_fma only for gcc 4.6 and up.
29203 * config.make.in: Add have-mfma4 entry.
29204 * configure.in: Substitute libc_cv_cc_fma4.
29205 * math/Makefile (dbl-only-routines): Add sincostab.
29206 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29207 Use __sincostab not sincos.
29208 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29210 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29215 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29216 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29217 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29218 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29220 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29221 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29223 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29224 define aliases when function name is a macro.
29225 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29226 sysdeps/ieee754/dbl-64/sincos.tbl.
29227 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29228 fma4-enabled routines.
29229 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29230 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29232 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29233 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29234 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29236 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29238 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29240 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29241 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29242 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29243 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29244 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29245 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29246 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29247 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29248 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29249 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29250 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29252 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29254 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29255 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29256 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29257 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29258 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29260 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29271 2011-10-24 Andreas Schwab <schwab@redhat.com>
29273 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29275 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29277 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29279 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29281 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29283 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29284 Remove unused variable magic_bits.
29285 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29287 * string/strnlen.c: Define and use STRNLEN macro.
29288 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29289 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29290 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29291 * wcsmbs/wcslen.c: Define and use WCSLEN.
29292 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29293 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29294 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29295 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29296 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29297 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29298 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29300 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29303 strnlen-sse2-no-bsf.
29304 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29306 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29307 Add strnlen support.
29308 (USE_AS_STRNLEN): New macro.
29309 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29310 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29311 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29312 * sysdeps/x86_64/wcslen.S: New file.
29314 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29316 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29317 XMM-moves are used for copying on small sizes.
29319 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29321 * wcsmbs/Makefile (strop-tests): Add wcschr.
29322 * wcsmbs/test-wcschr.c: New file.
29323 * string/test-strchr.c: Update.
29324 Add wcschr support.
29327 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29329 * wcsmbs/Makefile (strop-tests): Add wcslen.
29330 * wcsmbs/test-wcslen.c: New file.
29331 * string/test-strlen.c: Update.
29332 Add wcslen support.
29335 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29337 * po/it.po: Update from translation team.
29339 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29341 * sysdeps/x86_64/wcscmp.S: Update.
29342 Fix wrong comparison semantics.
29343 wcscmp shall use signed comparison not unsigned.
29344 Don't use substraction to avoid overflow bug.
29345 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29346 * wcsmbc/wcscmp.c: Likewise.
29347 * string/test-strcmp.c: Likewise.
29348 Add new tests to check cases with negative values.
29350 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29352 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29353 * sysdeps/x86_64/dla.h: ...here. New file.
29354 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29359 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29360 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29361 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29364 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29367 __ynl_finite aliases.
29369 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29373 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29375 [DLA_FMA] (EMULV): Use DLA_FMA.
29376 [DLA_FMA] (MUL12): Use EMULV.
29377 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29378 that are not needed.
29379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29387 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29389 * math/s_nan.c: Undef __nan.
29390 * math/s_nanf.c: Undef __nanf.
29391 * math/s_nanl.c: Undef __nanl.
29392 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29395 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29397 * math/s_catan.c: Add branch predictions.
29398 * math/s_catanf.c: Likewise.
29399 * math/s_catanh.c: Likewise.
29400 * math/s_catanhf.c: Likewise.
29401 * math/s_catanhl.c: Likewise.
29402 * math/s_catanl.c: Likewise.
29403 * math/s_cexp.c: Likewise.
29404 * math/s_cexpf.c: Likewise.
29405 * math/s_cexpl.c: Likewise.
29406 * math/s_clog.c: Likewise.
29407 * math/s_clog10.c: Likewise.
29408 * math/s_clog10f.c: Likewise.
29409 * math/s_clog10l.c: Likewise.
29410 * math/s_clogf.c: Likewise.
29411 * math/s_clogl.c: Likewise.
29412 * math/s_csqrt.c: Likewise.
29413 * math/s_csqrtf.c: Likewise.
29414 * math/s_csqrtl.c: Likewise.
29415 * math/s_ctanf.c: Likewise.
29416 * math/s_ctanh.c: Likewise.
29417 * math/s_ctanhf.c: Likewise.
29418 * math/s_ctanhl.c: Likewise.
29419 * math/s_ctanl.c: Likewise.
29421 * math/math_private.h: Define __nan, __nanf, __nanl.
29422 * math/s_cacosh.c: Include <math_private.h>.
29423 * math/s_cacoshl.c: Likewise.
29424 * math/s_casinh.c: Likewise.
29425 * math/s_casinhf.c: Likewise.
29426 * math/s_casinhl.c: Likewise.
29427 * math/s_ccos.c: Rely entire on ccosh.
29428 * math/s_ccosf.c: Rely entire on ccoshf.
29429 * math/s_ccosl.c: Rely entirely on ccoshl.
29430 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29431 Remove tests for FE_INVALID.
29432 * math/s_ccoshf.c: Likewise.
29433 * math/s_ccoshl.c: Likewise.
29434 * math/s_csin.c: Likewise.
29435 * math/s_csinf.c: Likewise.
29436 * math/s_csinh.c Likewise.
29437 * math/s_csinhf.c: Likewise.
29438 * math/s_csinhl.c: Likewise.
29439 * math/s_csinl.c: Likewise.
29440 * math/s_ctan.c: Likewise.
29441 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29442 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29443 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29445 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29448 compilation problems.
29450 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29453 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29455 * sysdeps/i386/configure.in: Test for -mfma4 option.
29456 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29457 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29458 COMMON_CPUID_INDEX_80000001.
29459 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29460 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29461 use it if FMA3 is not supported.
29462 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29464 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29465 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29467 2011-10-20 Andreas Schwab <schwab@redhat.com>
29470 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29471 it would create a cycle with a link time dependency.
29473 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29475 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29477 * string/Makefile (strop-tests): Add rawmemchr.
29478 * string/test-rawmemchr.c: New file.
29480 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29481 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29482 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29483 when compiling str{,n}casecmp and when AVX is available. Hook up
29484 new optimized code in initializers.
29486 2011-10-19 Andreas Schwab <schwab@redhat.com>
29488 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29489 __feraiseexcept instead of feraiseexcept.
29491 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29493 * math/math_private.h: Define defaults for libc_fetestexcept and
29495 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29496 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29497 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29498 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29499 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29500 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29501 libc_fetestexcept and libc_feupdateenv.
29503 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29504 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29505 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29506 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29507 libc_feholdexcept_setround.
29509 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29510 Add s_nearbyint-c and s_nearbyintf-c.
29511 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29512 nearbyintf inlines.
29513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29516 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29518 * math/math_private.h: Define defaults for libc_fegetround,
29519 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29520 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29521 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29522 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29523 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29524 standard functions.
29525 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29526 Remove comments and hacks for old compiler versions.
29527 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29528 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29529 libc_feholdexceptl.
29531 2011-10-18 Andreas Schwab <schwab@redhat.com>
29533 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29534 (__feraiseexcept_renamed): Add __NTH.
29535 (feraiseexcept): Add __NTH. Rename local variables to fix
29536 namespace violations.
29538 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29540 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29542 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29544 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29545 recently added interfaces.
29546 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29548 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29549 about macro parameter expansion.
29551 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29552 __NO_MATH_INLINES is defined. Cleanups.
29554 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29555 and __floorf is target has SSE4.1.
29556 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29557 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29558 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29559 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29561 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29563 (floorf): Likewise.
29565 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29567 2011-10-17 Andreas Schwab <schwab@redhat.com>
29569 * misc/sys/cdefs.h: Fix last change.
29571 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29574 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29576 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29578 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29579 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29580 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29581 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29583 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29584 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29585 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29586 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29587 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29588 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29589 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29590 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29591 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29592 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29593 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29594 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29595 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29596 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29597 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29598 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29599 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29601 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29602 ceil, ceilf, floor, floorf.
29604 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29605 Perform IRELATIVE relocations last.
29607 * elf/do-rel.h: Add another parameter nrelative, replacing the
29608 local variable with the same name. Change name of the function
29609 to end in Rel or Rela (uppercase).
29610 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29611 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29612 elf_dynamic_do_##reloc function.
29614 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29616 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29617 is sufficient, at least on modern CPUs.
29619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29621 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29622 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29624 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29626 * math/bits/math-finite.h: Add entries for exp.
29627 * math/e_expl.c: Add __*_finite alias.
29628 * sysdeps/i386/fpu/e_exp.S: Likewise.
29629 * sysdeps/i386/fpu/e_expf.S: Likewise.
29630 * sysdeps/i386/fpu/e_expl.c: Likewise.
29631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29632 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29633 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29635 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29636 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29637 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29639 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29640 is sufficient, at least on modern CPUs.
29642 * ctype/ctype-info.c (__ctype_init): Define.
29643 * include/ctype.h (__ctype_init): Declare.
29644 (__ctype_b_loc): The variable is always initialized.
29645 (__ctype_toupper_loc): Likewise.
29646 (__ctype_tolower_loc): Likewise.
29647 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29648 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29650 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29652 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29654 * configure.in: Also look in $cxxmachine/include for C++ system
29657 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29659 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29660 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29661 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29662 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29663 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29664 (USE_AS_WMEMCMP): New macro.
29666 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29667 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29668 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29669 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29671 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29672 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29673 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29674 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29675 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29676 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29677 (USE_AS_WMEMCMP): New macro.
29678 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29679 * sysdeps/string/test-memcmp.c: Update.
29680 Fix simple_wmemcmp.
29682 * wcsmbs/wmemcmp.c: Update.
29683 (WMEMCMP): New macro.
29686 2011-10-12 Andreas Jaeger <aj@suse.de>
29689 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29691 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29693 * libio/iofwide.c (do_length): Avoid warning.
29695 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29697 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29699 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29701 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29702 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29703 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29704 * sysdeps/i386/i686/fpu/e_log.S: New file.
29705 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29706 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29708 * ctype/ctype.h: Add support for inlined isXXX functions when
29709 compiling C++ code.
29711 2011-10-14 Andreas Schwab <schwab@redhat.com>
29713 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29715 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29717 2011-10-13 Roland McGrath <roland@hack.frob.com>
29720 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29722 2011-10-13 Andreas Schwab <schwab@redhat.com>
29724 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29725 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29728 * sysdeps/x86_64/memrchr.S: Check for zero size.
29730 * string/stratcliff.c: Add memrchr tests.
29732 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29735 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29736 rawmemchr-sse2 rawmemchr-sse2-bsf.
29737 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29738 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29739 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29740 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29741 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29742 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29743 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29744 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29745 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29746 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29747 * string/memrchr.c (MEMRCHR): New macro.
29749 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29751 Add integration with gcc's -ffinite-math-only and optimize wrapper
29753 * Versions.def: Define GLIBC_2.15 version for libm.
29754 * math/Makefile (headers): Add bits/math-finite.h.
29755 * math/bits/math-finite.h: New file.
29756 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29757 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29758 * math/e_acoshl.c: Add __*_finite alias.
29759 * math/e_acosl.c: Likewise.
29760 * math/e_asinl.c: Likewise.
29761 * math/e_atan2l.c: Likewise.
29762 * math/e_atanhl.c: Likewise.
29763 * math/e_coshl.c: Likewise.
29764 * math/e_exp10.c: Likewise.
29765 * math/e_exp10f.c: Likewise.
29766 * math/e_exp10l.c: Likewise.
29767 * math/e_exp2l.c: Likewise.
29768 * math/e_fmodl.c: Likewise.
29769 * math/e_gammal_r.c: Likewise.
29770 * math/e_hypotl.c: Likewise.
29771 * math/e_j0l.c: Likewise.
29772 * math/e_j1l.c: Likewise.
29773 * math/e_jnl.c: Likewise.
29774 * math/e_lgammal_r.c: Likewise.
29775 * math/e_log10l.c: Likewise.
29776 * math/e_log2l.c: Likewise.
29777 * math/e_logl.c: Likewise.
29778 * math/e_powl.c: Likewise.
29779 * math/e_sinhl.c: Likewise.
29780 * math/e_sqrtl.c: Likewise.
29781 * math/e_scalb.c: Completely rewritten and optimized.
29782 * math/e_scalbf.c: Likewise.
29783 * math/e_scalbl.c: Likewise.
29784 * math/w_acos.c: Likewise.
29785 * math/w_acosf.c: Likewise.
29786 * math/w_acosl.c: Likewise.
29787 * math/w_acosh.c: Likewise.
29788 * math/w_acoshf.c: Likewise.
29789 * math/w_acoshl.c: Likewise.
29790 * math/w_asin.c: Likewise.
29791 * math/w_asinf.c: Likewise.
29792 * math/w_asinl.c: Likewise.
29793 * math/w_atan2.c: Likewise.
29794 * math/w_atan2f.c: Likewise.
29795 * math/w_atan2l.c: Likewise.
29796 * math/w_atanh.c: Likewise.
29797 * math/w_atanhf.c: Likewise.
29798 * math/w_atanhl.c: Likewise.
29799 * math/w_exp10.c: Likewise.
29800 * math/w_exp10f.c: Likewise.
29801 * math/w_exp10l.c: Likewise.
29802 * math/w_fmod.c: Likewise.
29803 * math/w_fmodf.c: Likewise.
29804 * math/w_fmodl.c: Likewise.
29805 * math/w_j0.c: Likewise.
29806 * math/w_j0f.c: Likewise.
29807 * math/w_j0l.c: Likewise.
29808 * math/w_j1.c: Likewise.
29809 * math/w_j1f.c: Likewise.
29810 * math/w_j1l.c: Likewise.
29811 * math/w_jn.c: Likewise.
29812 * math/w_jnf.c: Likewise.
29813 * math/w_log.c: Likewise.
29814 * math/w_logf.c: Likewise.
29815 * math/w_logl.c: Likewise.
29816 * math/w_log10.c: Likewise.
29817 * math/w_log10f.c: Likewise.
29818 * math/w_log10l.c: Likewise.
29819 * math/w_log2.c: Likewise.
29820 * math/w_log2f.c: Likewise.
29821 * math/w_log2l.c: Likewise.
29822 * math/w_pow.c: Likewise.
29823 * math/w_powf.c: Likewise.
29824 * math/w_powl.c: Likewise.
29825 * math/w_remainder.c: Likewise.
29826 * math/w_remainderf.c: Likewise.
29827 * math/w_remainderl.c: Likewise.
29828 * math/w_scalb.c: Likewise.
29829 * math/w_scalbf.c: Likewise.
29830 * math/w_scalbl.c: Likewise.
29831 * math/w_sqrt.c: Likewise.
29832 * math/w_sqrtf.c: Likewise.
29833 * math/w_sqrtl.c: Likewise.
29834 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29835 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29837 * math/math_private.h: Declare __kernel_standard_f.
29838 * math/w_cosh.c: Remove cruft and optimize a bit.
29839 * math/w_coshf.c: Likewise.
29840 * math/w_coshl.c: Likewise.
29841 * math/w_exp2.c: Likewise.
29842 * math/w_exp2f.c: Likewise.
29843 * math/w_exp2l.c: Likewise.
29844 * math/w_hypot.c: Likewise.
29845 * math/w_hypotf.c: Likewise.
29846 * math/w_hypotl.c: Likewise.
29847 * math/w_lgamma.c: Likewise.
29848 * math/w_lgamma_r.c: Likewise.
29849 * math/w_lgammaf.c: Likewise.
29850 * math/w_lgammaf_r.c: Likewise.
29851 * math/w_lgammal.c: Likewise.
29852 * math/w_lgammal_r.c: Likewise.
29853 * math/w_sinh.c: Likewise.
29854 * math/w_sinhf.c: Likewise.
29855 * math/w_sinhl.c: Likewise.
29856 * math/w_tgamma.c: Likewise.
29857 * math/w_tgammaf.c: Likewise.
29858 * math/w_tgammal.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29861 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29862 Minor optimizations. Pretty printing. Remove cruft.
29863 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29865 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29866 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29867 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29868 * sysdeps/i386/fpu/e_asin.S: Likewise.
29869 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29870 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29871 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29872 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29873 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29874 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29875 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29876 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29877 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29878 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29879 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29880 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29881 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29882 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29883 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29884 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29885 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29886 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29887 * sysdeps/i386/fpu/e_log.S: Likewise.
29888 * sysdeps/i386/fpu/e_log10.S: Likewise.
29889 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29890 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29891 * sysdeps/i386/fpu/e_log2.S: Likewise.
29892 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29893 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29894 * sysdeps/i386/fpu/e_logf.S: Likewise.
29895 * sysdeps/i386/fpu/e_logl.S: Likewise.
29896 * sysdeps/i386/fpu/e_pow.S: Likewise.
29897 * sysdeps/i386/fpu/e_powf.S: Likewise.
29898 * sysdeps/i386/fpu/e_powl.S: Likewise.
29899 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29900 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29901 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29902 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29903 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29904 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29905 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29906 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29907 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29915 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29916 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29917 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29918 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29919 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29921 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29922 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29924 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29925 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29926 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29928 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29929 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29930 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29931 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29932 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29933 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29935 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29936 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29937 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29938 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29939 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29940 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29941 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29942 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29943 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29944 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29945 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29946 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29947 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29948 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29949 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29988 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29991 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29993 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29994 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29996 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29999 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30000 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30001 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30002 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30003 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30004 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30005 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30006 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30007 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30008 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30009 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30010 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30011 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30012 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30013 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30014 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30015 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30016 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30018 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30019 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30020 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30021 (__isnanf): Likewise.
30022 (__isinf_ns): Likewise.
30023 (__isinf_nsf): Likewise.
30024 (__finite): Likewise.
30025 (__finitef): Likewise.
30026 (__ieee754_sqrt): Define as macro.
30027 (__ieee754_sqrtf): Define as macro.
30028 (__ieee754_sqrtl): Define as macro.
30029 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30031 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30032 __FINITE_MATH_ONLY__ consistent.
30033 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30035 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30037 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30040 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30042 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30044 * po/ja.po: Update from translation team.
30046 2011-10-08 Roland McGrath <roland@hack.frob.com>
30048 * locale/programs/locarchive.c (prepare_address_space): New function.
30049 (create_archive, enlarge_archive, open_archive): Use it.
30051 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30052 inside [SHARED], where it is used.
30054 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30056 * nss/getent.c (netgroup_keys): Remove unused variable.
30057 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30059 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30061 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30062 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30064 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30065 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30066 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30067 * math/Makefile (libm-calls): Add s_isinf_ns.
30068 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30069 * math/multc3.c: Likewise.
30070 * math/s_casin.c: Likewise.
30071 * math/s_casinf.c: Likewise.
30072 * math/s_casinl.c: Likewise.
30073 * math/s_ccos.c: Likewise.
30074 * math/s_ccosf.c: Likewise.
30075 * math/s_ccosl.c: Likewise.
30076 * math/s_ctan.c: Likewise.
30077 * math/s_ctanf.c: Likewise.
30078 * math/s_ctanh.c: Likewise.
30079 * math/s_ctanhf.c: Likewise.
30080 * math/s_ctanhl.c: Likewise.
30081 * math/s_ctanl.c: Likewise.
30082 * math/w_fmod.c: Likewise.
30083 * math/w_fmodf.c: Likewise.
30084 * math/w_fmodl.c: Likewise.
30085 * math/w_remainder.c: Likewise.
30086 * math/w_remainderf.c: Likewise.
30087 * math/w_remainderl.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30089 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30090 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30092 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30093 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30094 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30095 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30097 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30099 * stdio-common/printf_fphex.c: Likewise.
30100 * stdio-common/printf_size.c: Likewise.
30102 * math/e_exp10.c: Include math_private.h using <...> not "...".
30103 * math/e_exp10f.c: Likewise.
30104 * math/e_exp10l.c: Likewise.
30105 * math/e_exp2l.c: Likewise.
30106 * math/e_j0l.c: Likewise.
30107 * math/e_j1l.c: Likewise.
30108 * math/e_jnl.c: Likewise.
30109 * math/e_lgammal_r.c: Likewise.
30110 * math/e_rem_pio2l.c: Likewise.
30111 * math/e_scalb.c: Likewise.
30112 * math/e_scalbf.c: Likewise.
30113 * math/e_scalbl.c: Likewise.
30114 * math/k_cosl.c: Likewise.
30115 * math/k_sinl.c: Likewise.
30116 * math/k_tanl.c: Likewise.
30117 * math/s_cacoshf.c: Likewise.
30118 * math/s_catan.c: Likewise.
30119 * math/s_catanf.c: Likewise.
30120 * math/s_catanh.c: Likewise.
30121 * math/s_catanhf.c: Likewise.
30122 * math/s_catanhl.c: Likewise.
30123 * math/s_catanl.c: Likewise.
30124 * math/s_ccosh.c: Likewise.
30125 * math/s_ccoshf.c: Likewise.
30126 * math/s_ccoshl.c: Likewise.
30127 * math/s_cexp.c: Likewise.
30128 * math/s_cexpf.c: Likewise.
30129 * math/s_cexpl.c: Likewise.
30130 * math/s_clog.c: Likewise.
30131 * math/s_clog10.c: Likewise.
30132 * math/s_clog10f.c: Likewise.
30133 * math/s_clog10l.c: Likewise.
30134 * math/s_clogf.c: Likewise.
30135 * math/s_clogl.c: Likewise.
30136 * math/s_csin.c: Likewise.
30137 * math/s_csinf.c: Likewise.
30138 * math/s_csinh.c: Likewise.
30139 * math/s_csinhf.c: Likewise.
30140 * math/s_csinhl.c: Likewise.
30141 * math/s_csinl.c: Likewise.
30142 * math/s_csqrt.c: Likewise.
30143 * math/s_csqrtf.c: Likewise.
30144 * math/s_csqrtl.c: Likewise.
30145 * math/s_ctan.c: Likewise.
30146 * math/s_ctanf.c: Likewise.
30147 * math/s_ctanh.c: Likewise.
30148 * math/s_ctanhf.c: Likewise.
30149 * math/s_ctanhl.c: Likewise.
30150 * math/s_ctanl.c: Likewise.
30151 * math/s_ldexp.c: Likewise.
30152 * math/s_ldexpf.c: Likewise.
30153 * math/s_ldexpl.c: Likewise.
30154 * math/s_significand.c: Likewise.
30155 * math/s_significandf.c: Likewise.
30156 * math/s_significandl.c: Likewise.
30157 * math/w_acos.c: Likewise.
30158 * math/w_acosf.c: Likewise.
30159 * math/w_acosh.c: Likewise.
30160 * math/w_acoshf.c: Likewise.
30161 * math/w_acoshl.c: Likewise.
30162 * math/w_acosl.c: Likewise.
30163 * math/w_asin.c: Likewise.
30164 * math/w_asinf.c: Likewise.
30165 * math/w_asinl.c: Likewise.
30166 * math/w_atan2.c: Likewise.
30167 * math/w_atan2f.c: Likewise.
30168 * math/w_atan2l.c: Likewise.
30169 * math/w_atanh.c: Likewise.
30170 * math/w_atanhf.c: Likewise.
30171 * math/w_atanhl.c: Likewise.
30172 * math/w_cosh.c: Likewise.
30173 * math/w_coshf.c: Likewise.
30174 * math/w_coshl.c: Likewise.
30175 * math/w_dremf.c: Likewise.
30176 * math/w_exp10.c: Likewise.
30177 * math/w_exp10f.c: Likewise.
30178 * math/w_exp10l.c: Likewise.
30179 * math/w_exp2.c: Likewise.
30180 * math/w_exp2f.c: Likewise.
30181 * math/w_fmod.c: Likewise.
30182 * math/w_fmodf.c: Likewise.
30183 * math/w_fmodl.c: Likewise.
30184 * math/w_hypot.c: Likewise.
30185 * math/w_hypotf.c: Likewise.
30186 * math/w_hypotl.c: Likewise.
30187 * math/w_j0.c: Likewise.
30188 * math/w_j0f.c: Likewise.
30189 * math/w_j0l.c: Likewise.
30190 * math/w_j1.c: Likewise.
30191 * math/w_j1f.c: Likewise.
30192 * math/w_j1l.c: Likewise.
30193 * math/w_jn.c: Likewise.
30194 * math/w_jnf.c: Likewise.
30195 * math/w_jnl.c: Likewise.
30196 * math/w_lgamma.c: Likewise.
30197 * math/w_lgamma_r.c: Likewise.
30198 * math/w_lgammaf.c: Likewise.
30199 * math/w_lgammaf_r.c: Likewise.
30200 * math/w_lgammal.c: Likewise.
30201 * math/w_lgammal_r.c: Likewise.
30202 * math/w_log.c: Likewise.
30203 * math/w_log10.c: Likewise.
30204 * math/w_log10f.c: Likewise.
30205 * math/w_log10l.c: Likewise.
30206 * math/w_log2.c: Likewise.
30207 * math/w_log2f.c: Likewise.
30208 * math/w_log2l.c: Likewise.
30209 * math/w_logf.c: Likewise.
30210 * math/w_logl.c: Likewise.
30211 * math/w_pow.c: Likewise.
30212 * math/w_powf.c: Likewise.
30213 * math/w_powl.c: Likewise.
30214 * math/w_remainder.c: Likewise.
30215 * math/w_remainderf.c: Likewise.
30216 * math/w_remainderl.c: Likewise.
30217 * math/w_scalb.c: Likewise.
30218 * math/w_scalbf.c: Likewise.
30219 * math/w_scalbl.c: Likewise.
30220 * math/w_sinh.c: Likewise.
30221 * math/w_sinhf.c: Likewise.
30222 * math/w_sinhl.c: Likewise.
30223 * math/w_sqrt.c: Likewise.
30224 * math/w_sqrtf.c: Likewise.
30225 * math/w_sqrtl.c: Likewise.
30226 * math/w_tgamma.c: Likewise.
30227 * math/w_tgammaf.c: Likewise.
30228 * math/w_tgammal.c: Likewise.
30230 * po/ja.po: Update from translation team.
30232 2011-09-29 Andreas Jaeger <aj@suse.de>
30235 * sunrpc/netname.c (netname2host): Fix logic.
30239 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30241 * math/w_remainder.c (__remainder): Likewise.
30242 * math/w_remainderf.c (__remainderf): Likewise.
30243 * math/libm-test.inc (remainder_test): Add test cases.
30245 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30247 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30250 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30252 * string/test-memcmp.c: Avoid unncessary #defines.
30253 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30255 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30257 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30258 Use new sse2 version for core i3 - i7 as it's faster
30259 than sse42 version.
30260 (bit_Prefer_PMINUB_for_stringop): New.
30261 * sysdeps/x86_64/rawmemchr.S: Update.
30262 Replace with faster SSE2 version.
30263 * sysdeps/x86_64/memrchr.S: New file.
30264 * sysdeps/x86_64/memchr.S: Update.
30265 Replace with faster SSE2 version.
30267 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30269 * elf/dl-load.c (lose): Add cast to avoid warning.
30271 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30273 * po/ca.po: Update from translation team.
30275 * inet/getnetgrent_r.c: Hook up nscd.
30276 * nscd/Makefile (routines): Add nscd_netgroup.
30277 (nscd-modules): Add netgroupcache.
30278 (CFLAGS-netgroupcache.c): Define.
30279 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30280 (cache_search): Add const to second parameter.
30281 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30283 (dbs): Add netgrdb entry.
30284 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30285 (verify_persistent_db): Handle netgrdb.
30286 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30287 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30289 (netgroup_response_header): Define.
30290 (innetgroup_response_header): Define.
30291 (datahead): Add netgroup_response_header and innetgroup_response_header
30293 * nscd/nscd.conf: Add entries for netgroup cache.
30294 * nscd/nscd.h (dbtype): Add netgrdb.
30295 (_PATH_NSCD_NETGROUP_DB): Define.
30296 (netgroup_iov_disabled): Declare.
30297 (xmalloc, xcalloc, xrealloc): Move declarations here.
30298 (cache_search): Adjust prototype.
30299 Add netgroup-related prototypes.
30300 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30301 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30302 (__nscd_innetgr): Declare.
30303 * nscd/selinux.c (perms): Use access_vector_t as element type and
30304 add netgroup-related initializers.
30305 * nscd/netgroupcache.c: New file.
30306 * nscd/nscd_netgroup.c: New file.
30307 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30308 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30309 For four parameters use innetgr.
30310 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30311 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30312 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30313 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30315 * nscd/connections.c (register_traced_file): Don't register file
30316 for disabled databases.
30318 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30320 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30322 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30323 from tree and freeing node.
30325 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30327 * nss/nsswitch.c (__nss_database_lookup): Handle
30328 nss_parse_service_list out of memory case.
30330 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30332 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30333 out of memory case.
30335 2011-10-04 Andreas Schwab <schwab@redhat.com>
30337 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30338 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30340 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30341 elf_machine_rela, elf_machine_lazy_rel.
30342 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30343 (ELF_DYNAMIC_DO_REL): Likewise.
30344 (ELF_DYNAMIC_DO_RELA): Likewise.
30345 (ELF_DYNAMIC_RELOCATE): Likewise.
30346 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30347 to ELF_DYNAMIC_DO_REL.
30348 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30349 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30350 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30352 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30353 skip_ifunc, don't call ifunc function if non-zero.
30354 (elf_machine_rela): Likewise.
30355 (elf_machine_lazy_rel): Likewise.
30356 (elf_machine_lazy_rela): Likewise.
30357 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30358 (elf_machine_lazy_rel): Likewise.
30359 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30361 (elf_machine_lazy_rel): Likewise.
30362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30364 (elf_machine_lazy_rel): Likewise.
30365 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30366 (elf_machine_lazy_rel): Likewise.
30367 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30368 (elf_machine_lazy_rel): Likewise.
30369 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30370 (elf_machine_lazy_rel): Likewise.
30371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30372 (elf_machine_lazy_rel): Likewise.
30373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30374 (elf_machine_lazy_rel): Likewise.
30375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30376 (elf_machine_lazy_rel): Likewise.
30378 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30380 * nss/nss_files/files-init.c (_nss_files_init): Use static
30381 initialization for all the *_traced_file variables.
30383 2011-09-28 Andreas Schwab <schwab@redhat.com>
30385 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30387 2011-09-27 Roland McGrath <roland@hack.frob.com>
30390 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30392 2011-09-27 Andreas Schwab <schwab@redhat.com>
30394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30395 Reread the line before reparsing it.
30397 2011-09-26 Andreas Schwab <schwab@redhat.com>
30399 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30401 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30402 Maxim Kuvyrkov <maxim@codesourcery.com>
30403 Joseph Myers <joseph@codesourcery.com>
30405 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30406 if needed for __stack_chk_guard.
30408 2011-09-19 Roland McGrath <roland@hack.frob.com>
30410 * sysdeps/posix/spawni.c (script_execute): Always define it.
30411 It will be optimized away if unused.
30412 (maybe_script_execute): New function.
30413 (__spawni): Call it.
30415 * Makerules: Don't include tls.make.
30416 (config-tls): Always set to thread.
30417 * tls.make.c: File removed.
30419 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30421 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30422 * config.make.in (CPPFLAGS-config): New substituted variable.
30424 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30426 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30429 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30430 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30432 2011-09-15 Roland McGrath <roland@hack.frob.com>
30434 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30435 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30437 (CALL_FAIL): Likewise.
30438 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30439 (CALL_FAIL): Macro removed.
30440 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30442 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30444 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30445 for __FINITE_MATH_ONLY__ == 1.
30447 2011-09-15 Andreas Schwab <schwab@redhat.com>
30449 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30450 __ieee754_sqrt instead of sqrt.
30451 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30452 __ieee754_sqrtf instead of sqrtf.
30453 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30454 __floorf instead of floorf.
30455 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30456 __floorf, __truncf instead of floorf, truncf.
30458 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30460 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30462 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30463 __extern_always_inline.
30464 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30467 2011-09-14 Andreas Schwab <schwab@redhat.com>
30469 * elf/rtld.c (dl_main): Also relocate in dependency order when
30470 doing symbol dependency testing.
30472 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30475 Always define `refsym'.
30477 2011-09-13 Andreas Schwab <schwab@redhat.com>
30479 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30480 (__FD_ELT): Renamed from __FDELT.
30481 * misc/bits/select2.h (__FD_ELT): Likewise.
30482 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30483 __FD_MASK instead of __FDELT, __FDMASK.
30484 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30486 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30489 * elf/Makefile (gen-ldd): Fix pattern.
30491 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30492 (init_tls): Likewise.
30494 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30498 2011-09-12 Andreas Schwab <schwab@redhat.com>
30500 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30501 `struct cmsghdr *' instead of `void *'.
30502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30505 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30507 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30509 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30510 ldd_rewrite_script.
30512 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30514 * configure.in: Remove --with-tls option.
30515 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30516 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30517 out in case it is missing.
30518 * sysdeps/ia64/elf/configure.in: Likewise.
30519 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30520 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30521 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30522 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30523 * sysdeps/sh/elf/configure.in: Likewise.
30524 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30525 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30526 * sysdeps/x86_64/elf/configure.in: Likewise.
30527 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30528 * sysdeps/mach/hurd/tls.h: Likewise.
30531 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30534 * configure.in: Fix use of AC_INIT.
30536 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30538 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30540 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30542 * malloc/hooks.c: Likewise.
30545 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30546 variables statically.
30547 (narenas): Initialize.
30548 (list_lock): Initialize.
30549 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30550 initializtion of main_arena and list_lock. Small cleanups.
30551 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30552 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30553 Add initializers to main_arena and mp_.
30554 (malloc_state): Remove pagesize member. Change all users to use
30557 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30558 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30559 is always initialized.
30561 * malloc/malloc.c: Removed unused configurations and dead code.
30562 * malloc/arena.c: Likewise.
30563 * malloc/hooks.c: Likewise.
30564 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30566 * include/tls.h: Removed. USE___THREAD must always be defined.
30567 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30568 * elf/dl-libc.c: Likewise.
30569 * elf/dl-tsd.c: Likewise.
30570 * include/errno.h: Likewise.
30571 * include/netdb.h: Likewise.
30572 * include/resolv.h: Likewise.
30573 * inet/herrno-loc.c: Likewise.
30574 * inet/herrno.c: Likewise.
30575 * malloc/arena.c: Likewise.
30576 * malloc/hooks.c: Likewise.
30577 * malloc/malloc.c: Likewise.
30578 * resolv/res-state.c: Likewise.
30579 * resolv/res_libc.c: Likewise.
30580 * sysdeps/i386/dl-machine.h: Likewise.
30581 * sysdeps/ia64/dl-machine.h: Likewise.
30582 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30583 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30584 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30585 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30586 * sysdeps/sh/dl-machine.h: Likewise.
30587 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30588 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30589 * sysdeps/unix/i386/sysdep.S: Likewise.
30590 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30591 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30596 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30600 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30601 * sysdeps/x86_64/dl-machine.h: Likewise.
30602 * tls.make.c: Likewise.
30604 * configure.in: Remove --with-__thread option. Make tests for
30605 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30606 tls_model attribute fail if no support is available. Remove
30608 * Makeconfig: Adjust for dropped configure option. All features are
30610 * Makerules: Likewise.
30611 * Versions.def: Likewise.
30612 * argp/argp-fmtstream.c: Likewise.
30613 * argp/argp-fmtstream.h: Likewise.
30614 * argp/argp-help.c: Likewise.
30615 * assert/assert.c: Likewise.
30616 * config.h.in: Likewise.
30617 * config.make.in: Likewise.
30618 * configure: Likewise.
30619 * configure.in: Likewise.
30620 * csu/Versions: Likewise.
30621 * csu/init.c: Likewise.
30622 * elf/tst-audit2.c: Likewise.
30623 * elf/tst-tls10.c: Likewise.
30624 * elf/tst-tls10.h: Likewise.
30625 * elf/tst-tls11.c: Likewise.
30626 * elf/tst-tls12.c: Likewise.
30627 * elf/tst-tls14.c: Likewise.
30628 * elf/tst-tlsmod11.c: Likewise.
30629 * elf/tst-tlsmod12.c: Likewise.
30630 * elf/tst-tlsmod13.c: Likewise.
30631 * elf/tst-tlsmod13a.c: Likewise.
30632 * elf/tst-tlsmod14a.c: Likewise.
30633 * elf/tst-tlsmod15b.c: Likewise.
30634 * elf/tst-tlsmod16a.c: Likewise.
30635 * elf/tst-tlsmod16b.c: Likewise.
30636 * elf/tst-tlsmod7.c: Likewise.
30637 * elf/tst-tlsmod8.c: Likewise.
30638 * elf/tst-tlsmod9.c: Likewise.
30639 * gmon/gmon.c: Likewise.
30640 * grp/fgetgrent_r.c: Likewise.
30641 * grp/putgrent.c: Likewise.
30642 * hurd/fopenport.c: Likewise.
30643 * include/libc-symbols.h: Likewise.
30644 * include/tls.h: Likewise.
30645 * intl/gettextP.h: Likewise.
30646 * intl/loadinfo.h: Likewise.
30647 * locale/global-locale.c: Likewise.
30648 * locale/localeinfo.h: Likewise.
30649 * mach/devstream.c: Likewise.
30650 * malloc/arena.c: Likewise.
30651 * malloc/set-freeres.c: Likewise.
30652 * misc/err.c: Likewise.
30653 * misc/getttyent.c: Likewise.
30654 * misc/mntent_r.c: Likewise.
30655 * posix/getopt.c: Likewise.
30656 * posix/wordexp.c: Likewise.
30657 * pwd/fgetpwent_r.c: Likewise.
30658 * resolv/Versions: Likewise.
30659 * resolv/res_hconf.c: Likewise.
30660 * shadow/fgetspent_r.c: Likewise.
30661 * shadow/putspent.c: Likewise.
30662 * stdio-common/printf_fphex.c: Likewise.
30663 * stdio-common/tmpfile.c: Likewise.
30664 * stdlib/abort.c: Likewise.
30665 * stdlib/fmtmsg.c: Likewise.
30666 * sunrpc/auth_unix.c: Likewise.
30667 * sunrpc/clnt_perr.c: Likewise.
30668 * sunrpc/clnt_tcp.c: Likewise.
30669 * sunrpc/clnt_udp.c: Likewise.
30670 * sunrpc/clnt_unix.c: Likewise.
30671 * sunrpc/openchild.c: Likewise.
30672 * sunrpc/svc_simple.c: Likewise.
30673 * sunrpc/svc_tcp.c: Likewise.
30674 * sunrpc/svc_udp.c: Likewise.
30675 * sunrpc/svc_unix.c: Likewise.
30676 * sunrpc/xdr.c: Likewise.
30677 * sunrpc/xdr_array.c: Likewise.
30678 * sunrpc/xdr_rec.c: Likewise.
30679 * sunrpc/xdr_ref.c: Likewise.
30680 * sunrpc/xdr_stdio.c: Likewise.
30682 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30684 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30686 2011-07-03 Andreas Jaeger <aj@suse.de>
30688 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30689 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30690 regenerate with gen-libm-tests.pl.
30692 2010-05-12 Petr Baudis <pasky@suse.cz>
30695 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30696 around j0() zero points by switching to j1().
30697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30702 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30704 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30706 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30709 Patch in part by Pavel Roskin <proski@gnu.org>.
30712 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30714 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30715 Free memory block if necessary.
30718 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30719 be NULL. Don't lock in this case.
30721 2011-09-09 Roland McGrath <roland@hack.frob.com>
30723 * elf/elf.h (ELFOSABI_GNU): New macro.
30724 (ELFOSABI_LINUX): Define to that.
30726 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30728 * string/strncat.c (strncat): Undef the symbol in case it has been
30729 defined in bits/string.h.
30731 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30733 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30735 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30738 2011-08-17 Andreas Jaeger <aj@suse.de>
30740 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30742 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30743 Ian Lance Taylor <iant@google.com>
30745 * math/libm-test.inc (lround_test): New testcase.
30746 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30748 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30750 * Makefile: Remove support for automatic cvs check-ins.
30751 * Makerules: Likewise.
30752 * config.make.in: Likewise.
30753 * configure.in: Likewise.
30754 * intl/Makefile: Likewise.
30755 * locale/Makefile: Likewise.
30756 * po/Makefile: Likewise.
30757 * posix/Makefile: Likewise.
30758 * sysdeps/gnu/Makefile: Likewise.
30759 * sysdeps/mach/hurd/Makefile: Likewise.
30760 * sysdeps/sparc/sparc32/Makefile: Likewise.
30763 * posix/Makefile (bug-regex32-ENV): Define.
30764 Patch by John Stanley <jpsinthemix@verizon.net>.
30766 * misc/Makefile (headers): Add bits/select2.h.
30767 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30768 * misc/bits/select2.h: New file.
30769 * include/bits/select2.h: New file.
30770 * debug/Makefile (routines): Add fdelt_chk.
30771 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30772 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30774 * debug/fdelt_chk.c: New file.
30776 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30777 * wcsmbs/test-wmemcmp.c: Likewise.
30778 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30779 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30781 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30783 * string/Makefile (strop-tests): Add memcmp.
30784 * string/test-wmemcmp.c: New file.
30785 * string/test-memcmp.c: Add wmemcmp support.
30787 2011-09-08 Roland McGrath <roland@hack.frob.com>
30790 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30793 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30794 garbage value in a __mach_port_mod_refs call in the cases of the
30795 task-self and thread-self ports.
30797 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30799 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30801 2011-09-08 Andreas Schwab <schwab@redhat.com>
30803 * elf/dl-load.c (lose): Check for non-null L.
30805 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30807 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30809 * elf/dl-libc.c (dlerror_run): Pass back error code from
30813 * elf/dl-load.c (lose): Free l_origin if it is valid.
30815 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30817 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30818 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30819 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30820 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30821 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30822 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30824 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30826 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30827 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30828 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30830 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30831 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30832 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30833 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30834 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30835 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30837 2011-08-15 Alan Modra <amodra@gmail.com>
30840 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30841 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30842 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30843 ppc_mcount to static-only-routines.
30844 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30846 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30847 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30849 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30852 for finite and infinity parameters.
30854 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30856 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30857 and add nop instructions for throughput optimization.
30858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30860 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30862 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30863 aligned copy for power7 with vector-scalar instructions.
30864 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30866 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30871 2011-09-07 Andreas Schwab <schwab@redhat.com>
30874 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30877 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30879 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30880 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30881 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30882 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30885 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30888 Forgot to demangle the pointer.
30890 * sysdeps/i386/sysdep.h: Define atom_text_section.
30891 * sysdeps/x86_64/sysdep.h: Likewise.
30892 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30893 section with atom_text_section.
30894 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30895 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30896 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30897 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30898 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30900 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30901 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30902 already be defined. Change to take two parameters and don't assign
30903 result to variable. Adjust all users.
30904 Define INTERNAL_GETTIME if not already defined.
30905 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30908 HAVE_CLOCK_GETTIME_VSYSCALL.
30909 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30911 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30912 gettimeofday vsyscall, just use time.
30914 2011-09-06 Andreas Schwab <schwab@redhat.com>
30916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30919 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30921 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30925 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30927 syscall if possible.
30929 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30931 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30932 e_ident. Don't pass to find_mapsXX.
30933 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30935 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30938 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30939 * sysdeps/x86_64/multiarch/strchr.S: Update.
30940 Check bit_slow_BSF bit.
30941 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30942 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30943 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30945 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30948 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30950 (tryshell): Define.
30951 (__spawni): Change last parameter to be flag. Test
30952 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30953 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30954 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30955 * posix/spawni.c: Likewise.
30956 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30957 * posix/spawnp.c: Likewise. Change normal version to use
30958 SPAWN_XFLAGS_USE_PATH.
30959 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30960 SPAWN_XFLAGS_TRY_SHELL.
30963 * posix/glob.h: Remove gcc 1.x support.
30966 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30968 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30971 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30973 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30974 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30975 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30976 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30977 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30978 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30980 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30982 * sysdeps/x86_64/wcscmp.S: New file.
30984 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30985 wcscmp-c wcscmp-sse2
30986 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30987 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30988 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30989 * wcsmbs/wcscmp.c: Allow renaming.
30991 2011-09-05 David S. Miller <davem@davemloft.net>
30993 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30994 stack slot, rather than the struct return pointer slot.
30995 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30996 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30998 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31000 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31002 * po/ja.po: Update from translation team.
31005 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31006 kernel in 64-bit binaries.
31008 2011-09-01 David S. Miller <davem@davemloft.net>
31010 * elf/elf.h (HWCAP_SPARC_*): Move to..
31011 * sysdeps/sparc/sysdep.h: this new file and add new values.
31012 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31013 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31014 _DL_HWCAP_COUNT to 24.
31015 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31017 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31018 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31019 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31021 instead of magic constants.
31022 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31024 2011-08-31 David S. Miller <davem@davemloft.net>
31026 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31028 Reimplement to do errno handling inline.
31029 (SYSCALL_ERROR_HANDLER): New macro.
31030 (__SYSCALL_STRING): Do not do errno handling in asm.
31031 (__CLONE_SYSCALL_STRING): Delete.
31032 (__INTERNAL_SYSCALL_STRING): Delete.
31033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31034 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31035 (PSEUDO): Reimplement to do errno handling inline.
31036 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31037 (SYSCALL_ERROR_HANDLER): New macro.
31038 (__SYSCALL_STRING): Do not do errno handling in asm.
31039 (__CLONE_SYSCALL_STRING): Delete.
31040 (__INTERNAL_SYSCALL_STRING): Delete.
31041 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31042 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31044 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31045 (inline_syscall*): Add 'err' argument.
31046 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31047 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31048 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31049 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31051 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31052 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31054 2011-08-30 Andreas Schwab <schwab@redhat.com>
31056 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31058 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31060 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31063 2011-08-24 David S. Miller <davem@davemloft.net>
31065 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31067 2011-08-24 Andreas Schwab <schwab@redhat.com>
31069 * elf/Makefile: Add rules to build and run unload8 test.
31070 * elf/unload8.c: New file.
31071 * elf/unload8mod1.c: New file.
31072 * elf/unload8mod1x.c: New file.
31073 * elf/unload8mod2.c: New file.
31074 * elf/unload8mod3.c: New file.
31076 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31079 2011-08-23 David S. Miller <davem@davemloft.net>
31081 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31082 subtract stack bias.
31083 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31084 %sp not %fp in calculations.
31085 (_JMPBUF_UNWINDS_ADJ): Likewise.
31087 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31088 (aio_suspend): Call it to force an exception region around the
31089 AIO_MISC_WAIT() invocation.
31091 2011-08-23 Andreas Schwab <schwab@redhat.com>
31093 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31096 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31098 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31100 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31101 and <dl-machine.h>.
31102 (Elf64_FuncDesc): Remove.
31104 2011-08-22 David S. Miller <davem@davemloft.net>
31106 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31107 sigaltstack check, add missing cfi directives.
31108 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31109 missing cfi directives, and sigaltstack handling.
31111 2011-08-16 Andreas Schwab <schwab@redhat.com>
31114 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31115 object is seen twice.
31116 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31118 * elf/Makefile (distribute): Add tst-initorder2.c.
31119 (tests): Add tst-initorder2.
31120 (modules-names): Add tst-initorder2a tst-initorder2b
31121 tst-initorder2c tst-initorder2d. Add rules to build them.
31122 ($(objpfx)tst-initorder2.out): New rule.
31123 * elf/tst-initorder2.c: New file.
31124 * elf/tst-initorder2.exp: New file.
31126 2011-08-22 Andreas Schwab <schwab@redhat.com>
31128 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31130 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31131 dependencies back to end of function.
31133 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31134 $(elfobjdir)/ld.so.
31136 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31139 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31141 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31142 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31143 of __vdso_gettimeofday.
31144 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31145 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31147 (_libc_vdso_platform_setup): Remove initialization of
31148 __vdso_gettimeofday and __vdso_time.
31150 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31152 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31153 and fgetc_unlocked.
31154 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31157 * elf/dl-open.c (add_to_global): Report additions to the global scope
31158 for LD_DEBUG=scopes.
31159 (dl_open_worker): Also print scope of newly loaded dependencies.
31160 (_dl_show_scope): Indicate if there is no scope.
31163 * stdio-common/Makefile (tests): Add bug24.
31164 * stdio-common/bug24.c: New file.
31166 2011-08-19 Andreas Jaeger <aj@suse.de>
31169 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31170 non-existant file when using close-on-exec mode.
31172 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31175 the very first instruction.
31177 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31178 the CFI state in the end.
31179 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31180 inclusion of dl-trampoline.h.
31181 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31183 2011-08-19 Andreas Schwab <schwab@redhat.com>
31185 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31186 expectations for long double.
31188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31189 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31191 2011-08-14 David S. Miller <davem@davemloft.net>
31193 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31194 artificual limit depends upon the system page size.
31196 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31198 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31199 * resolv/Makefile: Define CFLAGS-libresolv.
31201 2011-08-17 Andreas Schwab <schwab@redhat.com>
31203 * nss/makedb.c (compute_tables): Make variables used in nested
31206 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31208 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31209 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31210 if buffer was too small.
31212 * elf/pldd.c (main): Attach to all threads in the process.
31213 Rewrite /proc handling to use *at functions.
31215 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31217 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31218 specifies first scope to show.
31219 (dl_open_worker): Update callers. Move printing scope of new
31220 object to before the relocation.
31221 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31222 * sysdeps/generic/ldsodefs.h: Update declaration.
31224 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31225 string for the scope number.
31227 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31229 * nscd/servicescache.c (cache_addserv): Make sure written is always
31232 2011-08-14 Roland McGrath <roland@hack.frob.com>
31234 * sysdeps/i386/i486/bits/atomic.h
31235 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31236 statement expression, so as to suppress "set but not used" warning.
31237 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31239 * string/strncat.c (STRNCAT): Use prototype definition.
31241 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31242 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31244 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31245 (localedef-modules): Add localedef.
31246 (locale-modules): Add locale.
31248 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31249 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31250 to avoid a warning.
31252 2011-08-14 David S. Miller <davem@davemloft.net>
31254 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31255 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31257 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31259 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31260 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31261 * elf/rtld.c (dl_main): Set l_name of vDSO.
31262 Call _dl_show_scope when DL_DEBUG_SCOPES.
31263 (process_dl_debug): Recognize scopes flag and also set it for all.
31264 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31265 Declare _dl_show_scope.
31267 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31268 (do_dlopen): Pass caller_dlopen to dl_open.
31269 (__libc_dlopen_mode): Initialize caller_dlopen.
31271 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31272 of libc. Make tolower call locale-independent. Optimize a bit by
31273 using isdigit instead of isalnum.
31274 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31276 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31278 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31279 was a dependency or dynamically loaded.
31281 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31283 * intl/l10nflist.c: Allow architecture-specific pop function.
31284 * sysdeps/x86_64/l10nflist.c: New file.
31286 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31289 2011-08-10 Andreas Schwab <schwab@redhat.com>
31291 * include/dirent.h: Add libc_hidden_proto for scandirat and
31292 scandirat64. Don't declare __scandirat64.
31293 * dirent/scandirat.c: Add libc_hidden_def.
31294 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31295 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31297 2011-08-10 David S. Miller <davem@davemloft.net>
31299 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31303 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31305 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31307 * Versions.def [libc]: Add GLIBC_2.15.
31308 * dirent/Makefile (routines): Add scandirat and scandirat64.
31309 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31311 * dirent/dirent.h: Declare scandirat and scandirat64.
31312 * dirent/scandirat.c: New file.
31313 * dirent/scandirat64.c: New file.
31314 * sysdeps/wordsize-64/scandirat.c: New file.
31315 * sysdeps/wordsize-64/scandirat64.c: New file.
31316 * dirent/opendir.c: Define opendirat.
31317 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31319 * dirent/scandir64.c: Adjust for scandir.c change.
31320 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31321 __scandirat64, and __scandir_cancel_handler.
31322 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31323 additional parameter and use openat instead of open (outside of ld.so).
31324 Add new __opendir as wrapper around __opendirat.
31325 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31326 here without requiring old scandirat implementation.
31328 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31330 * dirent/scandir.c (cancel_handler): Renamed to
31331 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31332 defined. Adjust users.
31333 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31336 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31338 * string/test-string.h (IMPL): Use __STRING to expand name and then
31341 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31344 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31346 * string/Makefile: Update.
31347 (strop-tests): Append strncat.
31348 * string/test-wcscmp.c: New file.
31349 New comprehensive test for wcscmp.
31350 * string/test-strcmp.c: Update.
31351 (WIDE): New define.
31353 2011-07-22 Andreas Schwab <schwab@redhat.com>
31355 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31358 2011-07-26 Andreas Schwab <schwab@redhat.com>
31360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31361 encoding to ACE if AI_IDN.
31363 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31366 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31368 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31370 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31371 Fix overflow bug in strncat.
31372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31374 * string/test-strncat.c: Update.
31375 Add new tests for checking overflow bugs.
31377 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31380 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31381 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31382 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31383 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31384 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31385 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31386 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31387 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31390 (USE_AS_STRCAT): Define.
31391 Add strcat and strncat support.
31392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31394 2011-07-25 Andreas Schwab <schwab@redhat.com>
31396 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31397 __n bigger than INT_MAX+1.
31398 (__strncmp_g): Likewise.
31400 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31402 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31403 * libio/stido.h: Likewise.
31405 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31410 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31411 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31413 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31414 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31417 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31422 (_dl_x86_64_save_sse): Likewise.
31424 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31428 (_dl_x86_64_save_sse): Likewise.
31430 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31432 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31434 2011-07-21 Andreas Schwab <schwab@redhat.com>
31436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31438 (_dl_x86_64_save_sse): Use correct AVX check.
31440 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31442 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31443 bug in strncpy/strncat.
31444 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31446 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31448 * string/tester.c (test_strcat): Add tests for different alignments
31449 of source and destination.
31450 (test_strncat): Likewise.
31452 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31455 * posix/glob.c (glob): Check passed in values before using them in
31456 expressions to avoid some overflows.
31457 (glob_in_dir): Likewise.
31460 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31461 check for AVX enablement so that we don't crash with old kernels and
31463 * elf/tst-audit4.c: Add same checks here.
31464 * elf/tst-audit6.c: Likewise.
31466 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31468 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31470 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31472 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31474 * po/cs.po: Update from translation team.
31475 * po/bg.po: Likewise.
31477 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31479 * misc/sys/cdefs.h: Add support for const attribute.
31480 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31481 to gnu_dev_{major,minor,makedev} functions.
31483 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31485 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31487 2011-07-20 Andreas Schwab <schwab@redhat.com>
31489 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31492 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31494 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31495 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31496 register in order to avoid conflicts with the soft frame pointer
31497 being held in r11 when necessary.
31498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31499 (INTERNAL_VSYSCALL_NCS): Likewise.
31501 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31503 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31504 * elf/dl-fini.c (_dl_fini): Adjust caller.
31505 * elf/dl-close.c (_dl_close_worker): Likewise.
31506 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31508 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31510 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31511 "aux_cache->nlibs < 0".
31513 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31514 in the reload-count case.
31516 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31519 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31520 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31521 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31522 * sysdeps/x86_64/multiarch/strcat.S: New file.
31523 * sysdeps/x86_64/multiarch/strncat.S: New file.
31524 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31525 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31526 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31527 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31529 (USE_AS_STRCAT): Define.
31530 Add strcat and strncat support.
31531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31533 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31534 * string/strncat.c: Update.
31535 (USE_AS_STRNCAT): Define.
31536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31537 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31539 * sysdeps/x86_64/multiarch/init-arch.h
31540 (bit_Prefer_PMINUB_for_stringop): New.
31541 (index_Prefer_PMINUB_for_stringop): Likewise.
31542 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31543 bit_Prefer_PMINUB_for_stringop.
31545 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31547 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31549 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31550 of casting of buffer.
31551 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31552 buffer32 and buffer64.
31553 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31554 writes instead of casting of buffer.
31555 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31557 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31560 2011-07-19 Andreas Schwab <schwab@redhat.com>
31562 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31564 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31566 * nscd/nscd.c (termination_handler): Don't do anything for a database
31567 if it has not yet been initialized.
31569 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31571 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31573 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31575 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31577 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31579 * po/nl.po: Update from translation team.
31580 * po/sv.po: Likewise.
31582 2011-07-16 Roland McGrath <roland@hack.frob.com>
31584 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31585 now disallowed by GCC.
31587 * configure.in (use-default-link): Default to yes if a test -shared
31588 link meets our qualifications.
31589 * configure: Regenerated.
31591 * config.make.in (output-format): New variable.
31592 * configure.in: Check for ld --print-output-format support.
31593 * configure: Regenerated.
31594 * Makerules ($(common-objpfx)format.lds)
31595 [$(output-format) != unknown]: Just use $(output-format),
31596 instead of the linker-script munging.
31598 2011-07-14 Roland McGrath <roland@hack.frob.com>
31600 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31601 of $(common-objpfx)shlib.lds.
31602 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31604 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31605 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31607 * configure.in (-z relro check): Adjust test code to add a large
31608 writable data section after it.
31609 * configure: Regenerated.
31611 2011-07-11 Roland McGrath <roland@hack.frob.com>
31613 * configure.in (-z relro check): Fix test code to make the variable
31615 * configure: Regenerated.
31617 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31619 * nscd/nscd.h (struct traced_file): Define.
31620 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31621 elements. Add traced_files.
31622 (inotify_fd): Declare.
31623 (register_traced_file): Declare.
31624 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31625 (inotify_fd): Export.
31626 (resolv_conf_descr): Remove.
31627 (nscd_init): Move inotify descriptor creation to main.
31628 Don't register files for notification here.
31629 (register_traced_file): New function.
31630 (invalidate_cache): Don't use reset_res to determine whether to call
31631 res_init, go through the list of registered files.
31632 (main_loop_poll): The inotify descriptors are now stored in the
31633 structures for the traced files.
31634 (main_loop_epoll): Likewise
31635 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31636 to __nss_disable_nscd.
31637 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31638 for a database anymore. Check the records for all the registered
31640 * nss/Makefile (libnss_files-routines): Add files-init.
31641 (libnss_db-routines): Add db-init.
31642 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31643 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31644 * nss/nss_db/db-init.c: New file.
31645 * nss/nss_files/files-init.c: New file.
31646 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31647 __nss_lookup_function.
31648 (__nss_lookup_function): Call nss_load_library.
31649 (nss_load_all_libraries): New function.
31650 (__nss_disable_nscd): Take parameter with callback function for files
31651 to register. Set is_nscd. Load all the DSOs for the NSS modules
31652 used for the cached services.
31653 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31654 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31655 options for features to all the files in nscd.
31657 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31659 2011-07-10 Roland McGrath <roland@hack.frob.com>
31661 * csu/elf-init.c (__libc_csu_init): Comment typo.
31663 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31665 * po/pl.po: Update from translation team.
31666 * po/ja.po: Likewise.
31667 * po/ru.po: Likewise.
31668 * po/ko.po: Likewise.
31669 * po/fr.po: Likewise.
31671 2011-07-09 Roland McGrath <roland@hack.frob.com>
31673 * configure.in (.ctors/.dtors header and trailer check):
31674 Use an empirical test on a built program.
31675 * configure: Regenerated.
31677 * configure.in (-z relro check): Use an empirical test on a built DSO.
31678 Detect, but do not require, on ia64.
31679 * configure: Regenerated.
31681 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31682 Update tests that use readelf to use $READELF instead.
31683 * configure: Regenerated.
31685 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31687 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31688 if the result is not used.
31690 2011-07-05 Andreas Jaeger <aj@suse.de>
31693 * stdlib/tst-strtod.c: Add testcase.
31695 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31697 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31698 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31699 The latter has a higher limit. Take additional parameter to pass to
31701 (__pathconf): Pass file to __statfs_link_max.
31702 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31704 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31708 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31709 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31712 (__statfs_filesize_max): Likewise.
31713 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31715 2011-07-05 Andreas Jaeger <aj@suse.de>
31717 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31719 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31721 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31723 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31726 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31728 * Makefile (strop-tests): Add strncat.
31729 * string/test-strncat.c: New file.
31731 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31733 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31735 2011-06-21 Andreas Jaeger <aj@suse.de>
31737 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31738 Copy rule from iconvdata/Makefile.
31740 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31743 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31744 but no long options are defined, just return 'W'.
31746 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31749 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31751 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31753 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31755 (innetgr): Likewise.
31757 2011-07-05 Roland McGrath <roland@hack.frob.com>
31759 * config.make.in (install_root): Default to $(DESTDIR).
31761 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31763 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31765 2011-07-02 Roland McGrath <roland@hack.frob.com>
31767 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31769 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31770 containing directory rather than embedding absolute directory names.
31772 * scripts/check-local-headers.sh: Rewritten using awk.
31773 Match by word, not by line. Print error messages for matches.
31774 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31776 * Makerules [shlib-lds-flags empty]:
31777 ($(common-objpfx)libc_pic.opts): New target.
31778 ($(common-objpfx)libc_pic.os.clean): New target.
31779 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31781 * config.make.in (OBJCOPY): New variable.
31782 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31783 * configure: Regenerated.
31785 * config.make.in (use-default-link): New variable.
31786 * configure.in (use_default_link): Grok --with-default-link to set it.
31787 * configure: Regenerated.
31788 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31789 (shlib-lds, shlib-lds-flags): Define to empty.
31791 * Makerules (shlib-lds): New variable.
31792 (shlib-lds-flags): New variable.
31793 (build-shlib, build-moduile, build-module-asneeded): Use it.
31794 ($(common-objpfx)libc.so): Use $(shlib-lds).
31795 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31796 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31798 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31799 DT_FLAGS/DT_FLAGS_1 with zero flags.
31801 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31802 linker script munging.
31804 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31806 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31808 * crypt/sha512.c (sha512_process_block): Perform total addition using
31809 128-bit if possible.
31810 (__sha512_finish_ctx): Likewise.
31811 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31813 * crypt/sha256.c (SWAP64): Define.
31814 (sha256_process_block): Perform total addition using 64-bit if
31816 (__sha256_finish_ctx): Likewise.
31818 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31820 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31821 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31822 * nscd/hstcache.c (cache_addhst): Likewise.
31823 * nscd/grpcache.c (cache_addgr): Likewise.
31824 * nscd/aicache.c (addhstaiX): Likewise
31825 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31827 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31829 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31831 * nscd/hstcache.c (cache_addhst): Likewise.
31832 * nscd/grpcache.c (cache_addgr): Likewise.
31833 * nscd/aicache.c (addhstaiX): Likewise
31835 2011-07-01 Andreas Schwab <schwab@redhat.com>
31837 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31838 domain only when needed.
31840 2011-06-30 Andreas Schwab <schwab@redhat.com>
31842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31843 is always restored.
31845 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31847 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31848 are re-adding the entry.
31849 * nscd/servicescache.c (cache_addserv): Likewise.
31851 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31853 * sysdeps/generic/dl-irel.h: fix protection against multiple
31855 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31857 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31860 * malloc/memusage.sh: Fix quoting in message.
31861 * debug/xtrace.sh: Likewise.
31863 * configure.in: Remove support for --experimental-malloc option, make
31865 * config.make.in: Likewise.
31866 * malloc/Makefile: Likewise.
31868 2011-06-27 Andreas Schwab <schwab@redhat.com>
31870 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31871 two-byte characters.
31873 2011-06-27 Roland McGrath <roland@hack.frob.com>
31875 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31876 AC_CACHE_CHECK invocation.
31877 * configure: Regenerated.
31879 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31881 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31884 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31885 bit from old_res_options.
31887 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31889 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31890 value type for setfct.
31892 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31895 __gettimeofday instead of gettimeofday.
31897 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31899 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31901 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31903 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31908 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31911 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31912 strcpy-sse2-unaligned strncpy-sse2-unaligned
31913 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31914 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31915 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31916 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31917 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31918 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31919 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31920 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31921 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31922 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31923 (STRCPY): Support SSE2 and SSSE3 versions.
31925 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31928 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31929 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31930 kernels which artificially limit size of requests.
31932 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31935 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31936 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31937 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31938 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31939 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31940 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31941 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31942 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31943 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31944 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31945 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31946 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31947 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31948 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31950 Enable unaligned load optimization for Intel Core i3, i5 and i7
31952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31954 (index_Fast_Unaligned_Load): Define.
31955 (HAS_FAST_UNALIGNED_LOAD): Define.
31957 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31959 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31961 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31964 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31965 until it is clear that the information is realy needed.
31966 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31968 2011-06-22 Andreas Schwab <schwab@redhat.com>
31970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31972 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31975 /sys/devices/system/cpu/online if it is usable.
31977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31978 reading the information from the /proc filesystem to once a second.
31980 2011-06-21 Andreas Jaeger <aj@suse.de>
31982 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31983 NULL after inclusion of kernel headers.
31985 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31987 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31988 calls to internal_setent.
31991 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31992 addresses using gethostbyname4_r ignore IPv4 addresses.
31994 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31995 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31997 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31999 2011-06-20 David S. Miller <davem@davemloft.net>
32001 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32003 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32005 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32006 (elf_irel): Use it.
32007 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32008 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32009 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32010 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32011 * sysdeps/x86_64/dl-irel.h: Likewise.
32013 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32014 * elf/dl-sym.c: Likewise.
32016 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32018 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32019 need to dereference resplen2.
32021 2011-06-14 Andreas Schwab <schwab@redhat.com>
32023 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32025 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32027 * Makeconfig: Define vardbdir and inst_vardbdir.
32028 * nss/Makefile: Add rules to install db-Makefile.
32030 * nss/nss_db/db-XXX.c: Cleanup.
32032 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32033 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32035 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32036 * nss/makedb.c: Implement -g option to specify that value strings
32037 are generated and should not be added to table iterated over for
32039 * nss/nss_db/db-initgroups.c: New file.
32041 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32044 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32045 (internal_getgrouplist): Adjust to name change.
32046 Update use_initgroups_entry if this is not the first call.
32047 * nss/databases.def: Add initgroups entry.
32049 * nss/makedb.c (compute_tables): Check result of multiple hash table
32050 sizes to minimize maximum chain length.
32052 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32054 * Versions.def: Add entry for libnss_db.
32055 * shlib-versions: Likewise.
32056 * nss/Makefile: Add rules to build libnss_db.
32057 * nss/Versions: Add libnss_db information. Organize libnss_files
32059 * nss/db-Makefile: Add gshadow support. Change rules for the new
32060 makedb progra. Some minor improvements to generate smaller files.
32061 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32063 * nss/makedb.c: ...here.
32064 Improve database format to be smaller and require less memory at
32066 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32068 * nss/nss_db/db-netgrp.c: Likewise.
32069 * nss/nss_db/db-open.c: Likewise.
32070 * nss/nss_files/flies-XXX.x: Adjust comments.
32071 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32072 * nss/nss_files/files-grp.c: Likewise.
32073 * nss/nss_files/files-hosts.c: Likewise.
32074 * nss/nss_files/files-network.c: Likewise.
32075 * nss/nss_files/files-proto.c: Likewise.
32076 * nss/nss_files/files-pwd.c: Likewise.
32077 * nss/nss_files/files-rpc.c: Likewise.
32078 * nss/nss_files/files-service.c: Likewise.
32079 * nss/nss_files/files-sgrp.c: Likewise.
32080 * nss/nss_files/files-spwd.c: Likewise.
32081 * nss/nss_db/db-alias.c: Removed.
32082 * nss/nss_db/dummy-db.h: Removed.
32084 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32086 * nss/makedb.c: Rewritten to not use database library.
32087 * nss/Makefile: Update to build new makedb program.
32089 2011-06-14 Andreas Jaeger <aj@suse.de>
32091 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32092 memset declaration.
32094 2011-06-10 Andreas Schwab <schwab@redhat.com>
32096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32099 2011-06-10 Roland McGrath <roland@hack.frob.com>
32101 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32102 * elf/Makefile ($(objpfx)ld.so): Likewise.
32104 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32105 Don't list ld.so twice in dependencies.
32107 * posix/bug-regex31.c: Include <stdlib.h>.
32109 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32111 * nis/nss_compat/compat-spwd.c
32112 (getspent_next_nss_netgr): Remove unused variable.
32113 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32115 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32116 nonmembers" output to use the right array.
32118 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32120 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32122 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32123 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32124 * catgets/gencat.c (read_input_file): Likewise.
32125 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32127 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32128 variable definition inside #if's controlling its use.
32130 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32132 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32134 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32136 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32139 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32141 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32142 * configure: Regenerated.
32144 * Makerules: Revert last change.
32145 * elf/Makefile: Likewise.
32147 2011-06-09 Roland McGrath <roland@hack.frob.com>
32149 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32150 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32151 (reloc-link): Likewise.
32153 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32155 * elf/Makefile: Add rules to build pldd.
32156 * elf/pldd.c: New file.
32157 * elf/pldd-xx.c: New file.
32159 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32161 * version.h: Update for 2.15 development version.
32163 2011-06-07 David S. Miller <davem@davemloft.net>
32165 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32168 elf_machine_lazy_rel): Likewise.
32169 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32170 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32171 elf_machine_lazy_rel): Likewise.
32172 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32173 dl_hwcap via passed in argument.
32174 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32177 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32179 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32181 2011-06-06 Roland McGrath <roland@hack.frob.com>
32184 * manual/fdl-1.1.texi: New file, verbatim from:
32185 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32186 * manual/lgpl-2.1.texi: New file, verbatim from:
32187 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32188 * manual/Makefile (licenses): New variable, list those new file names.
32190 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32192 * manual/fdl.texi: File removed.
32193 * manual/lesser.texi: File removed.
32194 * manual/libc.texinfo (Copying, Documentation License):
32195 Use new @include file names, put @appendix directive before @include.
32197 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32200 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32201 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32202 (mq_open): Add __NTH.
32204 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32207 Assume Intel Core i3/i5/i7 processor if AVX is available.
32209 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32214 2011-05-31 Andreas Schwab <schwab@redhat.com>
32216 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32217 memory. Use alloca_account. Fix memory leak when retrying.
32219 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32221 * version.h (RELEASE): Bump for 2.14 release.
32222 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32224 * config.make.in (RANLIB): Remove entry.
32226 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32228 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32229 (libc.pot): Work around missing support for .ksh extension in xgettext.
32232 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32233 if both request failed.
32234 (send_dg): In case of server errors clear resplen or *resplen2.
32237 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32238 when there are multiple maps.
32239 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32240 (_dl_fini): Remove test here.
32242 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32244 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32247 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32248 bit from old_res_options.
32249 (gaih_inet): Likewise.
32252 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32255 * resolv/res_init.c (res_setoptions): Make the code more compact.
32258 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32262 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32264 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32267 * malloc/malloc.h: Declare malloc hook variables as volatile.
32269 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32273 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32274 raise in the comment.
32275 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32277 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32279 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32282 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32283 grow the buffers more if it already has to be sufficient.
32284 (build_wcs_upper_buffer): Likewise.
32285 * posix/regexec.c (check_matching): Likewise.
32286 (clean_state_log_if_needed): Likewise.
32287 (extend_buffers): Don't enlarge buffers beyond size of the input
32289 Patches mostly by Emil Wojak <emil@wojak.eu>.
32290 * posix/bug-regex32.c: New file.
32291 * posix/Makefile (tests): Add bug-regex32.
32293 * locale/findlocale.c (_nl_find_locale): Return right away if
32294 _nl_explode_name failed.
32295 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32297 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32299 * debug/xtrace.sh: Unify messages.
32300 * malloc/memusage.sh: Likewise.
32303 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32304 time symbol from vDSO. Substitute with vsyscall if not available.
32305 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32308 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32309 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32310 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32311 Add sendmmsg and internal_sendmmsg.
32312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32313 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32314 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32316 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32317 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32320 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32324 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32330 * iconvdata/Makefile (tests): Add bug-iconv9.
32331 * iconvdata/bug-iconv9.c: New file.
32333 2011-05-27 Andreas Schwab <schwab@redhat.com>
32336 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32338 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32341 (struct user_regs_struct): Change intcs field back to cs.
32343 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32345 * po/ja.po: Update from translation team.
32347 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32350 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32351 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32353 2011-05-20 Andreas Schwab <schwab@redhat.com>
32355 * stdlib/longlong.h: Update from GCC.
32357 2011-05-23 Andreas Schwab <schwab@redhat.com>
32359 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32361 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32362 Add parameter name.
32363 (__sysconf): Pass it down.
32365 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32368 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32371 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32372 add in in __libc_use_alloca calls. Adjust callers.
32373 (glob): Use malloc in some situations.
32375 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32376 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32379 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32381 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32382 and CLOCK_BOOTTIME_ALARM.
32385 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32388 * string/_strerror.c (__strerror_r): Print negative errors as signed
32392 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32393 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32394 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32396 * configure.in: Fix typo in redirection and correct removal of test
32397 files in two cases.
32400 * locale/setlocale.c (new_composite_name): Fix test to check for
32401 identical name of all categories.
32404 * libio/filedoalloc.c (local_isatty): New function.
32405 (_IO_file_doallocate): Use local_isatty.
32406 * stdio-common/perror.c (perror): In case a new stream is used
32407 forward the stream error.
32408 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32411 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32416 * include/alloca.h (extend_alloca_account): Define.
32419 * posix/regex.h: Fix comments with documentation of user-accessible
32420 fields after compilation and describe correct free'ing of pattern
32421 after re_compile_pattern.
32422 Patch by Reuben Thomas <rrt@sc3d.org>.
32424 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32426 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32427 and -mno-altivec to prevent the compiler from using Altivec and/or
32428 VSX instructions when the corresponding registers are not available.
32430 2011-05-19 Andreas Schwab <schwab@redhat.com>
32432 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32434 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32436 * libio/freopen.c (freopen): Use __dup2, not dup2.
32437 * libio/freopen64.c (freopen64): Likewise.
32439 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32442 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32443 * math/Makefile (tests): Add test-powl.
32444 (CFLAGS-test-powl.c): Define.
32445 * math/test-powl.c: New file.
32447 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32449 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32451 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32454 * iconvdata/gb18030.c: Update to GB18020-2005.
32456 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32458 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32459 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32460 Patch by Aharon Robbins <arnold@skeeve.com>.
32463 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32467 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32468 through underflows.
32471 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32472 point to strings before performing equality test for error_one_per_line
32476 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32479 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32480 (struct user_fpregs_struct): Avoid __uint*_t types.
32483 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32484 symbol info. Use it instead of calling _dl_addr locally.
32485 (lock_and_info): New function.
32486 (tr_freehook): Call lock_and_info and pass symbol info as additional
32487 parameter to tr_where.
32488 (tr_mallochook): Likewise.
32489 (tr_reallochook): Likewise.
32490 (tr_memalignhook): Likewise.
32492 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32493 used and couldn't be at all thread-safe.
32495 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32497 * libio/freopen.c (freopen): Don't close old file descriptor
32498 before the new one is opened. Instead dup the new file descriptor
32499 to the old one after the new stream is created.
32500 * libio/freopen64.c (freopen64): Likewise.
32501 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32502 * libio/fileops.c (_IO_new_file_close_it): Handle new
32503 _IO_FLAGS2_NOCLOSE flag.
32504 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32505 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32506 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32507 _IO_FLAGS2_NOCLOSE flag.
32508 * include/unistd.h: Add hidden_proto for dup3.
32509 Define __have_dup3.
32510 * io/dup3.c: Define hidden symbol.
32511 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32514 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32515 when an incomplete long option is used.
32516 * posix/tst-getopt_long1.c: New file.
32517 * posix/Makefile (tests): Add tst-getopt_long1.
32520 * scripts/config.guess: Update from autoconf-2.68.
32521 * scripts/config.sub: Likewise.
32524 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32526 (has_cpuclock): ...this. New function.
32527 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32528 macro here based on has_cpuclock code.
32531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32532 First byte (not low byte) is now always NUL.
32533 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32536 Use non-cancelable interfaces.
32539 * locale/iso-639.def: Add entry for Sorani.
32542 * include/stdlib.h: Move include protection to the right place.
32543 Define abort_msg_s. Declare __abort_msg with it.
32544 * stdlib/abort.c (__abort_msg): Adjust type.
32545 * assert/assert.c (__assert_fail_base): New function. Majority
32546 of code from __assert_fail. Allocate memory for __abort_msg with
32548 (__assert_fail): Now call __assert_fail_base.
32549 * assert/assert-perr.c: Remove bulk of implementation. Use
32550 __assert_fail_base.
32551 * include/assert.hL Declare __assert_fail_base.
32552 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32554 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32556 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32560 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32561 until all modules are registered in the DTV.
32562 * elf/Makefile: Add rules to build and run tst-tls19.
32563 * elf/tst-tls19.c: New file.
32564 * elf/tst-tls19mod1.c: New file.
32565 * elf/tst-tls19mod2.c: New file.
32566 * elf/tst-tls19mod3.c: New file.
32567 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32570 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32574 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32575 two-byte sequence errors.
32576 * iconvdata/Makefile (tests): Add bug-iconv8.
32577 * iconvdata/bug-iconv8.c: New file.
32580 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32583 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32586 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32587 (dummy_getcfa): New function.
32588 (init): Get _Unwind_GetCFA address, use dummy if not found.
32589 (backtrace_helper): In recursion check, also check whether CFA changes.
32590 (__backtrace): Completely initialize arg.
32592 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32593 storing incomplete byte sequence in state object. Avoid testing for
32594 guaranteed too small input if we know there is enough data available.
32596 2011-05-11 Andreas Schwab <schwab@redhat.com>
32598 * Makeconfig (+link-pie): Indent.
32599 * Rules (binaries-pie): Define if $(have-fpie) and
32601 (binaries-shared): Also filter out $(binaries-pie).
32602 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32603 * nscd/Makefile (others-pie): Add nscd.
32604 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32605 ($(objpfx)nscd): Remove command override.
32606 * login/Makefile (others-pie): Add pt_chown.
32607 ($(objpfx)pt_chown): Remove command override.
32608 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32609 remove command overrides.
32611 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32613 * libio/tst_putwc.c: Fix error messages.
32616 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32617 currently writing and seek to current position when not.
32618 * libio/Makefile (tests): Add bug-fclose1.
32619 * libio/bug-fclose1.c: New file.
32621 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32624 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32625 don't set DF_1_NODELETE here.
32626 (do_lookup_x): When entering new entry test for copy relocation
32627 and if necessary set DF_1_NODELETE flag.
32628 * elf/tst-unique4.cc: New file.
32629 * elf/tst-unique4.h: New file.
32630 * elf/tst-unique4lib.cc: New file.
32631 * elf/Makefile: Add rules to build and run tst-unique4.
32632 Patch by Piotr Bury <pbury@goahead.com>.
32634 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32637 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32640 * misc/mntent_r.c (addmntent): Flush the stream after the output
32643 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32644 (is_trusted_path_normalize): Skip initial colon. Append slash
32645 to empty buffer. Duplicate is_trusted_path code but allow
32646 constructed patch to be prefix.
32647 (is_dst): Allow $ORIGIN followed by /.
32648 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32649 Correct testing of result of is_trusted_path_normalize
32650 (decompose_rpath): Fix warning.
32652 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32655 * grp/initgroups.c (internal_getgrouplist): When we found the service
32656 list through the initgroups entry in nsswitch.conf do not always
32657 continue on a successful lookup. Don't always use the
32658 __nss_group_database value if it is set.
32659 * nss/nsswitch.conf (initgroups): Change action for successful db
32660 lookup to continue for compatibility.
32662 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32665 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32667 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32669 * iconvdata/tst-tables.sh: Likewise.
32670 * iconvdata/cp770.c: New file.
32671 * iconvdata/cp771.c: New file.
32672 * iconvdata/cp772.c: New file.
32673 * iconvdata/cp773.c: New file.
32674 * iconvdata/cp774.c: New file.
32675 * iconvdata/testdata/CP770: New file.
32676 * iconvdata/testdata/CP770..UTF8: New file.
32677 * iconvdata/testdata/CP771: New file.
32678 * iconvdata/testdata/CP771..UTF8: New file.
32679 * iconvdata/testdata/CP772: New file.
32680 * iconvdata/testdata/CP772..UTF8: New file.
32681 * iconvdata/testdata/CP773: New file.
32682 * iconvdata/testdata/CP773..UTF8: New file.
32683 * iconvdata/testdata/CP774: New file.
32684 * iconvdata/testdata/CP774..UTF8: New file.
32686 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32688 * iconvdata/gen-8bit-gap.sh: Likewise.
32689 * iconvdata/gen-8bit.sh: Likewise.
32691 * locale/iso-639.def: Add ary entry.
32694 * locale/C-translit.h.in: Add U20A1 transliteration.
32697 * locale/iso-639.def: Add wae entry.
32698 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32701 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32705 * locale/C-translit.h.in: Add entry for U20B9.
32706 Patch by pravin.d.s@gmail.com.
32708 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32711 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32712 ENAMETOOLONG use generic getcwd.
32713 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32714 in rtld. Use *stat64.
32715 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32716 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32717 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32718 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32719 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32720 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32721 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32722 __fstatat64 macros.
32723 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32724 * dirent/rewinddir.c: Add libc_hidden_def.
32725 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32726 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32728 * include/dirent.h (__alloc_dir): Add flags parameter.
32729 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32730 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32732 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32733 from fdopendir if O_CLOEXEC is already set.
32735 2011-03-15 Alan Modra <amodra@gmail.com>
32737 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32738 l_tls_firstbyte_offset non-zero. Save padding offset in
32739 l_tls_firstbyte_offset for later use.
32740 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32741 freeing static tls block.
32743 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32745 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32746 where #ifdef was intended. The intent is to prevent ARG_MAX from
32747 being defined by the kernel headers.
32749 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32752 * resolv/resolv.h: Define RES_NOTLDQUERY.
32753 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32754 no-tld-query and set RES_NOTLDQUERY.
32755 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32756 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32757 modern BIND to search name as TLD unless forbidden.
32759 2011-05-07 Petr Baudis <pasky@suse.cz>
32760 Ulrich Drepper <drepper@gmail.com>
32763 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32764 (is_trusted_path): ...to here.
32765 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32766 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32767 using is_trusted_path_normalize() in setuid scripts.
32769 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32771 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32772 __BEGIN/__END_DECLS.
32774 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32776 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32777 NSS_STATUS_NOTFOUND if no record was found.
32779 2011-05-05 Andreas Schwab <schwab@redhat.com>
32781 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32782 (headers-not-in-tirpc): Remove rpc/netdb.h
32783 * resolv/netdb.h: Revert last change.
32785 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32787 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32788 circular dependency between libgcc.a and libc.a.
32790 2011-05-05 Andreas Schwab <schwab@redhat.com>
32792 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32793 * nis/Makefile: Don't install rpcsvc/*.
32794 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32795 instead of <rpc/types.h>.
32796 (MAXHOSTNAMELEN): Define.
32798 2011-05-03 Andreas Schwab <schwab@redhat.com>
32800 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32802 2011-04-28 Maciej Babinski <mbabinski@google.com>
32805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32806 gethostbyname4_r when IPv6 results are possible.
32808 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32811 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32812 _PC_PIPE_BUF handling.
32814 2011-04-30 Bruno Haible <bruno@clisp.org>
32817 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32818 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32820 * inet/getnameinfo.c (getnameinfo): Likewise.
32822 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32824 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32825 to groups setting in database lookup.
32826 * nss/nsswitch.conf: Add initgroups entry.
32828 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32831 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32833 Patch by Eric Blake <eblake@redhat.com>.
32835 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32837 * sunrpc/Makefile (need-export-routines): Add svc_run.
32838 (routines): Remove svc_run.
32839 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32840 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32841 * sunrpc/svc_run.c (svc_run): Likewise.
32842 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32844 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32846 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32847 problem in reallocation in last patch.
32849 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32851 * sunrpc/Makefile: Move inclusion of Rules.
32853 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32855 * nss/nss_files/files-initgroups.c: New file.
32856 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32857 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32858 _nss_files_initgroups_dyn.
32860 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32862 * elf/elf.h (R_ARM_IRELATIVE): Define.
32864 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32866 * po/ru.po: Update from translation team.
32868 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32870 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32873 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32876 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32877 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32879 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32882 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32884 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32886 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32890 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32893 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32895 * stdlib/bug-getcontext.c: New file.
32896 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32898 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32900 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32901 instructions into .machine "z9-109".
32902 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32903 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32905 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32907 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32908 between environment variables and auxiliary vector.
32910 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32912 * Makefile: Add rules to build linkobj/libc.so.
32913 * include/libc-symbols.h: Define libc_hidden_nolink.
32914 * include/rpc/auth.h: Mark functions which are to be hidden.
32915 * include/rpc/auth_des.h: Likewise.
32916 * include/rpc/auth_unix.h: Likewise.
32917 * include/rpc/clnt.h: Likewise.
32918 * include/rpc/des_crypt.h: Likewise.
32919 * include/rpc/key_prot.h: Likewise.
32920 * include/rpc/pmap_clnt.h: Likewise.
32921 * include/rpc/pmap_prot.h: Likewise.
32922 * include/rpc/pmap_rmt.h: Likewise.
32923 * include/rpc/rpc_msg.h: Likewise.
32924 * include/rpc/svc.h: Likewise.
32925 * include/rpc/svc_auth.h: Likewise.
32926 * include/rpc/xdr.h: Likewise.
32927 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32928 * nss/Makefile: Likewise.
32929 * sunrpc/Makefile: Don't install headers. Build library with normal
32930 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32931 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32932 for the compat linking library. Remove use of INTDEF/INTUSE.
32933 * sunrpc/auth_none.c: Likewise.
32934 * sunrpc/auth_unix.c: Likewise.
32935 * sunrpc/authdes_prot.c: Likewise.
32936 * sunrpc/authuxprot.c: Likewise.
32937 * sunrpc/clnt_gen.c: Likewise.
32938 * sunrpc/clnt_perr.c: Likewise.
32939 * sunrpc/clnt_raw.c: Likewise.
32940 * sunrpc/clnt_simp.c: Likewise.
32941 * sunrpc/clnt_tcp.c: Likewise.
32942 * sunrpc/clnt_udp.c: Likewise.
32943 * sunrpc/clnt_unix.c: Likewise.
32944 * sunrpc/des_crypt.c: Likewise.
32945 * sunrpc/des_soft.c: Likewise.
32946 * sunrpc/get_myaddr.c: Likewise.
32947 * sunrpc/key_call.c: Likewise.
32948 * sunrpc/key_prot.c: Likewise.
32949 * sunrpc/netname.c: Likewise.
32950 * sunrpc/pm_getmaps.c: Likewise.
32951 * sunrpc/pm_getport.c: Likewise.
32952 * sunrpc/pmap_clnt.c: Likewise.
32953 * sunrpc/pmap_prot.c: Likewise.
32954 * sunrpc/pmap_prot2.c: Likewise.
32955 * sunrpc/pmap_rmt.c: Likewise.
32956 * sunrpc/publickey.c: Likewise.
32957 * sunrpc/rpc_cmsg.c: Likewise.
32958 * sunrpc/rpc_common.c: Likewise.
32959 * sunrpc/rpc_dtable.c: Likewise.
32960 * sunrpc/rpc_prot.c: Likewise.
32961 * sunrpc/rpc_thread.c: Likewise.
32962 * sunrpc/rtime.c: Likewise.
32963 * sunrpc/svc.c: Likewise.
32964 * sunrpc/svc_auth.c: Likewise.
32965 * sunrpc/svc_authux.c: Likewise.
32966 * sunrpc/svc_raw.c: Likewise.
32967 * sunrpc/svc_run.c: Likewise.
32968 * sunrpc/svc_simple.c: Likewise.
32969 * sunrpc/svc_tcp.c: Likewise.
32970 * sunrpc/svc_udp.c: Likewise.
32971 * sunrpc/svc_unix.c: Likewise.
32972 * sunrpc/svcauth_des.c: Likewise.
32973 * sunrpc/xcrypt.c: Likewise.
32974 * sunrpc/xdr.c: Likewise.
32975 * sunrpc/xdr_array.c: Likewise.
32976 * sunrpc/xdr_float.c: Likewise.
32977 * sunrpc/xdr_intXX_t.c: Likewise.
32978 * sunrpc/xdr_mem.c: Likewise.
32979 * sunrpc/xdr_rec.c: Likewise.
32980 * sunrpc/xdr_ref.c: Likewise.
32981 * sunrpc/xdr_sizeof.c: Likewise.
32982 * sunrpc/xdr_stdio.c: Likewise.
32984 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32987 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32988 * sysdeps/ia64/dl-tls.h: Likewise.
32989 * sysdeps/powerpc/dl-tls.h: Likewise.
32990 * sysdeps/s390/dl-tls.h: Likewise.
32991 * sysdeps/sh/dl-tls.h: Likewise.
32992 * sysdeps/sparc/dl-tls.h: Likewise.
32993 * sysdeps/x86_64/dl-tls.h: Likewise.
32994 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32996 2011-03-14 Andreas Schwab <schwab@redhat.com>
32998 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32999 rpath element also skip the following colon.
33000 (expand_dynamic_string_token): Add is_path parameter and pass
33001 down to DL_DST_REQUIRED and _dl_dst_substitute.
33002 (decompose_rpath): Call expand_dynamic_string_token with
33003 non-zero is_path. Ignore empty rpaths.
33004 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33007 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33012 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33015 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33016 Patch by Filipe David Manana <fdmanana@apache.org>.
33018 2011-04-07 Andreas Schwab <schwab@redhat.com>
33020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33021 Maintain aligned stack.
33022 (CHECK_RSP): Remove unused macro.
33024 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33026 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33027 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33029 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33031 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33033 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33035 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33038 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33039 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33040 * sysdeps/x86_64/memmove.c: New file.
33041 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33042 (memcpy): Renamed to ...
33043 (__new_memcpy): This.
33044 (memcpy): Provide GLIBC_2_14 memcpy.
33045 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33046 (memcpy): Provide GLIBC_2_2_5 memcpy.
33048 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33051 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33053 2011-03-30 Andreas Schwab <schwab@redhat.com>
33055 * misc/syncfs.c: New file.
33056 * misc/Makefile (routines): Add syncfs.
33057 * posix/unistd.h: Declare syncfs.
33058 * sysdeps/unix/syscalls.list: Add syncfs.
33060 2011-04-01 Andreas Schwab <schwab@redhat.com>
33062 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33064 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33069 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33072 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33074 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33075 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33076 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33080 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33082 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33083 sync_file_range.c with -fexceptions.
33084 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33085 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33086 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33087 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33088 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33089 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33091 sync_file_range as cancellation point
33092 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33093 now a wrapper around __call_sync_file_range with cancellation handling.
33094 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33095 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33096 function name to __call_sync_file_range.
33097 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33098 Add call_sync_file_range.
33100 2011-04-01 Andreas Schwab <schwab@redhat.com>
33102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33105 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33107 * iconv/iconv.h: Fix typo in comment.
33108 * io/fcntl.h: Likewise.
33109 * libio/stdio.h: Likewise.
33110 * posix/spawn.h: Likewise.
33111 * posix/unistd.h: Likewise.
33112 * stdlib/stdlib.h: Likewise.
33113 * time/time.h: Likewise.
33114 * wcsmbs/wchar.h: Likewise.
33116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33117 open_by_handle): Add.
33118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33119 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33120 Augment a few comments.
33121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33126 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33129 * io/fcntl.h (AT_EMPTY_PATH): Define.
33131 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33133 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33134 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33135 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33137 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33138 * Versions.def: Add GLIBC_2.14.
33139 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33142 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33144 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33146 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33148 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33151 * string/test-strncmp.c (do_page_test): New function.
33152 (check2): Likewise.
33153 (test_main): Call check2.
33154 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33156 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33160 Handle cache information in CPU leaf 4.
33161 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33163 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33166 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33167 character representation.
33168 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33170 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33172 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33173 END(__isnan) to END(__isnanf) to match function entry point/label
33174 EALIGN(__isnanf,...).
33176 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33178 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33180 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33183 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33184 copy from the symbol referenced in the relocation to initialize the
33186 Patch by Piotr Bury <pbury@goahead.com>.
33187 * elf/Makefile: Add rules to build and tst-unique3.
33188 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33189 * elf/tst-unique3.cc: New file.
33190 * elf/tst-unique3.h: New file.
33191 * elf/tst-unique3lib.cc: New file.
33192 * elf/tst-unique3lib2.cc: New file.
33194 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33196 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33198 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33199 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33202 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33204 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33205 to-be-loaded object along a path to loader is ld.so.
33207 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33208 Ulrich Drepper <drepper@gmail.com>
33210 * sysdeps/x86_64/memset.S: After aligning destination, code
33211 branches to different locations depending on the value of
33212 misalignment, when multiarch is enabled. Fix this.
33214 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33216 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33217 Set _x86_64_preferred_memory_instruction for AMD processsors.
33218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33219 Set bit_Prefer_SSE_for_memop for AMD processors.
33221 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33223 * libio/fmemopen.c (fmemopen): Optimize a bit.
33225 2011-03-03 Andreas Schwab <schwab@redhat.com>
33227 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33229 2011-03-03 Roland McGrath <roland@redhat.com>
33231 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33233 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33235 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33236 __bzero_ultra1 instead of __memset_ultra1.
33238 2011-02-23 Andreas Schwab <schwab@redhat.com>
33239 Ulrich Drepper <drepper@gmail.com>
33242 * include/link.h (struct link_map): Add l_orig_initfini.
33243 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33244 returning unsuccessfully.
33245 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33246 close of a file loaded at startup, restore the original l_initfini
33248 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33249 list, store the pointer.
33250 * elf/Makefile ($(objpfx)noload-mem): New rule.
33251 (noload-ENV): Define.
33252 (tests): Add $(objpfx)noload-mem.
33253 * elf/noload.c: Include <memcheck.h>.
33254 (main): Call mtrace. Close all opened handles.
33256 2011-02-17 Andreas Schwab <schwab@redhat.com>
33259 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33260 dependencies are missing.
33262 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33264 Fix __if_freereq crash: Unlike the generic version which uses free,
33266 * sysdeps/mach/hurd/ifreq.h: New file.
33268 2011-01-27 Petr Baudis <pasky@suse.cz>
33269 Ulrich Drepper <drepper@gmail.com>
33272 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33273 to extend_alloca().
33274 * stdio-common/bug23.c: New file.
33275 * stdio-common/Makefile (tests): Add bug23.
33277 2010-09-28 Andreas Schwab <schwab@redhat.com>
33278 Ulrich Drepper <drepper@gmail.com>
33281 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33282 before performing relro protection. At old place add assertion
33283 to make sure nothing changed.
33285 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33286 Glauber de Oliveira Costa <glommer@gmail.com>
33288 * elf/elf.h: Add new ARM TLS relocs.
33290 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33293 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33295 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33297 * sysdeps/wordsize-64/tst-writev.c: New file.
33299 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33301 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33302 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33303 insns in _dl_start to prevent a TOC reference before relocs are
33306 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33309 * Makeconfig: Remove RANLIB definition.
33310 * Makerules: Don't use RANLIB.
33311 * aclocal.m4: Remove ranlib test.
33312 * configure.in: No need to check for ranlib.
33313 * elf/rtld-Rules: Don't use RANLIB.
33315 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33317 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33319 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33320 inclusion protection macro.
33322 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33323 SIGRTMIN and SIGRTMAX and print information in that case only when
33324 SIGRTMIN is defined.
33326 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33328 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33329 arginfo fn returning -1.
33331 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33332 and thousands string is zero terminated.
33334 2011-02-03 Andreas Schwab <schwab@redhat.com>
33336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33337 sysdeps/unix/sysv/linux/bits/socket.h.
33339 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33341 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33342 (__CPU_COUNT): Remove old macros.
33343 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33344 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33345 (__CPU_ALLOC, __CPU_FREE): Add macros.
33346 (__sched_cpualloc, __sched_cpufree): Add declarations.
33348 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33350 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33351 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33352 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33353 (readdhstai): Return value of addhstaiX call.
33354 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33355 (addgrbyX): Return value returned by cache_addgr.
33356 (readdgrbyname): Return value returned by addgrbyX.
33357 (readdgrbygid): Likewise.
33358 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33359 (addpwbyX): Return value returned by cache_addpw.
33360 (readdpwbyname): Return value returned by addhstbyX.
33361 (readdpwbyuid): Likewise.
33362 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33363 (addservbyX): Return value returned by cache_addserv.
33364 (readdservbyname): Return value returned by addservbyX:
33365 (readdservbyport): Likewise.
33366 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33367 (addhstbyX): Return value returned by cache_addhst.
33368 (readdhstbyname): Return value returned by addhstbyX.
33369 (readdhstbyaddr): Likewise.
33370 (readdhstbynamev6): Likewise.
33371 (readdhstbyaddrv6): Likewise.
33372 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33373 (readdinitgroups): Return value returned by addinitgroupsX.
33374 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33375 (prune_cache): Keep track of timeout value of re-added entries.
33376 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33377 * nscd/nscd.h: Adjust prototypes of readd* functions.
33379 2011-02-04 Roland McGrath <roland@redhat.com>
33381 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33382 (nis_stats): Likewise.
33383 * nis/nis_modify.c (nis_modify): Likewise.
33384 * nis/nis_remove.c (nis_remove): Likewise.
33385 * nis/nis_add.c (nis_add): Likewise.
33387 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33389 * posix/fnmatch_loop.c: Add some consts.
33391 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33393 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33396 * config.make.in (config-cflags-novzeroupper): Define.
33397 * configure.in: Substitute libc_cv_cc_novzeroupper.
33398 * elf/Makefile (AVX-CFLAGS): Define.
33399 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33400 (CFLAGS-tst-auditmod4a.c): Likewise.
33401 (CFLAGS-tst-auditmod4b.c): Likewise.
33402 (CFLAGS-tst-auditmod6b.c): Likewise.
33403 (CFLAGS-tst-auditmod6c.c): Likewise.
33404 (CFLAGS-tst-auditmod7b.c): Likewise.
33405 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33407 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33409 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33410 function to the callback.
33411 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33413 2011-02-02 Andreas Schwab <schwab@redhat.com>
33415 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33418 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33421 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33423 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33425 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33428 * elf/Makefile: Add rules to build and run new test.
33429 * elf/tst-initorder.c: New file.
33430 * elf/tst-initorder.exp: New file.
33431 * elf/tst-initordera1.c: New file.
33432 * elf/tst-initordera2.c: New file.
33433 * elf/tst-initordera3.c: New file.
33434 * elf/tst-initordera4.c: New file.
33435 * elf/tst-initorderb1.c: New file.
33436 * elf/tst-initorderb2.c: New file.
33437 * elf/tst-order-a1.c: New file.
33438 * elf/tst-order-a2.c: New file.
33439 * elf/tst-order-a3.c: New file.
33440 * elf/tst-order-a4.c: New file.
33441 * elf/tst-order-b1.c: New file.
33442 * elf/tst-order-b2.c: New file.
33443 * elf/tst-order-main.c: New file.
33444 New test case by George Gensure <werkt0@gmail.com>.
33446 2010-10-01 Andreas Schwab <schwab@redhat.com>
33448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33449 decoding ACE if AI_CANONIDN.
33451 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33453 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33455 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33457 * version.h (RELEASE): Bump for 2.13 release.
33458 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33460 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33462 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33464 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33465 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33466 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33467 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33471 * posix/getconf.c: Update copyright year.
33472 * catgets/gencat.c: Likewise.
33473 * csu/version.c: Likewise.
33474 * debug/catchsegv.sh: Likewise.
33475 * debug/xtrace.sh: Likewise.
33476 * elf/ldconfig.c: Likewise.
33477 * elf/ldd.bash.in: Likewise.
33478 * elf/sprof.c (print_version): Likewise.
33479 * iconv/iconv_prog.c: Likewise.
33480 * iconv/iconvconfig.c: Likewise.
33481 * locale/programs/locale.c: Likewise.
33482 * locale/programs/localedef.c: Likewise.
33483 * malloc/memusage.sh: Likewise.
33484 * malloc/mtrace.pl: Likewise.
33485 * nscd/nscd.c (print_version): Likewise.
33486 * nss/getent.c: Likewise.
33488 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33489 PF_CAIF, and PF_ALG.
33490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33492 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33494 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33495 (modules-names): Use them.
33496 (ifunc-test-modules, ifunc-pie-tests): Define.
33497 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33498 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33499 (test-extras): Likewise.
33500 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33501 $(compile-command.c).
33502 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33503 (all-built-dso): Define.
33504 (check-textrel.out, check-execstack.out): Depend on it.
33506 * configure.in: Don't override --enable-multi-arch.
33508 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33511 * nscd/hstcache.c (tryagain): Define.
33512 (cache_addhst): Return tryagain not notfound for temporary errors.
33513 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33516 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33519 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33520 to make the syscall.
33521 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33524 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33525 and fall back to matching as normal character if the string ends before
33526 the matching ']' is found. This is what POSIX requires.
33527 * posix/testfnm.c: Adjust test result.
33528 * posix/globtest.sh: Adjust test result. Add new test.
33529 * posix/tst-fnmatch.input: Likewise.
33530 * posix/tst-fnmatch2.c: Add new test.
33532 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33534 * elf/Makefile (check-execstack): Revert last change. Depend on
33536 (check-execstack.h): New target.
33537 (generated): Add check-execstack.h.
33538 * elf/check-execstack.c: Include "check-execstack.h".
33539 (main): Revert last change.
33540 (handle_file): Return zero if GNU_STACK is absent and
33541 DEFAULT_STACK_PERMS doesn't include PF_X.
33543 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33545 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33546 in child fails because the descriptor is already closed.
33547 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33548 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33549 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33552 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33556 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33557 temporary buffer used to handle multi lookups locally.
33558 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33560 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33562 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33565 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33567 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33568 alignment for SSE2.
33570 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33573 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33574 characters. When rounding increased number of integer digits recompute
33576 * stdio-common/tst-grouping.c: New file.
33577 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33579 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33581 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33582 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33584 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33586 * bits/select.h: Likewise.
33588 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33590 * po/ja.po: Update from translation team.
33592 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33595 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33596 implementation just like for lxstat, fxstatat, et al.
33598 2010-12-27 Jim Meyering <meyering@redhat.com>
33601 * posix/regexec.c (build_trtable): Return failure indication upon
33602 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33604 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33607 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33608 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33609 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33610 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33613 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33616 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33617 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33619 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33621 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33622 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33623 script has SORT_BY_INIT_PRIORITY.
33624 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33625 NO_CTORS_DTORS_SECTIONS is defined.
33626 * elf/soinit.c: Likewise.
33627 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33628 NO_CTORS_DTORS_SECTIONS is defined.
33629 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33630 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33631 * sysdeps/sh/init-first.c: Likewise.
33632 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33634 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33636 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33637 always use the slow path.
33639 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33641 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33642 similar rule which adds the sysdep directories to the header search in
33643 order to pick up the correct platform stackinfo.h.
33644 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33645 perform test if it is, otherwise return successfully without testing.
33646 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33647 DEFAULT_STACK_PERMS define in stackinfo.h.
33648 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33649 defined in stackinfo.h.
33650 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33651 DEFAULT_STACK_PERMS defined in stackinfo.h.
33652 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33653 * sysdeps/ia64/stackinfo.h: Likewise.
33654 * sysdeps/s390/stackinfo.h: Likewise.
33655 * sysdeps/sh/stackinfo.h: Likewise.
33656 * sysdeps/sparc/stackinfo.h: Likewise.
33657 * sysdeps/x86_64/stackinfo.h: Likewise.
33658 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33659 PF_X for powerpc64. Retain PF_X for powerpc32.
33661 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33663 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33665 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33666 GETDENTS_64BIT_ALIGNED.
33668 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33670 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33672 2010-12-10 Andreas Schwab <schwab@redhat.com>
33674 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33677 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33678 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33680 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33681 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33683 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33686 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33689 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33691 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33693 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33695 * po/it.po: Update from translation team.
33697 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33702 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33704 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33706 2010-11-24 Andreas Schwab <schwab@redhat.com>
33708 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33710 (gaih_getanswer_slice): Likewise.
33712 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33716 2010-05-31 Petr Baudis <pasky@suse.cz>
33719 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33720 silently even in the chroot mode.
33722 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33724 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33725 last patch a bit. Pretty printing
33727 2010-05-31 Petr Baudis <pasky@suse.cz>
33730 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33731 initialization of skip_initgroups_dyn.
33733 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33735 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33736 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33738 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33740 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33742 2010-11-11 Andreas Schwab <schwab@redhat.com>
33744 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33745 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33746 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33747 ($(objpfx)tst-fnmatch-mem): New rule.
33748 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33749 * posix/tst-fnmatch.c (main): Call mtrace.
33751 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33754 Support Intel processor model 6 and model 0x2c.
33756 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33758 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33761 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33764 * string/test-strncasecmp.c (check_result): New function.
33765 (do_one_test): Use it.
33766 (check1): New function.
33767 (test_main): Use it.
33768 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33769 Support strcasecmp and strncasecmp.
33771 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33774 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33775 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33777 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33779 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33783 * sysdeps/x86_64/multiarch/bzero.S: New file.
33784 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33785 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33786 * sysdeps/x86_64/multiarch/memset.S: New file.
33787 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33789 Set bit_Prefer_SSE_for_memop for Intel processors.
33790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33792 (index_Prefer_SSE_for_memop): Define.
33793 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33795 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33797 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33798 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33800 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33803 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33804 (__x86_64_raw_data_cache_size_half): Likewise.
33805 (__x86_64_raw_shared_cache_size): Likewise.
33806 (__x86_64_raw_shared_cache_size_half): Likewise.
33808 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33809 (__x86_64_raw_data_cache_size_half): Likewise.
33810 (__x86_64_raw_shared_cache_size): Likewise.
33811 (__x86_64_raw_shared_cache_size_half): Likewise.
33812 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33813 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33814 and __x86_64_raw_shared_cache_size_half. Round
33815 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33816 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33817 to multiple of 256 bytes.
33819 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33822 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33823 of inacessible symlinks. Verify result of symlink before returning it.
33824 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33825 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33827 2010-10-28 Erich Ritz <erichritz@gmail.com>
33829 * math/math.h (isinf): Fix typo in comment.
33831 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33833 * po/da.po: Update from translation team.
33835 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33837 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33838 is added to the list.
33840 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33841 Ulrich Drepper <drepper@gmail.com>
33843 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33844 the global list here. Move code to...
33845 (_dl_add_to_namespace_list): ...here. New function.
33846 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33847 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33848 * elf/dl-load.c (lose): Don't remove the element from the list.
33849 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33850 (_dl_map_object): Likewise.
33852 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33855 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33856 into all bytes of SSE register.
33857 Patch by Richard Li <richardpku@gmail.com>.
33859 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33862 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33865 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33867 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33868 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33869 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33870 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33875 2010-10-22 Andreas Schwab <schwab@redhat.com>
33877 * include/dlfcn.h (__RTLD_SECURE): Define.
33878 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33879 mode & __RTLD_SECURE instead.
33880 (open_path): Rename preloaded parameter to secure.
33881 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33882 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33883 * elf/dl-deps.c (openaux): Likewise.
33884 * elf/rtld.c (struct map_args): Remove is_preloaded.
33885 (map_doit): Don't use it.
33886 (dl_main): Likewise.
33887 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33888 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33890 2010-09-09 Andreas Schwab <schwab@redhat.com>
33892 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33893 (sysd-rules-targets): Remove duplicates.
33894 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33895 rtld-%.$o dependency.
33897 2010-10-18 Andreas Schwab <schwab@redhat.com>
33899 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33900 _dl_map_object do it.
33902 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33904 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33905 fast fma builtins, define the macros in the C99 standard.
33906 (FP_FAST_FMAF): Likewise.
33907 (FP_FAST_FMAL): Likewise.
33908 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33910 * bits/mathdef.h: Update copyright year.
33911 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33913 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33915 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33916 builtins, define the macros in the C99 standard.
33917 (FP_FAST_FMAF): Likewise.
33918 (FP_FAST_FMAL): Likewise.
33919 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33921 (FP_FAST_FMAF): Likewise.
33923 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33926 * math/libm-test.inc (fma_test): Some new testcases.
33927 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33928 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33929 y and infinite z. Do multiplication by C already in long double.
33930 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33932 y and infinite z. Do bitwise or of inexact bit into u.d.
33933 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33934 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33935 * sysdeps/i386/fpu/s_fma.S: Removed.
33936 * sysdeps/i386/fpu/s_fmal.S: Removed.
33938 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33941 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33943 computation is not scheduled after fetestexcept. Fix value
33944 of minimum denormal long double.
33946 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33949 * math/libm-test.inc (fma_test): Add some more tests.
33950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33953 2010-10-15 Andreas Schwab <schwab@redhat.com>
33955 * scripts/data/localplt-s390-linux-gnu.data: New file.
33956 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33958 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33961 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33962 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33964 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33966 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33968 if one of x and y is very large and the other is subnormal.
33969 * sysdeps/s390/fpu/s_fmaf.c: New file.
33970 * sysdeps/s390/fpu/s_fma.c: New file.
33971 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33972 * sysdeps/powerpc/fpu/s_fma.S: New file.
33973 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33974 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33975 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33977 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33980 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33982 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33983 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33984 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33985 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33986 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33987 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33990 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33993 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33994 * posix/bug-regex31.input: Add test case.
33996 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33998 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33999 * posix/bug-regex31.input: New file.
34002 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34003 (parse_sub_exp): Fix last change, use postorder.
34005 * posix/bug-regex31.c: New file.
34006 * posix/Makefile: Add rules to build and run bug-regex31.
34008 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34011 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34014 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34015 to have entries in sys_siglist.
34018 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34021 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34024 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34025 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34026 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34027 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34028 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34029 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34030 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34031 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34032 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34033 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34034 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34035 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34036 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34037 * math/ftestexcept.c (fetestexcept): Likewise.
34038 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34039 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34040 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34041 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34042 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34043 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34044 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34046 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34049 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34052 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34054 * string/bug-strstr1.c: New file.
34055 * string/Makefile: Add rules to build and run bug-strstr1.
34057 2010-10-05 Eric Blake <eblake@redhat.com>
34060 * string/str-two-way.h (two_way_long_needle): Always clear memory
34061 when skipping input due to the shift table.
34063 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34066 * malloc/mcheck.c: Handle large requests.
34069 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34070 for strncmp and strncasecmp.
34071 * string/stratcliff.c: Add tests for strcmp and strncmp.
34072 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34074 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34076 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34079 2010-09-30 Andreas Jaeger <aj@suse.de>
34081 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34082 (CGROUP_SUPER_MAGIC): Define.
34083 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34084 Handle btrfs and cgroup file systems.
34085 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34088 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34090 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34091 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34093 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34096 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34097 trying to locate the ELF header.
34099 2010-09-27 Andreas Schwab <schwab@redhat.com>
34102 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34103 Mask out sign-bit copies when constructing f_fsid.
34105 2010-09-24 Petr Baudis <pasky@suse.cz>
34107 * debug/stack_chk_fail_local.c: Add missing licence exception.
34108 * debug/warning-nop.c: Likewise.
34110 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34113 implementing getdents64 using getdents syscall, set d_type if
34114 __ASSUME_GETDENTS32_D_TYPE.
34116 2010-09-16 Andreas Schwab <schwab@redhat.com>
34118 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34119 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34121 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34124 * posix/unistd.h: Undo change of feature selection for ftruncate from
34127 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34129 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34132 2010-09-20 Andreas Schwab <schwab@redhat.com>
34134 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34136 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34138 2010-09-14 Andreas Schwab <schwab@redhat.com>
34140 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34141 variables after CHECK_SP call.
34142 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34144 2010-09-13 Andreas Schwab <schwab@redhat.com>
34145 Ulrich Drepper <drepper@redhat.com>
34147 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34148 re-relocationg ld.so.
34149 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34150 _dl_init_paths call.
34151 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34154 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34156 * resolv/res_init.c (__res_vinit): Count the default server we added.
34158 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34159 Ulrich Drepper <drepper@redhat.com>
34162 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34163 (____longjmp_chk): Use %ebx for saving value across system call.
34166 2010-09-06 Andreas Schwab <schwab@redhat.com>
34168 * manual/Makefile: Don't mix pattern rules with normal rules.
34170 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34172 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34174 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34175 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34176 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34177 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34181 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34184 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34185 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34187 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34189 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34190 * sysdeps/x86_64/addmul_1.S: Likewise.
34191 * sysdeps/x86_64/lshift.S: Likewise.
34192 * sysdeps/x86_64/mul_1.S: Likewise.
34193 * sysdeps/x86_64/rshift.S: Likewise.
34194 * sysdeps/x86_64/sub_n.S: Likewise.
34195 * sysdeps/x86_64/submul_1.S: Likewise.
34197 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34199 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34200 Define __sched_param instead of SCHED_* and sched_param when
34201 <bits/sched.h> is included with __need_schedparam defined.
34202 * bits/sched.h [__need_schedparam]
34203 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34204 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34205 (__defined_schedparam): Define to 1.
34206 (__sched_param): New structure, identical to sched_param.
34207 (__need_schedparam): Undefine.
34209 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34212 (epoll_create1): Declare.
34214 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34216 2010-08-31 Andreas Schwab <schwab@redhat.com>
34219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34220 shifting retval into place.
34222 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34224 * nis/rpcsvc/nis.h: Update copyright notice.
34225 * nis/rpcsvc/nis.x: Likewise.
34226 * nis/rpcsvc/nis_callback.h: Likewise.
34227 * nis/rpcsvc/nis_callback.x: Likewise.
34228 * nis/rpcsvc/nis_object.x: Likewise.
34229 * nis/rpcsvc/nis_tags.h: Likewise.
34230 * nis/rpcsvc/yp.h: Likewise.
34231 * nis/rpcsvc/yp.x: Likewise.
34232 * nis/rpcsvc/ypupd.h: Likewise.
34233 * nis/yp_xdr.c: Likewise.
34234 * nis/ypupdate_xdr.c: Likewise.
34236 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34237 mainly the body of pmap_getport. Add parameters to specify timeouts.
34238 (pmap_getport): Use __libc_rpc_getport.
34239 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34240 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34241 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34243 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34248 2010-08-27 Roland McGrath <roland@redhat.com>
34250 * sysdeps/i386/i686/multiarch/Makefile
34251 (CFLAGS-varshift.c): New variable.
34253 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34255 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34256 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34260 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34262 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34264 * sysdeps/x86_64/strlen.S: Unroll the loop.
34265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34266 strlen-sse2 strlen-sse2-bsf.
34267 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34268 __strlen_no_bsf if bit_Slow_BSF is set.
34269 (__strlen_sse42): Removed.
34270 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34271 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34273 2010-08-25 Roland McGrath <roland@redhat.com>
34275 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34276 * sysdeps/x86_64/multiarch/varshift.c: New file.
34277 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34278 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34279 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34280 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34282 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34285 strlen-sse2 strlen-sse2-bsf.
34286 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34287 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34288 (__strlen_sse2): Removed.
34289 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34290 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34292 bit_Slow_BSF for Atom.
34293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34294 (index_Slow_BSF): Define.
34295 (HAS_SLOW_BSF): Define.
34297 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34300 * resolv/res_init.c (__res_vinit): When no server address at all
34301 is given default to loopback.
34303 2010-08-24 Roland McGrath <roland@redhat.com>
34305 * configure.in: Remove config-name.h generation.
34306 * configure: Regenerated.
34307 * config-name.in: File removed.
34308 * scripts/config-uname.sh: New file.
34309 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34310 ($(objdir)config-name.h): New target.
34312 * sunrpc/rpc_parse.h: Avoid nested comment.
34314 2010-08-24 Richard Henderson <rth@redhat.com>
34315 Ulrich Drepper <drepper@redhat.com>
34316 H.J. Lu <hongjiu.lu@intel.com>
34318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34320 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34321 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34322 _mm_alignr_epi8 with _mm_loadu_si128.
34323 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34324 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34325 (__m128i_shift_right): Removed.
34326 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34327 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34328 * sysdeps/x86_64/multiarch/varshift.h: New file.
34329 * sysdeps/x86_64/multiarch/varshift.S: New file.
34331 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34333 * configure.in: Move assembler checks to before sysdep dir checking.
34335 2010-08-20 Petr Baudis <pasky@suse.cz>
34337 * LICENSES: Sync the sunrpc license.
34339 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34341 * sunrpc/auth_des.c: Update copyright notice once again.
34342 * sunrpc/auth_none.c: Likewise.
34343 * sunrpc/auth_unix.c: Likewise.
34344 * sunrpc/authdes_prot.c: Likewise.
34345 * sunrpc/authuxprot.c: Likewise.
34346 * sunrpc/bindrsvprt.c: Likewise.
34347 * sunrpc/clnt_gen.c: Likewise.
34348 * sunrpc/clnt_perr.c: Likewise.
34349 * sunrpc/clnt_raw.c: Likewise.
34350 * sunrpc/clnt_simp.c: Likewise.
34351 * sunrpc/clnt_tcp.c: Likewise.
34352 * sunrpc/clnt_udp.c: Likewise.
34353 * sunrpc/clnt_unix.c: Likewise.
34354 * sunrpc/des_crypt.c: Likewise.
34355 * sunrpc/des_soft.c: Likewise.
34356 * sunrpc/get_myaddr.c: Likewise.
34357 * sunrpc/getrpcport.c: Likewise.
34358 * sunrpc/key_call.c: Likewise.
34359 * sunrpc/key_prot.c: Likewise.
34360 * sunrpc/openchild.c: Likewise.
34361 * sunrpc/pm_getmaps.c: Likewise.
34362 * sunrpc/pm_getport.c: Likewise.
34363 * sunrpc/pmap_clnt.c: Likewise.
34364 * sunrpc/pmap_prot.c: Likewise.
34365 * sunrpc/pmap_prot2.c: Likewise.
34366 * sunrpc/pmap_rmt.c: Likewise.
34367 * sunrpc/rpc/auth.h: Likewise.
34368 * sunrpc/rpc/auth_unix.h: Likewise.
34369 * sunrpc/rpc/clnt.h: Likewise.
34370 * sunrpc/rpc/des_crypt.h: Likewise.
34371 * sunrpc/rpc/key_prot.h: Likewise.
34372 * sunrpc/rpc/netdb.h: Likewise.
34373 * sunrpc/rpc/pmap_clnt.h: Likewise.
34374 * sunrpc/rpc/pmap_prot.h: Likewise.
34375 * sunrpc/rpc/pmap_rmt.h: Likewise.
34376 * sunrpc/rpc/rpc.h: Likewise.
34377 * sunrpc/rpc/rpc_des.h: Likewise.
34378 * sunrpc/rpc/rpc_msg.h: Likewise.
34379 * sunrpc/rpc/svc.h: Likewise.
34380 * sunrpc/rpc/svc_auth.h: Likewise.
34381 * sunrpc/rpc/types.h: Likewise.
34382 * sunrpc/rpc/xdr.h: Likewise.
34383 * sunrpc/rpc_clntout.c: Likewise.
34384 * sunrpc/rpc_cmsg.c: Likewise.
34385 * sunrpc/rpc_common.c: Likewise.
34386 * sunrpc/rpc_cout.c: Likewise.
34387 * sunrpc/rpc_dtable.c: Likewise.
34388 * sunrpc/rpc_hout.c: Likewise.
34389 * sunrpc/rpc_main.c: Likewise.
34390 * sunrpc/rpc_parse.c: Likewise.
34391 * sunrpc/rpc_parse.h: Likewise.
34392 * sunrpc/rpc_prot.c: Likewise.
34393 * sunrpc/rpc_sample.c: Likewise.
34394 * sunrpc/rpc_scan.c: Likewise.
34395 * sunrpc/rpc_scan.h: Likewise.
34396 * sunrpc/rpc_svcout.c: Likewise.
34397 * sunrpc/rpc_tblout.c: Likewise.
34398 * sunrpc/rpc_util.c: Likewise.
34399 * sunrpc/rpc_util.h: Likewise.
34400 * sunrpc/rpcinfo.c: Likewise.
34401 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34402 * sunrpc/rpcsvc/key_prot.x: Likewise.
34403 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34404 * sunrpc/rpcsvc/mount.x: Likewise.
34405 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34406 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34407 * sunrpc/rpcsvc/rex.x: Likewise.
34408 * sunrpc/rpcsvc/rstat.x: Likewise.
34409 * sunrpc/rpcsvc/rusers.x: Likewise.
34410 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34411 * sunrpc/rpcsvc/spray.x: Likewise.
34412 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34413 * sunrpc/rtime.c: Likewise.
34414 * sunrpc/svc.c: Likewise.
34415 * sunrpc/svc_auth.c: Likewise.
34416 * sunrpc/svc_authux.c: Likewise.
34417 * sunrpc/svc_raw.c: Likewise.
34418 * sunrpc/svc_run.c: Likewise.
34419 * sunrpc/svc_simple.c: Likewise.
34420 * sunrpc/svc_tcp.c: Likewise.
34421 * sunrpc/svc_udp.c: Likewise.
34422 * sunrpc/svc_unix.c: Likewise.
34423 * sunrpc/svcauth_des.c: Likewise.
34424 * sunrpc/xcrypt.c: Likewise.
34425 * sunrpc/xdr.c: Likewise.
34426 * sunrpc/xdr_array.c: Likewise.
34427 * sunrpc/xdr_float.c: Likewise.
34428 * sunrpc/xdr_mem.c: Likewise.
34429 * sunrpc/xdr_rec.c: Likewise.
34430 * sunrpc/xdr_ref.c: Likewise.
34431 * sunrpc/xdr_sizeof.c: Likewise.
34432 * sunrpc/xdr_stdio.c: Likewise.
34434 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34437 2010-08-19 Andreas Schwab <schwab@redhat.com>
34439 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34441 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34443 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34445 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34446 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34447 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34448 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34449 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34450 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34451 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34452 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34453 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34454 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34455 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34456 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34458 2010-07-26 Anton Blanchard <anton@samba.org>
34460 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34461 * malloc/arena.c (heap_trim): Likewise.
34463 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34465 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34468 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34470 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34472 * sysdeps/i386/elf/Makefile: New file.
34474 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34476 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34477 from fanotify_init.
34478 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34481 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34483 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34485 * sysdeps/multiarch/strcmp.S: Likewise.
34487 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34489 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34490 strncase_l-nonascii.
34491 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34492 Add strncase_l-ssse3.
34493 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34494 * sysdeps/x86_64/strcmp.S: Likewise.
34495 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34496 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34497 * sysdeps/x86_64/strncase.S: New file.
34498 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34499 * sysdeps/x86_64/strncase_l.S: New file.
34500 * string/Makefile (strop-tests): Add strncasecmp.
34501 * string/test-strncasecmp.c: New file.
34503 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34506 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34507 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34509 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34511 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34513 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34515 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34517 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34519 2010-05-01 Alan Modra <amodra@gmail.com>
34521 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34522 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34523 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34524 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34525 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34526 tidying. Don't tail-call __sigjmp_save for static lib.
34527 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34529 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34530 (CALL_MCOUNT): Add eh info, and nop after bl.
34531 (TAIL_CALL_SYSCALL_ERROR): New macro.
34532 (PSEUDO_RET): Use it.
34533 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34534 Correct save location of integer regs and cr.
34535 (_dl_profile_resolve): Correct cr save location. Delete nops
34536 after bl when SHARED. Reduce cfi size a little by better
34537 placement of cfi directives.
34538 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34539 make a stack frame. Instead use parm save area as a temp.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34541 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34543 Don't make a stack frame for parent, use parm save area.
34544 Increase child stack frame to 112 bytes. Don't save unused reg,
34545 and adjust reg usage. Set up cfi on error recovery and
34546 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34548 (__makecontext): Add dummy nop after jump to exit.
34549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34550 Use correct parm save area and cr save, reduce stack frame.
34551 Correct cfi for possible PSEUDO_RET frame setup.
34552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34553 Branch to local label emitted by PSEUDO_RET rather than
34556 2010-08-12 Andreas Schwab <schwab@redhat.com>
34559 * locale/programs/locale.c (print_assignment): New function.
34560 (show_locale_vars): Use it.
34562 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34564 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34566 (struct statfs64): Likewise.
34567 (_STATFS_F_FLAGS): Define.
34568 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34569 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34570 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34571 (ST_VALID): Define locally.
34572 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34573 __statvfs_getflags, use the provided value.
34574 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34575 __ASSUME_STATFS_F_FLAGS.
34577 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34579 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34580 Add sys/fanotify.h.
34581 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34582 fanotify_mask for GLIBC_2.13.
34583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34584 fanotify_init and fanotify_mark.
34585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34586 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34588 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34590 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34591 prlimit64 for GLIBC_2.13.
34592 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34597 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34598 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34599 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34602 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34605 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34606 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34608 * nss/Makefile: Add rules to build and run tst-nss-test1.
34609 * shlib-versions: Add entry for libnss_test1.
34610 * nss/nss_test1.c: New file.
34611 * nss/tst-nss-test1.c: New file.
34613 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34614 (__nss_configure_lookup): Set appropriate entry in
34615 __nss_configure_lookup to true.
34616 * nss/nsswitch.h: Define enum with indeces of databases in
34617 databases and __nss_database_custom arrays. Declare
34618 __nss_database_custom.
34619 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34620 to avoid using nscd when custom rules are installed.
34621 * nss/getXXbyYY_r.c: Likewise.
34622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34624 * nss/nss_files/files-parse.c: Whitespace fixes.
34626 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34629 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34630 * posix/fnmatch_loop.c: Likewise.
34632 2010-07-17 Andi Kleen <ak@linux.intel.com>
34634 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34635 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34636 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34637 * Versions.def [GLIBC_2.13]: Add.
34639 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34641 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34642 Also fail if tpwd after pwuid call is NULL.
34644 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34646 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34647 when converting to ms.
34649 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34651 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34652 EOPNOTSUPP errors with ENOTTY.
34653 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34654 EOPNOTSUPP errors with ENOTTY.
34656 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34658 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34659 Add strcasecmp_l-ssse3.
34660 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34662 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34663 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34664 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34666 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34668 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34670 * string/Makefile (strop-tests): Add strcasecmp.
34671 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34672 strcasecmp_l-nonascii.
34673 (gen-as-const-headers): Add locale-defines.sym.
34674 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34675 * sysdeps/x86_64/strcasecmp.S: New file.
34676 * sysdeps/x86_64/strcasecmp_l.S: New file.
34677 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34678 * sysdeps/x86_64/locale-defines.sym: New file.
34679 * string/test-strcasecmp.c: New file.
34681 * string/test-strcasestr.c: Test both ends of the range of characters.
34682 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34684 2010-07-29 Roland McGrath <roland@redhat.com>
34687 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34689 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34691 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34694 2010-07-27 Andreas Schwab <schwab@redhat.com>
34696 * manual/memory.texi (Malloc Tunable Parameters): Document
34699 2010-07-26 Roland McGrath <roland@redhat.com>
34702 * configure.in (-fgnu89-inline check): Set and substitute
34703 gnu89_inline, not libc_cv_gnu89_inline.
34704 * configure: Regenerated.
34705 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34707 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34709 * string/test-strnlen.c: New file.
34710 * string/Makefile (strop-tests): Add strnlen.
34711 * string/tester.c (test_strnlen): Add a few more test cases.
34712 * string/tst-strlen.c: Better error reporting.
34714 * sysdeps/x86_64/strnlen.S: New file.
34716 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34718 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34719 lower-latency instructions.
34721 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34723 * string/test-strcasestr.c: New file.
34724 * string/test-strstr.c: New file.
34725 * string/Makefile (strop-tests): Add strstr and strcasestr.
34726 * string/str-two-way.h: Don't undefine MAX.
34727 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34729 2010-07-21 Andreas Schwab <schwab@redhat.com>
34731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34732 strcasestr-nonascii.
34733 (CFLAGS-strcasestr-nonascii.c): Define.
34734 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34735 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34736 Remove unused attribute.
34738 2010-07-20 Roland McGrath <roland@redhat.com>
34740 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34741 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34742 ld.so.cache was broken. With it, there is no way to disable dsocaps
34743 like LD_HWCAP_MASK can disable hwcaps.
34745 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34747 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34749 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34751 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34752 call in strcasestr.
34753 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34754 __strcasestr_sse42_nonascii.
34755 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34756 strcasestr-nonascii.c.
34757 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34759 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34766 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34771 2010-07-06 Andreas Schwab <schwab@redhat.com>
34774 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34777 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34780 _PC_PIPE_BUF using F_GETPIPE_SZ.
34782 2010-07-05 Roland McGrath <roland@redhat.com>
34784 * manual/arith.texi (Rounding Functions): Fix rint description
34785 implicit in round description.
34787 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34789 * elf/Makefile: Fix linking for a few tests to make recent linker
34792 2010-06-30 Andreas Schwab <schwab@redhat.com>
34794 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34795 $(common-objpfx)libc_nonshared.a.
34797 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34799 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34800 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34801 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34802 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34803 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34804 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34805 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34806 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34821 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34822 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34823 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34824 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34825 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34826 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34827 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34828 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34829 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34830 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34831 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34832 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34848 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34850 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34851 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34852 * string/memmove.c (memmove): Renamed to ...
34853 (MEMMOVE): ...this. Default to memmove.
34854 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34855 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34858 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34859 mempcpy-ssse3-back memmove-ssse3-back.
34860 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34861 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34862 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34863 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34864 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34865 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34866 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34867 * sysdeps/x86_64/multiarch/memmove.c: New file.
34868 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34869 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34870 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34871 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34872 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34873 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34875 (index_Fast_Copy_Backward): Define.
34876 (HAS_ARCH_FEATURE): Define.
34877 (HAS_FAST_REP_STRING): Define.
34878 (HAS_FAST_COPY_BACKWARD): Define.
34880 2010-06-21 Andreas Schwab <schwab@redhat.com>
34882 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34883 Restore proper fallback handling.
34885 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34888 * posix/group_member.c (__group_member): Correct checking loop.
34890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34891 OOM in getpwuid_r correctly. Return error number when the caller
34892 should return, otherwise -1.
34893 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34894 call returning > 0 value.
34895 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34897 2010-06-07 Andreas Schwab <schwab@redhat.com>
34899 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34900 libc_nonshared.a from targets in modules-names.
34902 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34904 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34907 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34909 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34910 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34911 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34914 2010-06-02 Andreas Schwab <schwab@redhat.com>
34916 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34918 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34920 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34926 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34927 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34929 2010-06-14 Roland McGrath <roland@redhat.com>
34931 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34933 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34935 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34936 __REDIRECT followed by __THROW.
34937 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34938 * posix/getopt.h (getopt): Likewise.
34940 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34942 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34943 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34944 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34946 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34947 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34949 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34951 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34953 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34957 Properly check family and model.
34959 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34961 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34963 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34965 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34967 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34969 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34972 2010-05-19 Andreas Schwab <schwab@redhat.com>
34974 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34977 2010-05-21 Andreas Schwab <schwab@redhat.com>
34979 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34980 and internal_recvmmsg.
34981 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34982 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34983 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34984 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34986 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34987 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34988 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34990 2010-05-20 Andreas Schwab <schwab@redhat.com>
34992 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34994 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34996 POWER7 optimizations.
34997 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34998 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35000 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35002 * version.h: Update for 2.13 development version.
35004 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35006 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35007 exceptions. Return 0.
35009 2010-05-07 Roland McGrath <roland@redhat.com>
35011 * elf/ldconfig.c (main): Add a const.
35013 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35015 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35016 (args_options): Add no-idn option.
35017 (ahosts_keys_int): Add idn_flags to ai_flags.
35018 (parse_option): Handle 'i' option to clear idn_flags.
35020 * malloc/malloc.c (_int_free): Possible race in the most recently
35021 added check. Only act on the data if no current modification
35024 See ChangeLog.17 for earlier changes.