Set arch_minimum_kernel to 3.4.0 for x32
[glibc.git] / ChangeLog
blobac8fe51230dad907225c3d3437002d16fd1f6a53
1 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #15997]
4         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5         to 3.4.0 for x32.
6         * sysdeps/unix/sysv/linux/configure: Regenerated.
8 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10         [BZ #16151]
11         * stdlib/strtod_l.c (round_and_return): Do not consider
12         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13         exponent one less than half the least subnormal exponent.
14         * stdlib/test-strtod-round-data: Add more tests.
15         * stdlib/tst-strtod-round.c (tests): Regenerated.
17 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19         [BZ #14143]
20         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21         (__fe_mask_env): Likewise.
22         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23         libm_hidden_proto and add function prototype.
24         (__fe_mask_env): Add function prototype.
25         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
32 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40         of htab_find_slot().
42 2013-11-11  David S. Miller  <davem@davemloft.net>
44         [BZ #16150]
45         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46         symbol in the non-vis3 case in static builds.
47         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
49         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54         [BZ #387]
55         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
56         it is empty.
58 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60         * benchtests/Makefile: Add bench-strtod.
61         * benchtests/bench-strtod.c: New file: strtod benchtest
63 2013-11-11  Andreas Schwab  <schwab@suse.de>
65         [BZ #16153]
66         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
67         terminating NUL in key length.
69 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
72         Add artificial ODP entry for vDSO symbol for PPC64.
73         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
74         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
76 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
78         [BZ #15374]
79         * nss/getent.c (services_keys): Recognize services starting with digit.
81 2013-11-06  David S. Miller  <davem@davemloft.net>
83         [BZ #15985]
84         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
85         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
87 2013-11-06  Will Newton  <will.newton@linaro.org>
89         * manual/memory.texi (Malloc Examples): Remove register
90         keyword from examples.
92 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
94         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
96 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
98         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
99         depending on [__GCC_IEC_559 > 0].
100         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
101         depending on [__GCC_IEC_559_COMPLEX > 0].
103 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
105         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
106         to iso-639.def.
108 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
110         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
112 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
114         [BZ #16112]
115         * malloc/malloc (malloc_info): Do not handle first bin as
116         special case.
118 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
120         * locale/iso-639.def: Add Central Nahuatl (nhn).
122 2013-11-01  Bruno Haible  <bruno@clisp.org>
124         [BZ #7003]
125         * manual/math.texi (BSD Random): Specify range upper bound as
126         in POSIX.
128 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
130         * locale/iso-639.def: Add Meadow Mari (mhr).
132 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
134         [BZ #14752], [BZ #15763]
135         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
136         Validate name.
137         * rt/tst_shm.c: Add test for escaping directory.
139 2013-10-31  Andreas Schwab  <schwab@suse.de>
141         [BZ #15917]
142         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
143         followed by 'x' as part of digit sequence.
144         * stdio-common/tst-sscanf.c (double_tests2): New tests.
146 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
148         [BZ #16037]
149         * configure.ac: allow GNU Make 4.0 and greater.
150         * configure: Regenerated.
152 2013-10-30  Will Newton  <will.newton@linaro.org>
154         [BZ #16038]
155         * malloc/hooks.c (memalign_check): Limit alignment to the
156         maximum representable power of two.
157         * malloc/malloc.c (__libc_memalign): Likewise.
158         * malloc/tst-memalign.c (do_test): Add test for very
159         large alignment values.
160         * malloc/tst-posix_memalign.c (do_test): Likewise.
162 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
164         [BZ #11087]
165         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
166         (munmap_chunk): Likewise.
167         (mremap_chunk): Likewise.
169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
171         [BZ #15799]
172         * stdlib/div.c (div): Remove obsolete code.
173         * stdlib/ldiv.c (ldiv): Likewise.
174         * stdlib/lldiv.c (lldiv): Likewise.
176 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
178         [BZ #16071]
179         * nss/nss_files/files-XXX.c (get_contents_ret): New
180         enumerator.
181         (get_contents): New function.
182         (internal_getent): Use it.  Expand size of LINEBUFLEN.
184 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
186         * configure.in: Moved to ...
187         * configure.ac: ... here. Change reference to configure.in
188         to configure.ac.
189         * sysdeps/arm/preconfigure.ac: ... here.
190         configure.in to configure.ac.
191         * sysdeps/gnu/configure.in: Moved to ...
192         * sysdeps/gnu/configure.ac: ... here.
193         * sysdeps/i386/configure.in: Moved to ...
194         * sysdeps/i386/configure.ac: ... here.
195         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
196         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
197         * sysdeps/mach/configure.in: Moved to ...
198         * sysdeps/mach/configure.ac: ... here.
199         * sysdeps/mach/hurd/configure.in: Moved to ...
200         * sysdeps/mach/hurd/configure.ac: ... here.
201         * sysdeps/powerpc/configure.in: Moved to ...
202         * sysdeps/powerpc/configure.ac: ... here.
203         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
204         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
205         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
206         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
207         * sysdeps/s390/s390-32/configure.in: Moved to ...
208         * sysdeps/s390/s390-32/configure.ac: ... here.
209         * sysdeps/s390/s390-64/configure.in: Moved to ...
210         * sysdeps/s390/s390-64/configure.ac: ... here.
211         * sysdeps/sh/configure.in: Moved to ...
212         * sysdeps/sh/configure.ac: ... here.
213         * sysdeps/sparc/configure.in: Moved to ...
214         * sysdeps/sparc/configure.ac: ... here.
215         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
216         * sysdeps/unix/sysv/linux/configure.ac: ... here.
217         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
218         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
219         * sysdeps/x86_64/configure.in: Moved to ...
220         * sysdeps/x86_64/configure.ac: ... here.
221         * sysdeps/x86_64/preconfigure.in: Moved to ...
222         * sysdeps/x86_64/preconfigure.ac: ... here.
223         * aclocal.m4: Change reference to configure.in to configure.ac.
224         * config.h.in: Likewise.
225         * manual/install.texi: Likewise.
226         * manual/maint.texi: Likewise.
227         * Makefile: Likewise.
228         * malloc/Makefile: Likewise.
229         * nscd/Makefile: Likewise.
230         * Makeconfig: Change reference to configure.in and
231         preconfigure.in to configure.ac and preconfigure.ac
232         respectively.
233         * INSTALL: Regenerated.
234         * configure: Likewise.
235         * sysdeps/gnu/configure: Likewise.
236         * sysdeps/i386/configure: Likewise.
237         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
238         * sysdeps/mach/configure: Likewise.
239         * sysdeps/mach/hurd/configure: Likewise.
240         * sysdeps/powerpc/configure: Likewise.
241         * sysdeps/powerpc/powerpc32/configure: Likewise.
242         * sysdeps/powerpc/powerpc64/configure: Likewise.
243         * sysdeps/s390/s390-32/configure: Likewise.
244         * sysdeps/s390/s390-64/configure: Likewise.
245         * sysdeps/sh/configure: Likewise.
246         * sysdeps/sparc/configure: Likewise.
247         * sysdeps/unix/sysv/linux/configure: Likewise.
248         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
249         * sysdeps/x86_64/configure: Likewise.
250         * sysdeps/x86_64/preconfigure: Likewise.
252 2013-10-29  Andreas Schwab  <schwab@suse.de>
254         * stdio-common/Makefile (tst-swscanf-ENV): Define.
256 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
258         * benchtests/pow-inputs: Add new inputs.
260         * benchtests/exp-inputs: Add new inputs.
262         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
263         conditional check for return value.
264         (__cos32): Likewise.
266 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
268         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
269         to provide a boost for large inputs with word alignment.
270         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
271         implementation based on optimized PPC64 strcpy.
272         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
273         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
274         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
275         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
277 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
279         [BZ #2801]
280         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
282 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
284         [BZ #14876]
285         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
286         * time/tst-strptime.c (day_tests): Add testcase.
288 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
290         [BZ #14029]
291         * manual/pattern.texi: Acknowledge that fnmatch can fail.
293 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
295         [BZ #16074]
296         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
297         MAP_FAILED on error.
299 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
301         [BZ #16072]
302         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
303         heap for large requests.
305 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
307         [BZ #9954]
308         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
309         result if the result has no associated interface.
310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
311         interface for all 127.X.Y.Z addresses.
313 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
315         * locale/iso-639.def: Add Ligurian (lij)
317 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
319         [BZ #15825]
320         * sunrpc/rpc_main.c: Document rpcgen -5.
322 2013-10-19  Michael Stahl  <mstahl@redhat.com>
324         * elf/rtld.c (do_preload): Print the reason why preloading failed.
326 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
328         [BZ #10278]
329         * posix/glob.c: Match only directories when trailing slash is present.
330         * posix/tst-gnuglob.c (my_opendir): Do not open files.
331         (main): Add testcase.
333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
335         [BZ #15670]
336         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
338 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
340         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
341         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
342         AUTH_DES and cindex for FIPS 140-2.
343         (DES Encryption): Add cindex FIPS 46-3.
345         * locale/locarchive.h (struct locarhandle): Add fname.
346         * locale/programs/localedef.c (main): Pass ARGV[remaining]
347         if an optional argument was specified to --list-archive,
348         otherwise NULL.
349         * locale/programs/locarchive.c (show_archive_content): Take new
350         argument fname and pass it via ah.fname to open_archive.
351         * locale/programs/localedef.h: Update decl.
352         (open_archive): If AH->fname is non-null, open that file
353         rather than the default file name, and don't ignore ENOENT.
354         (create_archive): Set AH.fname to NULL.
355         (delete_locales_from_archive): Likewise.
356         (add_locales_to_archive): Likewise.
357         * locale/programs/locfile.c (write_all_categories): Likewise.
359 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
360             Aldy Hernandez  <aldyh@redhat.com>
362         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
363         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
364         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
365         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
366         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
367         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
368         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
369         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
370         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
371         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
373         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
374         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
375         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
376         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
377         Likewise.
378         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
379         Likewise.
380         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
381         Likewise.
382         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
383         Likewise.
384         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
385         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
386         Likewise.
387         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
388         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
389         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
390         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
391         Likewise.
392         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
393         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
394         * sysdeps/powerpc/preconfigure: Likewise.
395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
396         Likewise.
397         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
398         Replace contents of file by #include of <fenv_libc.h>.
399         * sysdeps/powerpc/soft-fp/sfp-machine.h
400         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
401         and <sys/prctl.h>.
402         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
405         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
406         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
407         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
415         Allow copysignl PLT reference to be missing.
417 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
418             Joseph Myers  <joseph@codesourcery.com
420         [BZ #15948]
421         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
422         single character.
423         (add_to_tablewc): Assert sequence of wide characters is nonempty.
425 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
427         * elf/tst-tls-dlinfo.c: Don't include tls.h.
428         * elf/tst-tls1.c: Likewise.
429         * elf/tst-tls10.h: Likewise.
430         * elf/tst-tls14.c: Likewise.
431         * elf/tst-tls2.c: Likewise.
432         * elf/tst-tls3.c: Likewise.
433         * elf/tst-tls4.c: Likewise.
434         * elf/tst-tls5.c: Likewise.
435         * elf/tst-tls6.c: Likewise.
436         * elf/tst-tls7.c: Likewise.
437         * elf/tst-tls8.c: Likewise.
438         * elf/tst-tls9.c: Likewise.
439         * elf/tst-tlsmod1.c: Likewise.
440         * elf/tst-tlsmod13.c: Likewise.
441         * elf/tst-tlsmod13a.c: Likewise.
442         * elf/tst-tlsmod14a.c: Likewise.
443         * elf/tst-tlsmod16a.c: Likewise.
444         * elf/tst-tlsmod16b.c: Likewise.
445         * elf/tst-tlsmod2.c: Likewise.
446         * elf/tst-tlsmod3.c: Likewise.
447         * elf/tst-tlsmod4.c: Likewise.
448         * elf/tst-tlsmod5.c: Likewise.
449         * elf/tst-tlsmod6.c: Likewise.
451 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
453         [BZ #12486]
454         * malloc/malloc.c: remove checks for statistics.
456 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
458         [BZ #15277]
459         * inet/inet_net.c (inet_network): Detect additional invalid strings.
460         * inet/tst-network.c: Add testcase.
462 2013-10-17  Andreas Schwab  <schwab@suse.de>
464         [BZ #15218]
465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
466         to determine canonical name.
468 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
470         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
471         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
472         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
473         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
475         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
476         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
477         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
478         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
479         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
480         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
481         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
482         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
483         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
484         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
485         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
488         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
489         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
490         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
491         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
493         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
494         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
495         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
496         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
497         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
498         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
499         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
500         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
501         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
502         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
503         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
504         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
505         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
506         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
507         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
508         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
509         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
510         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
511         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
512         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
513         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
514         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
515         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
516         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
517         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
518         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
519         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
520         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
521         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
522         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
523         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
524         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
525         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
526         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
527         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
529 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
531         [BZ #16041]
532         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
533         make result into a quiet NaN.
535 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
537         * soft-fp/adddf3.c: Fix horizontal whitespace.
538         * soft-fp/addsf3.c: Likewise.
539         * soft-fp/addtf3.c: Likewise.
540         * soft-fp/divdf3.c: Likewise.
541         * soft-fp/divsf3.c: Likewise.
542         * soft-fp/divtf3.c: Likewise.
543         * soft-fp/double.h: Likewise.
544         * soft-fp/eqdf2.c: Likewise.
545         * soft-fp/eqsf2.c: Likewise.
546         * soft-fp/eqtf2.c: Likewise.
547         * soft-fp/extenddftf2.c: Likewise.
548         * soft-fp/extended.h: Likewise.
549         * soft-fp/extendsfdf2.c: Likewise.
550         * soft-fp/extendsftf2.c: Likewise.
551         * soft-fp/extendxftf2.c: Likewise.
552         * soft-fp/fixdfdi.c: Likewise.
553         * soft-fp/fixdfsi.c: Likewise.
554         * soft-fp/fixdfti.c: Likewise.
555         * soft-fp/fixsfdi.c: Likewise.
556         * soft-fp/fixsfsi.c: Likewise.
557         * soft-fp/fixsfti.c: Likewise.
558         * soft-fp/fixtfdi.c: Likewise.
559         * soft-fp/fixtfsi.c: Likewise.
560         * soft-fp/fixtfti.c: Likewise.
561         * soft-fp/fixunsdfdi.c: Likewise.
562         * soft-fp/fixunsdfsi.c: Likewise.
563         * soft-fp/fixunsdfti.c: Likewise.
564         * soft-fp/fixunssfdi.c: Likewise.
565         * soft-fp/fixunssfsi.c: Likewise.
566         * soft-fp/fixunssfti.c: Likewise.
567         * soft-fp/fixunstfdi.c: Likewise.
568         * soft-fp/fixunstfsi.c: Likewise.
569         * soft-fp/fixunstfti.c: Likewise.
570         * soft-fp/floatdidf.c: Likewise.
571         * soft-fp/floatdisf.c: Likewise.
572         * soft-fp/floatditf.c: Likewise.
573         * soft-fp/floatsidf.c: Likewise.
574         * soft-fp/floatsisf.c: Likewise.
575         * soft-fp/floatsitf.c: Likewise.
576         * soft-fp/floattidf.c: Likewise.
577         * soft-fp/floattisf.c: Likewise.
578         * soft-fp/floattitf.c: Likewise.
579         * soft-fp/floatundidf.c: Likewise.
580         * soft-fp/floatundisf.c: Likewise.
581         * soft-fp/floatunditf.c: Likewise.
582         * soft-fp/floatunsidf.c: Likewise.
583         * soft-fp/floatunsisf.c: Likewise.
584         * soft-fp/floatunsitf.c: Likewise.
585         * soft-fp/floatuntidf.c: Likewise.
586         * soft-fp/floatuntisf.c: Likewise.
587         * soft-fp/floatuntitf.c: Likewise.
588         * soft-fp/fmadf4.c: Likewise.
589         * soft-fp/fmasf4.c: Likewise.
590         * soft-fp/fmatf4.c: Likewise.
591         * soft-fp/gedf2.c: Likewise.
592         * soft-fp/gesf2.c: Likewise.
593         * soft-fp/getf2.c: Likewise.
594         * soft-fp/ledf2.c: Likewise.
595         * soft-fp/lesf2.c: Likewise.
596         * soft-fp/letf2.c: Likewise.
597         * soft-fp/muldf3.c: Likewise.
598         * soft-fp/mulsf3.c: Likewise.
599         * soft-fp/multf3.c: Likewise.
600         * soft-fp/negdf2.c: Likewise.
601         * soft-fp/negsf2.c: Likewise.
602         * soft-fp/negtf2.c: Likewise.
603         * soft-fp/op-1.h: Likewise.
604         * soft-fp/op-2.h: Likewise.
605         * soft-fp/op-4.h: Likewise.
606         * soft-fp/op-8.h: Likewise.
607         * soft-fp/op-common.h: Likewise.
608         * soft-fp/quad.h: Likewise.
609         * soft-fp/single.h: Likewise.
610         * soft-fp/soft-fp.h: Likewise.
611         * soft-fp/sqrtdf2.c: Likewise.
612         * soft-fp/sqrtsf2.c: Likewise.
613         * soft-fp/sqrttf2.c: Likewise.
614         * soft-fp/subdf3.c: Likewise.
615         * soft-fp/subsf3.c: Likewise.
616         * soft-fp/subtf3.c: Likewise.
617         * soft-fp/truncdfsf2.c: Likewise.
618         * soft-fp/trunctfdf2.c: Likewise.
619         * soft-fp/trunctfsf2.c: Likewise.
620         * soft-fp/trunctfxf2.c: Likewise.
621         * soft-fp/unorddf2.c: Likewise.
622         * soft-fp/unordsf2.c: Likewise.
623         * soft-fp/unordtf2.c: Likewise.
625 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
627         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
628         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
630 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
632         * elf/dl-libc.c: Clear initfini list after freeing.
634 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
636         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
637         * soft-fp/addsf3.c: Likewise.
638         * soft-fp/addtf3.c: Likewise.
639         * soft-fp/divdf3.c: Likewise.
640         * soft-fp/divsf3.c: Likewise.
641         * soft-fp/divtf3.c: Likewise.
642         * soft-fp/double.h: Likewise.
643         * soft-fp/eqdf2.c: Likewise.
644         * soft-fp/eqsf2.c: Likewise.
645         * soft-fp/eqtf2.c: Likewise.
646         * soft-fp/extenddftf2.c: Likewise.
647         * soft-fp/extended.h: Likewise.
648         * soft-fp/extendsfdf2.c: Likewise.
649         * soft-fp/extendsftf2.c: Likewise.
650         * soft-fp/extendxftf2.c: Likewise.
651         * soft-fp/fixdfdi.c: Likewise.
652         * soft-fp/fixdfsi.c: Likewise.
653         * soft-fp/fixdfti.c: Likewise.
654         * soft-fp/fixsfdi.c: Likewise.
655         * soft-fp/fixsfsi.c: Likewise.
656         * soft-fp/fixsfti.c: Likewise.
657         * soft-fp/fixtfdi.c: Likewise.
658         * soft-fp/fixtfsi.c: Likewise.
659         * soft-fp/fixtfti.c: Likewise.
660         * soft-fp/fixunsdfdi.c: Likewise.
661         * soft-fp/fixunsdfsi.c: Likewise.
662         * soft-fp/fixunsdfti.c: Likewise.
663         * soft-fp/fixunssfdi.c: Likewise.
664         * soft-fp/fixunssfsi.c: Likewise.
665         * soft-fp/fixunssfti.c: Likewise.
666         * soft-fp/fixunstfdi.c: Likewise.
667         * soft-fp/fixunstfsi.c: Likewise.
668         * soft-fp/fixunstfti.c: Likewise.
669         * soft-fp/floatdidf.c: Likewise.
670         * soft-fp/floatdisf.c: Likewise.
671         * soft-fp/floatditf.c: Likewise.
672         * soft-fp/floatsidf.c: Likewise.
673         * soft-fp/floatsisf.c: Likewise.
674         * soft-fp/floatsitf.c: Likewise.
675         * soft-fp/floattidf.c: Likewise.
676         * soft-fp/floattisf.c: Likewise.
677         * soft-fp/floattitf.c: Likewise.
678         * soft-fp/floatundidf.c: Likewise.
679         * soft-fp/floatundisf.c: Likewise.
680         * soft-fp/floatunsidf.c: Likewise.
681         * soft-fp/floatunsisf.c: Likewise.
682         * soft-fp/floatuntidf.c: Likewise.
683         * soft-fp/floatuntisf.c: Likewise.
684         * soft-fp/floatuntitf.c: Likewise.
685         * soft-fp/fmadf4.c: Likewise.
686         * soft-fp/fmasf4.c: Likewise.
687         * soft-fp/fmatf4.c: Likewise.
688         * soft-fp/gedf2.c: Likewise.
689         * soft-fp/gesf2.c: Likewise.
690         * soft-fp/getf2.c: Likewise.
691         * soft-fp/ledf2.c: Likewise.
692         * soft-fp/lesf2.c: Likewise.
693         * soft-fp/letf2.c: Likewise.
694         * soft-fp/muldf3.c: Likewise.
695         * soft-fp/mulsf3.c: Likewise.
696         * soft-fp/multf3.c: Likewise.
697         * soft-fp/negdf2.c: Likewise.
698         * soft-fp/negsf2.c: Likewise.
699         * soft-fp/negtf2.c: Likewise.
700         * soft-fp/op-1.h: Likewise.
701         * soft-fp/op-2.h: Likewise.
702         * soft-fp/op-4.h: Likewise.
703         * soft-fp/op-8.h: Likewise.
704         * soft-fp/op-common.h: Likewise.
705         * soft-fp/quad.h: Likewise.
706         * soft-fp/single.h: Likewise.
707         * soft-fp/soft-fp.h: Likewise.
708         * soft-fp/sqrtdf2.c: Likewise.
709         * soft-fp/sqrtsf2.c: Likewise.
710         * soft-fp/sqrttf2.c: Likewise.
711         * soft-fp/subdf3.c: Likewise.
712         * soft-fp/subsf3.c: Likewise.
713         * soft-fp/subtf3.c: Likewise.
714         * soft-fp/truncdfsf2.c: Likewise.
715         * soft-fp/trunctfdf2.c: Likewise.
716         * soft-fp/trunctfsf2.c: Likewise.
717         * soft-fp/trunctfxf2.c: Likewise.
718         * soft-fp/unorddf2.c: Likewise.
719         * soft-fp/unordsf2.c: Likewise.
720         * soft-fp/unordtf2.c: Likewise.
722 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
724         [BZ #15672]
725         * misc/error.c (error_tail): Fix possible buffer overflow.
727 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
729         [BZ #13028]
730         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
731         address.
733 2013-10-14  P. J. McDermott  <pj@pehjota.net>
735         [BZ #832]
736         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
737         testing pipefail option.
739 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
741         * soft-fp/double.h: Indent preprocessor directives inside #if.
742         * soft-fp/extended.h: Likewise.
743         * soft-fp/op-2.h: Likewise.
744         * soft-fp/op-4.h: Likewise.
745         * soft-fp/op-common.h: Likewise.
746         * soft-fp/quad.h: Likewise.
747         * soft-fp/single.h: Likewise.
748         * soft-fp/soft-fp.h: Likewise.
750 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
752         * iconv/iconv_prog.c: Fix typos.
753         * stdio-common/psiginfo-data.h: Likewise.
755 2013-10-12   Reuben Thomas <rrt@sc3d.org>
757         [BZ #15764]
758         * locale/setlocale.c: Fix typo.
760 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
762         [BZ #16036]
763         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
764         signaling NaN arguments.
765         * soft-fp/unordsf2.c (__unordsf2): Likewise.
766         * soft-fp/unordtf2.c (__unordtf2): Likewise.
768         [BZ #14910]
769         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
770         unordered operands.
771         * soft-fp/gesf2.c (__gesf2): Likewise.
772         * soft-fp/getf2.c (__getf2): Likewise.
773         * soft-fp/ledf2.c (__ledf2): Likewise.
774         * soft-fp/lesf2.c (__lesf2): Likewise.
775         * soft-fp/letf2.c (__letf2): Likewise.
777         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
778         * soft-fp/eqsf2.c (__eqsf2): Likewise.
779         * soft-fp/eqtf2.c (__eqtf2): Likewise.
780         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
781         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
782         * soft-fp/fixdfti.c (__fixdfti): Likewise.
783         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
784         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
785         * soft-fp/fixsfti.c (__fixsfti): Likewise.
786         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
787         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
788         * soft-fp/fixtfti.c (__fixtfti): Likewise.
789         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
790         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
791         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
792         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
793         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
794         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
795         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
796         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
797         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
798         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
799         * soft-fp/floatdisf.c (__floatdisf): Likewise.
800         * soft-fp/floatsisf.c (__floatsisf): Likewise.
801         * soft-fp/floattidf.c (__floattidf): Likewise.
802         * soft-fp/floattisf.c (__floattisf): Likewise.
803         * soft-fp/floattitf.c (__floattitf): Likewise.
804         * soft-fp/floatundidf.c (__floatundidf): Likewise.
805         * soft-fp/floatundisf.c (__floatundisf): Likewise.
806         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
807         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
808         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
809         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
810         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
811         * soft-fp/gesf2.c (__gesf2): Likewise.
812         * soft-fp/getf2.c (__getf2): Likewise.
813         * soft-fp/ledf2.c (__ledf2): Likewise.
814         * soft-fp/lesf2.c (__lesf2): Likewise.
815         * soft-fp/letf2.c (__letf2): Likewise.
817         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
818         Undefine and redefine.
819         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
820         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
821         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
822         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
823         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
824         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
825         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
826         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
827         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
828         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
829         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
830         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
831         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
832         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
833         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
835         [BZ #16032]
836         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
837         without decrementing exponent if mantissa >= that for the
838         denominator, not >.
839         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
840         denominator, not >.  Decrement exponent in < case instead of
841         incrementing in >= case.
842         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
843         without decrementing exponent if mantissa >= that for the
844         denominator, not >.
846         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
847         computing saturated result for unsigned overflow.
849 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
850             Jeff Law  <law@redhat.com>
852         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
853         (atan2Mp): Add systemtap probe marker.
854         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
855         (__ieee754_log): Add systemtap probe marker.
856         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
857         (atanMp): Add systemtap probe marker.
858         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
859         (tanMp): Add systemtap probe marker.
860         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
861         (__slowexp): Add systemtap probe marker.
862         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
863         (__slowpow): Add systemtap probe marker.
864         * manual/probes.texi: Document probes.
866 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
868         [BZ #15362]
869         * libio/fileops.c (_IO_new_file_write): Return count of bytes
870         written.
871         (_IO_new_file_xsputn): Don't return EOF if nothing has been
872         written.
873         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
874         written to buffer but not flushed.
875         * libio/iofwrite_u.c:  Likewise.
876         * libio/iopadn.c:  Return bytes returned even if EOF was
877         encountered.
878         * libio/iowpadn.c:  Likewise.
879         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
880         if _IO_padn does not write the whole buffer.
881         [!COMPILE_WPRINTF] (PAD): Likewise.
883 2013-10-10  David S. Miller  <davem@davemloft.net>
885         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
886         directory block.
888 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
890         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
891         instead of FSF address.
892         * soft-fp/fixdfti.c: Likewise.
893         * soft-fp/fixsfti.c: Likewise.
894         * soft-fp/fixtfti.c: Likewise.
895         * soft-fp/fixunsdfti.c: Likewise.
896         * soft-fp/fixunssfti.c: Likewise.
897         * soft-fp/fixunstfti.c: Likewise.
898         * soft-fp/floattidf.c: Likewise.
899         * soft-fp/floattisf.c: Likewise.
900         * soft-fp/floattitf.c: Likewise.
901         * soft-fp/floatuntidf.c: Likewise.
902         * soft-fp/floatuntisf.c: Likewise.
903         * soft-fp/floatuntitf.c: Likewise.
904         * soft-fp/trunctfxf2.c: Likewise.
906         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
907         * soft-fp/fixdfti.c: Likewise.
908         * soft-fp/fixsfti.c: Likewise.
909         * soft-fp/fixtfti.c: Likewise.
910         * soft-fp/fixunsdfti.c: Likewise.
911         * soft-fp/fixunssfti.c: Likewise.
912         * soft-fp/fixunstfti.c: Likewise.
913         * soft-fp/floattidf.c: Likewise.
914         * soft-fp/floattisf.c: Likewise.
915         * soft-fp/floattitf.c: Likewise.
916         * soft-fp/floatuntidf.c: Likewise.
917         * soft-fp/floatuntisf.c: Likewise.
918         * soft-fp/floatuntitf.c: Likewise.
919         * soft-fp/trunctfxf2.c: Likewise.
921 2013-10-10  David S. Miller  <davem@davemloft.net>
923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
925 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
927         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
928         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
929         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
930         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
931         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
932         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
933         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
936         for NaNs before doing comparisons on argument.
937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
938         Likewise.
940 2013-10-10  Will Newton  <will.newton@linaro.org>
942         * malloc/hooks.c (memalign_check): Ensure the value of bytes
943         passed to _int_memalign does not overflow.
945 2013-10-10  Torvald Riegel  <triegel@redhat.com>
947         * scripts/bench.pl: Add include-sources directive.
948         * benchtests/README: Update documentation.
950 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
952         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
953         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
954         instead of FP_INIT_ROUNDMODE.
955         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
956         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
958         [BZ #16034]
959         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
960         copy class of input value.
961         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
962         not handle exceptions.
963         * soft-fp/negsf2.c (__negsf2): Likewise.
964         * soft-fp/negtf2.c (__negtf2): Likewise.
965         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
967 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
969         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
970         semicolon.  From Linux kernel.
972 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
974         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
976 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
978         [BZ #156]
979         * manual/socket.texi: Added statement about buffer
980         for gethostbyname2_r.
982 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
984         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
985         Use .p2align directive instead, throughout.
986         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
987         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
988         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
989         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
990         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
991         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
992         * sysdeps/x86_64/strchr.S: Likewise.
993         * sysdeps/x86_64/strrchr.S: Likewise.
995 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
997         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
999         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1001         * sysdeps/generic/math_private.h (__mpsin1): Remove
1002         declaration.
1003         (__mpcos1): Likewise.
1004         (__mpsin): New argument __range_reduce.
1005         (__mpcos): Likewise.
1006         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1007         (slow): Use __mpsin and __mpcos.
1008         (slow1): Likewise.
1009         (slow2): Likewise.
1010         (sloww): Likewise.
1011         (sloww1): Likewise.
1012         (sloww2): Likewise.
1013         (bsloww): Likewise.
1014         (bsloww1): Likewise.
1015         (bsloww2): Likewise.
1016         (cslow2): Likewise.
1017         (csloww): Likewise.
1018         (csloww1): Likewise.
1019         (csloww2): Likewise.
1020         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1021         range_reduce.  Merge in __mpsin1.
1022         (__mpcos): Likewise.
1023         (__mpsin1): Remove.
1024         (__mpcos1): Likewise.
1026 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1028         * locale/loadlocale.c (_nl_intern_locale_data): Use
1029         LOCFILE_ALIGNED_P.
1030         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1031         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1032         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1033         obstack data is appropriately aligned.
1034         (obstack_int32_grow_fast): Likewise.
1035         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1036         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1037         (add_locale_uint32_array): Likewise.
1039 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1041         * benchtests/Makefile: Remove ARGLIST and RET variables.
1042         ($(objpfx)bench-%.c): Pass only function name to the script.
1043         * benchtests/README: Update documentation.
1044         * benchtests/acos-inputs: Add new directives.
1045         * benchtests/acosh-inputs: Likewise.
1046         * benchtests/asin-inputs: Likewise.
1047         * benchtests/asinh-inputs: Likewise.
1048         * benchtests/atan-inputs: Likewise.
1049         * benchtests/atanh-inputs: Likewise.
1050         * benchtests/cos-inputs: Likewise.
1051         * benchtests/cosh-inputs: Likewise.
1052         * benchtests/exp-inputs: Likewise.
1053         * benchtests/log-inputs: Likewise.
1054         * benchtests/pow-inputs: Likewise.
1055         * benchtests/rint-inputs: Likewise.
1056         * benchtests/sin-inputs: Likewise.
1057         * benchtests/sinh-inputs: Likewise.
1058         * benchtests/tan-inputs: Likewise.
1059         * benchtests/tanh-inputs: Likewise.
1060         * scripts/bench.pl: Add support for new directives.
1062 2013-10-07  Alan Modra  <amodra@gmail.com>
1064         * README: Fix careless merge.
1066 2013-10-05  Alan Modra  <amodra@gmail.com>
1068         * NEWS: Mention powerpc64le support and bugs fixed.
1069         * README: Both big-endian and little-endian powerpc64 supported.
1071 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1073         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1074         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1075         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1076         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1078 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1080         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1081         match prototype.
1083 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1085         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1086         Move -mhard-float appending from
1087         ports/sysdeps/powerpc/powerpc32/Makefile.
1088         [$(with-fp) = yes] (ASFLAGS): Likewise.
1089         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1090         * sysdeps/powerpc/nofpu: Move directory from
1091         ports/sysdeps/powerpc/nofpu.
1092         * sysdeps/powerpc/soft-fp: Move directory from
1093         ports/sysdeps/powerpc/soft-fp.
1094         * sysdeps/powerpc/powerpc32/405: Move directory from
1095         ports/sysdeps/powerpc/powerpc32/405.
1096         * sysdeps/powerpc/powerpc32/440: Move directory from
1097         ports/sysdeps/powerpc/powerpc32/440.
1098         * sysdeps/powerpc/powerpc32/464: Move directory from
1099         ports/sysdeps/powerpc/powerpc32/464.
1100         * sysdeps/powerpc/powerpc32/476: Move directory from
1101         ports/sysdeps/powerpc/powerpc32/476.
1102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1103         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1105         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1107         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1109         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1111         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1112         * README: Update for powerpc-*-linux-gnu software floating point
1113         support in libc.
1115         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1116         case to powerpc/powerpc32*.
1117         * sysdeps/unix/sysv/linux/configure: Regenerated.
1119         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1120         (_FPU_MASK_OM): Define as 0x04.
1121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1123         0x00c10080.
1124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1125         0x0000003c.
1126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1129         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1130         getcontext_e500.
1131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1132         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1133         setcontext_e500.
1134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1135         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1136         and setcontext_e500.
1138 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1140         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1142 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1144         * manual/threads.texi (Default Thread Attributes): Fix typo.
1146 2013-10-04  Will Newton  <will.newton@linaro.org>
1148         * malloc/Makefile: Add tst-memalign.
1149         * malloc/tst-memalign.c: New file.
1151         * malloc/tst-posix_memalign.c: Add comments.
1152         (do_test): Add comments and call free on all potentially
1153         allocated pointers. Add space after cast.
1155         * malloc/tst-pvalloc.c: Add comments.
1156         (do_test): Add comments and call free on all potentially
1157         allocated pointers. Remove duplicate check for NULL pointer.
1158         Add space after cast.
1160         * malloc/tst-valloc.c: Add comments.
1161         (do_test): Add comments and call free on all potentially
1162         allocated pointers. Remove duplicate check for NULL pointer.
1163         Add space after cast.
1165 2013-10-04  Alan Modra  <amodra@gmail.com>
1167         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1168         Use stdint types in rather than __attribute__((mode())).
1169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1171 2013-10-04  Alan Modra  <amodra@gmail.com>
1173         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1174         Correct handling of unaligned relocs for little-endian.
1175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1177 2013-10-04  Alan Modra  <amodra@gmail.com>
1179         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1180         * configure: Regenerate.
1181         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1182         * shlib-versions: Likewise.
1184 2013-10-04  Alan Modra  <amodra@gmail.com>
1186         * string/tester.c (test_memrchr): Increment reported test cycle.
1188 2013-10-04  Alan Modra  <amodra@gmail.com>
1190         * string/test-memcpy.c (do_one_test): When reporting errors, print
1191         string address and don't overrun end of string.
1193 2013-10-04  Alan Modra  <amodra@gmail.com>
1195         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1196         insrdi.  Make better use of reg selection to speed exit slightly.
1197         Schedule entry path a little better.  Remove useless "are we done"
1198         checks on entry to main loop.  Handle wrapping around zero address.
1199         Correct main loop count.  Handle single left-over word from main
1200         loop inline rather than by using loop_small.  Remove extra word
1201         case in loop_small caused by wrong loop count.  Add little-endian
1202         support.
1203         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1204         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1205         cache hint.
1206         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1207         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1208         support.  Avoid rlwimi.
1209         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1211 2013-10-04  Alan Modra  <amodra@gmail.com>
1213         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1214         insrdi.  Formatting.
1215         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1216         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1217         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1218         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1219         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1220         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1222 2013-10-04  Alan Modra  <amodra@gmail.com>
1224         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1225         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1226         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1227         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1228         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1229         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1230         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1231         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1232         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1233         use of regs.  Use power7 mtocrf.  Tidy function tails.
1235 2013-10-04  Alan Modra  <amodra@gmail.com>
1237         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1238         Formatting.  Consistently use rXXX register defines or rN defines.
1239         Use early exit labels that avoid restoring unused non-volatile regs.
1240         Make cr field use more consistent with rWORDn compares.  Rename
1241         regs used as shift registers for unaligned loop, using rN defines
1242         for short lifetime/multiple use regs.
1243         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1244         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1245         addi 1,1,64 to pop stack frame.  Simplify return value code.
1246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1248 2013-10-04  Alan Modra  <amodra@gmail.com>
1250         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1251         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1252         rather than rlwimi.
1253         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1254         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1255         little-endian support.  Correct typos.
1256         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1257         rather than rlwimi.
1258         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1259         in loop and entry code to keep "and." results.
1260         (strchr): Add little-endian support.  Comment.  Move cntlzd
1261         earlier in tail.
1262         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1264 2013-10-04  Alan Modra  <amodra@gmail.com>
1266         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1267         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1268         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1269         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1271 2013-10-04  Alan Modra  <amodra@gmail.com>
1273         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1274         (rTMP): Define as r11.
1275         (strcmp): Add little-endian support.  Optimise tail.
1276         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1277         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1278         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1279         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1280         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1281         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1282         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1284 2013-10-04  Alan Modra  <amodra@gmail.com>
1286         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1287         little-endian support.  Remove unnecessary "are we done" tests.
1288         Handle "s" wrapping around zero and extremely large "size".
1289         Correct main loop count.  Handle single left-over word from main
1290         loop inline rather than by using small_loop.  Correct comments.
1291         Delete "zero" tail, use "end_max" instead.
1292         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1294 2013-10-04  Alan Modra  <amodra@gmail.com>
1296         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1297         support.  Don't branch over align.
1298         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1299         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1300         support.  Rearrange tmp reg use to suit.  Comment.
1301         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1303 2013-10-04  Alan Modra  <amodra@gmail.com>
1305         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1307 2013-10-04  Alan Modra  <amodra@gmail.com>
1309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1310         conditional form of branch and link when obtaining pc.
1311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1313 2013-10-04  Alan Modra  <amodra@gmail.com>
1315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1316         HIWORD/LOWORD.
1317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1320 2013-10-04  Alan Modra  <amodra@gmail.com>
1322         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1323         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1324         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1325         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1326         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1327         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1328         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1329         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1330         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1331         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1333 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1334             Alistair Popple <alistair@ozlabs.au.ibm.com>
1335             Alan Modra <amodra@gmail.com>
1337         [BZ #15723]
1338         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1340         _dl_hwcap access for little-endian.
1341         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1342         destroy vmx regs when saving unaligned.
1343         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1344         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1345         destroy vmx regs when saving unaligned.
1347 2013-10-04  Alan Modra  <amodra@gmail.com>
1349         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1350         Don't use a union to pack hi/low value.
1352 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1354         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1355         for little-endian.
1356         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1357         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1358         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1359         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1360         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1362 2013-10-04  Alan Modra  <amodra@gmail.com>
1364         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1365         constants to usual value for .cst8 section, and remove redundant
1366         high address load.
1367         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1368         constant for 0x1p52.  Load little-endian words of double from
1369         correct stack offsets.
1371 2013-10-04  Alan Modra  <amodra@gmail.com>
1373         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1374         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1375         words of double from correct stack offsets.
1376         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1377         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1378         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1379         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1381         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1382         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1383         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1384         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1387         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1388         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1389         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1390         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1392         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1394 2013-10-04  Alan Modra  <amodra@gmail.com>
1396         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1397         64-bit int/double union.
1398         (_FPU_SETCW): Likewise.
1399         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1400         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1402 2013-10-04  Alan Modra  <amodra@gmail.com>
1404         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1405         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1407 2013-10-04  Alan Modra  <amodra@gmail.com>
1409         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1410         use vector int constants.
1411         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1413 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1415         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1416         array with long long.
1417         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1418         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1419         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1420         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1421         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1422         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1423         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1424         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1425         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1426         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1427         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1428         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1429         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1431 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1433         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1434         (__signbit): Likewise.  Correct for little-endian.
1435         (__signbitl): Call __signbit.
1436         (lrint): Correct for little-endian.
1437         (lrintf): Call lrint.
1439 2013-10-04  Alan Modra  <amodra@gmail.com>
1441         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1442         union 32-bit int array member with 64-bit int array.
1443         (t515, tm256): Double rather than long double.
1444         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1446 2013-10-04  Alan Modra  <amodra@gmail.com>
1448         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1449         Delete.
1450         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1452         version of math_ldbl.h.
1454 2013-10-04  Alan Modra  <amodra@gmail.com>
1456         [BZ #15734], [BZ #15735]
1457         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1458         all uses of ieee875 long double macros and unions.  Simplify test
1459         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1460         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1461         normalize after ldbl_extract_mantissa, and don't add hidden bit
1462         already handled.  Don't treat low word of ieee854 mantissa like
1463         low word of IBM long double and mask off bit when testing for
1464         zero.
1465         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1466         all uses of ieee875 long double macros and unions.  Simplify tests
1467         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1468         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1469         two1022, instead use their values.  Recognise that tests for large
1470         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1471         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1472         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1473         test for 0.0L and nan.  Correct negation.
1474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1475         ieee875 long double macros and unions.  Correct output for large
1476         magnitude x.  Correct absolute value calculation.
1477         (__erfcl): Likewise.
1478         * math/libm-test.inc: Add tests for errors discovered in IBM long
1479         double versions of fmodl, remainderl, erfl and erfcl.
1481 2013-10-04  Alan Modra  <amodra@gmail.com>
1483         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1484         all uses of ieee854 long double macros and unions.  Simplify tests
1485         for long doubles that are fully specified by the high double.
1486         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1487         Likewise.
1488         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1489         Remove dead code too.
1490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1491         (__ieee754_ynl): Likewise.
1492         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1493         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1494         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1495         Remove dead code too.
1496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1497         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1498         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1499         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1500         Simplify.
1501         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1502         Simplify.
1503         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1506         Comment on variable precision.
1507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1509         Likewise.
1510         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1511         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1512         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1514         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1516 2013-10-04  Alan Modra  <amodra@gmail.com>
1518         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1520         all uses of ieee854 long double macros and unions.
1521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1522         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1525         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1526         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1527         Likewise.
1528         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1529         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1530         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1531         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1533         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1534         Simplify sign and nan test too.
1535         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1536         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1537         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1538         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1539         Likewise.
1540         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1541         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1542         Likewise.
1543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1544         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1545         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1546         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1547         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1550 2013-10-04  Alan Modra  <amodra@gmail.com>
1552         * stdio-common/printf_size.c (__printf_size): Don't use
1553         union ieee854_long_double in fpnum union.
1554         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1555         signbit macro to retrieve sign from long double.
1556         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1557         retrieve sign from long double.
1558         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1559         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1560         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1561         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1562         * math/test-misc.c (main): Don't use union ieee854_long_double.
1564 2013-10-04  Alan Modra  <amodra@gmail.com>
1566         [BZ #15680]
1567         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1568         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1569         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1570         calculation.  Remove unnecessary test for denormal exponent.
1571         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1572         Correct handling of denormals.  Avoid undefined shift behaviour.
1573         Correct normalisation of low mantissa when low double is denormal.
1574         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1575         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1576         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1577         Correct normalisation of low mantissa.  Test for overflow of high
1578         mantissa and normalise.
1579         (ldbl_nearbyint): Use more readable constant for two52.
1580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1581         (__mpn_construct_long_double): Fix test for overflow of high
1582         mantissa and correct normalisation.  Avoid undefined shift.
1584 2013-10-04  Alan Modra  <amodra@gmail.com>
1586         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1587         (union ibm_extended_long_double): Define as an array of ieee754_double.
1588         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1589         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1590         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1591         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1593         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1595         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1596         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1597         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1598         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1600 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1602         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1603         page size instead of calling getpagesize.
1605         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1606         (LOCFILE_ALIGN_MASK): Likewise.
1607         (LOCFILE_ALIGN_UP): Likewise.
1608         (LOCFILE_ALIGNED_P): Likewise.
1609         * locale/programs/ld-collate.c (collate_output): Use the new
1610         macros instead of __alignof__ (int32_t).
1611         * locale/weight.h (findidx): Likewise.
1613 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1615         [BZ #431]
1616         * manual/string.texi: Fix strncat and wcsncat.
1618 2013-10-03  Brooks Moses  <bmoses@google.com>
1620         [BZ #15915]
1621         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1622         * Makerules: ...here, and adjust associated comments.
1624 2013-10-02  Will Newton  <will.newton@linaro.org>
1626         * malloc/Makefile: Add tst-pvalloc.
1627         * malloc/tst-pvalloc.c: New file.
1629 2013-10-02  Will Newton  <will.newton@linaro.org>
1631         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1632         improve test coverage.
1634 2013-10-02  Will Newton  <will.newton@linaro.org>
1636         * malloc/Makefile: Add tst-posix_memalign.
1637         * malloc/tst-posix_memalign.c: New file.
1639 2013-10-01  Eric Blake  <eblake@redhat.com>
1641         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1642         Use __THROWNL rather than __THROW on static functions.
1644 2013-09-30  Petr Machata  <pmachata@redhat.com>
1646         * elf/elf.h (R_AARCH64_ABS16): New macro.
1647         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1648         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1649         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1650         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1651         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1652         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1653         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1654         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1655         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1656         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1657         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1658         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1659         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1660         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1661         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1662         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1663         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1664         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1665         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1666         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1667         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1668         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1669         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1670         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1671         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1672         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1673         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1674         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1675         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1676         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1677         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1678         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1679         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1680         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1681         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1682         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1683         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1684         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1685         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1686         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1687         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1688         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1689         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1690         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1691         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1692         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1693         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1694         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1695         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1696         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1697         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1698         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1699         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1700         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1701         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1702         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1703         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1704         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1705         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1706         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1707         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1708         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1709         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1710         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1711         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1712         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1713         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1714         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1715         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1716         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1717         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1718         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1719         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1720         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1721         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1722         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1723         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1724         (R_AARCH64_TLSDESC_LDR): Likewise.
1725         (R_AARCH64_TLSDESC_ADD): Likewise.
1726         (R_AARCH64_TLSDESC_CALL): Likewise.
1728 2013-09-30  Andreas Schwab  <schwab@suse.de>
1730         [BZ #15048]
1731         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1732         the nss database lookup.
1733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1736 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1738         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1740 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1742         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1743         ${Bash-specific parameter/pattern/string} parameter expansion.
1744         * sysdeps/unix/make-syscalls.sh: Likewise.
1746 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1748         * sysdeps/sh/stackguard-macros.h: New file.
1750 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1754         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1755         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1756         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1757         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1759 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1761         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1762         Fix thread ID register.
1764 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1766         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1767         [POSIX || UNIX98]: Require rather than permitting all symbols from
1768         <time.h>.
1769         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1770         element of struct sched_param.
1771         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1772         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1773         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1774         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1775         constant.
1777 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1779         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1780         argument calculation.
1782 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1784         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1785         Expect macro.
1786         [POSIX] (pthread_attr_t): Do not require type.
1787         [POSIX] (pthread_cond_t): Likewise.
1788         [POSIX] (pthread_condattr_t): Likewise.
1789         [POSIX] (pthread_key_t): Likewise.
1790         [POSIX] (pthread_mutex_t): Likewise.
1791         [POSIX] (pthread_mutexattr_t): Likewise.
1792         [POSIX] (pthread_once_t): Likewise.
1793         [POSIX] (pthread_t): Likewise.
1794         [POSIX-based standards] (pthread_atfork): Expect function.
1796 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1797             Richard Sandiford  <richard@codesourcery.com>
1799         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1800         (swap_endianness_p): New extern variable.
1801         (set_big_endian): New inline function.
1802         (maybe_swap_uint32): Likewise.
1803         (maybe_swap_uint32_array): Likewise.
1804         (maybe_swap_uint32_obstack): Likewise.
1805         * locale/programs/locfile.c: Include <stdbool.h>.
1806         (swap_endianness_p): New variable.
1807         (add_locale_uint32): Call maybe_swap_uint32.
1808         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1809         (write_locale_data): Call maybe_swap_uint32_array.
1810         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1811         maybe_swap_uint32.
1812         (obstack_int32_grow_fast): Likewise.
1813         (output_weightwc): Call maybe_swap_uint32_obstack.
1814         (collate_output): Likewise.
1815         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1816         (OPT_LITTLE_ENDIAN): Likewise.
1817         (options): Add --little-endian and --big-endian options.
1818         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1819         * locale/programs/locarchive.c: Include "locfile.h".
1820         (GET): New macro.
1821         (SET): Likewise.
1822         (INC): Likewise.
1823         (create_archive): Use the new macros to access fields of
1824         structures directly mapped from or written to locale archives.
1825         (oldlocrecentcmp): Likewise.
1826         (enlarge_archive): Likewise.
1827         (insert_name): Likewise.
1828         (add_alias): Likewise.
1829         (add_locale): Likewise.
1830         (delete_locales_from_archive): Likewise.
1831         (show_archive_content): Likewise.
1832         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1833         locale data.
1835 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1837         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1838         http://www.gnu.org/doc/freemanuals.texi.
1839         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1841 2013-09-24  Will Newton  <will.newton@linaro.org>
1843         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1844         macro.
1846 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1848         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1849         unsigned char.
1851 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1853         * manual/threads.texi (POSIX Threads): Fix a typo.
1855 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1857         [BZ #14547]
1858         * string/tst-strcoll-overflow.c: New test case.
1859         * string/Makefile (xtests): Add tst-strcoll-overflow.
1860         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1861         cache if string sizes may cause integer overflow.
1863         [BZ #14547]
1864         * string/strcoll_l.c (coll_seq): New members rule, idx,
1865         save_idx and back_us.
1866         (get_next_seq_nocache): New function.
1867         (do_compare_nocache): New function.
1868         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1869         when malloc fails.
1871 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1873         [BZ #15754]
1874         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1875         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1876         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1878         [BZ #15754]
1879         * elf/Makefile (tests): Add tst-ptrguard1.
1880         (tests-static): Add tst-ptrguard1-static.
1881         (tst-ptrguard1-ARGS): Define.
1882         (tst-ptrguard1-static-ARGS): Define.
1883         * elf/tst-ptrguard1.c: New file.
1884         * elf/tst-ptrguard1-static.c: New file.
1885         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1886         * sysdeps/i386/stackguard-macros.h: Likewise.
1887         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1888         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1889         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1890         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1891         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1892         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1894 2013-09-23  Hector Marco  <hecmargi@upv.es>
1895             Ismael Ripoll  <iripoll@disca.upv.es>
1896             Carlos O'Donell  <carlos@redhat.com>
1898         [BZ #15754]
1899         * sysdeps/generic/stackguard-macros.h: Define
1900         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1901         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1902         Define __pointer_chk_guard_local.
1903         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1904         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1906 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1908         [BZ #15859]
1909         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1911 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1913         * include/string.h (__ffs): Declare as hidden.
1914         * string/ffs.c (__ffs): Define as hidden.
1915         * sysdeps/i386/ffs.c (__ffs): Likewise.
1916         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1917         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1918         * sysdeps/s390/ffs.c (__ffs): Likewise.
1919         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1921 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1923         * NEWS: Mention malloc probes.
1925         * malloc/arena.c (new_heap): New memory_heap_new probe.
1926         (grow_heap): New memory_heap_more probe.
1927         (shrink_heap): New memory_heap_less probe.
1928         (heap_trim): New memory_heap_free probe.
1929         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1930         (systrim): New memory_sbrk_less probe.
1931         * manual/probes.texi: Document them.
1933         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1934         * manual/probes.texi: Document it.
1936         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1937         (__libc_realloc): Add memory_realloc_retry probe.
1938         (__libc_memalign): Add memory_memalign_retry probe.
1939         (__libc_valloc): Add memory_valloc_retry probe.
1940         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1941         (__libc_calloc): Add memory_calloc_retry probe.
1942         * manual/probes.texi: Document them.
1944         * malloc/arena.c (get_free_list): Add probe
1945         memory_arena_reuse_free_list.
1946         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1947         and memory_arena_reuse.
1948         (arena_get2) [!PER_THREAD]: Likewise.
1949         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1950         memory_arena_reuse_realloc.
1951         * manual/probes.texi: Document them.
1953         * malloc/malloc.c (__libc_free): Add
1954         memory_mallopt_free_dyn_thresholds probe.
1955         (__libc_mallopt): Add multiple memory_mallopt probes.
1956         * manual/probes.texi: Document them.
1958         * malloc/malloc.c: Include stap-probe.h.
1959         (__libc_mallopt): Add memory_mallopt probe.
1960         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1961         * manual/probes.texi: New.
1962         * manual/Makefile (chapters): Add probes.
1963         * manual/threads.texi: Set next node.
1965 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1967         [BZ #15963, #13985]
1968         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1969         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1970         Add `Chinese' to `nan' entry name.
1972 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1974         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1975         (POLYNOMIAL): Likewise.
1976         (TAYLOR_SINCOS): Likewise.
1977         (TAYLOR_SLOW): Likewise.
1978         (__sin): Use TAYLOR_SINCOS.
1979         (__cos): Likewise.
1980         (slow): Use TAYLOR_SLOW.
1981         (sloww): Likewise.
1982         (bsloww): Likewise.
1983         (csloww): Likewise.
1985 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1987         * stdlib/strtod_l.c: Fix buffer overrun.
1989 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1991         * benchtests/Makefile (bench): Add sincos.
1992         * benchtests/bench-sincos.c: New file.
1994         * math/libm-test.inc (cos_test_data): New test inputs.
1995         (sin_test_data): Likewise.
1997         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1998         macro.
1999         (__sin): Use it.
2000         (__cos): Likewise.
2001         (slow1): Likewise.
2002         (slow2): Likewise.
2003         (sloww1): Likewise.
2004         (sloww2): Likewise.
2005         (bsloww1): Likewise.
2006         (bsloww2): Likewise.
2007         (cslow2): Likewise.
2008         (csloww1): Likewise.
2009         (csloww2): Likewise.
2011         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2012         function.
2013         (__sin): Use it.
2014         (__cos): Likewise.
2016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2017         gotos.
2018         (__cos): Likewise.
2020 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2022         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2023         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2024         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2025         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2026         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2027         * elf/cache.c (print_entry): Handle the new cache flags.
2029 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2030             Aldy Hernandez  <aldyh@redhat.com>
2032         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2033         Change condition to [_SOFT_FLOAT].
2034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2046         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2049         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2050         declaration.
2052 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2054         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2055         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2056         (__longjmp): Use LOAD_GP to load saved GPRs.
2057         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2058         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2059         (__sigsetjmp): Use SAVE_GP to save GPRs.
2061         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2062         Do not append -msoft-float.
2063         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2065 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2067         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2069 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2071         [BZ #15966]
2072         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2073         (_FPU_GETCW): Use initial "__" on variable and field names but not
2074         on macro parameter name.
2075         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2076         parentheses around reference to macro parameter.
2078 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2080         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2081         prototype.
2082         (ctype_startup): Use uint32_t in cast and sizeof for
2083         ctype->charnames.
2085 2013-09-11  Jia Liu  <proljc@gmail.com>
2087         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2088         __daddr_t_defined.
2089         [__FreeBSD__]: Likewise.
2091 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2094         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2095         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2096         (strchr): Remove __strchr_sse42 ifunc selection.
2097         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2098         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2100 2013-09-11  Will Newton  <will.newton@linaro.org>
2102         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2103         parameter to RES. Remove hardcoded 1000 value.
2104         * benchtests/bench-skeleton.c (main): Pass RES parameter
2105         to TIMING_INIT and multiply result by 1000.
2107 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2111 2013-09-11  Andreas Schwab  <schwab@suse.de>
2113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2114         if not defined.
2115         (O_TMPFILE) [__USE_GNU]: Define.
2116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2117         Define.
2119 2013-09-11  Will Newton  <will.newton@linaro.org>
2121         [BZ #15857]
2122         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2123         does not overflow.
2125 2013-09-11  Will Newton  <will.newton@linaro.org>
2127         [BZ #15856]
2128         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2129         does not overflow.
2131 2013-09-11  Will Newton  <will.newton@linaro.org>
2133         [BZ #15855]
2134         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2135         does not overflow.
2137 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2139         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2140         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2141         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2142         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2143         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2145 2013-09-10  Allan McRae  <allan@archlinux.org>
2147         [BZ #15748]
2148         * manual/arith.texi (Parsing of Floats): Clarify
2149         cross-reference.
2151         [BZ #15849]
2152         * manual/install.texi (Running make install): Mention
2153         --enable-pt-chown.
2154         * INSTALL: Regenerated.
2156 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2158         * csu/init-first.c (_init): Remove the !SHARED condition around
2159         FPU control word initialization.
2160         * elf/dl-support.c (_dl_fpu_control): New variable.
2161         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2162         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2163         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2164         * math/test-fpucw-static.c: New file.
2165         * math/test-fpucw-ieee.c: New file.
2166         * math/test-fpucw-ieee-static.c: New file.
2167         * math/Makefile (tests): Add `test-fpucw-ieee' and
2168         `$(tests-static)'.
2169         (tests-static): New variable.
2170         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2171         dependency to...
2172         [($(build-shared),yes)]
2173         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2174         ... this.
2175         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2176         New dependency.
2178 2013-09-09  Allan McRae  <allan@archlinux.org>
2180         [BZ #15939]
2181         * manual/string.texi (Collation Functions): Fix typo in
2182         strcoll example.
2183         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2185         [BZ #15893]
2186         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2188         [BZ #15892]
2189         * libio/memstream.c (open_memstream): Fix memory leak.
2190         * libio/wmemstream.c (open_wmemstream): Likewise.
2192         [BZ #15895]
2193         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2195 2013-09-09  Will Newton  <will.newton@linaro.org>
2197         * malloc/Makefile: Add tst-realloc to tests.
2198         * malloc/tst-realloc.c: New file.
2200 2013-09-09  Allan McRae  <allan@archlinux.org>
2202         [BZ #15844]
2203         * COPYING: Update from GNU website to fix FSF address.
2204         * COPYING.LIB: Likewise.
2206 2013-09-06  David S. Miller  <davem@davemloft.net>
2208         * po/zh_TW.po: Update Chinese (traditional) translation from
2209         translation project.
2211 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2212             Joseph Myers  <joseph@codesourcery.com>
2214         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2215         "localeinfo.h".
2216         (obstack_chunk_alloc): New macro.
2217         (obstack_chunk_free): Likewise.
2218         (record_offset): New function.
2219         (init_locale_data): Likewise.
2220         (align_locale_data): Likewise.
2221         (add_locale_empty): Likewise.
2222         (add_locale_raw_data): Likewise.
2223         (add_locale_raw_obstack): Likewise.
2224         (add_locale_string): Likewise.
2225         (add_locale_wstring): Likewise.
2226         (add_locale_uint32): Likewise.
2227         (add_locale_uint32_array): Likewise.
2228         (add_locale_char): Likewise.
2229         (start_locale_structure): Likewise.
2230         (end_locale_structure): Likewise.
2231         (start_locale_prelude): Likewise.
2232         (end_locale_prelude): Likewise.
2233         (write_locale_data): Take locale_file structure rather than an
2234         iovec.
2235         * locale/programs/locfile.h: Include "obstack.h".
2236         (struct locale_file): Change to store locale file contents instead
2237         of header.
2238         (init_locale_data): New prototype.
2239         (align_locale_data): Likewise.
2240         (add_locale_empty): Likewise.
2241         (add_locale_raw_data): Likewise.
2242         (add_locale_raw_obstack): Likewise.
2243         (add_locale_string): Likewise.
2244         (add_locale_wstring): Likewise.
2245         (add_locale_uint32): Likewise.
2246         (add_locale_uint32_array): Likewise.
2247         (add_locale_char): Likewise.
2248         (start_locale_structure): Likewise.
2249         (end_locale_structure): Likewise.
2250         (start_locale_prelude): Likewise.
2251         (end_locale_prelude): Likewise.
2252         (write_locale_data): Update prototype.
2253         * locale/programs/3level.h (struct TABLE): Remove result field.
2254         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2255         Use new locale_file interface.
2256         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2257         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2258         * locale/programs/ld-address.c (address_output): Use new
2259         locale_file interface.
2260         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2261         NO_ADD_LOCALE.
2262         (collate_finish): Don't call collseq_table_finalize.
2263         (collate_output): Use new locale_file interface.
2264         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2265         in file.
2266         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2267         (TABLE): Move defines earlier in file.
2268         (ELEMENT): Likewise.
2269         (DEFAULT): Likewise.
2270         (wctrans_table_add): Move macro and inline function earlier in
2271         file.
2272         (struct wctype_table): Move type earlier in file.
2273         (add_locale_wctype_table): New static prototype.
2274         (struct locale_ctype_t): Use logical types instead of struct iovec
2275         pointers for members.
2276         (ctype_output): Use new locale_file interface.
2277         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2278         new locale_file interface.
2279         (allocate_arrays): Update for use of new locale_file interface.
2280         * locale/programs/ld-identification.c (identification_output): Use
2281         new locale_file interface.
2282         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2283         * locale/programs/ld-messages.c (messages_output): Likewise.
2284         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2285         * locale/programs/ld-name.c (name_output): Likewise.
2286         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2287         * locale/programs/ld-paper.c (paper_output): Likewise.
2288         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2289         * locale/programs/ld-time.c (time_output): Likewise.
2291 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2293         * benchtests/Makefile: Add memrchr benchmark.
2294         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2295         benchmark as memrchr.
2296         * benchtests/bench-memrchr-ifunc.c: New file.
2297         * benchtests/bench-memrchr.c: New file.
2299 2013-09-06   Will Newton  <will.newton@linaro.org>
2301         * benchtests/Makefile (string-bench): Add memcpy.
2303 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2304             Cong Wang  <amwang@redhat.com>
2306         * sysdeps/unix/sysv/linux/bits/in.h
2307         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2308         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2309         before __USE_KERNEL_IPV6_DEFS uses.
2310         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2311         IPPROTO_BEETPH.
2312         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2313         sockaddr_in6, or ipv6_mreq.
2315 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2317         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2318         memory access for final bytes in some large inputs.
2319         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2321 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2323         * string/test-memrchr.c: New file.
2324         * string/test-memrchr-ifunc.c: New file.
2325         * string/Makefile: Add new memrchr testcase.
2327 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2329         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2330         fanotify_init returns EPERM.
2332 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2334         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2335         errors.
2336         (top level): Treat second token from macro or constant entries for
2337         allowed headers as allowed.
2338         * include/complex.h: Condition internal declarations on
2339         [!_ISOMAC].
2340         * include/fenv.h: Condition include of <stdbool.h> and internal
2341         declarations on [!_ISOMAC].
2343 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2345         [BZ #15923]
2346         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2348 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2350         * configure.in (--enable-versioning): Remove configure option.
2351         (libc_cv_asm_symver_directive): Remove configure test.
2352         (libc_cv_ld_version_script_option): Likewise.
2353         (VERSIONING): Remove variable and AC_SUBST.
2354         (DO_VERSIONING): Remove AC_DEFINE.
2355         * configure: Regenerated.
2356         * config.h.in (DO_VERSIONING): Remove macro.
2357         * Makerules [$(versioning) = yes]: Change conditionals to
2358         [$(build-shared) = yes].
2359         * config.make.in (versioning): Remove variable.
2360         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2361         [$(build-shared) = yes].
2362         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2363         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2364         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2365         [$(build-shared) = yes].
2366         * extra-lib.mk [$(versioning) = yes]: Likewise.
2367         * hurd/Makefile [$(versioning) = yes]: Likewise.
2368         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2369         [SHARED].
2370         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2371         [SHARED].
2372         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2373         [SHARED && !NO_HIDDEN].
2374         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2375         [SHARED].
2376         [SHARED && DO_VERSIONING]: Likewise..
2377         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2378         [$(build-shared) = yes].
2379         * manual/install.texi (--disable-versioning): Remove
2380         documentation.
2381         * INSTALL: Regenerated.
2382         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2383         to [SHARED].
2384         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2385         [$(build-shared) = yes].
2386         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2387         * sysdeps/i386/i686/multiarch/strstr-c.c
2388         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2389         [SHARED && !NO_HIDDEN].
2390         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2391         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2392         * sysdeps/powerpc/powerpc32/dl-machine.c
2393         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2394         * sysdeps/powerpc/powerpc32/sysdep.h
2395         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2396         to [SHARED && PIC && !NO_HIDDEN].
2397         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2398         conditional to [SHARED].
2400 2013-09-04   Will Newton  <will.newton@linaro.org>
2402         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2403         * benchtests/bench-string.h: Include bench-timing.h instead
2404         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2405         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2406         call to HP_TIMING_DIFF_INIT.
2407         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2408         instead of hp-timing.h macros.
2409         * benchtests/bench-memchr.c: Likewise.
2410         * benchtests/bench-memcmp.c: Likewise.
2411         * benchtests/bench-memcpy.c: Likewise.
2412         * benchtests/bench-memmem.c: Likewise.
2413         * benchtests/bench-memmove.c: Likewise.
2414         * benchtests/bench-memset.c: Likewise.
2415         * benchtests/bench-rawmemchr.c: Likewise.
2416         * benchtests/bench-strcasecmp.c: Likewise.
2417         * benchtests/bench-strcasestr.c: Likewise.
2418         * benchtests/bench-strcat.c: Likewise.
2419         * benchtests/bench-strchr.c: Likewise.
2420         * benchtests/bench-strcmp.c: Likewise.
2421         * benchtests/bench-strcpy.c: Likewise.
2422         * benchtests/bench-strcpy_chk.c: Likewise.
2423         * benchtests/bench-strlen.c: Likewise.
2424         * benchtests/bench-strncasecmp.c: Likewise.
2425         * benchtests/bench-strncat.c: Likewise.
2426         * benchtests/bench-strncmp.c: Likewise.
2427         * benchtests/bench-strncpy.c: Likewise.
2428         * benchtests/bench-strnlen.c: Likewise.
2429         * benchtests/bench-strpbrk.c: Likewise.
2430         * benchtests/bench-strrchr.c: Likewise.
2431         * benchtests/bench-strspn.c: Likewise.
2432         * benchtests/bench-strstr.c: Likewise.
2434 2013-09-04  Will Newton  <will.newton@linaro.org>
2436         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2438 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2440         [BZ #15427]
2441         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2442         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2443         * math/libm-test.inc (lgamma_test_data): Add more tests.
2444         * sysdeps/i386/fpu/libm-test-ulps: Update.
2445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2449         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2451         Add ifunc.
2452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2453         Add strcmp-sse2-unaligned
2454         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2456 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2458         * Versions.def (libc): Add GLIBC_2.19.
2460 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2462         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2463         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2465 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2467         [BZ #14155]
2468         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2469         intermediate calculations in recurrence.
2470         (__ieee754_ynf): Likewise.
2471         * math/libm-test.inc (jn_test_data): Do not allow spurious
2472         underflow exception.  Add more tests.
2473         (yn_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-02   Ondřej Bílka  <neleai@seznam.cz>
2479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2481 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2483         * csu/init-first.c: Fix then/than typos.
2484         * locale/programs/ld-collate.c: Likewise.
2485         * locale/programs/linereader.h: Likewise.
2486         * manual/charset.texi: Likewise.
2487         * manual/filesys.texi: Likewise.
2488         * manual/stdio.texi: Likewise.
2489         * manual/string.texi: Likewise.
2490         * stdlib/fmtmsg.c: Likewise.
2491         * sysdeps/i386/stpncpy.S: Likewise.
2492         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2493         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2495         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2497 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2499         * elf/dl-open.c: Fix typos.
2500         * iconvdata/gbbig5.c: Likewise.
2501         * iconvdata/iso-2022-jp.c: Likewise.
2502         * iconv/gconv_int.h: Likewise.
2503         * iconv/loop.c: Likewise.
2504         * nis/rpcsvc/nis.h: Likewise.
2505         * resolv/ns_name.c: Likewise.
2506         * stdio-common/vfscanf.c: Likewise.
2507         * streams/stropts.h: Likewise.
2508         * sunrpc/rpc_thread.c: Likewise.
2509         * sysdeps/i386/strpbrk.S: Likewise.
2510         * sysdeps/ieee754/k_standard.c: Likewise.
2511         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2513         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2514         * sysdeps/mach/hurd/profil.c: Likewise.
2515         * sysdeps/s390/dl-procinfo.h: Likewise.
2516         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2517         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2518         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2519         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2520         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2522 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2524         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2527 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2529         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2530         aix specific files.
2531         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2532         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2533         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2534         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2535         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2536         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2537         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2538         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2540 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2541             Roland McGrath  <roland@hack.frob.com>
2543         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2544         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2546 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2548         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2549         __executable_start symbol instead of _start.
2551 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2553         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2554         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2555         Move macros to...
2556         * sysdeps/gnu/ldsodefs.h: ... this new file.
2558         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2559         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2560         instead of ELFOSABI_LINUX.
2562         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2563         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2564         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2565         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2566         Likewise.
2567         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2568         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2569         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2570         Likewise.
2571         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2572         (ibm_extended_long_double): Add ieee_nan member.
2573         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2574         (do_test): New function.
2576         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2577         TEST_TRUNC.
2578         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2579         functions, renamed from truncdfsf_test, trunctfsf_test,
2580         trunctfdf_test.
2581         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2582         functions.
2583         (do_test): Run all these.
2585 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2587         * argp/argp-help.c: Fix typos.
2588         * argp/argp-parse.c: Likewise.
2589         * debug/backtracesyms.c: Likewise.
2590         * elf/elf.h: Likewise.
2591         * malloc/malloc.c: Likewise.
2592         * nis/nis_print.c: Likewise.
2593         * resolv/res_comp.c: Likewise.
2594         * stdlib/stdlib.h: Likewise.
2595         * sunrpc/clnt_tcp.c: Likewise.
2596         * sunrpc/clnt_udp.c: Likewise.
2597         * sunrpc/clnt_unix.c: Likewise.
2598         * sysdeps/unix/bsd/ptsname.c: Likewise.
2599         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2600         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2602         Likewise.
2603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2604         Likewise.
2605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2606         Likewise.
2607         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2609 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2611         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2614 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2616         [BZ #15897]
2617         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2618         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2619         ($(objpfx)bug-dl-leaf): New rule.
2620         ($(objpfx)bug-dl-leaf.so): Likewise.
2621         ($(objpfx)bug-dl-leaf.out): Likewise.
2622         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2623         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2624         * dlfcn/bug-dl-leaf.c: New test.
2625         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2626         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2627         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2628         (dlclose): Likewise.
2629         (dlmopen): Likewise.
2631 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2633         * include/netdb.h [!_ISOMAC]:
2634         Don't include <tls.h>.
2635         (h_errno, __libc_h_errno): Move declaration and macros out of
2636         [_LIBC_REENTRANT].
2638         * include/resolv.h [_RESOLV_H_]:
2639         Don't include <tls.h>.
2640         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2641         * resolv/res_libc.c: Don't include <tls.h>.
2642         (_res): Use __attribute__ ((nocommon)) in place of
2643         __attribute__ ((section (".bss"))).
2645         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2646         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2648         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2650         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2651         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2653         * resolv/res_mkquery.c: Include <sys/time.h>.
2655         * inet/ifreq.c: Moved to ...
2656         * sysdeps/unix/ifreq.c: ... here.
2657         * inet/ifreq.c: New file, true stub version.
2659         * socket/sa_len.c: New file.
2660         * socket/Makefile (aux): Add it.
2661         * sysdeps/unix/sysv/linux/Makefile
2662         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2663         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2664         and #include <socket/sa_len.c>.
2665         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2666         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2668         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2669         * bits/socket.h: ... here.
2671         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2672         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2673         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2675 2013-08-27  Andreas Schwab  <schwab@suse.de>
2677         [BZ #15736]
2678         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2679         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2680         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2681         * string/test-strcasecmp.c (test_main): Run tests in several
2682         locales.
2683         * string/test-strncasecmp.c (test_main): Likewise.
2685         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2686         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2687         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2688         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2689         (__strncasecmp_ssse3) [PIC]: Likewise.
2691 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2693         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2695         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2696         instead of explicitly declaring xdecrypt.
2697         * nis/nss_nis/nis-publickey.c: Likewise.
2699 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2701         [BZ #15890]
2702         * nscd/aicache.c: Include res_hconf.h.
2703         (addhstaiX): Initialize res_hconf.
2705 2013-08-26  Andreas Schwab  <schwab@suse.de>
2707         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2708         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2710 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2712         * nscd/aicache.c (addhstaiX): Fix indentation.
2714 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2716         * configure.ac: Quote $build_pt_chown test.
2717         * configure: Regenerated.
2719 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2721         [BZ #15532]
2722         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2723         * math/s_cexpf.c (__cexpf): Likewise.
2724         * math/s_cexpl.c (__cexpl): Likewise.
2725         * math/libm-test.inc (cexp_test_data): Correct expected return
2726         value for NaN + i0.  Add another test.
2728 2013-08-22  David S. Miller  <davem@davemloft.net>
2730         * po/ca.po: Update Catalan translation from translation project.
2731         * po/uk.po: Add Ukrainian translations from translation project.
2733 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2735         [BZ #15797]
2736         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2737         is infinite, not alongside NaN test.
2738         * math/s_fdimf.c (__fdimf): Likewise.
2739         * math/s_fdiml.c (__fdiml): Likewise.
2740         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2741         errno is unchanged.
2743 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2745         * argp/argp-help.c: Fix typos.
2746         * crypt/speeds.c: Likewise.
2747         * csu/check_fds.c: Likewise.
2748         * elf/dl-load.c: Likewise.
2749         * elf/dl-open.c: Likewise.
2750         * elf/reldep3.c: Likewise.
2751         * elf/reldep.c: Likewise.
2752         * elf/sprof.c: Likewise.
2753         * iconv/iconv_charmap.c: Likewise.
2754         * iconv/skeleton.c: Likewise.
2755         * iconv/strtab.c: Likewise.
2756         * io/lockf64.c: Likewise.
2757         * libio/libioP.h: Likewise.
2758         * resolv/gai_notify.c: Likewise.
2759         * resolv/ns_name.c: Likewise.
2760         * resolv/ns_samedomain.c: Likewise.
2761         * resolv/res_send.c: Likewise.
2762         * stdlib/random.c: Likewise.
2763         * sunrpc/rpc/xdr.h: Likewise.
2764         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2765         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2766         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2767         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2768         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2769         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2771         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2772         * sysdeps/mach/hurd/check_fds.c: Likewise.
2773         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2774         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2776         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2777         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2778         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2779         * sysdeps/pthread/aio_notify.c: Likewise.
2780         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2781         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2782         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2783         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2784         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2786 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2788         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2789         version if bit_Slow_SSE4_2 is set.
2790         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2791         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2793 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2795         [BZ #15867]
2796         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2797         trampoline stack frame information.
2798         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2799         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2800         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2801         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2802         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2803         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2804         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2805         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2806         sa_flags value.
2807         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2808         interrupting a syscall and set with option SA_SIGINFO.
2810 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2812         [BZ #15531]
2813         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2814         argument is infinite.
2815         * math/s_cprojf.c (__cprojf): Likewise.
2816         * math/s_cprojl.c (__cprojl): Likewise.
2817         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2818         * math/libm-test.inc (cproj_test_data): Add more tests.
2820         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2822         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2823         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2824         size.  Use __ffs to determine corresponding shift.
2826 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2827             Roland McGrath  <roland@hack.frob.com>
2829         * Makefile (INSTALL): Remove trailing blank lines from output of
2830         makeinfo.
2832 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2834         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2835         Align 32 bit compat elf_greg to 8 bytes.
2837 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2839         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2841 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2843         * string/strcoll_l.c (coll_seq): New structure.
2844         (get_next_seq_cached): New function.
2845         (get_next_seq): New function.
2846         (do_compare): New function.
2847         (STRCOLL): Use GNU style definition.  Simplify implementation
2848         by using get_next_seq, get_next_seq_cached and do_compare.
2850 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2852         [BZ #14699]
2853         CVE-2013-4237
2854         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2855         member.
2856         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2857         member.
2858         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2859         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2860         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2861         conditional.
2862         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2863         GETDENTS_64BIT_ALIGNED.
2864         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2865         * manual/filesys.texi (Reading/Closing Directory): Document
2866         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2867         strongly.
2868         * manual/conf.texi (Limits for Files): Add portability note to
2869         NAME_MAX, PATH_MAX.
2870         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2872 2013-08-13  Andreas Schwab  <schwab@suse.de>
2874         [BZ #15749]
2875         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2876         of fabs.
2877         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2878         LDBL_MAX_EXP >= 16384]: Add tests for it.
2880 2013-08-12  David S. Miller  <davem@davemloft.net>
2882         * version.h (RELEASE): Set to "development".
2883         (VERSION): Set to "2.18.90".
2884         * NEWS: Add 2.19 section.
2886 2013-08-03  David S. Miller  <davem@davemloft.net>
2888         * po/ko.po: Update Korean translation from translation project.
2890 2013-08-01  David S. Miller  <davem@davemloft.net>
2892         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2893         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2894         Bilka.
2896 2013-07-30  David S. Miller  <davem@davemloft.net>
2898         * po/fr.po: Update French translation from translation project.
2900 2013-07-28  David S. Miller  <davem@davemloft.net>
2902         * po/cs.po: Update Czech translation from translation project.
2904         * po/sv.po: Update Swedish translation from translation project.
2906 2013-07-27  David S. Miller  <davem@davemloft.net>
2908         * po/eo.po: Update Esperanto translation from translation project.
2910         * po/vi.po: Update Vietnamese translation from translation project.
2912         * po/de.po: Update German translation from translation project.
2914 2013-07-26  David S. Miller  <davem@davemloft.net>
2916         * po/bg.po: Update Bulgarian translation from translation project.
2918         * po/nl.po: Update Dutch translation from translation project.
2919         * po/pl.po: Update Polish translation from translation project.
2920         * po/ru.po: Update Russian translation from translation project.
2922 2013-07-24  David S. Miller  <davem@davemloft.net>
2924         * po/libc.pot: Update.
2926 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2928         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2929         variable page size.
2930         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2931         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2932         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2934 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2936         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2938 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2939             Andreas Schwab  <schwab@suse.de>
2940             Roland McGrath  <roland@hack.frob.com>
2941             Joseph Myers  <joseph@codesourcery.com>
2942             Carlos O'Donell  <carlos@redhat.com>
2944         [BZ #15755]
2945         * config.h.in: Define HAVE_PT_CHOWN.
2946         * config.make.in (build-pt-chown): New variable.
2947         * configure.in (--enable-pt_chown): New configure option.
2948         * configure: Regenerate.
2949         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2950         build-pt-chown is enabled.
2951         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2952         pt_chown to fix pty ownership.
2953         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2954         CLOSE_ALL_FDS.
2955         * manual/install.texi (Configuring and compiling): Mention
2956         --enable-pt_chown. Add @findex for grantpt.
2957         * INSTALL: Regenerate.
2959 2013-07-20  David S. Miller  <davem@davemloft.net>
2961         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2962         difference between 32-bit and 64-bit.
2964 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2966         [BZ #15711]
2967         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2968         Avoid system header dependency with -ffreestanding.
2969         ($(objpfx)bits/syscall%d): Likewise.
2971 2013-07-13  David S. Miller  <davem@davemloft.net>
2973         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2974         underflows from atanl/atan2l due to bug 15319.
2975         (casinh_test_data): Likewise.
2977 2013-07-07  David S. Miller  <davem@davemloft.net>
2979         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2981 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2983         * sysdeps/i386/fpu/libm-test-ulps: Update.
2984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2986 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2988         * configure.in (--enable-lock-elision): Fix message text.
2989         * INSTALL: Regenerate.
2990         * configure: Regenerate.
2992 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2996 2013-07-03  Andreas Jaeger  <aj@suse.de>
2998         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2999         define.
3000         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3001         (ptrace_peeksiginfo_args): Add.
3002         (__ptrace_peeksiginfo_flags): Add.
3003         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3004         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3007 2013-07-03  Allan McRae  <allan@archlinux.org>
3009         * sysdeps/i386/fpu/libm-test-ulps: Update.
3011 2013-07-02  David S. Miller  <davem@davemloft.net>
3013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3015 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3019 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3021         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3024 2013-07-02  Andi Kleen <ak@linux.intel.com>
3026         * config.h.in (ENABLE_LOCK_ELISION): Add.
3027         * configure.in (--enable-lock-elision): Add option.
3028         * manual/install.texi: Document --enable lock elision.
3029         * configure: Regenerate
3030         * INSTALL: Regenerate.
3032 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3034         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3035         SSE4.2 strcasecmp for libc.a.
3036         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3038 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3040         [BZ #13304]
3041         * soft-fp/op-common.h (_FP_FMA): New macro.
3042         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3043         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3044         (_FP_MUL_MEAT_1_imm): ... here.
3045         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3046         (_FP_MUL_MEAT_1_wide): ... here.
3047         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3048         (_FP_MUL_MEAT_1_hard): ... here.
3049         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3050         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3051         (_FP_MUL_MEAT_2_wide): ... here.
3052         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3053         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3054         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3055         (_FP_MUL_MEAT_2_gmp): ... here.
3056         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3057         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3058         (_FP_MUL_MEAT_4_wide): ... here.
3059         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3060         (_FP_MUL_MEAT_4_gmp): ... here.
3061         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3062         (_FP_WFRACBITS_DW_S): Likewise.
3063         (_FP_WFRACXBITS_DW_S): Likewise.
3064         (_FP_HIGHBIT_DW_S): Likewise.
3065         (FP_FMA_S): Likewise.
3066         (_FP_FRAC_HIGH_DW_S): Likewise.
3067         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3068         (_FP_WFRACBITS_DW_D): Likewise.
3069         (_FP_WFRACXBITS_DW_D): Likewise.
3070         (_FP_HIGHBIT_DW_D): Likewise.
3071         (FP_FMA_D): Likewise.
3072         (_FP_FRAC_HIGH_DW_D): Likewise.
3073         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3074         (_FP_WFRACBITS_DW_E): Likewise.
3075         (_FP_WFRACXBITS_DW_E): Likewise.
3076         (_FP_HIGHBIT_DW_E): Likewise.
3077         (FP_FMA_E): Likewise.
3078         (_FP_FRAC_HIGH_DW_E): Likewise.
3079         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3080         (_FP_WFRACBITS_DW_Q): Likewise.
3081         (_FP_WFRACXBITS_DW_Q): Likewise.
3082         (_FP_HIGHBIT_DW_Q): Likewise.
3083         (FP_FMA_Q): Likewise.
3084         (_FP_FRAC_HIGH_DW_Q): Likewise.
3085         * soft-fp/fmasf4.c: New file.
3086         * soft-fp/fmadf4.c: Likewise.
3087         * soft-fp/fmatf4.c: Likewise.
3089 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3092         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3093         Silvermont.
3094         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3095         macro.
3096         (index_Slow_SSE4_2): Likewise.
3097         (index_Prefer_PMINUB_for_stringop): Likewise.
3098         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3099         bit_Slow_SSE4_2 is set.
3100         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3101         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3103 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3105         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3106         rtld_global._dl_hwcap2.
3107         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3108         POWER8.
3109         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3110         POWER8 feature descriptions defined in _dl_hwcap2.
3111         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3112         string handling for POWER8 feature bits.
3113         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3114         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3115         _dl_powerpc_cap_flags.
3116         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3117         * sysdeps/powerpc/rtld-global-offsets.sym
3118         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3119         _dl_hwcap2 in the rtld_global_ro structure.
3121 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3123         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3124         hardware capabilities in support of AT_HWCAP2.
3125         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3126         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3127         GLRO(dl_hwcap2).
3128         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3129         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3130         explicitly the unknown a_type display mechanism is used.
3131         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3132         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3133         struct member.
3134         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3135         to macro prototype for AT_HWCAP2 support.
3136         * sysdeps/i386/dl-procinfo.h: Likewise.
3137         * sysdeps/s390/dl-procinfo.h: Likewise.
3138         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3139         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3140         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3141         return -1 for unknown a_type display fallback.
3142         * sysdeps/sparc/dl-procinfo.h: Likewise.
3143         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3144         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3146 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3148         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3149         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3151 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3153         [BZ #12492]
3154         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3155         mprotect making __stack_prot writable.
3157 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3158             Joseph Myers  <joseph@codesourcery.com>
3160         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3161         as being properly aligned.
3163 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3165         * dlfcn/modstatic5.c: New file.
3166         * dlfcn/tststatic5.c: New file.
3167         * dlfcn/Makefile (tests): Add tststatic5.
3168         (tests-static): Likewise.
3169         (modules-names): Add modstatic5.
3170         (tststatic5-ENV): New variable.
3171         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3173         [BZ #15022]
3174         * elf/dl-support.c (_dl_main_map): New variable.
3175         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3176         (_dl_nns, _dl_load_adds): Set to 1.
3177         (_dl_initial_searchlist): Refer to _dl_main_map.
3178         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3179         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3180         call to _dl_get_origin.
3181         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3182         around call_map.
3183         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3184         * dlfcn/modstatic3.c: New file.
3185         * dlfcn/tststatic3.c: New file.
3186         * dlfcn/tststatic4.c: New file.
3187         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3188         (tests-static): Likewise.
3189         (modules-names): Add modstatic3.
3190         (tststatic3-ENV, tststatic4-ENV): New variables.
3191         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3192         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3194 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3196         * configure.in (CC): Require GCC version 4.4 or later.
3197         * configure: Regenerated.
3198         * manual/install.texi (Tools for Compilation): Update GCC version
3199         requirement.
3200         * INSTALL: Regenerated.
3202 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3204         [BZ #15674]
3205         * string/test-memcmp.c (check2): New.
3206         (main): Call check2.
3208         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3210 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3212         [BZ #15022]
3213         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3214         over to...
3215         (dl_open_worker) [!SHARED]: ... here.
3217 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3219         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3221 2013-06-25  Richard Henderson  <rth@redhat.com>
3223         * locale/programs/locarchive.c: Include <libc-internal.h>
3225 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3227         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3228         trailing whitespace removed.
3230 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3232         [BZ #10283]
3233         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3234         * locale/programs/locarchive.c: Include libc-mmap.h.
3235         (prepare_address_space): Take two new outputs (the mmap base and len).
3236         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3237         values.
3238         (create_archive): Declare new mmap base and len values for
3239         prepare_address_space, and store the result in ah.
3240         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3241         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3242         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3243         Declare new mmap base and len values for
3244         prepare_address_space, and store the result in new_ah.
3245         (open_archive): Declare new mmap base and len values for
3246         prepare_address_space, and store the result in ah.
3247         (close_archive): If ah->mmap_base is not NULL, use that and
3248         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3249         * sysdeps/generic/libc-mmap.h: New file.
3251 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3253         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3254         (ALIGN_UP): Likewise.
3255         (PTR_ALIGN_DOWN): Likewise.
3256         (PTR_ALIGN_UP): Likewise.
3258 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3260         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3261         entry mapped to PPC_PLATFORM_POWER8.
3262         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3263         POWER8.
3264         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3265         (_dl_string_platform): Add case for exporting platform position for
3266         POWER8.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3268         search path to sysdeps/powerpc/powerpc32/power8 directory.
3269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3270         search path to sysdeps/powerpc/powerpc64/power8 directory.
3271         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3272         power7 directories.
3273         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3274         power7 directories.
3276 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3278         * INSTALL: Regenerate.
3280         * nscd/connections.c (nscd_init): Fix comment.
3282 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3284         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3286         [BZ #15667]
3287         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3288         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3290 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3292         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3293         DL_DST_REQ_STATIC.
3294         (DL_DST_REQ_STATIC): Remove macro.
3296 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3298         [BZ #7006]
3299         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3300         with a shift of 0 bits.
3302 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3304         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3305         $(tststatic-ENV).
3307 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3309         [BZ #15655]
3310         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3312 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3314         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3315         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3316         accepts -fno-tree-loop-distribute-patterns.
3317         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3318         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3319         recursive call.
3320         * string/memset.c (memset): Likewise.
3321         * string/test-memmove.c (simple_memmove): Disable loop transformation
3322         to library calls.
3323         * string/test-memset.c (simple_memset): Likewise.
3324         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3325         * benchtests/bench-memset.c (simple_memset): Likewise.
3326         * configure: Regenerated.
3328 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3330         * math/test-misc.c (main): Ignore fesetround failure when failures
3331         of subsequent rounding tests would be ignored.
3333         [BZ #15654]
3334         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3335         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3336         * math/fegetenv.c (__fegetenv): Return 0.
3337         * math/fegetexcept.c (fegetexcept): Return 0.
3338         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3339         FE_TONEAREST.
3340         * math/feholdexcpt.c (feholdexcept): Return 0.
3341         * math/fesetenv.c (__fesetenv): Return 0.
3342         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3343         argument FE_TONEAREST.
3344         * math/feupdateenv.c (__feupdateenv): Return 0.
3345         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3347 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3349         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3350         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3351         ($(objpfx)rtld-%.os rules): Use them.
3353 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3355         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3356         fields.
3358 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3360         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3361         length of target pattern, then descending length of dependency pattern.
3362         * configure.in (AWK): Require gawk 3.1.2 or newer.
3363         * manual/install.texi (Tools for Compilation): Say that we do.
3364         * configure: Regenerated.
3366         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3367         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3368         * scripts/sysd-rules.awk: ... this new script.
3369         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3370         than a glob-style pattern.
3372 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3374         * math/test-misc.c (main): Do not treat incorrectly rounded
3375         conversions as failure unless ROUNDING_TESTS passes.
3377 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3379         [BZ #15631]
3380         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3381         restore exception state around main square root computation, then
3382         check for inexactness explicitly.
3384         * math/libm-test.inc (fma_test_data): Add another test.
3386 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3388         * manual/threads.texi (Non-POSIX Extensions): New document
3389         node.  Document pthread_getattr_default_np and
3390         pthread_setattr_default_np.
3392         * Versions.def (libpthread): Add GLIBC_2.18.
3393         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3397         Likewise.
3398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3399         Likewise.
3400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3401         Likewise.
3402         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3403         Likewise.
3404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3405         Likewise.
3406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3407         Likewise.
3408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3409         Likewise.
3410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3411         Likewise.
3413 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3416         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3418 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3419             H.J. Lu  <hjl.tools@gmail.com>
3421         [BZ #15627]
3422         * sysdeps/x86_64/rtld-memset.c: Remove file.
3423         * sysdeps/x86_64/rtld-memset.S: New file.
3425 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3427         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3428         (test_in_one_mode): Take arguments for whether the rounding mode
3429         is supported for each floating-point type.
3430         (do_test): Pass new arguments to test_in_one_mode using
3431         ROUNDING_TESTS.
3433 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3435         * posix/tst-waitid.c (do_test): Distinguish different instances of
3436         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3437         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3438         before entering the kernel for waitpid.
3440 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3442         * NEWS: Fix note on clock function precision.  Text by Roland
3443         McGrath.
3445 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3447         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3448         it into place only when and if the sanity check passes.
3450 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3452         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3453         output for whether conversion result is exact.  Take argument
3454         indicating whether type is IBM long double.
3455         (round_for_all): Change need_exact field to ibm_ld.
3456         * stdlib/tst-strtod-round.c (struct exactness): New type.
3457         (struct test): Change bool ld_ok field to struct exactness exact.
3458         (TEST): Update all definitions for change to field.
3459         (tests): Regenerate array contents.
3460         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3461         field value.  Check for IBM long double here.
3462         (do_test): Update calls to test_in_one_mode.
3464 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3466         [BZ #12515]
3467         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3468         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3470 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3472         [BZ #15605]
3473         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3474         generated by the compiler on loop optimizations.
3475         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3476         general definitions.
3478 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3480         * math/bug-nextafter.c: Include <math-tests.h>.
3481         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3482         the relevant type.
3483         * math/bug-nexttoward.c: Include <math-tests.h>.
3484         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3485         the relevant type.
3486         * math/test-misc.c: Include <math-tests.h>.
3487         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3488         the relevant type.
3490 2013-06-12  Andreas Jaeger  <aj@suse.de>
3492         * po/ia.po: Update Interlingua translation from translation
3493         project.
3495 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3497         * include/fenv.h: Include stdbool.h.
3498         (struct rm_ctx): New structure.
3499         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3500         Define macro.
3501         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3502         (SET_RESTORE_ROUNDF): Likewise.
3503         (SET_RESTORE_ROUNDL): Likewise.
3504         (SET_RESTORE_ROUND_NOEX): Likewise.
3505         (SET_RESTORE_ROUND_NOEXF): Likewise.
3506         (SET_RESTORE_ROUND_NOEXL): Likewise.
3507         (SET_RESTORE_ROUND_53BIT): Likewise.
3508         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3509         (libc_feresetround_noexf_ctx): Likewise.
3510         (libc_feresetround_noexl_ctx): Likewise.
3511         (libc_feholdsetround_53bit_ctx): Likewise.
3512         (libc_feresetround_53bit_ctx): Likewise.
3513         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3514         (libc_feholdexcept_setround_sse_ctx): New function.
3515         (libc_fesetenv_sse_ctx): Likewise.
3516         (libc_feupdateenv_sse_ctx): Likewise.
3517         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3518         (libc_feholdexcept_setround_387_ctx): Likewise.
3519         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3520         (libc_feholdsetround_387_prec_ctx): Likewise.
3521         (libc_feholdsetround_387_ctx): Likewise.
3522         (libc_feholdsetround_387_53bit_ctx): Likewise.
3523         (libc_feholdsetround_sse_ctx): Likewise.
3524         (libc_feresetround_sse_ctx): Likewise.
3525         (libc_feresetround_387_ctx): Likewise.
3526         (libc_feupdateenv_387_ctx): Likewise.
3527         (libc_feholdexcept_setroundf_ctx): Define macro.
3528         (libc_fesetenvf_ctx): Likewise.
3529         (libc_feupdateenvf_ctx): Likewise.
3530         (libc_feholdsetroundf_ctx): Likewise.
3531         (libc_feresetroundf_ctx): Likewise.
3532         (libc_feholdexcept_setround_ctx): Likewise.
3533         (libc_fesetenv_ctx): Likewise.
3534         (libc_feupdateenv_ctx): Likewise.
3535         (libc_feholdsetround_ctx): Likewise.
3536         (libc_feresetround_ctx): Likewise.
3537         (libc_feholdexcept_setroundl_ctx): Likewise.
3538         (libc_feupdateenvl_ctx): Likewise.
3539         (libc_feholdsetroundl_ctx): Likewise.
3540         (libc_feresetroundl_ctx): Likewise.
3541         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3542         (libc_feresetround_53bit_ctx): Likewise.
3544 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3546         * locale/iso-639.def: Convert to UTF-8.
3548 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3550         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3551         (EXCEPTION_TESTS_double): Likewise.
3552         (EXCEPTION_TESTS_long_double): Likewise.
3553         (EXCEPTION_TESTS): Likewise.
3554         * math/libm-test.inc (test_exceptions): Only test exceptions if
3555         EXCEPTION_TESTS (FLOAT).
3557 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3559         * benchtests/Makefile (string-bench): Add strcpy_chk and
3560         stpcpy_chk.
3561         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3562         * benchtests/bench-stpcpy_chk.c: New file.
3563         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3564         * benchtests/bench-strcpy_chk.c: New file.
3565         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3566         code.
3567         (do_test): Likewise.
3569 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3571         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3572         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3573         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3574         with tabs where appropriate.
3575         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3576         dl-procinfo.h.
3577         [PPC_PLATFORM_PPC440]: Likewise.
3578         [PPC_PLATFORM_PPC464]: Likewise.
3579         [PPC_PLATFORM_PPC476]: Likewise.
3580         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3581         ppc464, and ppc476 platform strings merging from ports/
3582         dl-procinfo.h.
3584 2013-06-11  Andreas Schwab  <schwab@suse.de>
3586         [BZ #14991]
3587         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3588         (from_ucs4_idx): Regenerate.
3589         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3590         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3591         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3592         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3593         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3594         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3595         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3596         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3597         from FROM_LOOP and TO_LOOP specific macros.
3598         (BODY): Handle combining characters.
3599         * iconvdata/BIG5HKSCS.irreversible: Update.
3600         * iconvdata/BIG5HKSCS.precomposed: New file.
3601         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3602         characters.
3603         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3605 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3607         * include/sys/time.h: Fix indentation and add copyright header.
3609         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3610         (do_test): Likewise.
3611         * string/test-memchr.c (do_one_test): Likewise.
3612         (do_test): Likewise.
3613         * string/test-memcmp.c (do_one_test): Likewise.
3614         (do_test): Likewise.
3615         * string/test-memcpy.c (do_one_test): Likewise.
3616         (do_test): Likewise.
3617         * string/test-memmem.c (do_one_test): Likewise.
3618         (do_test): Likewise.
3619         (do_random_tests): Likewise.
3620         * string/test-memmove.c (do_one_test): Likewise.
3621         (do_test): Likewise.
3622         * string/test-memset.c (do_one_test): Likewise.
3623         (do_test): Likewise.
3624         * string/test-rawmemchr.c (do_one_test): Likewise.
3625         (do_test): Likewise.
3626         * string/test-strcasecmp.c (do_one_test): Likewise.
3627         (do_test): Likewise.
3628         * string/test-strcasestr.c (do_one_test): Likewise.
3629         (do_test): Likewise.
3630         * string/test-strcat.c (do_one_test): Likewise.
3631         (do_test): Likewise.
3632         * string/test-strchr.c (do_one_test): Likewise.
3633         (do_test): Likewise.
3634         * string/test-strcmp.c (do_one_test): Likewise.
3635         (do_test): Likewise.
3636         * string/test-strcpy.c (do_one_test): Likewise.
3637         (do_test): Likewise.
3638         * string/test-string.h: Likewise.
3639         (test_init): Likewise.
3640         * string/test-strlen.c (do_one_test): Likewise.
3641         (do_test): Likewise.
3642         * string/test-strncasecmp.c (do_one_test): Likewise.
3643         (do_test): Likewise.
3644         * string/test-strncat.c (do_one_test): Likewise.
3645         (do_test): Likewise.
3646         * string/test-strncmp.c (do_one_test): Likewise.
3647         (do_test_limit): Likewise.
3648         (do_test): Likewise.
3649         * string/test-strncpy.c (do_one_test): Likewise.
3650         (do_test): Likewise.
3651         * string/test-strnlen.c (do_one_test): Likewise.
3652         (do_test): Likewise.
3653         * string/test-strpbrk.c (do_one_test): Likewise.
3654         (do_test): Likewise.
3655         * string/test-strrchr.c (do_one_test): Likewise.
3656         (do_test): Likewise.
3657         * string/test-strspn.c (do_one_test): Likewise.
3658         (do_test): Likewise.
3659         * string/test-strstr.c (do_one_test): Likewise.
3660         (do_test): Likewise.
3662         * benchtests/Makefile (string-bench): Add string benchmarks.
3663         * benchtests/bench-bcopy-ifunc.c: New file.
3664         * benchtests/bench-bcopy.c: New file.
3665         * benchtests/bench-bzero-ifunc.c: New file.
3666         * benchtests/bench-bzero.c: New file.
3667         * benchtests/bench-memccpy-ifunc.c: New file.
3668         * benchtests/bench-memccpy.c: New file.
3669         * benchtests/bench-memchr-ifunc.c: New file.
3670         * benchtests/bench-memchr.c: New file.
3671         * benchtests/bench-memcmp-ifunc.c: New file.
3672         * benchtests/bench-memcmp.c: New file.
3673         * benchtests/bench-memmem-ifunc.c: New file.
3674         * benchtests/bench-memmem.c: New file.
3675         * benchtests/bench-memmove-ifunc.c: New file.
3676         * benchtests/bench-memmove.c: New file.
3677         * benchtests/bench-mempcpy-ifunc.c: New file.
3678         * benchtests/bench-mempcpy.c: New file.
3679         * benchtests/bench-memset-ifunc.c: New file.
3680         * benchtests/bench-memset.c: New file.
3681         * benchtests/bench-rawmemchr-ifunc.c: New file.
3682         * benchtests/bench-rawmemchr.c: New file.
3683         * benchtests/bench-stpcpy-ifunc.c: New file.
3684         * benchtests/bench-stpcpy.c: New file.
3685         * benchtests/bench-stpncpy-ifunc.c: New file.
3686         * benchtests/bench-stpncpy.c: New file.
3687         * benchtests/bench-strcasecmp-ifunc.c: New file.
3688         * benchtests/bench-strcasecmp.c: New file.
3689         * benchtests/bench-strcasestr-ifunc.c: New file.
3690         * benchtests/bench-strcasestr.c: New file.
3691         * benchtests/bench-strcat-ifunc.c: New file.
3692         * benchtests/bench-strcat.c: New file.
3693         * benchtests/bench-strchr-ifunc.c: New file.
3694         * benchtests/bench-strchr.c: New file.
3695         * benchtests/bench-strchrnul-ifunc.c: New file.
3696         * benchtests/bench-strchrnul.c: New file.
3697         * benchtests/bench-strcmp-ifunc.c: New file.
3698         * benchtests/bench-strcmp.c: New file.
3699         * benchtests/bench-strcpy-ifunc.c: New file.
3700         * benchtests/bench-strcpy.c: New file.
3701         * benchtests/bench-strcspn-ifunc.c: New file.
3702         * benchtests/bench-strcspn.c: New file.
3703         * benchtests/bench-strlen-ifunc.c: New file.
3704         * benchtests/bench-strlen.c: New file.
3705         * benchtests/bench-strncasecmp-ifunc.c: New file.
3706         * benchtests/bench-strncasecmp.c: New file.
3707         * benchtests/bench-strncat-ifunc.c: New file.
3708         * benchtests/bench-strncat.c: New file.
3709         * benchtests/bench-strncmp-ifunc.c: New file.
3710         * benchtests/bench-strncmp.c: New file.
3711         * benchtests/bench-strncpy-ifunc.c: New file.
3712         * benchtests/bench-strncpy.c: New file.
3713         * benchtests/bench-strnlen-ifunc.c: New file.
3714         * benchtests/bench-strnlen.c: New file.
3715         * benchtests/bench-strpbrk-ifunc.c: New file.
3716         * benchtests/bench-strpbrk.c: New file.
3717         * benchtests/bench-strrchr-ifunc.c: New file.
3718         * benchtests/bench-strrchr.c: New file.
3719         * benchtests/bench-strspn-ifunc.c: New file.
3720         * benchtests/bench-strspn.c: New file.
3721         * benchtests/bench-strstr-ifunc.c: New file.
3722         * benchtests/bench-strstr.c: New file.
3724         * benchtests/Makefile: Disable parallel execution of targets.
3725         (string-bench): Add memcpy.
3726         (benchset): New variable to store a list of benchmark sets.
3727         (bench-func): Renamed from bench.
3728         (bench-set): New target.
3729         (bench): Depend on bench-func and bench-set.
3730         * benchtests/README: Add section on benchmark sets.
3731         * benchtests/bench-memcpy-ifunc.c: New file.
3732         * benchtests/bench-memcpy.c: New file.
3733         * benchtests/bench-string.h: New file.
3735 2013-06-11  Andreas Schwab  <schwab@suse.de>
3737         [BZ #15577]
3738         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3739         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3740         values in the triple.
3741         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3742         terminator in the group key.
3744 2013-06-11  Andreas Jaeger  <aj@suse.de>
3746         * po/zh_TW.po: Update Chinese (traditional) translation from
3747         translation project.
3749 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3751         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3752         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3753         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3755         (clock_getcpuclockid): Likewise.
3756         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3757         Add weak_alias and libc_hidden_def.
3758         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3759         * rt/clock_gettime.c (clock_gettime): Rename to
3760         __clock_gettime.  Add weak_alias and libc_hidden_def.
3761         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3762         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3763         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3764         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3765         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3766         Likewise.
3767         * rt/clock_settime.c (clock_settime): Rename to
3768         __clock_settime.  Add weak_alias and libc_hidden_def.
3769         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3771 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3773         * mach/err_boot.sub: Remove trailing whitespace.
3774         * mach/err_ipc.sub: Likewise.
3775         * mach/err_mach.sub: Likewise.
3777         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3778         (ROUNDING_TESTS_double): Likewise.
3779         (ROUNDING_TESTS_long_double): Likewise.
3780         (ROUNDING_TESTS): Likewise.
3781         * math/libm-test.inc: Include <math-tests.h>.
3782         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3783         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3784         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3785         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3787 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3789         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3790         of assigning.
3792 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3794         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3795         otherwise empty TRANS lines.
3796         * sysdeps/gnu/errlist.c: Regenerated.
3798         * catgets/gencat.c (error_print): Use (void) in function
3799         definition.
3800         * crypt/crypt_util.c (__init_des): Likewise.
3801         * crypt/speeds.c (Stop): Likewise.
3802         (main): Likewise.
3803         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3804         * inet/ruserpass.c (token): Likewise.
3805         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3806         * intl/localealias.c (extend_alias_table): Likewise.
3807         * intl/plural-exp.c (init_germanic_plural): Likewise.
3808         * libio/fcloseall.c (__fcloseall): Likewise.
3809         * libio/genops.c (_IO_flush_all): Likewise.
3810         (_IO_flush_all_linebuffered): Likewise.
3811         (_IO_cleanup): Likewise.
3812         (_IO_iter_begin): Likewise.
3813         (_IO_iter_end): Likewise.
3814         (_IO_list_lock): Likewise.
3815         (_IO_list_unlock): Likewise.
3816         (_IO_list_resetlock): Likewise.
3817         * libio/getchar.c (getchar): Likewise.
3818         * libio/getchar_u.c (getchar_unlocked): Likewise.
3819         * libio/getwchar.c (getwchar): Likewise.
3820         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3821         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3822         * login/getpt.c (__getpt): Likewise.
3823         * login/tst-utmp.c (main): Likewise.
3824         * malloc/hooks.c (__malloc_check_init): Likewise.
3825         * malloc/malloc.c (__malloc_stats): Likewise.
3826         * malloc/mtrace.c (tr_break): Likewise.
3827         (mtrace): Likewise.
3828         (muntrace): Likewise.
3829         * misc/fstab.c (endfsent): Likewise.
3830         * misc/getclktck.c (__getclktck): Likewise.
3831         * misc/getdtsz.c (__getdtablesize): Likewise.
3832         * misc/gethostid.c (gethostid): Likewise.
3833         * misc/getpagesize.c (__getpagesize): Likewise.
3834         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3835         (__get_nprocs): Likewise.
3836         (__get_phys_pages): Likewise.
3837         (__get_avphys_pages): Likewise.
3838         * misc/getttyent.c (getttyent): Likewise.
3839         (setttyent): Likewise.
3840         (endttyent): Likewise.
3841         * misc/getusershell.c (getusershell): Likewise.
3842         (endusershell): Likewise.
3843         (setusershell): Likewise.
3844         (initshells): Likewise.
3845         * misc/hsearch.c (__hdestroy): Likewise.
3846         * misc/sync.c (sync): Likewise.
3847         * misc/syslog.c (closelog_internal): Likewise.
3848         (closelog): Likewise.
3849         * misc/ttyslot.c (ttyslot): Likewise.
3850         * misc/vhangup.c (vhangup): Likewise.
3851         * posix/fork.c (__fork): Likewise.
3852         * posix/getegid.c (__getegid): Likewise.
3853         * posix/geteuid.c (__geteuid): Likewise.
3854         * posix/getgid.c (__getgid): Likewise.
3855         * posix/getpid.c (__getpid): Likewise.
3856         * posix/getppid.c (__getppid): Likewise.
3857         * posix/getuid.c (__getuid): Likewise.
3858         * posix/pause.c (pause): Likewise.
3859         * posix/setpgrp.c (setpgrp): Likewise.
3860         * posix/setsid.c (__setsid): Likewise.
3861         * posix/test-vfork.c (noop): Likewise.
3862         * resolv/gethnamaddr.c (_endhtent): Likewise.
3863         (_gethtent): Likewise.
3864         (ht_endhostent): Likewise.
3865         (gethostent): Likewise.
3866         (dns_service): Likewise.
3867         * stdlib/drand48.c (drand48): Likewise.
3868         * stdlib/lrand48.c (lrand48): Likewise.
3869         * stdlib/mrand48.c (mrand48): Likewise.
3870         * stdlib/rand.c (rand): Likewise.
3871         * stdlib/random.c (__random): Likewise.
3872         * stdlib/setenv.c (clearenv): Likewise.
3873         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3874         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3875         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3876         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3877         (__get_nprocs): Likewise.
3878         (__get_phys_pages): Likewise.
3879         (__get_avphys_pages): Likewise.
3880         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3881         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3882         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3883         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3884         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3885         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3886         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3887         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3888         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3889         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3890         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3891         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3892         * sysdeps/posix/clock.c (clock): Likewise.
3893         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3894         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3895         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3896         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3897         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3899         (__get_nprocs_conf): Likewise.
3900         (__get_phys_pages): Likewise.
3901         (__get_avphys_pages): Likewise.
3902         * time/clock.c (clock): Likewise.
3903         * time/tzset.c (__tzname_max): Likewise.
3905 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3907         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3908         (__bswap_32): Do not use "register".
3909         * crypt/crypt.c (_ufc_doit_r): Likewise.
3910         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3911         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3912         * gmon/gmon.c (__monstartup): Likewise.
3913         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3914         * hurd/hurdmalloc.c (more_memory): Likewise.
3915         (malloc): Likewise.
3916         (free): Likewise.
3917         (realloc): Likewise.
3918         (malloc_fork_prepare): Likewise.
3919         (malloc_fork_parent): Likewise.
3920         (malloc_fork_child): Likewise.
3921         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3922         (_svcauth_des): Likewise.
3923         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3924         * inet/inet_net.c (inet_network): Likewise.
3925         * inet/inet_netof.c (inet_netof): Likewise.
3926         * inet/rcmd.c (__validuser2_sa): Likewise.
3927         * io/fts.c (fts_open): Likewise.
3928         (fts_load): Likewise.
3929         (fts_close): Likewise.
3930         (fts_read): Likewise.
3931         (fts_children): Likewise.
3932         (fts_build): Likewise.
3933         (fts_stat): Likewise.
3934         (fts_sort): Likewise.
3935         (fts_alloc): Likewise.
3936         (fts_lfree): Likewise.
3937         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3938         (_IO_file_xsgetn): Likewise.
3939         (_IO_file_xsgetn_mmap): Likewise.
3940         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3941         (_IO_cookie_write): Likewise.
3942         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3943         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3944         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3945         * malloc/obstack.c (_obstack_begin): Likewise.
3946         (_obstack_begin_1): Likewise.
3947         (_obstack_newchunk): Likewise.
3948         (_obstack_allocated_p): Likewise.
3949         (obstack_free): Likewise.
3950         (_obstack_memory_used): Likewise.
3951         * misc/getttyent.c (getttynam): Likewise.
3952         (getttyent): Likewise.
3953         (skip): Likewise.
3954         (value): Likewise.
3955         * misc/getusershell.c (initshells): Likewise.
3956         * misc/syslog.c (__vsyslog_chk): Likewise.
3957         * misc/ttyslot.c (ttyslot): Likewise.
3958         * nis/nis_hash.c (__nis_hash): Likewise.
3959         * posix/fnmatch_loop.c (FCT): Likewise.
3960         * posix/getconf.c (print_all): Likewise.
3961         (main): Likewise.
3962         * posix/getopt.c (exchange): Likewise.
3963         * posix/glob.c (globfree): Likewise.
3964         (prefix_array): Likewise.
3965         (__glob_pattern_type): Likewise.
3966         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3967         (NS_GET32): Likewise.
3968         (NS_PUT16): Likewise.
3969         (NS_PUT32): Likewise.
3970         * resolv/gethnamaddr.c (getanswer): Likewise.
3971         (gethostbyname2): Likewise.
3972         (gethostbyaddr): Likewise.
3973         (_gethtent): Likewise.
3974         (_gethtbyname2): Likewise.
3975         (_gethtbyaddr): Likewise.
3976         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3977         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3978         * resolv/res_init.c (__res_vinit): Likewise.
3979         (net_mask): Likewise.
3980         * resolv/res_mkquery.c (outchar): Likewise.
3981         (PRINT): Likewise.
3982         * stdio-common/printf_fp.c (outchar): Likewise.
3983         (PRINT): Likewise.
3984         * stdio-common/printf_fphex.c (outchar): Likewise.
3985         (PRINT): Likewise.
3986         * stdio-common/printf_size.c (outchar): Likewise.
3987         (PRINT): Likewise.
3988         * stdio-common/test_rdwr.c (main): Likewise.
3989         * stdio-common/tfformat.c (matches): Likewise.
3990         * stdio-common/vfprintf.c (outchar): Likewise.
3991         (printf_unknown): Likewise.
3992         (buffered_vfprintf): Likewise.
3993         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3994         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3995         (ReadFile): Likewise.
3996         * stdlib/qsort.c (SWAP): Likewise.
3997         (_quicksort): Likewise.
3998         * stdlib/setenv.c (__add_to_environ): Likewise.
3999         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4000         * stdlib/strtol_l.c (__strtol_l): Likewise.
4001         * stdlib/tst-strtod.c (main): Likewise.
4002         * stdlib/tst-strtol.c (main): Likewise.
4003         * stdlib/tst-strtoll.c (main): Likewise.
4004         * string/bits/string2.h (__strcmp_cc): Likewise.
4005         (__strcmp_cg): Likewise.
4006         (__strcspn_c1): Likewise.
4007         (__strcspn_c2): Likewise.
4008         (__strcspn_c3): Likewise.
4009         (__strspn_c1): Likewise.
4010         (__strspn_c2): Likewise.
4011         (__strspn_c3): Likewise.
4012         (__strsep_1c): Likewise.
4013         (__strsep_2c): Likewise.
4014         (__strsep_3c): Likewise.
4015         * string/memccpy.c (__memccpy): Likewise.
4016         * string/stpcpy.c (__stpcpy): Likewise.
4017         * string/strcmp.c (strcmp): Likewise.
4018         * string/strrchr.c (strrchr): Likewise.
4019         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4020         Likewise.
4021         * sysdeps/mach/hurd/getcwd.c
4022         (_hurd_canonicalize_directory_name_internal): Likewise.
4023         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4024         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4025         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4026         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4027         Likewise, in both definitions.
4028         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4029         definitions.
4030         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4031         64] (__bswap_64): Likewise.
4032         * time/test_time.c (main): Likewise.
4033         * time/tzfile.c (__tzfile_read): Likewise.
4034         (__tzfile_compute): Likewise.
4035         * time/tzset.c (__tzset_parse_tz): Likewise.
4036         (tzset_internal): Likewise.
4037         (compute_change): Likewise.
4038         * wcsmbs/wcscat.c (__wcscat): Likewise.
4039         * wcsmbs/wcschr.c (wcschr): Likewise.
4040         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4041         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4042         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4043         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4044         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4045         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4046         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4047         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4048         * wcsmbs/wmemset.c (wmemset): Likewise.
4050 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4052         * scripts/config.guess: Update to version 2013-05-16.
4053         * scripts/config.sub: Update to version 2013-04-24.
4054         * scripts/install-sh: Update to version 2011-11-20.07.
4055         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4056         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4058 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4060         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4061         * elf/sln.c: Likewise.
4062         * hurd/hurd/ioctl.h: Likewise.
4063         * hurd/hurdmalloc.c: Likewise.
4064         * hurd/xattr.c: Likewise.
4065         * include/shlib-compat.h: Likewise.
4066         * inet/ruserpass.c: Likewise.
4067         * libio/iofgets_u.c: Likewise.
4068         * libio/iofgetws_u.c: Likewise.
4069         * locale/programs/ld-identification.c: Likewise.
4070         * locale/programs/ld-time.c: Likewise.
4071         * mach/msg-destroy.c: Likewise.
4072         * nss/nss_files/files-netgrp.c: Likewise.
4073         * resolv/res_data.c: Likewise.
4074         * soft-fp/op-1.h: Likewise.
4075         * soft-fp/op-2.h: Likewise.
4076         * soft-fp/op-4.h: Likewise.
4077         * soft-fp/op-common.h: Likewise.
4078         * stdio-common/printf_fphex.c: Likewise.
4079         * stdlib/strtod_l.c: Likewise.
4080         * sunrpc/rpc/clnt.h: Likewise.
4081         * sysdeps/generic/framestate.c: Likewise.
4082         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4083         * sysdeps/i386/bsd-setjmp.S: Likewise.
4084         * sysdeps/i386/__longjmp.S: Likewise.
4085         * sysdeps/i386/setjmp.S: Likewise.
4086         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4087         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4088         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4089         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4091         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4092         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4093         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4094         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4095         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4096         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4097         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4098         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4102         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4103         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4104         * sysdeps/ieee754/support.c: Likewise.
4105         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4106         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4107         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4108         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4109         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4110         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4111         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4112         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4113         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4114         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4115         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4116         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4117         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4118         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4119         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4120         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4121         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4124 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4126         * posix/transbug.c: Remove executable mode.
4128 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4130         * crypt/speeds.c: Remove trailing whitespace.
4131         * dlfcn/default.c: Likewise.
4132         * elf/ifuncdep2.c: Likewise.
4133         * elf/ifuncmain1.c: Likewise.
4134         * elf/ifuncmain1vis.c: Likewise.
4135         * elf/testobj.h: Likewise.
4136         * elf/tst-stackguard1.c: Likewise.
4137         * gmon/sys/gmon.h: Likewise.
4138         * hurd/hurdmsg.c: Likewise.
4139         * hurd/new-fd.c: Likewise.
4140         * hurd/ports-get.c: Likewise.
4141         * iconvdata/ibm1008_420.c: Likewise.
4142         * inet/tst-getni1.c: Likewise.
4143         * inet/tst-getni2.c: Likewise.
4144         * libio/ioungetc.c: Likewise.
4145         * libio/wfiledoalloc.c: Likewise.
4146         * manual/libm-err-tab.pl: Likewise.
4147         * math/w_dremf.c: Likewise.
4148         * misc/ftruncate.c: Likewise.
4149         * posix/bug-glob2.c: Likewise.
4150         * posix/tst-pcre.c: Likewise.
4151         * posix/wait4.c: Likewise.
4152         * resolv/README: Likewise.
4153         * resolv/res_debug.h: Likewise.
4154         * resolv/tst-inet_ntop.c: Likewise.
4155         * setjmp/bug269-setjmp.c: Likewise.
4156         * soft-fp/extended.h: Likewise.
4157         * soft-fp/op-1.h: Likewise.
4158         * soft-fp/op-2.h: Likewise.
4159         * soft-fp/op-4.h: Likewise.
4160         * soft-fp/op-8.h: Likewise.
4161         * soft-fp/testit.c: Likewise.
4162         * stdio-common/bug16.c: Likewise.
4163         * stdlib/random.c: Likewise.
4164         * sunrpc/rpcsvc/rquota.x: Likewise.
4165         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4166         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4167         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4168         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4169         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4170         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4171         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4172         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4173         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4174         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4175         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4176         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4177         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4178         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4179         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4180         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4181         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4182         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4183         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4184         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4185         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4186         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4187         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4188         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4189         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4190         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4192         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4193         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4194         * sysdeps/ieee754/s_lib_version.c: Likewise.
4195         * sysdeps/mach/hurd/check_fds.c: Likewise.
4196         * sysdeps/mach/hurd/getsockname.c: Likewise.
4197         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4198         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4199         * sysdeps/powerpc/bits/link.h: Likewise.
4200         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4201         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4202         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4203         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4204         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4205         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4206         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4207         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4208         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4209         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4210         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4211         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4212         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4213         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4214         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4215         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4216         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4218         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4219         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4220         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4221         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4222         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4223         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4224         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4225         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4226         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4227         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4228         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4229         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4230         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4231         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4233         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4234         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4235         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4236         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4237         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4238         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4239         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4240         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4241         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4242         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4243         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4244         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4245         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4246         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4247         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4248         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4249         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4250         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4252         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4253         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4254         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4255         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4256         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4257         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4258         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4259         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4260         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4261         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4262         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4263         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4264         * sysdeps/powerpc/sysdep.h: Likewise.
4265         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4266         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4267         * sysdeps/sh/dl-trampoline.S: Likewise.
4268         * sysdeps/sh/memset.S: Likewise.
4269         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4270         * sysdeps/sh/strlen.S: Likewise.
4271         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4272         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4273         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4274         * sysdeps/sparc/sparc32/rem.S: Likewise.
4275         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4276         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4277         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4278         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4279         * sysdeps/sparc/sparc32/urem.S: Likewise.
4280         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4281         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4282         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4283         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4285         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4286         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4287         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4288         * sysdeps/unix/bsd/times.c: Likewise.
4289         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4290         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4294         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4295         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4296         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4297         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4298         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4299         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4300         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4301         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4302         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4303         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4304         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4305         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4306         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4307         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4308         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4309         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4310         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4311         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4312         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4313         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4314         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4315         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4316         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4317         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4318         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4319         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4320         * sysdeps/x86_64/strcspn.S: Likewise.
4322 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4324         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4325         generated file.  Regenerate properly from gen-translit.pl.
4326         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4327         locale/C-translit.h.
4329 2013-06-05  Andreas Schwab  <schwab@suse.de>
4331         [BZ #15100]
4332         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4333         week as 6 instead of -1.
4334         * time/tst-strptime.c (day_tests): Add test case.
4336 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4338         * sysdeps/generic/math_private.h
4339         (libc_feholdexcept_setround_53bit): Replace with
4340         libc_feholdsetround_53bit.
4341         (libc_feupdateenv_53bit): Replace with
4342         libc_feresetround_53bit.
4343         (SET_RESTORE_ROUND_53BIT): Adjust.
4345 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4347         * string/test-strchrnul.c: Add copyright header.
4349         * posix/tst-getaddrinfo4.c: Increase test timeout.
4351 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4353         [BZ #15536]
4354         * math/libm-test.inc (MAX_EXP): Remove
4355         (MIN_EXP): Define.
4356         (ulp): Use MIN_EXP - MANT_DIG.
4357         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4359 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4361         * po/be.po: Revert last change.
4362         * po/zh_CN.po: Likewise.
4363         * po/header.pot: Likewise.
4365 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4367         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4368         link-libc-deps to empty as target-specific variable.
4369         * Makerules (link-libc-args): New variable.
4370         (libc-for-link): Likewise.
4371         (link-libc-deps): Likewise.
4372         (lib%.so): Depend on $(link-libc-deps).  Link with
4373         $(link-libc-args).
4374         (build-module): Link with $(link-libc-args).
4375         (build-module-asneeded): Likewise.
4376         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4377         list of objects.
4378         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4379         target-specific variable.
4380         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4381         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4382         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4383         libc.
4384         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4385         libc and ld.so.
4386         ($(objpfx)libpcprofile.so): Likewise.
4387         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4388         libc_nonshared.a.
4389         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4390         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4391         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4392         $(link-libc-deps).
4393         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4394         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4395         * login/Makefile ($(objpfx)libutil.so): Likewise.
4396         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4397         * math/Makefile ($(objpfx)libm.so): Likewise.
4398         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4399         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4400         variable instead of depending directly on libc.
4401         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4402         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4403         $(link-libc-deps).
4404         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4405         libc.
4406         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4407         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4408         ($(objpfx)libanl.so): Likewise.
4409         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4410         ld.so.
4411         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4412         $(link-libc-deps).
4413         * sysdeps/i386/fpu/Makefile: Remove file.
4414         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4415         ($(objpfx)libm.so): Remove dependency on ld.so.
4417 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4419         [BZ # 15553]
4420         * nis/yp_xdr.c (XDRMAXNAME): Define.
4421         (XDRMAXRECORD): Define.
4422         (xdr_domainname): Use XDRMAXNAME.
4423         (xdr_mapname): Likewise.
4424         (xdr_peername): Likewise.
4425         (xdr_keydat): Use XDRMAXRECORD.
4426         (xdr_valdat): Likewise.
4428 2013-05-30  Jeff Law  <law@redhat.com>
4430         [BZ #14256]
4431         * manual/errno.texi (ESTALE): Update to account for more than
4432         just NFS file systems.
4433         * sysdeps/gnu/errlist.c: Regenerated.
4435 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4437         [BZ #15465]
4438         * elf/Makefile (tests): Add tst-null-argv.
4439         (modules-names):  Add tst-null-argv-lib.
4440         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4441         (tst-null-argv-ENV): Set environment for tst-null-argv.
4442         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4443         (RTLD_PROGNAME): New macro.
4444         * elf/tst-null-argv.c: New test case.
4445         * elf/tst-null-argv-lib.c: Library for test case.
4446         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4447         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4448         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4449         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4450         * elf/dl-init.c (call_init): Likewise.
4451         (_dl_init): Likewise.
4452         * elf/dl-load.c (print_search_path): Likewise.
4453         (_dl_map_object): Likewise.
4454         * elf/dl-lookup.c (do_lookup_x): Likewise.
4455         (add_dependency): Likewise.
4456         (_dl_lookup_symbol_x): Likewise.
4457         (_dl_debug_bindings): Likewise.
4458         * elf/dl-open.c (_dl_show_scope): Likewise.
4459         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4460         * elf/dl-version.c (match_symbol): Likewise.
4461         (_dl_check_map_versions): Likewise.
4462         * elf/rtld.c (dl_main): Likewise.
4463         (print_unresolved): Use RTLD_PROGNAME.
4464         (print_missing_version): Likewise.
4465         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4466         (elf_machine_rela): Likewise.
4467         * sysdeps/powerpc/powerpc32/dl-machine.c
4468         (__process_machine_rela): Likewise.
4469         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4470         Likewise.
4471         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4472         Likewise.
4473         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4474         Likewise.
4475         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4476         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4477         Likewise.
4478         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4479         Likewise.
4480         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4482 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4484         * po/be.po: Add descriptive title.
4485         * po/zh_CN.po: Likewise.
4486         * po/header.pot: Likewise.
4488 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4490         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4491         error message.
4492         (enlarge_archive): Likewise.
4494 2013-05-28  Ben North  <ben@redfrontdoor.org>
4496         * manual/arith.texi (frexp): It is the magnitude of the return
4497         value which lies in [0.5, 1), not the return value itself.
4499 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4503 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4505         * stdio-common/bug26.c (main): Correct fscanf template.
4507         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4508         declare _dl_skip_args.
4510         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4511         Don't declare.
4513         * manual/platform.texi: Add missing @end deftypefun.
4515 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4517         [BZ #15529]
4518         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4519         bit of mantissa of 2^16382.
4520         * math/libm-test.inc (hypot_test_data): Add more tests.
4522         * math/libm-test.inc: Add drem and pow10 to list of tested
4523         functions.
4524         (pow10_test): New function.
4525         (drem_test): Likewise.
4526         (drem_test_tonearest): Likewise.
4527         (drem_test_towardzero): Likewise.
4528         (drem_test_downward): Likewise.
4529         (drem_test_upward): Likewise.
4530         (main): Call the new functions.
4532         * math/libm-test.inc (finite_test_data): Remove.
4533         (finite_test): Run tests from isfinite_test_data.
4534         (gamma_test_data): Remove.
4535         (gamma_test): Run tests from lgamma_test_data.
4536         * sysdeps/i386/fpu/libm-test-ulps: Update.
4537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4539 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4541         * manual/platform.texi: Add PowerPC PPR function set documentation.
4542         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4543         implementation.
4545 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4547         * math/libm-test.inc (MAX_EXP): Define.
4548         (ULPDIFF): Define.
4549         (ulp): New function.
4550         (check_float_internal): Use ULPDIFF.
4551         (cpow_test): Disable failing test.
4552         (check_ulp): Test ulp() implemetnation.
4553         (main): Call check_ulp before starting tests.
4555 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4557         * math/gen-libm-test.pl (generate_testfile): Do not handle
4558         START_DATA and END_DATA.
4559         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4560         END_DATA.
4561         (acos_tonearest_test_data): Likewise.
4562         (acos_towardzero_test_data): Likewise.
4563         (acos_downward_test_data): Likewise.
4564         (acos_upward_test_data): Likewise.
4565         (acosh_test_data): Likewise.
4566         (asin_test_data): Likewise.
4567         (asin_tonearest_test_data): Likewise.
4568         (asin_towardzero_test_data): Likewise.
4569         (asin_downward_test_data): Likewise.
4570         (asin_upward_test_data): Likewise.
4571         (asinh_test_data): Likewise.
4572         (atan_test_data): Likewise.
4573         (atanh_test_data): Likewise.
4574         (atan2_test_data): Likewise.
4575         (cabs_test_data): Likewise.
4576         (cacos_test_data): Likewise.
4577         (cacosh_test_data): Likewise.
4578         (carg_test_data): Likewise.
4579         (casin_test_data): Likewise.
4580         (casinh_test_data): Likewise.
4581         (catan_test_data): Likewise.
4582         (catanh_test_data): Likewise.
4583         (cbrt_test_data): Likewise.
4584         (ccos_test_data): Likewise.
4585         (ccosh_test_data): Likewise.
4586         (ceil_test_data): Likewise.
4587         (cexp_test_data): Likewise.
4588         (cimag_test_data): Likewise.
4589         (clog_test_data): Likewise.
4590         (clog10_test_data): Likewise.
4591         (conj_test_data): Likewise.
4592         (copysign_test_data): Likewise.
4593         (cos_test_data): Likewise.
4594         (cos_tonearest_test_data): Likewise.
4595         (cos_towardzero_test_data): Likewise.
4596         (cos_downward_test_data): Likewise.
4597         (cos_upward_test_data): Likewise.
4598         (cosh_test_data): Likewise.
4599         (cosh_tonearest_test_data): Likewise.
4600         (cosh_towardzero_test_data): Likewise.
4601         (cosh_downward_test_data): Likewise.
4602         (cosh_upward_test_data): Likewise.
4603         (cpow_test_data): Likewise.
4604         (cproj_test_data): Likewise.
4605         (creal_test_data): Likewise.
4606         (csin_test_data): Likewise.
4607         (csinh_test_data): Likewise.
4608         (csqrt_test_data): Likewise.
4609         (ctan_test_data): Likewise.
4610         (ctan_tonearest_test_data): Likewise.
4611         (ctan_towardzero_test_data): Likewise.
4612         (ctan_downward_test_data): Likewise.
4613         (ctan_upward_test_data): Likewise.
4614         (ctanh_test_data): Likewise.
4615         (ctanh_tonearest_test_data): Likewise.
4616         (ctanh_towardzero_test_data): Likewise.
4617         (ctanh_downward_test_data): Likewise.
4618         (ctanh_upward_test_data): Likewise.
4619         (erf_test_data): Likewise.
4620         (erfc_test_data): Likewise.
4621         (exp_test_data): Likewise.
4622         (exp_tonearest_test_data): Likewise.
4623         (exp_towardzero_test_data): Likewise.
4624         (exp_downward_test_data): Likewise.
4625         (exp_upward_test_data): Likewise.
4626         (exp10_test_data): Likewise.
4627         (exp2_test_data): Likewise.
4628         (expm1_test_data): Likewise.
4629         (fabs_test_data): Likewise.
4630         (fdim_test_data): Likewise.
4631         (finite_test_data): Likewise.
4632         (floor_test_data): Likewise.
4633         (fma_test_data): Likewise.
4634         (fma_towardzero_test_data): Likewise.
4635         (fma_downward_test_data): Likewise.
4636         (fma_upward_test_data): Likewise.
4637         (fmax_test_data): Likewise.
4638         (fmin_test_data): Likewise.
4639         (fmod_test_data): Likewise.
4640         (fpclassify_test_data): Likewise.
4641         (frexp_test_data): Likewise.
4642         (gamma_test_data): Likewise.
4643         (hypot_test_data): Likewise.
4644         (ilogb_test_data): Likewise.
4645         (isfinite_test_data): Likewise.
4646         (isgreater_test_data): Likewise.
4647         (isgreaterequal_test_data): Likewise.
4648         (isinf_test_data): Likewise.
4649         (isless_test_data): Likewise.
4650         (islessequal_test_data): Likewise.
4651         (islessgreater_test_data): Likewise.
4652         (isnan_test_data): Likewise.
4653         (isnormal_test_data): Likewise.
4654         (issignaling_test_data): Likewise.
4655         (isunordered_test_data): Likewise.
4656         (j0_test_data): Likewise.
4657         (j1_test_data): Likewise.
4658         (jn_test_data): Likewise.
4659         (ldexp_test_data): Likewise.
4660         (lgamma_test_data): Likewise.
4661         (lrint_test_data): Likewise.
4662         (lrint_tonearest_test_data): Likewise.
4663         (lrint_towardzero_test_data): Likewise.
4664         (lrint_downward_test_data): Likewise.
4665         (lrint_upward_test_data): Likewise.
4666         (llrint_test_data): Likewise.
4667         (llrint_tonearest_test_data): Likewise.
4668         (llrint_towardzero_test_data): Likewise.
4669         (llrint_downward_test_data): Likewise.
4670         (llrint_upward_test_data): Likewise.
4671         (log_test_data): Likewise.
4672         (log10_test_data): Likewise.
4673         (log1p_test_data): Likewise.
4674         (log2_test_data): Likewise.
4675         (logb_test_data): Likewise.
4676         (logb_downward_test_data): Likewise.
4677         (lround_test_data): Likewise.
4678         (llround_test_data): Likewise.
4679         (modf_test_data): Likewise.
4680         (nearbyint_test_data): Likewise.
4681         (nextafter_test_data): Likewise.
4682         (nexttoward_test_data): Likewise.
4683         (pow_test_data): Likewise.
4684         (pow_tonearest_test_data): Likewise.
4685         (pow_towardzero_test_data): Likewise.
4686         (pow_downward_test_data): Likewise.
4687         (pow_upward_test_data): Likewise.
4688         (remainder_test_data): Likewise.
4689         (remainder_tonearest_test_data): Likewise.
4690         (remainder_towardzero_test_data): Likewise.
4691         (remainder_downward_test_data): Likewise.
4692         (remainder_upward_test_data): Likewise.
4693         (remquo_test_data): Likewise.
4694         (rint_test_data): Likewise.
4695         (rint_tonearest_test_data): Likewise.
4696         (rint_towardzero_test_data): Likewise.
4697         (rint_downward_test_data): Likewise.
4698         (rint_upward_test_data): Likewise.
4699         (round_test_data): Likewise.
4700         (scalb_test_data): Likewise.
4701         (scalbn_test_data): Likewise.
4702         (scalbln_test_data): Likewise.
4703         (signbit_test_data): Likewise.
4704         (sin_test_data): Likewise.
4705         (sin_tonearest_test_data): Likewise.
4706         (sin_towardzero_test_data): Likewise.
4707         (sin_downward_test_data): Likewise.
4708         (sin_upward_test_data): Likewise.
4709         (sincos_test_data): Likewise.
4710         (sinh_test_data): Likewise.
4711         (sinh_tonearest_test_data): Likewise.
4712         (sinh_towardzero_test_data): Likewise.
4713         (sinh_downward_test_data): Likewise.
4714         (sinh_upward_test_data): Likewise.
4715         (sqrt_test_data): Likewise.
4716         (tan_test_data): Likewise.
4717         (tan_tonearest_test_data): Likewise.
4718         (tan_towardzero_test_data): Likewise.
4719         (tan_downward_test_data): Likewise.
4720         (tan_upward_test_data): Likewise.
4721         (tanh_test_data): Likewise.
4722         (tgamma_test_data): Likewise.
4723         (trunc_test_data): Likewise.
4724         (y0_test_data): Likewise.
4725         (y1_test_data): Likewise.
4726         (yn_test_data): Likewise.
4727         (significand_test_data): Likewise.
4729         * math/gen-libm-test.pl (@functions): Remove variable.
4730         (generate_testfile): Don't handle START and END lines.
4731         * math/libm-test.inc (START): New macro.
4732         (END): Likewise.
4733         (END_COMPLEX): Likewise.
4734         (acos_test): Use END macro without arguments.
4735         (acos_test_tonearest): Likewise.
4736         (acos_test_towardzero): Likewise.
4737         (acos_test_downward): Likewise.
4738         (acos_test_upward): Likewise.
4739         (acosh_test): Likewise.
4740         (asin_test): Likewise.
4741         (asin_test_tonearest): Likewise.
4742         (asin_test_towardzero): Likewise.
4743         (asin_test_downward): Likewise.
4744         (asin_test_upward): Likewise.
4745         (asinh_test): Likewise.
4746         (atan_test): Likewise.
4747         (atanh_test): Likewise.
4748         (atan2_test): Likewise.
4749         (cabs_test): Likewise.
4750         (cacos_test): Use END_COMPLEX macro without arguments.
4751         (cacosh_test): Likewise.
4752         (carg_test): Use END macro without arguments.
4753         (casin_test): Use END_COMPLEX macro without arguments.
4754         (casinh_test): Likewise.
4755         (catan_test): Likewise.
4756         (catanh_test): Likewise.
4757         (cbrt_test): Use END macro without arguments.
4758         (ccos_test): Use END_COMPLEX macro without arguments.
4759         (ccosh_test): Likewise.
4760         (ceil_test): Use END macro without arguments.
4761         (cexp_test): Use END_COMPLEX macro without arguments.
4762         (cimag_test): Use END macro without arguments.
4763         (clog_test): Use END_COMPLEX macro without arguments.
4764         (clog10_test): Likewise.
4765         (conj_test): Likewise.
4766         (copysign_test): Use END macro without arguments.
4767         (cos_test): Likewise.
4768         (cos_test_tonearest): Likewise.
4769         (cos_test_towardzero): Likewise.
4770         (cos_test_downward): Likewise.
4771         (cos_test_upward): Likewise.
4772         (cosh_test): Likewise.
4773         (cosh_test_tonearest): Likewise.
4774         (cosh_test_towardzero): Likewise.
4775         (cosh_test_downward): Likewise.
4776         (cosh_test_upward): Likewise.
4777         (cpow_test): Use END_COMPLEX macro without arguments.
4778         (cproj_test): Likewise.
4779         (creal_test): Use END macro without arguments.
4780         (csin_test): Use END_COMPLEX macro without arguments.
4781         (csinh_test): Likewise.
4782         (csqrt_test): Likewise.
4783         (ctan_test): Likewise.
4784         (ctan_test_tonearest): Likewise.
4785         (ctan_test_towardzero): Likewise.
4786         (ctan_test_downward): Likewise.
4787         (ctan_test_upward): Likewise.
4788         (ctanh_test): Likewise.
4789         (ctanh_test_tonearest): Likewise.
4790         (ctanh_test_towardzero): Likewise.
4791         (ctanh_test_downward): Likewise.
4792         (ctanh_test_upward): Likewise.
4793         (erf_test): Use END macro without arguments.
4794         (erfc_test): Likewise.
4795         (exp_test): Likewise.
4796         (exp_test_tonearest): Likewise.
4797         (exp_test_towardzero): Likewise.
4798         (exp_test_downward): Likewise.
4799         (exp_test_upward): Likewise.
4800         (exp10_test): Likewise.
4801         (exp2_test): Likewise.
4802         (expm1_test): Likewise.
4803         (fabs_test): Likewise.
4804         (fdim_test): Likewise.
4805         (finite_test): Likewise.
4806         (floor_test): Likewise.
4807         (fma_test): Likewise.
4808         (fma_test_towardzero): Likewise.
4809         (fma_test_downward): Likewise.
4810         (fma_test_upward): Likewise.
4811         (fmax_test): Likewise.
4812         (fmin_test): Likewise.
4813         (fmod_test): Likewise.
4814         (fpclassify_test): Likewise.
4815         (frexp_test): Likewise.
4816         (gamma_test): Likewise.
4817         (hypot_test): Likewise.
4818         (ilogb_test): Likewise.
4819         (isfinite_test): Likewise.
4820         (isgreater_test): Likewise.
4821         (isgreaterequal_test): Likewise.
4822         (isinf_test): Likewise.
4823         (isless_test): Likewise.
4824         (islessequal_test): Likewise.
4825         (islessgreater_test): Likewise.
4826         (isnan_test): Likewise.
4827         (isnormal_test): Likewise.
4828         (issignaling_test): Likewise.
4829         (isunordered_test): Likewise.
4830         (j0_test): Likewise.
4831         (j1_test): Likewise.
4832         (jn_test): Likewise.
4833         (ldexp_test): Likewise.
4834         (lgamma_test): Likewise.
4835         (lrint_test): Likewise.
4836         (lrint_test_tonearest): Likewise.
4837         (lrint_test_towardzero): Likewise.
4838         (lrint_test_downward): Likewise.
4839         (lrint_test_upward): Likewise.
4840         (llrint_test): Likewise.
4841         (llrint_test_tonearest): Likewise.
4842         (llrint_test_towardzero): Likewise.
4843         (llrint_test_downward): Likewise.
4844         (llrint_test_upward): Likewise.
4845         (log_test): Likewise.
4846         (log10_test): Likewise.
4847         (log1p_test): Likewise.
4848         (log2_test): Likewise.
4849         (logb_test): Likewise.
4850         (logb_test_downward): Likewise.
4851         (lround_test): Likewise.
4852         (llround_test): Likewise.
4853         (modf_test): Likewise.
4854         (nearbyint_test): Likewise.
4855         (nextafter_test): Likewise.
4856         (nexttoward_test): Likewise.
4857         (pow_test): Likewise.
4858         (pow_test_tonearest): Likewise.
4859         (pow_test_towardzero): Likewise.
4860         (pow_test_downward): Likewise.
4861         (pow_test_upward): Likewise.
4862         (remainder_test): Likewise.
4863         (remainder_test_tonearest): Likewise.
4864         (remainder_test_towardzero): Likewise.
4865         (remainder_test_downward): Likewise.
4866         (remainder_test_upward): Likewise.
4867         (remquo_test): Likewise.
4868         (rint_test): Likewise.
4869         (rint_test_tonearest): Likewise.
4870         (rint_test_towardzero): Likewise.
4871         (rint_test_downward): Likewise.
4872         (rint_test_upward): Likewise.
4873         (round_test): Likewise.
4874         (scalb_test): Likewise.
4875         (scalbn_test): Likewise.
4876         (scalbln_test): Likewise.
4877         (signbit_test): Likewise.
4878         (sin_test): Likewise.
4879         (sin_test_tonearest): Likewise.
4880         (sin_test_towardzero): Likewise.
4881         (sin_test_downward): Likewise.
4882         (sin_test_upward): Likewise.
4883         (sincos_test): Likewise.
4884         (sinh_test): Likewise.
4885         (sinh_test_tonearest): Likewise.
4886         (sinh_test_towardzero): Likewise.
4887         (sinh_test_downward): Likewise.
4888         (sinh_test_upward): Likewise.
4889         (sqrt_test): Likewise.
4890         (tan_test): Likewise.
4891         (tan_test_tonearest): Likewise.
4892         (tan_test_towardzero): Likewise.
4893         (tan_test_downward): Likewise.
4894         (tan_test_upward): Likewise.
4895         (tanh_test): Likewise.
4896         (tgamma_test): Likewise.
4897         (trunc_test): Likewise.
4898         (y0_test): Likewise.
4899         (y1_test): Likewise.
4900         (yn_test): Likewise.
4901         (significand_test): Likewise.
4903 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4905         [BZ #15381]
4906         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4908 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4910         [BZ #14894]
4911         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4912         __ppc_mdoio and __ppc_mdoom.
4913         * manual/platform.texi: Document new functions __ppc_yield,
4914         __ppc_mdoio and __ppc_mdoom.
4916 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4918         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4919         (main): Mention "tls" pseudo-hwcap is legacy.
4920         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4922 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4924         * math/gen-libm-test.pl (parse_args): Output only string of
4925         arguments as text for test name, not full call or descriptions of
4926         tests for extra outputs.
4927         (generate_testfile): Do not pass function name to parse_args.
4928         Generate this_func variable from START.
4929         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4930         field to arg_str.
4931         (struct test_ff_f_data): Likewise.
4932         (test_ff_f_data_nexttoward): Likewise.
4933         (struct test_fi_f_data): Likewise.
4934         (struct test_fl_f_data): Likewise.
4935         (struct test_if_f_data): Likewise.
4936         (struct test_fff_f_data): Likewise.
4937         (struct test_c_f_data): Likewise.
4938         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4939         (struct test_fF_f1_data): Likewise.
4940         (struct test_ffI_f1_data): Likewise.
4941         (struct test_c_c_data): Rename test_name field to arg_str.
4942         (struct test_cc_c_data): Likewise.
4943         (struct test_f_i_data): Likewise.
4944         (struct test_ff_i_data): Likewise.
4945         (struct test_f_l_data): Likewise.
4946         (struct test_f_L_data): Likewise.
4947         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4948         and extra2_name.
4949         (COMMON_TEST_SETUP): New macro.
4950         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4951         (COMMON_TEST_CLEANUP): Likewise.
4952         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4953         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4954         macros.
4955         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4956         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4957         macros.
4958         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4959         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4960         cleanup macros.
4961         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4962         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4963         macros.
4964         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4965         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4966         macros.
4967         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4968         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4969         cleanup macros.
4970         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4971         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4972         cleanup macros.
4973         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4974         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4975         cleanup macros.
4976         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4977         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4978         macros.
4979         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4980         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4981         macros.
4982         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4983         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4984         macros.
4985         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4986         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4987         cleanup macros.
4988         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4989         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4990         cleanup macros.
4991         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4992         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4993         macros.
4994         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4995         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4996         cleanup macros.
4997         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4998         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4999         macros.
5000         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5001         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5002         macros.
5003         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5004         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5005         cleanup macros.
5006         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5008 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5010         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5011         to _sifields.sigfault.
5012         (si_addr_lsb): Define new macro.
5013         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5014         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5015         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5017 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5019         [BZ #15441]
5020         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5021         returns -1.
5022         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5023         null return -1.
5024         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5025         loading the domain.
5027 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5029         * math/gen-libm-test.pl (parse_args): Do not include expected
5030         result in test name.
5031         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5032         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5033         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5034         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5035         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5038 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5040         * benchtests/Makefile: Sort function entries.
5042         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5043         tanh, asinh, acosh, atanh.
5044         * benchtests/acos-inputs: New file.
5045         * benchtests/acosh-inputs: New file.
5046         * benchtests/asin-inputs: New file.
5047         * benchtests/asinh-inputs: New file.
5048         * benchtests/atanh-inputs: New file.
5049         * benchtests/cosh-inputs: New file.
5050         * benchtests/log-inputs: New file.
5051         * benchtests/sinh-inputs: New file.
5052         * benchtests/tanh-inputs: New file.
5054 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5056         [BZ #15339]
5057         * posix/tst-getaddrinfo4.c: New test.
5058         * posix/Makefile (tests): Add it.
5060 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5062         [BZ #15339]
5063         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5064         when no services were used.
5065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5066         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5068 2013-05-21  Andreas Schwab  <schwab@suse.de>
5070         [BZ #15014]
5071         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5072         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5073         successful.
5074         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5075         redundant variable declarations and reallocation of buffer when
5076         parsing as IPv6 address.  Always set NSS status when called from
5077         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5078         buffer too small.  Correct computation of needed size.
5079         * nss/Makefile (tests): Add test-digits-dots.
5080         * nss/test-digits-dots.c: New test.
5082 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5084         * benchtests/Makefile: Remove instructions for adding
5085         benchmark tests.
5086         * benchtests/README: New file to explain how to execute and
5087         enhance the benchmark tests.
5089 2013-05-21  Andreas Schwab  <schwab@suse.de>
5091         [BZ #15493]
5092         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5093         * setjmp/tst-sigsetjmp.c: New test.
5095 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5097         * sysdeps/x86_64/memset.S (memset): New implementation.
5098         (__bzero): Likewise.
5099         (__memset_tail): New function.
5101 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5103         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5104         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5105         __memcpy_sse2_unaligned ifunc selection.
5106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5107         Add memcpy-sse2-unaligned.S.
5108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5109         Add: __memcpy_sse2_unaligned.
5111 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5113         [BZ #15490]
5114         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5115         math_force_eval before restoring floating-point envrionment.
5116         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5117         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5118         Likewise.
5119         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5120         <math_private.h>.
5121         (__nearbyintl): Use math_force_eval before restoring
5122         floating-point environment.
5123         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5125         * math/gen-libm-test.pl (special_functions): Remove.
5126         (parse_args): Don't handle TEST_extra.  Handle functions with no
5127         return value.
5128         * math/libm-test.inc (struct test_sincos_data): Replace with
5129         struct test_fFF_11_data.
5130         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5131         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5132         (sincos_test_data): Change element type to struct
5133         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5134         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5135         RUN_TEST_LOOP_sincos.
5136         * math/README.libm-test: Don't mention special handling of
5137         individual functions.
5138         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5139         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5140         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5141         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5142         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5145         * math/gen-libm-test.pl (get_variable): Remove function.
5146         (parse_args): Don't show pointer parameters to call in test
5147         names.  Use "extra output N" in test names for extra outputs
5148         rather than naming variables.
5150 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5152         [BZ #15488]
5153         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5154         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5155         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5156         double tests.
5157         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5158         disable.
5159         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5160         check_long_double.
5162         * math/gen-libm-test.pl (@tests): Remove variable.
5163         ($count): Likewise.
5164         (new_test): Remove function.
5165         (show_exceptions): New function.
5166         (special_functions): Use show_exceptions instead of new_test.
5167         (parse_args): Likewise.
5168         (generate_testfile): Pass only function name in generated call to
5169         print_max_error or print_complex_max_error.
5170         (get_ulps): Do not handle complex tests specially.
5171         (output_test): Rename to ...
5172         (get_all_ulps_for_test): ... this.  Return a string rather than
5173         printing to a file.  Require ulps to be present.
5174         (output_ulps): Generate arrays rather than #defines.
5175         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5176         (struct ulp_data): New type.
5177         (BUILD_COMPLEX_ULP): Remove macro.
5178         (compare_ulp_data): New function.
5179         (find_ulps): Likewise.
5180         (find_test_ulps): Likewise.
5181         (find_function_ulps): Likewise.
5182         (find_complex_function_ulps): Likewise.
5183         (print_max_error): Determine allowed ulps using
5184         find_function_ulps.
5185         (print_complex_max_error): Determine allowed ulps using
5186         find_complex_function_ulps.
5187         (check_float_internal): Determine max ulps using find_test_ulps.
5188         (check_float): Do not take max_ulp parameter.  Update call to
5189         check_float_internal.
5190         (check_complex): Likewise.
5191         (check_int): Do not take max_ulp parameter.
5192         (check_long): Likewise.
5193         (check_bool): Likewise.
5194         (check_longlong): Likewise.
5195         (struct test_f_f_data): Remove max_ulp field.
5196         (struct test_ff_f_data): Likewise.
5197         (struct test_ff_f_data_nexttoward): Likewise.
5198         (struct test_fi_f_data): Likewise.
5199         (struct test_fl_f_data): Likewise.
5200         (struct test_if_f_data): Likewise.
5201         (struct test_fff_f_data): Likewise.
5202         (struct test_c_f_data): Likewise.
5203         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5204         (struct test_fF_f1_data): Likewise.
5205         (struct test_ffI_f1_data): Likewise.
5206         (struct test_c_c_data): Remove max_ulp field.
5207         (struct test_cc_c_data): Likewise.
5208         (struct test_f_i_data): Likewise.
5209         (struct test_ff_i_data): Likewise.
5210         (struct test_f_l_data): Likewise.
5211         (struct test_f_L_data): Likewise.
5212         (struct test_sincos_data): Likewise.
5213         (RUN_TEST_f_f): Do not handle ulps.
5214         (RUN_TEST_LOOP_f_f): Likewise.
5215         (RUN_TEST_2_f): Likewise.
5216         (RUN_TEST_LOOP_2_f): Likewise.
5217         (RUN_TEST_fff_f): Likewise.
5218         (RUN_TEST_LOOP_fff_f): Likewise.
5219         (RUN_TEST_c_f): Likewise.
5220         (RUN_TEST_LOOP_c_f): Likewise.
5221         (RUN_TEST_f_f1): Likewise.
5222         (RUN_TEST_LOOP_f_f1): Likewise.
5223         (RUN_TEST_fF_f1): Likewise.
5224         (RUN_TEST_LOOP_fF_f1): Likewise.
5225         (RUN_TEST_fI_f1): Likewise.
5226         (RUN_TEST_LOOP_fI_f1): Likewise.
5227         (RUN_TEST_ffI_f1): Likewise.
5228         (RUN_TEST_LOOP_ffI_f1): Likewise.
5229         (RUN_TEST_c_c): Likewise.
5230         (RUN_TEST_LOOP_c_c): Likewise.
5231         (RUN_TEST_cc_c): Likewise.
5232         (RUN_TEST_LOOP_cc_c): Likewise.
5233         (RUN_TEST_f_i): Likewise.
5234         (RUN_TEST_LOOP_f_i): Likewise.
5235         (RUN_TEST_f_i_tg): Likewise.
5236         (RUN_TEST_LOOP_f_i_tg): Likewise.
5237         (RUN_TEST_ff_i_tg): Likewise.
5238         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5239         (RUN_TEST_f_b): Likewise.
5240         (RUN_TEST_LOOP_f_b): Likewise.
5241         (RUN_TEST_f_b_tg): Likewise.
5242         (RUN_TEST_LOOP_f_b_tg): Likewise.
5243         (RUN_TEST_f_l): Likewise.
5244         (RUN_TEST_LOOP_f_l): Likewise.
5245         (RUN_TEST_f_L): Likewise.
5246         (RUN_TEST_LOOP_f_L): Likewise.
5247         (RUN_TEST_sincos): Likewise.
5248         (RUN_TEST_LOOP_sincos): Likewise.
5250 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5252         [BZ #15480]
5253         [BZ #15485]
5254         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5255         main case of finite arguments, set rounding mode to FE_TONEAREST
5256         and discard exceptions.
5257         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5258         exceptions.
5259         (remainder_tonearest_test_data): New variable.
5260         (remainder_test_tonearest): New function.
5261         (remainder_towardzero_test_data): New variable.
5262         (remainder_test_towardzero): New function.
5263         (remainder_downward_test_data): New variable.
5264         (remainder_test_downward): New function.
5265         (remainder_upward_test_data): New variable.
5266         (remainder_test_upward): New function.
5267         (main): Call the new test functions.
5269         * math/libm-test.inc (struct test_f_f1_data): Remove field
5270         extra_init.
5271         (struct test_fF_f1_data): Likewise.
5272         (struct test_ffI_f1_data): Likewise.
5273         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5274         based on value of EXTRA_EXPECTED.
5275         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5276         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5277         EXTRA_VAR based on value of EXTRA_EXPECTED.
5278         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5279         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5280         EXTRA_VAR based on value of EXTRA_EXPECTED.
5281         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5282         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5283         EXTRA_VAR based on value of EXTRA_EXPECTED.
5284         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5285         * math/gen-libm-test.pl (parse_args): Don't output initializers
5286         for extra output values.
5288         * math/libm-test.inc (check_int): Expect result to be exactly
5289         equal to expected value and do not handle ulps.
5290         (check_long): Likewise.
5291         (check_longlong): Likewise.
5293         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5294         exceptions.
5295         (cimag_test_data): Likewise.
5296         (conj_test_data): Likewise.
5297         (copysign_test_data): Likewise.
5298         (cproj_test_data): Likewise.
5299         (creal_test_data): Likewise.
5300         (fabs_test_data): Likewise.
5301         (fdim_test_data): Likewise.
5302         (finite_test_data): Likewise.
5303         (floor_test_data): Likewise.
5304         (fmax_test_data): Likewise.
5305         (fmin_test_data): Likewise.
5306         (fmod_test_data): Likewise.
5307         (fpclassify_test_data): Likewise.
5308         (frexp_test_data): Likewise.
5309         (ilogb_test_data): Likewise.
5310         (isfinite_test_data): Likewise.
5311         (isgreater_test_data): Likewise.
5312         (isgreaterequal_test_data): Likewise.
5313         (isinf_test_data): Likewise.
5314         (isless_test_data): Likewise.
5315         (islessequal_test_data): Likewise.
5316         (islessgreater_test_data): Likewise.
5317         (isnan_test_data): Likewise.
5318         (isnormal_test_data): Likewise.
5319         (issignaling_test_data): Likewise.
5320         (isunordered_test_data): Likewise.
5321         (ldexp_test_data): Likewise.
5322         (lrint_test_data): Likewise.
5323         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5324         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5325         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5326         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5327         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5328         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5329         test input.
5330         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5331         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5332         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5333         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5334         that test input.
5335         (lrint_downward_test_data): Test for "inexact" exceptions.
5336         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5337         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5338         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5339         test input.
5340         (lrint_upward_test_data): Test for "inexact" exceptions.
5341         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5342         test input.
5343         (llrint_test_data): Test for "inexact" exceptions.
5344         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5345         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5346         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5347         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5348         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5349         (llrint_downward_test_data): Test for "inexact" exceptions.
5350         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5351         (llrint_upward_test_data): Test for "inexact" exceptions.
5352         (logb_test_data): Likewise.
5353         (logb_downward_test_data): Likewise.
5354         (nextafter_test_data): Likewise.
5355         (nexttoward_test_data): Likewise.
5356         (remainder_test_data): Likewise.
5357         (remquo_test_data): Likewise.
5358         (scalbn_test_data): Likewise.
5359         (scalbln_test_data): Likewise.
5360         (signbit_test_data): Likewise.
5361         (sqrt_test_data): Likewise.
5362         (significand_test_data): Likewise.
5364 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5366         [BZ #15424]
5367         * benchtests/bench-modf.c (struct args): Mark arg0 as
5368         volatile.
5369         * scripts/bench.pl: Mark members of struct args as volatile.
5371 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5373         [BZ # 15497]
5374         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5375         negative infinity on POWER6 or lower.
5376         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5378 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5380         [BZ #15442]
5381         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5382         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5383         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5384         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5385         (_FP_SETQNAN): New macro.
5386         (_FP_SETQNAN_SEMIRAW): Likewise.
5387         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5388         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5389         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5390         (FP_EXTEND): Use _FP_FRAC_SNANP.
5391         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5392         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5393         into account.
5394         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5395         New macro.
5396         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5397         Likewise.
5399 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5401         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5402         with DIVIDE_BY_ZERO_EXCEPTION.
5403         (gamma_test_data): Likewise.
5404         (lgamma_test_data): Likewise.
5405         (log_test_data): Likewise.
5406         (log10_test_data): Likewise.
5407         (log2_test_data): Likewise.
5408         (tgamma_test_data): Likewise.
5410         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5411         (acos_test_tonearest): Likewise.
5412         (acos_test_towardzero): Likewise.
5413         (acos_test_downward): Likewise.
5414         (acos_test_upward): Likewise.
5415         (acosh_test): Likewise.
5416         (asin_test): Likewise.
5417         (asin_test_tonearest): Likewise.
5418         (asin_test_towardzero): Likewise.
5419         (asin_test_downward): Likewise.
5420         (asin_test_upward): Likewise.
5421         (asinh_test): Likewise.
5422         (atan_test): Likewise.
5423         (atanh_test): Likewise.
5424         (atan2_test): Likewise.
5425         (cabs_test): Likewise.
5426         (cacos_test): Likewise.
5427         (cacosh_test): Likewise.
5428         (casin_test): Likewise.
5429         (casinh_test): Likewise.
5430         (catan_test): Likewise.
5431         (catanh_test): Likewise.
5432         (cbrt_test): Likewise.
5433         (ccos_test): Likewise.
5434         (ccosh_test): Likewise.
5435         (cexp_test): Likewise.
5436         (clog_test): Likewise.
5437         (clog10_test): Likewise.
5438         (cos_test): Likewise.
5439         (cos_test_tonearest): Likewise.
5440         (cos_test_towardzero): Likewise.
5441         (cos_test_downward): Likewise.
5442         (cos_test_upward): Likewise.
5443         (cosh_test): Likewise.
5444         (cosh_test_tonearest): Likewise.
5445         (cosh_test_towardzero): Likewise.
5446         (cosh_test_downward): Likewise.
5447         (cosh_test_upward): Likewise.
5448         (cpow_test): Likewise.
5449         (csin_test): Likewise.
5450         (csinh_test): Likewise.
5451         (csqrt_test): Likewise.
5452         (ctan_test): Likewise.
5453         (ctan_test_tonearest): Likewise.
5454         (ctan_test_towardzero): Likewise.
5455         (ctan_test_downward): Likewise.
5456         (ctan_test_upward): Likewise.
5457         (ctanh_test): Likewise.
5458         (ctanh_test_tonearest): Likewise.
5459         (ctanh_test_towardzero): Likewise.
5460         (ctanh_test_downward): Likewise.
5461         (ctanh_test_upward): Likewise.
5462         (erf_test): Likewise.
5463         (erfc_test): Likewise.
5464         (exp_test): Likewise.
5465         (exp_test_tonearest): Likewise.
5466         (exp_test_towardzero): Likewise.
5467         (exp_test_downward): Likewise.
5468         (exp_test_upward): Likewise.
5469         (exp10_test): Likewise.
5470         (exp2_test): Likewise.
5471         (expm1_test): Likewise.
5472         (fmod_test): Likewise.
5473         (gamma_test): Likewise.
5474         (hypot_test): Likewise.
5475         (j0_test): Likewise.
5476         (j1_test): Likewise.
5477         (jn_test): Likewise.
5478         (lgamma_test): Likewise.
5479         (log_test): Likewise.
5480         (log10_test): Likewise.
5481         (log1p_test): Likewise.
5482         (log2_test): Likewise.
5483         (logb_test_downward): Likewise.
5484         (pow_test): Likewise.
5485         (pow_test_tonearest): Likewise.
5486         (pow_test_towardzero): Likewise.
5487         (pow_test_downward): Likewise.
5488         (pow_test_upward): Likewise.
5489         (remainder_test): Likewise.
5490         (remquo_test): Likewise.
5491         (sin_test): Likewise.
5492         (sin_test_tonearest): Likewise.
5493         (sin_test_towardzero): Likewise.
5494         (sin_test_downward): Likewise.
5495         (sin_test_upward): Likewise.
5496         (sincos_test): Likewise.
5497         (sinh_test): Likewise.
5498         (sinh_test_tonearest): Likewise.
5499         (sinh_test_towardzero): Likewise.
5500         (sinh_test_downward): Likewise.
5501         (sinh_test_upward): Likewise.
5502         (sqrt_test): Likewise.
5503         (tan_test): Likewise.
5504         (tan_test_tonearest): Likewise.
5505         (tan_test_towardzero): Likewise.
5506         (tan_test_downward): Likewise.
5507         (tan_test_upward): Likewise.
5508         (tanh_test): Likewise.
5509         (tgamma_test): Likewise.
5510         (y0_test): Likewise.
5511         (y1_test): Likewise.
5512         (yn_test): Likewise.
5514         * math/gen-libm-test.pl (adjust_arg): Remove function.
5515         (special_function): Remove argument $in_func.  Only handle
5516         generating output for tables of tests, not inside functions.
5517         (parse_args): Likewise.
5518         (generate_testfile): Remove variable $in_func.  Update call to
5519         parse_args.
5520         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5521         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5522         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5523         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5524         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5525         (MAX_VALUE_INIT): Rename macro to max_value.
5526         (MIN_VALUE_INIT): Rename macro to min_value.
5527         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5528         (plus_zero): Remove variable.
5529         (minus_zero): Likewise.
5530         (plus_infty): Likewise.
5531         (minus_infty): Likewise.
5532         (qnan_value): Likewise.
5533         (max_value): Likewise.
5534         (min_value): Likewise.
5535         (min_subnorm_value): Likewise.
5537 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5539         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5540         uint64_t or uint32_t usage.
5541         * crypt/sha256-block.c: Likewise.
5542         * crypt/sha256-crypt.c: Likewise.
5543         * crypt/sha256.c: Likewise.
5544         * crypt/sha512-block.c: Likewise.
5545         * crypt/sha512-crypt.c: Likewise.
5546         * crypt/sha512.c: Likewise.
5547         * debug/backtrace-tst.c: Likewise.
5548         * debug/pcprofiledump.c: Likewise.
5549         * elf/cache.c: Likewise.
5550         * elf/dl-cache.c: Likewise.
5551         * elf/dl-misc.c: Likewise.
5552         * elf/dl-profile.c: Likewise.
5553         * elf/dl-support.c: Likewise.
5554         * elf/ldconfig.c: Likewise.
5555         * elf/sprof.c: Likewise.
5556         * iconv/dummy-repertoire.c: Likewise.
5557         * iconv/iconv_charmap.c: Likewise.
5558         * iconv/skeleton.c: Likewise.
5559         * iconvdata/8bit-generic.c: Likewise.
5560         * iconvdata/cp737.h: Likewise.
5561         * iconvdata/cp775.h: Likewise.
5562         * iconvdata/ibm1008.h: Likewise.
5563         * iconvdata/ibm1025.h: Likewise.
5564         * iconvdata/ibm1046.h: Likewise.
5565         * iconvdata/ibm1097.h: Likewise.
5566         * iconvdata/ibm1112.h: Likewise.
5567         * iconvdata/ibm1122.h: Likewise.
5568         * iconvdata/ibm1123.h: Likewise.
5569         * iconvdata/ibm1124.h: Likewise.
5570         * iconvdata/ibm1129.h: Likewise.
5571         * iconvdata/ibm1130.h: Likewise.
5572         * iconvdata/ibm1132.h: Likewise.
5573         * iconvdata/ibm1133.h: Likewise.
5574         * iconvdata/ibm1137.h: Likewise.
5575         * iconvdata/ibm1140.h: Likewise.
5576         * iconvdata/ibm1141.h: Likewise.
5577         * iconvdata/ibm1142.h: Likewise.
5578         * iconvdata/ibm1143.h: Likewise.
5579         * iconvdata/ibm1144.h: Likewise.
5580         * iconvdata/ibm1145.h: Likewise.
5581         * iconvdata/ibm1146.h: Likewise.
5582         * iconvdata/ibm1147.h: Likewise.
5583         * iconvdata/ibm1148.h: Likewise.
5584         * iconvdata/ibm1149.h: Likewise.
5585         * iconvdata/ibm1153.h: Likewise.
5586         * iconvdata/ibm1154.h: Likewise.
5587         * iconvdata/ibm1155.h: Likewise.
5588         * iconvdata/ibm1156.h: Likewise.
5589         * iconvdata/ibm1157.h: Likewise.
5590         * iconvdata/ibm1158.h: Likewise.
5591         * iconvdata/ibm1160.h: Likewise.
5592         * iconvdata/ibm1161.h: Likewise.
5593         * iconvdata/ibm1162.h: Likewise.
5594         * iconvdata/ibm1163.h: Likewise.
5595         * iconvdata/ibm1164.h: Likewise.
5596         * iconvdata/ibm1166.h: Likewise.
5597         * iconvdata/ibm1167.h: Likewise.
5598         * iconvdata/ibm12712.h: Likewise.
5599         * iconvdata/ibm1390.h: Likewise.
5600         * iconvdata/ibm1399.h: Likewise.
5601         * iconvdata/ibm16804.h: Likewise.
5602         * iconvdata/ibm4517.h: Likewise.
5603         * iconvdata/ibm4899.h: Likewise.
5604         * iconvdata/ibm4909.h: Likewise.
5605         * iconvdata/ibm4971.h: Likewise.
5606         * iconvdata/ibm5347.h: Likewise.
5607         * iconvdata/ibm803.h: Likewise.
5608         * iconvdata/ibm856.h: Likewise.
5609         * iconvdata/ibm901.h: Likewise.
5610         * iconvdata/ibm902.h: Likewise.
5611         * iconvdata/ibm9030.h: Likewise.
5612         * iconvdata/ibm9066.h: Likewise.
5613         * iconvdata/ibm921.h: Likewise.
5614         * iconvdata/ibm922.h: Likewise.
5615         * iconvdata/ibm9448.h: Likewise.
5616         * iconvdata/isiri-3342.h: Likewise.
5617         * iconvdata/jis0201.h: Likewise.
5618         * include/link.h: Likewise.
5619         * include/netdb.h: Likewise.
5620         * inet/check_native.c: Likewise.
5621         * inet/check_pf.c: Likewise.
5622         * inet/getipv4sourcefilter.c: Likewise.
5623         * inet/getnameinfo.c: Likewise.
5624         * inet/getsourcefilter.c: Likewise.
5625         * inet/htonl.c: Likewise.
5626         * inet/setipv4sourcefilter.c: Likewise.
5627         * inet/setsourcefilter.c: Likewise.
5628         * inet/test-inet6_opt.c: Likewise.
5629         * inet/tst-network.c: Likewise.
5630         * locale/C-collate.c: Likewise.
5631         * locale/C-ctype.c: Likewise.
5632         * locale/C-time.c: Likewise.
5633         * locale/C-translit.h: Likewise.
5634         * locale/loadarchive.c: Likewise.
5635         * locale/programs/3level.h: Likewise.
5636         * locale/programs/charmap.c: Likewise.
5637         * locale/programs/charmap.h: Likewise.
5638         * locale/programs/ld-address.c: Likewise.
5639         * locale/programs/ld-collate.c: Likewise.
5640         * locale/programs/ld-ctype.c: Likewise.
5641         * locale/programs/ld-identification.c: Likewise.
5642         * locale/programs/ld-measurement.c: Likewise.
5643         * locale/programs/ld-messages.c: Likewise.
5644         * locale/programs/ld-monetary.c: Likewise.
5645         * locale/programs/ld-name.c: Likewise.
5646         * locale/programs/ld-numeric.c: Likewise.
5647         * locale/programs/ld-paper.c: Likewise.
5648         * locale/programs/ld-telephone.c: Likewise.
5649         * locale/programs/ld-time.c: Likewise.
5650         * locale/programs/linereader.c: Likewise.
5651         * locale/programs/locale.c: Likewise.
5652         * locale/programs/locarchive.c: Likewise.
5653         * locale/programs/locfile.h: Likewise.
5654         * locale/programs/repertoire.c: Likewise.
5655         * locale/programs/simple-hash.c: Likewise.
5656         * locale/programs/simple-hash.h: Likewise.
5657         * malloc/memusage.c: Likewise.
5658         * malloc/memusagestat.c: Likewise.
5659         * nis/nis_defaults.c: Likewise.
5660         * nis/nis_hash.c: Likewise.
5661         * nis/nis_print.c: Likewise.
5662         * nis/nis_xdr.c: Likewise.
5663         * nscd/connections.c: Likewise.
5664         * nscd/hstcache.c: Likewise.
5665         * nscd/nscd_gethst_r.c: Likewise.
5666         * nscd/nscd_getserv_r.c: Likewise.
5667         * nscd/nscd_helper.c: Likewise.
5668         * nscd/servicescache.c: Likewise.
5669         * nss/makedb.c: Likewise.
5670         * nss/nss_db/db-XXX.c: Likewise.
5671         * nss/nss_db/db-initgroups.c: Likewise.
5672         * nss/nss_db/db-netgrp.c: Likewise.
5673         * nss/nss_files/files-network.c: Likewise.
5674         * nss/nss_files/files-parse.c: Likewise.
5675         * posix/bug-regex5.c: Likewise.
5676         * posix/fnmatch_loop.c: Likewise.
5677         * posix/regcomp.c: Likewise.
5678         * posix/regexec.c: Likewise.
5679         * posix/tst-rfc3484-2.c: Likewise.
5680         * posix/tst-rfc3484-3.c: Likewise.
5681         * posix/tst-rfc3484.c: Likewise.
5682         * resolv/nss_dns/dns-canon.c: Likewise.
5683         * resolv/nss_dns/dns-network.c: Likewise.
5684         * resolv/res_init.c: Likewise.
5685         * resolv/res_mkquery.c: Likewise.
5686         * resolv/tst-aton.c: Likewise.
5687         * stdlib/cxa_atexit.c: Likewise.
5688         * stdlib/cxa_finalize.c: Likewise.
5689         * stdlib/gen-fpioconst.c: Likewise.
5690         * stdlib/strtol_l.c: Likewise.
5691         * string/tst-endian.c: Likewise.
5692         * sunrpc/auth_des.c: Likewise.
5693         * sunrpc/clnt_udp.c: Likewise.
5694         * sunrpc/rtime.c: Likewise.
5695         * sunrpc/svcauth_des.c: Likewise.
5696         * sunrpc/xdr.c: Likewise.
5697         * sunrpc/xdr_intXX_t.c: Likewise.
5698         * sunrpc/xdr_rec.c: Likewise.
5699         * sysdeps/generic/ldconfig.h: Likewise.
5700         * sysdeps/generic/ldsodefs.h: Likewise.
5701         * sysdeps/generic/memusage.h: Likewise.
5702         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5703         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5704         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5705         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5706         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5708         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5709         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5710         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5712         * sysdeps/posix/getaddrinfo.c: Likewise.
5713         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5714         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5715         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5716         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5717         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5718         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5719         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5720         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5721         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5722         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5723         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5724         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5725         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5726         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5727         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5728         * sysdeps/x86_64/dl-tls.h: Likewise.
5729         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5730         * time/alt_digit.c: Likewise.
5731         * time/era.c: Likewise.
5732         * wcsmbs/tst-c16c32-1.c: Likewise.
5734 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5736         * math/libm-test.inc (struct test_sincos_data): New type.
5737         (RUN_TEST_LOOP_sincos): New macro.
5738         (sincos_test_data): New variable.
5739         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5741 2013-05-16  Richard Henderson  <rth@redhat.com>
5743         * math/atest-exp2.c (LIMB64): New macro.
5744         (CONSTSZ): New macro.
5745         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5746         (hexdig): Move ...
5747         (print_mpn_fp): ... to function scope.
5748         (read_mpn_hex): Remove.
5749         (get_log2): Remove.
5750         (exp2_mpn): Use mp_log2.
5751         (main): Use mp_exp1.
5753 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5755         * math/libm-test.inc: Remove comment about not testing "inexact"
5756         exceptions.
5757         (INEXACT_EXCEPTION): New macro.
5758         (NO_INEXACT_EXCEPTION): Likewise.
5759         (INVALID_EXCEPTION_OK): Update value.
5760         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5761         (OVERFLOW_EXCEPTION_OK): Likewise.
5762         (UNDERFLOW_EXCEPTION_OK): Likewise.
5763         (IGNORE_ZERO_INF_SIGN): Likewise.
5764         (ERRNO_UNCHANGED): Likewise.
5765         (ERRNO_EDOM): Likewise.
5766         (ERRNO_ERANGE): Likewise.
5767         (test_exceptions): Handle testing "inexact" exceptions.
5768         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5769         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5770         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5771         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5772         INEXACT_EXCEPTION.
5773         (rint_towardzero_test_data): Likewise.
5774         (rint_downward_test_data): Likewise.
5775         (rint_upward_test_data): Likewise.
5777         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5778         with OVERFLOW_EXCEPTION.
5779         (exp10_test_data): Likewise.
5780         (exp2_test_data): Likewise.
5781         (expm1_test_data): Likewise.
5782         (lgamma_test_data): Likewise.
5783         (pow_test_data): Likewise.
5784         (tgamma_test_data): Likewise.
5785         (yn_test_data): Remove duplicate test of overflow.
5787         * math/libm-test.inc (struct test_cc_c_data): New type.
5788         (RUN_TEST_LOOP_cc_c): New macro.
5789         (cpow_test_data): New variable.
5790         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5792         * math/libm-test.inc (struct test_f_L_data): New type.
5793         (RUN_TEST_LOOP_f_L): New macro.
5794         (llrint_test_data): New variable.
5795         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5796         (llrint_tonearest_test_data): New variable.
5797         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5798         (llrint_towardzero_test_data): New variable.
5799         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5800         (llrint_downward_test_data): New variable.
5801         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5802         (llrint_upward_test_data): New variable.
5803         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5804         (llround_test_data): New variable.
5805         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5807 2013-05-13  Peter Collingbourne  <pcc@google.com>
5809         * math/atest-exp2.c (get_log2): Remove const attribute.
5811 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5813         * math/libm-test.inc (struct test_f_l_data): New type.
5814         (RUN_TEST_LOOP_f_l): New macro.
5815         (lrint_test_data): New variable.
5816         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5817         (lrint_tonearest_test_data): New variable.
5818         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5819         (lrint_towardzero_test_data): New variable.
5820         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5821         (lrint_downward_test_data): New variable.
5822         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5823         (lrint_upward_test_data): New variable.
5824         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5825         (lround_test_data): New variable.
5826         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5828 2013-05-15  Peter Collingbourne  <pcc@google.com>
5830         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5831         (EXTRACT_WORDS64) Use where appropriate.
5832         (INSERT_WORDS64) Likewise.
5834         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5835         constraints with x constraints.
5836         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5838         * malloc/obstack.c (_obstack_compat): Add initializer.
5840 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5842         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5843         si_trapno and add si_addr_lsb to _sifields.sigfault.
5844         (si_trapno): Remove macro.
5845         (si_addr_lsb): Define new macro.
5846         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5848 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5850         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5851         instead of TEST_f_l.
5852         (llrint_test_tonearest): Likewise.
5853         (llrint_test_towardzero): Likewise.
5854         (llrint_test_downward): Likewise.
5855         (llrint_test_upward): Likewise.
5856         (llround_test): Likewise.
5858         * math/libm-test.inc (struct test_f_i_data): Add comment.
5859         (RUN_TEST_LOOP_f_b): New macro.
5860         (RUN_TEST_LOOP_f_b_tg): Likewise.
5861         (finite_test_data): New variable.
5862         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5863         (isfinite_test_data): New variable.
5864         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5865         (isinf_test_data): New variable.
5866         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5867         (isnan_test_data): New variable.
5868         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5869         (isnormal_test_data): New variable.
5870         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5871         (issignaling_test_data): New variable.
5872         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5873         (signbit_test_data): New variable.
5874         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5876         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5877         with INVALID_EXCEPTION.
5878         (acosh_test_data): Likewise.
5879         (asin_test_data): Likewise.
5880         (atanh_test_data): Likewise.
5881         (fmod_test_data): Likewise.
5882         (log_test_data): Likewise.
5883         (log10_test_data): Likewise.
5884         (log2_test_data): Likewise.
5885         (pow_test_data): Likewise.
5886         (sqrt_test_data): Likewise.
5887         (y0_test_data): Likewise.
5888         (y1_test_data): Likewise.
5889         (yn_test_data): Likewise.
5891         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5892         function contents.
5894         * math/libm-test.inc (struct test_ff_i_data): New type.
5895         (RUN_TEST_LOOP_ff_i_tg): New macro.
5896         (isgreater_test_data): New variable.
5897         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5898         (isgreaterequal_test_data): New variable.
5899         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5900         (isless_test_data): New variable.
5901         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5902         (islessequal_test_data): New variable.
5903         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5904         (islessgreater_test_data): New variable.
5905         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5906         (isunordered_test_data): New variable.
5907         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5909 2013-05-14  David S. Miller  <davem@davemloft.net>
5911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5913 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5915         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5917         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5918         extra_test to int.
5919         (struct test_f_i_data): Change type of max_ulp to int.
5921         * math/libm-test.inc (test_ffI_f1_data): New type.
5922         (RUN_TEST_LOOP_ffI_f1): New macro.
5923         (remquo_test_data): New variable.
5924         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5926         * setjmp/tst-setjmp-fp.c: New file.
5927         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5928         (link-libm): New variable.
5929         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5931         * math/libm-test.inc (struct test_f_i_data): New type.
5932         (RUN_TEST_LOOP_f_i): New macro.
5933         (RUN_TEST_LOOP_f_i_tg): Likewise.
5934         (fpclassify_test_data): New variable.
5935         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5936         (ilogb_test_data): New variable.
5937         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5939         * math/libm-test.inc (scalbln_test): Correct function name in END
5940         call.
5942         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5943         (RUN_TEST_LOOP_fI_f1): New macro.
5944         (frexp_test_data): New variable.
5945         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5947         * math/libm-test.inc (struct test_fF_f1_data): New type.
5948         (RUN_TEST_LOOP_fF_f1): New macro.
5949         (modf_test_data): New variable.
5950         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5952         * math/libm-test.inc (struct test_f_f1_data): New type.
5953         (RUN_TEST_LOOP_f_f1): New macro.
5954         (gamma_test_data): New variable.
5955         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5956         (lgamma_test_data): New variable.
5957         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5959 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5961         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5962         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5963         (main): Comment "tls" pseudo-hwcap.
5965 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5967         * math/libm-test.inc (struct test_fl_f_data): New type.
5968         (RUN_TEST_LOOP_fl_f): New variable.
5969         (scalbln_test_data): New variable.
5970         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5972         * math/libm-test.inc (struct test_fi_f_data): New type.
5973         (RUN_TEST_LOOP_fi_f): New macro.
5974         (ldexp_test_data): New variable.
5975         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5976         (scalbn_test_data): New variable.
5977         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5979         * math/libm-test.inc (struct test_c_f_data): New type.
5980         (RUN_TEST_LOOP_c_f): New macro.
5981         (cabs_test_data): New variable.
5982         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5983         (carg_test_data): New variable.
5984         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5985         (cimag_test_data): New variable.
5986         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5987         (creal_test_data): New variable.
5988         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5990         * math/libm-test.inc (struct test_if_f_data): New type.
5991         (RUN_TEST_LOOP_if_f): New macro.
5992         (jn_test_data): New variable.
5993         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5994         (yn_test_data): New variable.
5995         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5997         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5999 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6001         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6002         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6004 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6006         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6007         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6008         (bench-deps): Add bench-timing.h.
6009         * benchtests-bench-skeleton.c: Include bench-timing.h.
6010         (main): Use TIMING_* macros instead of clock_gettime.
6011         * benchtests/bench-timing.h: New file.
6013         [BZ #14582]
6014         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6015         Renamed from _LIB_VERSION.
6016         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6018 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6020         * math/libm-test.inc (struct test_fff_f_data): New type.
6021         (RUN_TEST_LOOP_fff_f): New macro.
6022         (fma_test_data): New variable.
6023         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6024         (fma_towardzero_test_data): New variable.
6025         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6026         (fma_downward_test_data): New variable.
6027         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6028         (fma_upward_test_data): New variable.
6029         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6031         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6032         (struct test_c_c_data): New type.
6033         (RUN_TEST_LOOP_c_c): New macro.
6034         (cacos_test_data): New variable.
6035         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6036         (cacosh_test_data): New variable.
6037         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6038         (casin_test_data): New variable.
6039         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6040         (casinh_test_data): New variable.
6041         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6042         (catan_test_data): New variable.
6043         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6044         (catanh_test_data): New variable.
6045         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6046         (ccos_test_data): New variable.
6047         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6048         (ccosh_test_data): New variable.
6049         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6050         (cexp_test_data): New variable.
6051         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6052         (clog_test_data): New variable.
6053         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6054         (clog10_test_data): New variable.
6055         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6056         (conj_test_data): New variable.
6057         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6058         (cproj_test_data): New variable.
6059         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6060         (csin_test_data): New variable.
6061         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6062         (csinh_test_data): New variable.
6063         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6064         (csqrt_test_data): New variable.
6065         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6066         (ctan_test_data): New variable.
6067         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6068         (ctan_tonearest_test_data): New variable.
6069         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6070         (ctan_towardzero_test_data): New variable.
6071         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6072         (ctan_downward_test_data): New variable.
6073         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6074         (ctan_upward_test_data): New variable.
6075         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6076         (ctanh_test_data): New variable.
6077         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6078         (ctanh_tonearest_test_data): New variable.
6079         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6080         (ctanh_towardzero_test_data): New variable.
6081         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6082         (ctanh_downward_test_data): New variable.
6083         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6084         (ctanh_upward_test_data): New variable.
6085         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6086         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6087         of BUILD_COMPLEX.
6089         * math/libm-test.inc (struct test_ff_f_data): New type.
6090         (struct test_ff_f_data_nexttoward): Likewise.
6091         (RUN_TEST_LOOP_2_f): New macro.
6092         (RUN_TEST_LOOP_ff_f): Likewise.
6093         (atan2_test_data): New variable.
6094         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6095         (copysign_test_data): New variable.
6096         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6097         (fdim_test_data): New variable.
6098         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6099         (fmax_test_data): New variable.
6100         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6101         (fmin_test_data): New variable.
6102         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6103         (fmod_test_data): New variable.
6104         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6105         (hypot_test_data): New variable.
6106         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6107         (nextafter_test_data): New variable.
6108         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6109         (nexttoward_test_data): New variable.
6110         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6111         (pow_test_data): New variable.
6112         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6113         (pow_tonearest_test_data): New variable.
6114         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6115         (pow_towardzero_test_data): New variable.
6116         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6117         (pow_downward_test_data): New variable.
6118         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6119         (pow_upward_test_data): New variable.
6120         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6121         (remainder_test_data): New variable.
6122         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6123         (scalb_test_data): New variable.
6124         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6125         * sysdeps/i386/fpu/libm-test-ulps: Update.
6127 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6129         * math/libm-test.inc (fma_test): Use max_value instead of local
6130         variable fltmax.
6131         (nextafter_test): Likewise.
6133         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6134         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6135         (acos_downward_test_data): New variable.
6136         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6137         (acos_upward_test_data): New variable.
6138         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6139         (acosh_test_data): New variable.
6140         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6141         (asin_test_data): New variable.
6142         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6143         (asin_tonearest_test_data): New variable.
6144         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6145         (asin_towardzero_test_data): New variable.
6146         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6147         (asin_downward_test_data): New variable.
6148         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6149         (asin_upward_test_data): New variable.
6150         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6151         (asinh_test_data): New variable.
6152         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6153         (atan_test_data): New variable.
6154         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6155         (atanh_test_data): New variable.
6156         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6157         (cbrt_test_data): New variable.
6158         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6159         (ceil_test_data): New variable.
6160         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6161         (cos_test_data): New variable.
6162         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6163         (cos_tonearest_test_data): New variable.
6164         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6165         (cos_towardzero_test_data): New variable.
6166         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6167         (cos_downward_test_data): New variable.
6168         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6169         (cos_upward_test_data): New variable.
6170         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6171         (cosh_test_data): New variable.
6172         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6173         (cosh_tonearest_test_data): New variable.
6174         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6175         (cosh_towardzero_test_data): New variable.
6176         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6177         (cosh_downward_test_data): New variable.
6178         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6179         (cosh_upward_test_data): New variable.
6180         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6181         (erf_test_data): New variable.
6182         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6183         (erfc_test_data): New variable.
6184         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6185         (exp_test_data): New variable.
6186         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6187         (exp_tonearest_test_data): New variable.
6188         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6189         (exp_towardzero_test_data): New variable.
6190         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6191         (exp_downward_test_data): New variable.
6192         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6193         (exp_upward_test_data): New variable.
6194         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6195         (exp10_test_data): New variable.
6196         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6197         (exp2_test_data): New variable.
6198         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6199         (expm1_test_data): New variable.
6200         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6201         (fabs_test_data): New variable.
6202         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6203         (floor_test_data): New variable.
6204         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6205         (j0_test_data): New variable.
6206         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6207         (j1_test_data): New variable.
6208         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6209         (log_test_data): New variable.
6210         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6211         (log10_test_data): New variable.
6212         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6213         (log1p_test_data): New variable.
6214         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6215         (log2_test_data): New variable.
6216         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6217         (logb_test_data): New variable.
6218         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6219         (logb_downward_test_data): New variable.
6220         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6221         (nearbyint_test_data): New variable.
6222         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6223         (rint_test_data): New variable.
6224         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6225         (rint_tonearest_test_data): New variable.
6226         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6227         (rint_towardzero_test_data): New variable.
6228         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6229         (rint_downward_test_data): New variable.
6230         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6231         (rint_upward_test_data): New variable.
6232         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6233         (round_test_data): New variable.
6234         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6235         (sin_test_data): New variable.
6236         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6237         (sin_tonearest_test_data): New variable.
6238         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6239         (sin_towardzero_test_data): New variable.
6240         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6241         (sin_downward_test_data): New variable.
6242         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6243         (sin_upward_test_data): New variable.
6244         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6245         (sinh_test_data): New variable.
6246         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6247         (sinh_tonearest_test_data): New variable.
6248         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6249         (sinh_towardzero_test_data): New variable.
6250         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6251         (sinh_downward_test_data): New variable.
6252         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6253         (sinh_upward_test_data): New variable.
6254         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6255         (sqrt_test_data): New variable.
6256         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6257         (tan_test_data): New variable.
6258         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6259         (tan_tonearest_test_data): New variable.
6260         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6261         (tan_towardzero_test_data): New variable.
6262         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6263         (tan_downward_test_data): New variable.
6264         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6265         (tan_upward_test_data): New variable.
6266         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6267         (tanh_test_data): New variable.
6268         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6269         (tgamma_test_data): New variable.
6270         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6271         (trunc_test_data): New variable.
6272         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6273         (y0_test_data): New variable.
6274         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6275         (y1_test_data): New variable.
6276         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6277         (significand_test_data): New variable.
6278         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6280 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6282         [BZ #12387]
6283         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6285 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6287         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6289 2013-05-10  Andreas Jaeger  <aj@suse.de>
6291         [BZ #15448]
6292         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6293         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6295 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6297         * math/gen-libm-test.pl (adjust_arg): New function.
6298         (special_functions): Handle generating output in both functions
6299         and arrays.
6300         (parse_args): Likewise.
6301         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6302         $in_func argument to parse_args.
6303         * math/libm-test.inc (struct test_f_f_data): New type.
6304         (IF_ROUND_INIT_): New macro.
6305         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6306         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6307         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6308         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6309         (ROUND_RESTORE_): Likewise.
6310         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6311         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6312         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6313         (ROUND_RESTORE_FE_UPWARD): Likewise.
6314         (RUN_TEST_LOOP_f_f): New macro.
6315         (acos_test_data): New variable.
6316         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6317         (acos_tonearest_test_data): New variable.
6318         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6320 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6322         * benchtests/bench-skeleton.c (startup): Fix coding style.
6324 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6326         [BZ #6809]
6327         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6328         negative infinity argument.
6329         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6330         negative infinity argument.
6331         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6332         negative infinity argument.
6333         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6334         domain errors.
6336 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6338         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6339         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6340         * iconv/iconv_prog.c (main): Likewise.
6341         * locale/programs/charmap-dir.c (charmap_readdir)
6342         (fopen_uncompressed): Likewise.
6343         * locale/programs/locfile.c (siblings_uncached)
6344         (write_locale_data): Use lstat64 instead of lstat.
6345         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6346         stat.
6348 2013-05-10  Andreas Jaeger  <aj@suse.de>
6350         [BZ #15395]
6351         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6352         localization.
6353         Include <locale.h>.
6355 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6357         * elf/dl-close.c (_dl_close_worker): Add comments.
6359 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6361         [BZ #15359]
6362         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6363         high part of pi/2.
6364         (__ieee754_rem_pio2l): Update comments.
6366         [BZ #15429]
6367         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6368         high part of pi/2.
6369         (__ieee754_rem_pio2l): Update comments.
6371         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6372         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6374         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6375         M_PI_4l.
6377         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6378         (M_PI_34_LOG10El): Likewise.
6379         (M_PI2_LOG10El): Likewise.
6380         (M_PI4_LOG10El): Likewise.
6381         (M_PI_LOG10El): Likewise.
6383 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6387 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6389         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6390         (MINUS_ZERO_INIT): Likewise.
6391         (PLUS_INFTY_INIT): Likewise.
6392         (MINUS_INFTY_INIT): Likewise.
6393         (QNAN_VALUE_INIT): Likewise.
6394         (MAX_VALUE_INIT): Likewise.
6395         (MIN_VALUE_INIT): Likewise.
6396         (MIN_SUBNORM_VALUE_INIT): Likewise.
6397         (plus_zero): Initialize with PLUS_ZERO_INIT.
6398         (minus_zero): Initialize with MINUS_ZERO_INIT.
6399         (plus_infty): Initialize with PLUS_INFTY_INIT.
6400         (minus_infty): Initialize with MINUS_INFTY_INIT.
6401         (qnan_value): Initialize with QNAN_VALUE_INIT.
6402         (max_value): Initialize with MAX_VALUE_INIT.
6403         (min_value): Initialize with MIN_VALUE_INIT.
6404         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6406         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6407         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6408         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6409         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6411         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6412         (RUN_TEST_2_f): Likewise.
6413         (RUN_TEST_ff_f): Likewise.
6414         (RUN_TEST_fi_f): Likewise.
6415         (RUN_TEST_fl_f): Likewise.
6416         (RUN_TEST_fff_f): Likewise.
6417         (RUN_TEST_c_f): Likewise.
6418         (RUN_TEST_f_f1): Likewise.
6419         (RUN_TEST_fF_f1): Likewise.
6420         (RUN_TEST_fI_f1): Likewise.
6421         (RUN_TEST_ffI_f1): Likewise.
6422         (RUN_TEST_c_c): Likewise.
6423         (RUN_TEST_cc_c): Likewise.
6424         (RUN_TEST_f_i): Likewise.
6425         (RUN_TEST_f_i_tg): Likewise.
6426         (RUN_TEST_ff_i_tg): Likewise.
6427         (RUN_TEST_f_b): Likewise.
6428         (RUN_TEST_f_b_tg): Likewise.
6429         (RUN_TEST_f_l): Likewise.
6430         (RUN_TEST_f_L): Likewise.
6431         (RUN_TEST_sincos): Likewise.
6432         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6433         whether to show exceptions.  Do not include ");\n" in return
6434         value.
6435         (special_functions): Output call to RUN_TEST_sincos instead of
6436         check_float calls.  Update calls to new_test.
6437         (parse_args): Output call to single RUN_TEST_* macro instead of
6438         check_* calls and other assignments.  Update calls to new_test.
6440         [BZ #2546]
6441         [BZ #2560]
6442         [BZ #5159]
6443         [BZ #15426]
6444         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6445         input to result for tgamma overflow.
6446         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6447         (gamma_coeff): New variable.
6448         (NCOEFF): New macro.
6449         (gamma_positive): New function.
6450         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6451         underflow here.  Use gamma_positive instead of exp (lgamma) for
6452         other arguments.
6453         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6454         (gamma_coeff): New variable.
6455         (NCOEFF): New macro.
6456         (gammaf_positive): New function.
6457         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6458         underflow here.  Use gamma_positive instead of exp (lgamma) for
6459         other arguments.
6460         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6461         (gamma_coeff): New variable.
6462         (NCOEFF): New macro.
6463         (gammal_positive): New function.
6464         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6465         underflow here.  Use gamma_positive instead of exp (lgamma) for
6466         other arguments.
6467         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6468         (gamma_coeff): New variable.
6469         (NCOEFF): New macro.
6470         (gammal_positive): New function.
6471         (__ieee754_gammal_r): Handle positive infinity, overflow and
6472         underflow here.  Handle NaN the same as positive infinity.  Remove
6473         check x < 0xffffffff for negative integers.  Use gamma_positive
6474         instead of exp (lgamma) for other arguments.
6475         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6476         (gamma_coeff): New variable.
6477         (NCOEFF): New macro.
6478         (gammal_positive): New function.
6479         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6480         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6481         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6482         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6483         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6484         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6485         * sysdeps/generic/math_private.h (__gamma_productf): New
6486         prototype.
6487         (__gamma_product): Likewise.
6488         (__gamma_productl): Likewise.
6489         * math/Makefile (libm-calls): Add gamma_product.
6490         * math/libm-test.inc (tgamma_test): Add more tests.
6491         * sysdeps/i386/fpu/libm-test-ulps: Update.
6492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6494 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6496         * benchtests/bench-skeleton.c (main): Preheat CPU.
6498 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6500         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6502 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6504         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6505         and _dl_skip_args_internal.
6507 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6509         * manual/message.texi (Message Translation): Talk about users.
6510         Message to key mapping impacts design.
6512 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6514         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6516         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6518         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6519         * sysdeps/wordsize-64/glob64.c: ... here.
6521         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6522         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6523         New macros.
6525         * debug/getlogin_r_chk.c: Moved to ...
6526         * login/getlogin_r_chk.c: ... here.
6527         * debug/Makefile (routines): Move getlogin_r_chk to ...
6528         * login/Makefile (routines): ... here.
6529         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6530         * login/Versions (libc: GLIBC_2.4): ... here.
6532         * io/poll.c (__poll): Renamed from poll.
6533         Add libc_hidden_def.
6534         (poll): Define as weak alias.
6536         * debug/ptsname_r_chk.c: Moved to ...
6537         * login/ptsname_r_chk.c: ... here.
6538         * debug/Makefile (routines): Move ptsname_r_chk to ...
6539         * login/Makefile (routines): ... here.
6540         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6541         * login/Versions (libc: GLIBC_2.4): ... here.
6543         * posix/getlogin.c: Moved to ...
6544         * login/getlogin.c: ... here.
6545         * posix/getlogin_r.c: Moved to ...
6546         * login/getlogin_r.c: ... here.
6547         * posix/getlogin_r.c: Moved to ...
6548         * login/getlogin_r.c: ... here.
6549         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6550         * login/Makefile (routines): ... here.
6551         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6552         * login/Versions (libc: GLIBC_2.0): ... here.
6554         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6555         (setrlimit): Define as weak alias.
6557         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6558         Call __ names for open, ftruncate, and close.
6559         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6560         (truncate): Define as weak alias.
6562 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6564         * math/gen-libm-test.pl (parse_args): Initialize x before each
6565         test of frexp, modf and remquo.
6567         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6568         test signgam value.
6570 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6572         [BZ #15418]
6573         [BZ #15419]
6574         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6575         internal tests.
6576         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6578 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6580         * elf/dl-writev.h: New file.
6581         * elf/dl-misc.c: Include it.
6582         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6583         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6585 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6587         * math/libm-test.inc (noXFails): Remove variable.
6588         (noXPasses): Likewise.
6589         (BUILD_COMPLEX_INT): Remove macro.
6590         (print_screen): Remove xfail argument.
6591         (print_screen_max_error): Likewise.
6592         (update_stats): Likewise.
6593         (print_max_error): Likewise.  Update calls to other affected
6594         functions.
6595         (print_complex_max_error): Likewise.
6596         (test_single_exception): Update calls to print_screen.
6597         (test_single_errno): Likewise.
6598         (check_float_internal): Remove xfail argument.  Update calls to
6599         other affected functions.
6600         (check_float): Likewise.
6601         (check_complex): Likewise.
6602         (check_int): Likewise.
6603         (check_long): Likewise.
6604         (check_bool): Likewise.
6605         (check_longlong): Likewise.
6606         (main): Don't print noXFails and noXPasses.
6607         * math/gen-libm-test.pl (top level): Don't mention expected
6608         failure handling in comment.
6609         (new_test): Don't handle expected failures.
6610         (parse_args): Don't mention expected failure handling in comment.
6611         (generate_testfile): Don't handle expected failures.
6612         (parse_ulps): Likewise.
6613         (print_ulps_file): Likewise.
6614         (get_failure): Remove function.
6615         (output_test): Don't handle expected failures.
6616         * make/README.libm-test: Don't mention expected failure handling.
6618         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6619         (minus_zero): Likewise.
6620         (plus_infty): Likewise.
6621         (minus_infty): Likewise.
6622         (qnan_value): Likewise.
6623         (max_value): Likewise.
6624         (min_value): Likewise.
6625         (min_subnorm_value): Likewise.
6626         (initialize): Do not initialize those variables dynamically.
6628 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6630         * io/open.c (__open_2): Moved to ...
6631         * io/open_2.c: ... this new file.
6632         * io/open64.c (__open64_2): Moved to ...
6633         * io/open64_2.c: ... this new file.
6634         * io/openat.c (__openat_2): Moved to ...
6635         * io/openat_2.c: ... this new file.
6636         * io/openat64.c (__openat64_2): Moved to ...
6637         * io/openat64_2.c: ... this new file.
6638         * io/Makefile (routines): Add them.
6639         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6640         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6641         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6642         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6643         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6644         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6645         (__openat64): Add hidden_ver.
6646         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6647         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6649         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6650         Separately conditionalize setting of GLRO(dl_sysinfo) so
6651         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6652         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6654 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6656         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6657         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6658         definition.
6659         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6660         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6661         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6662         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6663         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6665 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6667         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6668         test signgam value.
6670         * math/libm-test.inc (hypot_test): Do not use
6671         IGNORE_ZERO_INF_SIGN.
6673 2013-05-03  Andreas Jaeger  <aj@suse.de>
6675         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6676         Linux 3.9.
6677         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6678         (PF_MAX): Adjust for VSOCK change.
6680 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6684 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6686         [BZ #15264]
6687         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6688         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6689         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6691 2013-05-02  David S. Miller  <davem@davemloft.net>
6693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6695 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6697         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6699 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6701         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6703 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6705         [BZ #14952]
6706         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6707         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6708         Use __attribute__ ((__gnu_inline__)).
6709         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6710         Don't use __attribute__ ((__gnu_inline__)).
6712 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #15423]
6715         * math/s_catan.c (__catan): Handle small real or imaginary part of
6716         input specially to avoid spurious underflow.
6717         * math/s_catanf.c (__catanf): Likewise.
6718         * math/s_catanh.c (__catanh): Likewise.
6719         * math/s_catanhf.c (__catanhf): Likewise.
6720         * math/s_catanhl.c (__catanhl): Likewise.
6721         * math/s_catanl.c (__catanl): Likewise.
6722         * math/libm-test.inc (catan_test): Add more tests.
6723         (catanh_test): Likewise.
6724         * sysdeps/i386/fpu/libm-test-ulps: Update.
6725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6727 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6731 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6733         [BZ #15416]
6734         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6735         accurately for denominator in atan2.
6736         * math/s_catanf.c (__catanf): Likewise.
6737         * math/s_catanh.c (__catanh): Likewise.
6738         * math/s_catanhf.c (__catanhf): Likewise.
6739         * math/s_catanhl.c (__catanhl): Likewise.
6740         * math/s_catanl.c (__catanl): Likewise.
6741         * math/libm-test.inc (catan_test): Add more tests.
6742         (catanh_test): Likewise.
6743         * sysdeps/i386/fpu/libm-test-ulps: Update.
6744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6746 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6748         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6750         * benchtests/Makefile (bench): Remove slow benchmarks.
6751         * benchtests/atan-inputs: Add slow benchmark inputs.
6752         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6753         (BENCH_FUNC): Accept variant offset.
6754         (VARIANT): Define.
6755         * benchtests/bench-skeleton.c (main): Run benchmark for each
6756         variant.
6757         * benchtests/cos-inputs: Add slow benchmark inputs.
6758         * benchtests/exp-inputs: Likewise.
6759         * benchtests/pow-inputs: Likewise.
6760         * benchtests/sin-inputs: Likewise.
6761         * benchtests/slowatan-inputs: Remove.
6762         * benchtests/slowatan.c: Remove.
6763         * benchtests/slowcos-inputs: Remove.
6764         * benchtests/slowcos.c: Remove.
6765         * benchtests/slowexp-inputs: Remove.
6766         * benchtests/slowexp.c: Remove.
6767         * benchtests/slowpow-inputs: Remove.
6768         * benchtests/slowpow.c: Remove.
6769         * benchtests/slowsin-inputs: Remove.
6770         * benchtests/slowsin.c: Remove.
6771         * benchtests/slowtan-inputs: Remove.
6772         * benchtests/slowtan.c: Remove.
6773         * benchtests/tan-inputs: Add slow benchmark inputs.
6774         * scripts/bench.pl: Parse comments and directives.
6776         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6777         in CPPFLAGS.
6778         ($(objpfx)bench-%.c): Remove *-ITER.
6779         * benchtests/bench-modf.c: Remove definition of ITER.
6780         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6781         (main): Loop for DURATION seconds instead of fixed number of
6782         iterations.
6783         * scripts/bench.pl: Don't expect iterations in parameters.
6785 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6787         * io/fchdir.c (__fchdir): Renamed from fchdir.
6788         (fchdir): Define as weak alias.
6790 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6792         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6793         (ERRNO_EDOM): Likewise.
6794         (ERRNO_ERANGE): Likewise.
6795         (noErrnoTests): New variable.
6796         (init_max_error): Set errno to 0.
6797         (test_single_errno): New function.
6798         (test_errno): Likewise.
6799         (check_float_internal): Call test_errno.  Set errno to 0.
6800         (check_complex): Refer to errno tests in comment.
6801         (check_int): Call test_errno.  Set errno to 0.
6802         (check_long): Likewise.
6803         (check_bool): Likewise.
6804         (check_longlong): Likewise.
6805         (cos_test): Use ERRNO_* flags for errno tests instead of
6806         check_int.
6807         (expm1_test): Likewise.
6808         (fmod_test): Likewise.
6809         (ilogb_test): Likewise.
6810         (lgamma_test): Likewise.
6811         (pow_test): Likewise.
6812         (remainder_test): Likewise.
6813         (sin_test): Likewise.
6814         (tan_test): Likewise.
6815         (yn_test): Likewise.
6816         (initialize): Set errno to 0.
6817         (main): Print number of errno tests.
6818         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6820 2013-04-29  Andreas Jaeger  <aj@suse.de>
6822         [BZ #15084]
6823         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6824         and RES_USEVC.
6826         [BZ #15085]
6827         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6828         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6829         unimplemented.
6831         [BZ #15380]
6832         * stdlib/random.c (__initstate): Return NULL if
6833         __initstate fails.
6835         [BZ #15086]
6836         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6837         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6838         RES_SNGLKUPREOP.
6840 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6844 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6846         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6847         of individual tests.
6848         (casin_test): Likewise.
6849         (casinh_test): Likewise.
6851 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6853         [BZ #15409]
6854         * math/s_catan.c (__catan): Handle arguments with large real or
6855         imaginary part separately without squaring.
6856         * math/s_catanf.c (__catanf): Likewise.
6857         * math/s_catanh.c (__catanh): Likewise.
6858         * math/s_catanhf.c (__catanhf): Likewise.
6859         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6860         and redefine.
6861         (__catanhl): Handle arguments with large real or imaginary part
6862         separately without squaring.
6863         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6864         and redefine.
6865         (__catanl): Handle arguments with large real or imaginary part
6866         separately without squaring.
6867         * math/libm-test.inc (catan_test): Add more tests.
6868         (catanh_test): Likewise.
6869         * sysdeps/i386/fpu/libm-test-ulps: Update.
6870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6872 2013-04-27  Andreas Jaeger  <aj@suse.de>
6874         [BZ #15007]
6875         * stdlib/stdlib.h: Update guards for qecvt.
6876         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6877         <stdlib.h>.
6879 2013-04-27  Allan McRae  <allan@archlinux.org>
6881         * sysdeps/i386/fpu/libm-test-ulps: Update.
6883 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6885         [BZ #15406]
6886         * math/s_catan.c: Include <float.h>.
6887         (__catan): Ensure underflow exception occurs for underflowed
6888         result.
6889         * math/s_catanf.c: Include <float.h>.
6890         (__catanf): Ensure underflow exception occurs for underflowed
6891         result.
6892         * math/s_catanh.c: Include <float.h>.
6893         (__catanh): Ensure underflow exception occurs for underflowed
6894         result.
6895         * math/s_catanhf.c: Include <float.h>.
6896         (__catanhf): Ensure underflow exception occurs for underflowed
6897         result.
6898         * math/s_catanhl.c: Include <float.h>.
6899         (__catanhl): Ensure underflow exception occurs for underflowed
6900         result.
6901         * math/s_catanl.c: Include <float.h>.
6902         (__catanl): Ensure underflow exception occurs for underflowed
6903         result.
6904         * math/libm-test.inc (catan_test): Add more tests.
6905         (catanh_test): Likewise.
6907         [BZ #15405]
6908         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6909         underflowed result.
6910         * math/s_ccoshf.c (__ccoshf): Likewise.
6911         * math/s_ccoshl.c (__ccoshl): Likewise.
6912         * math/s_csin.c (__csin): Likewise.
6913         * math/s_csinf.c (__csinf): Likewise.
6914         * math/s_csinh.c (__csinh): Likewise.
6915         * math/s_csinhf.c (__csinhf): Likewise.
6916         * math/s_csinhl.c (__csinhl): Likewise.
6917         * math/s_csinl.c (__csinl): Likewise.
6918         * math/libm-test.inc (ccos_test): Add more tests.
6919         (ccosh_test): Likewise.
6920         (csin_test): Likewise.
6921         (csinh_test): Likewise.
6923 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6925         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6926         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6927         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6928         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6929         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6930         powerpc/power5+/fpu folders.
6931         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6934 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6938 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6940         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6941         additions to variable.
6942         [$(config-machine) = x86_64] (modules-names): Likewise.
6943         ($(objpfx)tst-audit3): Remove dependency.
6944         ($(objpfx)tst-audit3.out): Likewise.
6945         ($(objpfx)tst-audit4): Likewise.
6946         ($(objpfx)tst-audit4.out): Likewise.
6947         ($(objpfx)tst-audit5): Likewise.
6948         ($(objpfx)tst-audit5.out): Likewise.
6949         ($(objpfx)tst-audit6): Likewise.
6950         ($(objpfx)tst-audit6.out): Likewise.
6951         ($(objpfx)tst-audit7): Likewise.
6952         ($(objpfx)tst-audit7.out): Likewise.
6953         (tst-audit3-ENV): Remove variable.
6954         (tst-audit4-ENV): Likewise.
6955         (tst-audit5-ENV): Likewise.
6956         (tst-audit6-ENV): Likewise.
6957         (tst-audit7-ENV): Likewise.
6958         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6959         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6960         addition to variable.
6961         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6962         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6963         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6964         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6965         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6966         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6967         tst-audit3, tst-audit4 and tst-audit5.
6968         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6969         tst-audit6 and tst-audit7.
6970         [$(subdir) = elf] (modules-names): Add audit modules for those
6971         tests.
6972         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6973         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6974         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6975         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6976         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6977         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6978         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6979         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6980         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6981         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6982         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6983         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6984         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6985         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6986         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6987         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6988         Likewise.
6989         [$(subdir) = elf && $(config-cflags-avx) = yes]
6990         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6991         [$(subdir) = elf && $(config-cflags-avx) = yes]
6992         (CFLAGS-tst-auditmod4a.c): Likewise.
6993         [$(subdir) = elf && $(config-cflags-avx) = yes]
6994         (CFLAGS-tst-auditmod4b.c): Likewise.
6995         [$(subdir) = elf && $(config-cflags-avx) = yes]
6996         (CFLAGS-tst-auditmod6b.c): Likewise.
6997         [$(subdir) = elf && $(config-cflags-avx) = yes]
6998         (CFLAGS-tst-auditmod6c.c): Likewise.
6999         [$(subdir) = elf && $(config-cflags-avx) = yes]
7000         (CFLAGS-tst-auditmod7b.c): Likewise.
7001         * elf/tst-audit3.c: Move to ...
7002         * sysdeps/x86_64/tst-audit3.c: ... here.
7003         * elf/tst-audit4.c: Move to ...
7004         * sysdeps/x86_64/tst-audit4.c: ... here.
7005         * elf/tst-audit5.c: Move to ...
7006         * sysdeps/x86_64/tst-audit5.c: ... here.
7007         * elf/tst-audit6.c: Move to ...
7008         * sysdeps/x86_64/tst-audit6.c: ... here.
7009         * elf/tst-audit7.c: Move to ...
7010         * sysdeps/x86_64/tst-audit7.c: ... here.
7011         * elf/tst-auditmod3a.c: Move to ...
7012         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7013         * elf/tst-auditmod3b.c: Move to ...
7014         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7015         * elf/tst-auditmod4a.c: Move to ...
7016         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7017         * elf/tst-auditmod4b.c: Move to ...
7018         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7019         * elf/tst-auditmod5a.c: Move to ...
7020         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7021         * elf/tst-auditmod5b.c: Move to ...
7022         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7023         * elf/tst-auditmod6a.c: Move to ...
7024         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7025         * elf/tst-auditmod6b.c: Move to ...
7026         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7027         * elf/tst-auditmod6c.c: Move to ...
7028         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7029         * elf/tst-auditmod7a.c: Move to ...
7030         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7031         * elf/tst-auditmod7b.c: Move to ...
7032         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7034 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7036         [BZ #15366]
7037         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7038         define unconditionally.
7039         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7040         define unconditionally.
7041         (INT8_C, INT16_C, etc.): Likewise.
7043 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7045         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7046         __ehdr_start with hidden visibility.
7048         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7050 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7052         * math/libm-test.inc (cos_test): Use accurate hex constants.
7053         (sincost_test): Likewise.
7055 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7057         * math/libm-test.inc (catan_test): Add more tests.
7058         (catanh_test): Likewise.
7060         * math/s_catanf.c (__catanf): Use suffixed floating-point
7061         constants.
7062         * math/s_catanhf.c (__catanhf): Likewise.
7063         * math/s_catanhl.c (__catanhl): Likewise.
7064         * math/s_catanl.c (__catanl): Likewise.
7066         [BZ #15394]
7067         * math/s_catan.c (__catan): Calculate imaginary part of result
7068         with log1p not log unless computing log of number close to 0.
7069         * math/s_catanf.c (__catanf): Likewise.
7070         * math/s_catanl.c (__catanl): Likewise.
7071         * math/s_catanh.c (__catanh): Calculate real part of result with
7072         log1p not log unless computing log of number close to 0.
7073         * math/s_catanhf.c (__catanhf): Likewise.
7074         * math/s_catanhl.c (__catanhl): Likewise.
7075         * math/libm-test.inc (catan_test): Add more tests.
7076         (catanh_test): Likewise.
7077         * sysdeps/i386/fpu/libm-test-ulps: Update.
7078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7080 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7082         * benchtests/Makefile: Mention files in which fast and slow
7083         paths of math functions are implemented.
7085 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7087         * sysdeps/posix/timespec_get.c: New file.
7089 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7091         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7092         POWER.
7093         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7094         for POWER.
7095         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7096         powerpc/power5/fpu folders.
7097         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7098         * benchtests/Makefile: Add modf testcase.
7099         * benchtests/bench-modf.c: New file: Benchmark test for mo
7101 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7103         [BZ #14888]
7104         * time/Makefile (tests): Add tst-strptime-whitespace.
7105         * time/strptime_l.c (get_number): Use ISSPACE.
7106         (__strptime_internal): Likewise.
7107         * time/tst-strptime-whitespace.c: New test case.
7109 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7111         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7112         member.
7113         (_nss_files_init): Set it here.
7115 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7117         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7118         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7119         unsigned.
7121 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7123         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7125 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7127         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7128         size just once.
7130 2013-04-21  David S. Miller  <davem@davemloft.net>
7132         * po/ru.po: Update Russion translation from translation project.
7134 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7136         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7137         and setfsgid.
7139 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7141         * configure.in: Remove i386 configure warning. Remove i386 case.
7142         * configure: Regenerate.
7143         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7144         Add example to error message.
7145         * sysdeps/i386/configure: Regenerate.
7147 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7149         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7150         slowtan.
7151         * benchtests/cos-inputs: New file.
7152         * benchtests/slowcos-inputs: New file.
7153         * benchtests/slowcos.c: New file.
7154         * benchtests/slowtan-inputs: New file.
7155         * benchtests/slowtan.c: New file.
7156         * benchtests/tan-inputs: New file.
7158 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7160         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7161         considered kosher.
7163 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7165         * benchtests/Makefile: Include cppflags-iterator.mk to add
7166         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7168         * Makefile.in (bench-clean): New target.
7169         * benchtests/Makefile (bench-clean): Likewise.
7171 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7173         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7175 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7177         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7179 2013-04-15  Andreas Schwab  <schwab@suse.de>
7181         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7183         * nscd/pwdcache.c (cache_addpw): Likewise.
7184         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7185         more than recsize.
7187 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7189         * benchtests/Makefile (bench): Write all output to
7190         bench-out.tmp together.
7192 2013-04-15  Andreas Schwab  <schwab@suse.de>
7194         * nscd/nscd.c (main): Don't fork again after closing files.
7196 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7198         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7200         * benchtests/Rules (bench-deps): Collect dependencies into a
7201         single variable.  Add Makefile to dependencies.
7202         ($(objpfx)bench-%.c): Depend on bench-deps.
7204 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7205             Xavier Roche  <roche+kml2@exalead.com>
7207         [BZ #15361]
7208         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7209         just that it's a file descriptor.
7210         * manual/llio.texi (Synchronizing AIO Operations): Update description
7211         for EBADF error from aio_fsync.
7213 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7215         * Rules (bench): Move target definition...
7216         * benchtests/Makefile: ... here.
7218 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7220         * math/libm-test.inc (cos_test): Fix PI/2 test.
7221         (sincos_test): Likewise.
7222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7223         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7225 2013-04-11  Andreas Schwab  <schwab@suse.de>
7227         [BZ #13988]
7228         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7229         accept exponent character only when digits were seen.
7230         * stdio-common/Makefile (tests): Add bug26.
7231         * stdio-common/bug26.c: New file.
7233         [BZ #14293]
7234         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7235         non-freeable.
7237 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7239         * Makeconfig (rtld-prefix): Define built linker prefix.
7240         * Rules (run-bench): Use it.
7241         * math/Makefile (run-regen-ulps): Likewise.
7243         * Rules (bench): Remove eval.
7245 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7246             Roland McGrath  <roland@hack.frob.com>
7247             Ondrej Bilka  <neleai@seznam.cz>
7249         [BZ #15346]
7250         * time/getdate.c: Include ctype.h and alloca.h.
7251         (__getdate_r): Trim leading and trailing spaces of input.
7252         * time/tst-getdate.c (tests): Add tests with leading and
7253         trailing spaces.
7255 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7257         [BZ #14280]
7258         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7259         when computing value.
7261 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7263         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7264         Use testrun.sh to run libm tests.
7266         [BZ #15309]
7267         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7269 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7271         [BZ #15264]
7272         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7274 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7276         * Makefile.in (regen-ulps): New target.
7277         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7278         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7279         [ifneq (no,$(PERL)] (regen-ulps): New target.
7280         [ifeq (no,$(PERL)] (regen-ulps): New target.
7281         * math/libm-test.inc (ulps_file_name): Define.
7282         (output_dir): New variable.
7283         (options): Add "output-dir" option.
7284         (parse_opt): Handle 'o' case.
7285         (main): If output_dir is non-NULL use it as a prefix
7286         otherwise use "".
7287         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7289 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7291         [BZ #10060, #10062]
7292         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7293         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7294         fail configure if __sync_val_compare_and_swap is not inlined.
7295         * sysdeps/i386/configure: Regenerate.
7296         * configure.in: Build for i686 when configured for i386.
7297         * configure: Regenerate.
7298         * README: Remove i386 reference.
7300 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7302         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7305 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7307         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7308         (lmsnanval): New variables.
7309         (F): Add conversion tests.
7310         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7311         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7313         * stdio-common/tstdiomisc.c (F): Properly collect individual
7314         tests' results.
7316         [BZ #14686, #15336]
7317         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7318         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7319         Instead, use input NaN values or generate a qNaN by arithmetic
7320         operation.  Also fix bugs to comply with the standard.
7321         * math/libm-test.inc (remainder_test): Add more tests.
7323         [BZ #15335, #15342]
7324         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7326         input NaN values or generate a qNaN by arithmetic operation.
7328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7329         unreachable code.
7331         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7332         definitions.
7334 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7336         [BZ #14478]
7337         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7338         underflowed result.
7339         * math/s_cexpf.c (__cexpf): Likewise.
7340         * math/s_cexpl.c (__cexpl): Likewise.
7341         * math/libm-test.inc (cexp_test): Add more tests.
7343 2013-04-03  Andreas Schwab  <schwab@suse.de>
7345         [BZ #15330]
7346         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7347         order arrays from heap if bigger than alloca cutoff.
7349 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7351         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7352         (SNAN_TESTS_double): Refer to GCC PR56831.
7353         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7354         GCC PR56828.
7356 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7358         * Rules (bench): Move bench.out after the run is complete.
7360         * Rules (bench): Echo currently running benchmark.
7362         * benchtests/Makefile (bench): Add atan and slowatan.
7363         * benchtests/atan-inputs: New file.
7364         * benchtests/slowatan-inputs: New file.
7365         * benchtests/slowatan.c: New file.
7367         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7368         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7369         its value.
7371         [BZ #15305]
7372         * sysdeps/unix/sysv/linux/kernel-features.h
7373         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7374         __ASSUME_XFS_RESTRICTED_CHOWN.
7375         * sysdeps/unix/sysv/linux/pathconf.c
7376         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7377         Save and restore errno.
7379 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7381         [BZ #15327]
7382         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7383         arguments using __kernel_casinh.
7384         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7385         arguments using __kernel_casinhf.
7386         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7387         arguments using __kernel_casinhl.
7388         * math/libm-test.inc (cacosh_test): Add more tests.
7389         * sysdeps/i386/fpu/libm-test-ulps: Update.
7390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7392 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7394         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7395         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7397         * bench/Makefile (bench): Add sin and slowsin.
7398         * benchtests/sin-inputs: New file.
7399         * benchtests/slowsin-inputs: New file.
7400         * benchtests/slowsin.c: New file.
7402         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7403         (bench): Add slowexp and slowpow.
7404         (exp-ITER): Increase iterations.
7405         (pow-ITER): Likewise.
7406         * benchtests/exp-inputs: Change input.
7407         * benchtests/pow-inputs: Likewise.
7408         * benchtests/slowexp-inputs: New file.
7409         * benchtests/slowexp.c: New file.
7410         * benchtests/slowpow-inputs: New file.
7411         * benchtests/slowpow.c: New file.
7413 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7415         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7416         instructions.
7417         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7418         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7419         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7420         * benchtests/Makefile: Add rint benchtest.
7421         * benchtests/rint-inputs: Input for rint benchtest.
7423 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7425         * Versions.def (libm): Add GLIBC_2.18.
7426         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7427         hidden libm prototypes.
7428         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7429         * math/Makefile (libm-calls): Add s_issignaling.
7430         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7431         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7432         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7433         declaration.
7434         * math/math.h [__USE_GNU] (issignaling): New macro.
7435         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7436         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7437         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7438         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7439         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7440         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7441         * manual/arith.texi (issignaling): New section.
7442         * manual/libm-err-tab.pl (@all_functions): Update comment.
7443         * math/gen-libm-test.pl (parse_args): Apply special handling for
7444         issignaling.
7445         * math/libm-test.inc (print_float, issignaling_test): New
7446         functions.
7447         (check_float_internal): Add issignaling checks.
7448         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7449         default definition.
7450         * sysdeps/powerpc/math-tests.h: New file.
7451         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7452         tests.
7453         * math/test-snan.c (TEST_FUNC): Likewise.
7455 2013-03-30  David S. Miller  <davem@davemloft.net>
7457         * po/de.po: Update from translation team.
7459 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7461         [BZ #10357]
7462         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7463         imaginary part less than 1.0 and real part less than 0.5
7464         specially.
7465         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7466         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7467         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7468         (cacos_test): Add more tests.
7469         (casin_test): Likewise.
7470         (casinh_test): Likewise.
7471         * sysdeps/i386/fpu/libm-test-ulps: Update.
7472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7474 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7476         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7477         ONE with its value.
7479         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7480         (__pow_mp): Replace ONE and MONE with their values.
7481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7482         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7483         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7484         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7485         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7486         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7488         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7490         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7491         (__pow_mp): Replace ZERO and MZERO with their values.
7492         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7493         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7494         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7496         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7497         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7498         (__sqr): Likewise.
7500         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7502         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7504 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7506         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7507         Declare with __attribute__ ((weak)).
7508         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7509         Call __call_tls_dtors only if it's not NULL.
7511 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7513         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7514         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7515         magic __ehdr_start linker symbol if it's defined.
7516         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7517         them up here if it was already done.
7519         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7520         (_dl_aux_init): Use const in cast when setting it.
7521         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7522         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7523         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7525         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7526         Declare them here.
7527         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7528         * csu/libc-tls.c: Nor here.
7529         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7531         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7532         (__libc_message): Never call vsyslog.
7534 2013-03-28  Alan Modra  <amodra@gmail.com>
7536         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7537         Define as empty.
7538         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7539         Likewise.
7541 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7543         [BZ #15214]
7544         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7545         underflow.
7546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7548 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7550         [BZ #15304]
7551         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7552         Don't add gid passed as argument.
7554         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7556 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7558         [BZ #15307]
7559         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7560         imaginary part between 1.0 and 1.5 and real part less than 0.5
7561         specially.
7562         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7563         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7564         * math/libm-test.inc (cacos_test): Add more tests.
7565         (casin_test): Likewise.
7566         (casinh_test): Likewise.
7567         * sysdeps/i386/fpu/libm-test-ulps: Update.
7568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7570 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7572         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7573         constants.
7574         (norm): Likewise.
7575         (denorm): Likewise.
7576         (__dbl_mp): Likewise.
7577         (add_magnitudes): Likewise.
7578         (sub_magnitudes): Likewise.
7579         (__add): Likewise.
7580         (__sub): Likewise.
7581         (__mul): Likewise.
7582         (__sqr): Likewise.
7583         (__inv): Likewise.
7584         (__dvd): Likewise.
7586         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7587         commented code.
7588         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7589         (__dubcos): Likewise.
7590         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7591         (__ieee754_acos): Likewise.
7592         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7593         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7594         (__exp1): Likewise.
7595         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7597         (log1): Likewise.
7598         (my_log2): Likewise.
7599         (checkint): Likewise.
7600         * sysdeps/ieee754/dbl-64/e_remainder.c
7601         (__ieee754_remainder): Likewise.
7602         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7603         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7604         (bsloww): Likewise.
7605         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7607         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7608         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7609         MANTISSA_STORE_T to store computations on mantissa.  Use
7610         macros for rounding and division.
7611         (denorm): Likewise.
7612         (__dbl_mp): Likewise.
7613         (add_magnitudes): Likewise.
7614         (sub_magnitudes): Likewise.
7615         (__mul): Likewise.
7616         (__sqr): Likewise.
7617         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7618         powers of two in terms of TWOPOW macro.
7619         (mp_no): Make type of mantissa as MANTISSA_T.
7620         [!RADIXI]: Define RADIXI.
7621         [!TWO52]: Define TWO52.
7622         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7624 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7626         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7627         llroundl symbol when building for PPC32.
7629 2013-03-24  Mark H Weaver  <mhw@netris.org>
7631         * manual/arith.texi (Normalization Functions): Fix prototypes for
7632         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7634 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7636         [BZ #13889]
7637         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7638         high value to check if expl overflow.
7639         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7640         to check for underflow and overflow.
7641         * math/libm-test.inc: Add exp test.
7643 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7645         [BZ #11120]
7646         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7647         with NOT_IN_libc.
7649 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7651         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7652         symbol.
7654 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7656         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7657         wrap blocks consisting of several statements.
7659         * sysdeps/generic/math-tests.h: New file.
7660         * sysdeps/i386/fpu/math-tests.h: Likewise.
7661         * math/test-snan.c: Include it.
7662         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7664 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7666         [BZ #15285]
7667         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7668         (__ieee754_j0l): Do not improve calculations using cos of twice
7669         input for inputs above LDBL_MAX / 2.0L.
7670         (__ieee754_y0l): Likewise.
7671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7672         (__ieee754_j1l): Do not improve calculations using cos of twice
7673         input for inputs above LDBL_MAX / 2.0L.
7674         (__ieee754_y1l): Likewise.
7675         * math/libm-test.inc (j0_test): Add another test.
7676         (j1_test): Likewise.
7677         (y0_test): Likewise.
7678         (y1_test): Likewise.
7679         * sysdeps/i386/fpu/libm-test-ulps: Update.
7681 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7683         * Rules ($(objpfx)bench-%.c): Include code from a C source
7684         file.
7686 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7688         [BZ #15287]
7689         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7690         imaginary part 1.0 and real part less than 0.5 specially.
7691         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7692         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7693         * math/libm-test.inc (cacos_test): Add more tests.
7694         (casin_test): Likewise.
7695         (casinh_test): Likewise.
7696         * sysdeps/i386/fpu/libm-test-ulps: Update.
7697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7699 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7701         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7702         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7704 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7706         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7707         * config.make.in (config-cflags-sse4): Remove variable.
7708         (config-cflags-avx): Likewise.
7709         (config-cflags-sse2avx): Likewise.
7710         (config-cflags-novzeroupper): Likewise.
7711         (config-asflags-i686): Likewise.
7712         (have-mfma4): Likewise.
7713         (have-as-vis3): Likewise.
7714         (MIG): Likewise.
7715         * configure.in (MIG): Do not AC_SUBST.
7716         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7717         (libc_cv_cc_sse4): Do not AC_SUBST.
7718         (libc_cv_cc_avx): Likewise.
7719         (libc_cv_cc_sse2avx): Likewise.
7720         (libc_cv_cc_novzeroupper): Likewise.
7721         (libc_cv_cc_fma4): Likewise.
7722         (libc_cv_as_i686): Likewise.
7723         (libc_cv_sparc_as_vis3): Likewise.
7724         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7725         LIBC_CONFIG_VAR.
7726         (config-asflags-i686): Likewise.
7727         (config-cflags-avx): Likewise.
7728         (config-cflags-sse2avx): Likewise.
7729         (have-mfma4): Likewise.
7730         (config-cflags-novzeroupper): Likewise.
7731         * sysdeps/mach/configure.in (MIG): Likewise.
7732         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7733         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7734         LIBC_CONFIG_VAR.
7735         (config-cflags-avx): Likewise.
7736         (config-cflags-sse2avx): Likewise.
7737         (have-mfma4): Likewise.
7738         (config-cflags-novzeroupper): Likewise.
7739         * configure: Regenerated.
7740         * sysdeps/i386/configure: Likewise.
7741         * sysdeps/mach/configure: Likewise.
7742         * sysdeps/sparc/configure: Likewise.
7743         * sysdeps/x86_64/configure: Likewise.
7745 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7747         [BZ #14812]
7748         * locale/programs/localedef.c (options): Put N_ translation marker
7749         on argument names, not just descriptions.
7751 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7753         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7755 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7757         [BZ #14176]
7758         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7760 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7762         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7763         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7764         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7765         [!BEFORE_ABORT] (before_abort): New function.
7766         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7767         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7768         (writev_for_fatal): New function.
7769         (WRITEV_FOR_FATAL): New macro; call that.
7770         (backtrace_and_maps): New function.
7771         (BEFORE_ABORT): New macro; call that.
7772         (struct str_list): Type removed.
7773         (__libc_message, __libc_fatal): Functions removed.
7774         Include <sysdeps/posix/libc_fatal.c> instead.
7776 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7778         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7779         constants.
7780         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7781         double constants.
7783 2013-03-19  Andreas Schwab  <schwab@suse.de>
7785         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7786         * sysdeps/gnu/configure: Regenerate.
7788         * configure.in: Substitute libc_cv_rtlddir.
7789         * configure: Regenerate.
7790         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7791         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7792         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7793         * elf/Makefile (install-others, CFLAGS-interp.c)
7794         (ldso_install, common-ldd-rewrite): Likewise.
7795         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7796         $(inst_slibdir)/$(rtld-installed-name).
7797         * scripts/rellns-sh: Add -p option.
7798         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7799         for source.
7801 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7803         * manual/nptl.texi: Renamed to ...
7804         * manual/threads.texi: ... this.
7805         * manual/Makefile (chapters): Update.
7807 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7809         [BZ #14812]
7810         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7811         on argument names, not just descriptions.
7812         * malloc/memusagestat.c (options): Likewise.
7813         * nss/getent.c (options): Likewise.
7815 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7817         [BZ #14812]
7818         * iconv/iconv_prog.c (options): Put N_ translation marker
7819         on argument names, not just descriptions.
7820         * iconv/iconvconfig.c (options): Likewise.
7822 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7824         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7825         implementation which is faster on all x86_64 architectures.
7826         Tested on AMD, Intel Nehalem, SNB, IVB.
7827         * sysdeps/x86_64/strnlen.S: Likewise.
7829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7830         Remove all multiarch strlen and strnlen versions.
7831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7832         Remove strlen and strnlen related parts.
7834         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7835         Inline strlen part.
7836         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7838         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7839         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7840         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7841         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7842         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7843         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7845 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7847         * manual/memory.texi (Malloc Tunable Parameters):
7848         Sort parameters alphabetically. Add comments for missing entries.
7850 2013-03-17  David S. Miller  <davem@davemloft.net>
7852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7854 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7856         [BZ #15283]
7857         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7858         for arguments at most half maximum finite value.
7859         * math/libm-test.inc (j0_test): Add more tests.
7860         (j1_test): Likewise.
7861         (y0_test): Likewise.
7862         (y1_test): Likewise.
7863         * sysdeps/i386/fpu/libm-test-ulps: Update.
7864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7866         [BZ #14155]
7867         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7868         1 / x and functions P and Q for arguments above 0x1p256L.
7869         (__ieee754_y0l): Likewise.
7870         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7871         (__ieee754_y1l): Likewise.
7872         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7873         (j1_test): Likewise.
7874         (y0_test): Likewise.
7875         (y1_test): Likewise.
7877 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7879         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7880         variable.
7882 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7884         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7885         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7886         zero since it's initialized to EXEC_PAGESIZE.
7888         * sysdeps/unix/sysv/linux/ldsodefs.h
7889         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7890         * sysdeps/generic/ldsodefs.h: ... here.
7892 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7894         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7896         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7897         math/test-snan.c.
7898         * math/test-snan.c: Renamed from
7899         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7900         * math/Makefile (tests): Add test-snan.
7901         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7902         test-powerpc-snan.
7904         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7905         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7906         functions.
7907         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7908         __builtin_nan family of functions.
7909         * math/libm-test.inc (initialize): Initialize qnan_value with
7910         __builtin_nan family of functions.
7911         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7912         Remove variables.
7913         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7914         Remove functions.
7915         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7916         storage class.  Initialize qNaN_var and sNaN_var with
7917         __builtin_nan and __builtin_nans families of functions,
7918         respectively.
7920         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7921         (sqrt_test): Remove duplicate test with qNaN input.
7922         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7923         (round_test, signbit_test, significand_test): Note missing +/-Inf
7924         as well as qNaN tests.
7926         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7927         qNaN_var.  Fix a few strings, too.
7928         * math/libm-test.inc (nan_value): Rename to qnan_value.
7929         * math/gen-libm-test.pl (%beautify): Adjust to that.
7930         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7931         * math/test-misc.c (main): Likewise.
7932         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7933         to __qnan_bytes, and __qnan_union, respectively.
7934         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7935         Likewise.
7936         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7937         and lqnanval, respectively.
7938         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7939         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7940         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7941         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7943         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7944         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7945         doubles.
7947         * math/test-misc.c (main): Fix copy'n'pastos.
7948         * misc/tst-efgcvt.c (special): Likewise.
7950         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7951         Remove declarations.
7953 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7955         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7956         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7957         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7958         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7960 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7962         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7963         macro to return vdso values correctly in IFUNC implementations.
7964         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7965         Optimization by using IFUNC.
7967 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7968             Richard Henderson  <rth@redhat.com>
7969             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7971         * Makefile.in (bench): New target.
7972         * NEWS: Mention the benchmark framework.
7973         * Rules (bench): Likewise.
7974         (binaries-bench): Generate binaries for functions to
7975         benchmark.
7976         * benchtests/Makefile: New makefile for benchmark tests.
7977         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7978         programs.
7979         * benchtests/exp-inputs: New input file for EXP function.
7980         * benchtests/pow-inputs: New input file for POW function.
7981         * scripts/bench.pl: New script to generate source files for
7982         benchmark programs.
7984 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7986         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7987         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7988         computations on mantissa.  Use macros for rounding and
7989         division.
7990         (denorm): Likewise.
7991         (__dbl_mp): Likewise.
7992         (add_magnitudes): Likewise.
7993         (sub_magnitudes): Likewise.
7994         (__mul): Likewise.
7995         (__sqr): Likewise.
7996         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7997         powers of two in terms of TWOPOW macro.
7998         (mp_no): Make type of mantissa as MANTISSA_T.
7999         [!RADIXI]: Define RADIXI.
8000         [!TWO52]: Define TWO52.
8001         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8003         * manual/nptl.texi (cindex): Modify threads to pthreads.
8005 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8007         * sysdeps/x86_64/preconfigure: Regenerated.
8009 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8011         [BZ #14155]
8012         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8013         0x1p28 and above.
8014         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8015         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8016         0x1p28 and above.
8017         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8018         * math/libm-test.inc (j0_test): Do not allow one spurious
8019         underflow exception.
8020         (y1_test): Likewise.
8022 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8024         * manual/Makefile (chapters): Add nptl.
8025         * manual/debug.texi (Debugging Support): Add link to Threads
8026         chapter.
8027         * manual/nptl.texi: New file.
8029         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8031 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8033         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8034         for non-NULL pointer before the memory validity test. Pointed
8035         out by Holger Brunck <holger.brunck@keymile.com>.
8037 2013-03-13  Andreas Schwab  <schwab@suse.de>
8039         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8040         instead of .os.
8042 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8044         * timezone/zic.c: Update from tzcode 2013b.
8046 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8048         * manual/install.texi (Configuring and compiling):
8049         Mention i686 and i586.
8050         * INSTALL: Regenerate.
8052 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8054         * sysdeps/init_array/elf-init.c: New file.
8055         * csu/elf-init.c
8056         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8057         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8059         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8060         __gmon_start__ as global, but as static with a .preinit_array pointer.
8061         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8062         * sysdeps/init_array/crti.S: New file, empty except for comments.
8063         * sysdeps/init_array/crtn.S: Likewise.
8065 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8067         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8068         definining bcopy.
8069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8070         Remove Prefer_SSE_for_memop.
8071         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8072         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8073         HAS_PREFER_SSE_FOR_MEMOP.
8074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8075         memset-x86-64.
8076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8077         Remove bzero, memset ifunc support.
8078         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8079         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8080         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8081         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8083 2013-03-11  Andreas Schwab  <schwab@suse.de>
8085         [BZ #15234]
8086         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8087         by SHLIB_COMPAT.
8088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8089         (GLIBC_2.16): Remove pthread_atfork.
8091 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8093         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8094         (ptestcases.h): Likewise.
8096 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8098         * Makeconfig ($(common-objpfx)config.status): Depend on
8099         sysdeps/*/preconfigure{,.in} too.
8101 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8103         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8104         (__free_hook): Use void * instead of __malloc_ptr_t.
8105         (__malloc_hook): Likewise.
8106         (__realloc_hook): Likewise.
8107         (__memalign_hook): Likewise.
8108         (__after_morecore_hook): Likewise.
8109         * malloc/arena.c (save_malloc_hook): Likewise.
8110         (save_free_hook): Likewise.
8111         * malloc/hooks.c (malloc_hook_ini): Likewise.
8112         (realloc_hook_ini): Likewise.
8113         (memalign_hook_ini): Likewise.
8114         * malloc/malloc.c (malloc_hook_ini): Likewise.
8115         (realloc_hook_ini): Likewise.
8116         (memalign_hook_ini): Likewise.
8117         (__free_hook): Likewise.
8118         (__malloc_hook): Likewise.
8119         (__realloc_hook): Likewise.
8120         (__memalign_hook): Likewise.
8121         (__libc_malloc): Likewise.
8122         (__libc_free): Likewise.
8123         (__libc_realloc): Likewise.
8124         (__libc_memalign): Likewise.
8125         (__libc_valloc): Likewise.
8126         (__libc_pvalloc): Likewise.
8127         (__libc_calloc): Likewise.
8128         (__posix_memalign): Likewise.
8129         * malloc/morecore.c (__sbrk): Likewise.
8130         (__default_morecore): Likewise.
8132         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8134         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8135         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8136         __malloc_ptrdiff_t.
8138         * malloc/malloc.h (__malloc_size_t): Remove macro.
8139         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8140         __malloc_size_t.
8141         (old_memalign_hook): Likewise.
8142         (old_realloc_hook): Likewise.
8143         (struct hdr): Likewise.
8144         (flood): Likewise.
8145         (mallochook): Likewise.
8146         (memalignhook): Likewise.
8147         (reallochook): Likewise.
8148         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8149         (tr_old_realloc_hook): Likewise.
8150         (tr_old_memalign_hook): Likewise.
8151         (tr_mallochook): Likewise.
8152         (tr_reallochook): Likewise.
8153         (tr_memalignhook): Likewise.
8155 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8158         default_ldbl_pack and using as default implementation.
8159         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8160         implementation.
8161         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8162         redundant definition.
8163         (ldbl_insert_mantissa): Likewise.
8164         (ldbl_canonicalize): Likewise.
8165         (ldbl_nearbyint): Likewise.
8166         (ldbl_pack): Rename to ldbl_pack_ppc.
8167         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8168         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8169         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8171 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8174         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8175         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8176         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8178         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8179         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8180         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8182 2013-03-07  Andreas Jaeger  <aj@suse.de>
8184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8185         bits/mman-linux.h.
8187 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8189         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8190         Include mpa.h and declare __MPEXP.
8191         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8192         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8193         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8194         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8195         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8196         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8197         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8199         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8200         (__slowpow): Use long double EXPL and LOGL functions to
8201         compute POW.
8202         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8203         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8204         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8205         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8206         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8207         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8210         intermediate variable to calculate exponent.
8211         (__sqr): Likewise.
8212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8213         Likewise.
8214         (__sqr): Likewise.
8216         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8217         [!NO__SQR]: Define __sqr.
8218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8219         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8220         sysdeps/ieee754/dbl-64/mpa.c.
8221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8223         [BZ #12723]
8224         * posix/Makefile (tests): Add tst-pathconf.
8225         * posix/tst-pathconf.c: New test case.
8226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8227         _PC_PIPE_BUF.
8228         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8230 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8232         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8234 2013-03-06  Andreas Jaeger  <aj@suse.de>
8236         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8237         definition via __MAP_ANONYMOUS.
8239         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8240         it's not part of Linux headers.
8242         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8243         (MAP_HUGE_MASK): Define.
8245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8246         Define.
8247         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8248         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8249         Define.
8250         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8251         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8252         Define.
8253         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8254         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8255         Define.
8256         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8258         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8259         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8260         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8261         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8262         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8263         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8266         Handle f2fs.
8268         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8269         Handle f2fs and efivarfs.
8271         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8272         f2fs.
8274         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8275         (EFIVARFS_MAGIC): Add.
8276         (F2FS_LINK_MAX): Add.
8278 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8280         * stdio-common/vfprintf.c: Replace __builtin_expect with
8281         __glibc_unlikely.
8283 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8285         [BZ #13550]
8286         * sysdeps/generic/bp-sym.h: Remove file.
8287         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8288         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8289         <bp-sym.h> and <bp-asm.h>.
8290         (__longjmp): Don't use BP_SYM.
8291         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8292         and <bp-asm.h>.
8293         (memcpy): Don't use BP_SYM.
8294         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8295         <bp-sym.h> and <bp-asm.h>.
8296         (memcpy): Don't use BP_SYM.
8297         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8298         <bp-asm.h>.
8299         (memcpy): Don't use BP_SYM.
8300         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8301         <bp-asm.h>.
8302         (memset): Don't use BP_SYM.
8303         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8304         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8305         (__bzero): Don't use BP_SYM.
8306         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8307         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8308         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8309         <bp-sym.h> and <bp-asm.h>.
8310         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8311         pointers.
8312         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8313         <bp-sym.h> and <bp-asm.h>.
8314         (memcpy): Don't use BP_SYM.
8315         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8316         <bp-sym.h> and <bp-asm.h>.
8317         (memset): Don't use BP_SYM.
8318         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8319         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8320         (__bzero): Don't use BP_SYM.
8321         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8322         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8323         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8324         <bp-sym.h> and <bp-asm.h>.
8325         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8326         pointers.
8327         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8328         <bp-sym.h> and <bp-asm.h>.
8329         (memcpy): Don't use BP_SYM.
8330         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8331         <bp-sym.h> and <bp-asm.h>.
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/power7/memchr.S: Don't include
8339         <bp-sym.h> and <bp-asm.h>.
8340         (__memchr): Don't use BP_SYM.
8341         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8342         <bp-sym.h> and <bp-asm.h>.
8343         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8344         pointers.
8345         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8346         <bp-sym.h> and <bp-asm.h>.
8347         (memcpy): Don't use BP_SYM.
8348         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8349         <bp-sym.h> and <bp-asm.h>.
8350         (__mempcpy): Don't use BP_SYM.
8351         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8352         <bp-sym.h> and <bp-asm.h>.
8353         (__memrchr): Don't use BP_SYM.
8354         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8355         <bp-sym.h> and <bp-asm.h>.
8356         (memset): Don't use BP_SYM.
8357         (__bzero): Likewise.
8358         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8359         <bp-sym.h> and <bp-asm.h>.
8360         (__rawmemchr): Don't use BP_SYM.
8361         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8362         <bp-sym.h> and <bp-asm.h>.
8363         (__STRCMP): Don't use BP_SYM.
8364         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8365         <bp-sym.h> and <bp-asm.h>.
8366         (strchr): Don't use BP_SYM.
8367         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8368         <bp-sym.h> and <bp-asm.h>.
8369         (__strchrnul): Don't use BP_SYM.
8370         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8371         <bp-sym.h> and <bp-asm.h>.
8372         (strlen): Don't use BP_SYM.
8373         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8374         <bp-sym.h> and <bp-asm.h>.
8375         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8376         pointers.
8377         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8378         <bp-sym.h> and <bp-asm.h>.
8379         (__strnlen): Don't use BP_SYM.
8380         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8381         <bp-sym.h> and <bp-asm.h>.
8382         (__GI__setjmp): Don't use BP_SYM.
8383         (_setjmp): Likewise.
8384         (__sigsetjmp): Likewise.
8385         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8386         (L(start_addresses)): Don't use BP_SYM.
8387         (_start): Likewise.
8388         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8389         <bp-asm.h>.
8390         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8391         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8392         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8393         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8394         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8395         <bp-asm.h>.
8396         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8397         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8398         about bounded pointers.
8399         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8400         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8401         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8402         <bp-asm.h>.
8403         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8404         about bounded pointers.  Remove GKM FIXME comments.
8405         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8406         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8407         <bp-asm.h>.
8408         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8409         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8410         Remove GKM FIXME comments.
8411         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8412         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8413         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8414         <bp-asm.h>.
8415         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8416         about bounded pointers.  Remove GKM FIXME comment.
8417         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8418         and <bp-asm.h>.
8419         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8420         pointers.
8421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8422         <bp-sym.h> and <bp-asm.h>.
8423         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8425         <bp-sym.h> and <bp-asm.h>.
8426         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8427         comment.
8429 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8431         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8432         call free(NULL).
8434 2013-03-05  David S. Miller  <davem@davemloft.net>
8436         * po/es.po: Update from translation team.
8438 2013-03-05  Andreas Jaeger  <aj@suse.de>
8440         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8441         <bits/mman-linux.h>.
8442         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8443         is fine.
8444         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8445         <bits/mman-linux.h> to end of file.
8446         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8447         is fine.
8448         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8449         <bits/mman-linux.h> to end of file.
8450         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8451         is fine.
8452         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8453         <bits/mman-linux.h> to end of file.
8455         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8456         (MCL_CURRENT, MCL_FUTURE): Define here.
8458 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8460         [BZ #15232]
8461         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8462         attribute_hidden.
8463         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8465 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8467         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8468         fourth parameter needed for rt_sigprocmask syscall.
8469         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8470         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8471         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8472         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8473         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8474         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8476 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8478         [BZ #13550]
8479         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8480         comment about bounded pointers.
8481         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8482         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8484 2013-03-04  Andreas Jaeger  <aj@suse.de>
8486         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8487         common definitions.
8489         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8490         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8491         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8492         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8493         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8494         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8496 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8498         [BZ #15055]
8499         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8500         __ieee754_sqrl instead of __sqrl.
8502 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8504         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8505         * sysdeps/powerpc/fpu_control.h: ... here.
8506         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8507         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8508         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8509         * sysdeps/powerpc/bits/mathinline.h: ... here.
8511 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8513         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8514         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8515         to just [NEED_DL_SYSINFO_DSO].
8516         * elf/dl-support.c: Likewise.
8517         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8518         * elf/rtld.c (dl_main): Likewise.
8519         * elf/setup-vdso.h (setup_vdso): Likewise.
8520         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8521         * sysdeps/unix/sysv/linux/dl-sysdep.c
8522         (_dl_discover_osversion): Likewise.
8524 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8526         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8527         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8529 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8531         * NEWS: Mention libm performance improvements and non-x86 PI
8532         futex support.
8534         * csu/libc-start.c (__pthread_initialize_minimal): Change
8535         function arguments.
8536         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8538 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8540         [BZ #13550]
8541         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8542         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8543         <bp-sym.h> and <bp-asm.h>.
8544         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8545         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8546         and <bp-asm.h>.
8547         (memcpy): Don't use BP_SYM.
8548         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8549         <bp-asm.h>.
8550         (__mpn_add_n): Don't use BP_SYM.
8551         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8552         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8553         and <bp-asm.h>.
8554         (__mpn_addmul_1): Don't use BP_SYM.
8555         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8556         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8557         <bp-sym.h>.
8558         (_setjmp): Don't use BP_SYM.
8559         (__novmx_setjmp): Likewise.
8560         (__GI__setjmp): Likewise.
8561         (__vmx_setjmp): Likewise.
8562         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8563         <bp-sym.h>.
8564         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8565         (__bzero): Don't use BP_SYM.
8566         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8567         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8568         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8569         <bp-sym.h> and <bp-asm.h>.
8570         (memcpy): Don't use BP_SYM.
8571         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8572         <bp-sym.h> and <bp-asm.h>.
8573         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8574         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8575         <bp-sym.h> and <bp-asm.h>.
8576         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8577         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8578         <bp-asm.h>.
8579         (__mpn_lshift): Don't use BP_SYM.
8580         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8581         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8582         <bp-asm.h>.
8583         (memset): Don't use BP_SYM.
8584         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8585         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8586         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8587         <bp-asm.h>.
8588         (__mpn_mul_1): Don't use BP_SYM.
8589         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8590         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8591         <bp-sym.h> and <bp-asm.h>.
8592         (memcmp): Don't use BP_SYM.
8593         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8594         <bp-sym.h> and <bp-asm.h>.
8595         (memcpy): Don't use BP_SYM.
8596         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8597         <bp-sym.h> and <bp-asm.h>.
8598         (memset): Don't use BP_SYM.
8599         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8600         <bp-sym.h> and <bp-asm.h>.
8601         (strncmp): Don't use BP_SYM.
8602         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8603         <bp-sym.h> and <bp-asm.h>.
8604         (memcpy): Don't use BP_SYM.
8605         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8606         <bp-sym.h> and <bp-asm.h>.
8607         (memset): Don't use BP_SYM.
8608         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8609         <bp-sym.h> and <bp-asm.h>.
8610         (__memchr): Don't use BP_SYM.
8611         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8612         <bp-sym.h> and <bp-asm.h>.
8613         (memcmp): Don't use BP_SYM.
8614         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8615         <bp-sym.h> and <bp-asm.h>.
8616         (memcpy): Don't use BP_SYM.
8617         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8618         <bp-sym.h> and <bp-asm.h>.
8619         (__mempcpy): Don't use BP_SYM.
8620         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8621         <bp-sym.h> and <bp-asm.h>.
8622         (__memrchr): Don't use BP_SYM.
8623         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8624         <bp-sym.h> and <bp-asm.h>.
8625         (memset): Don't use BP_SYM.
8626         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8627         <bp-sym.h> and <bp-asm.h>.
8628         (__rawmemchr): Don't use BP_SYM.
8629         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8630         <bp-sym.h> and <bp-asm.h>.
8631         (__STRCMP): Don't use BP_SYM.
8632         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8633         <bp-sym.h> and <bp-asm.h>.
8634         (strchr): Don't use BP_SYM.
8635         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8636         <bp-sym.h> and <bp-asm.h>.
8637         (__strchrnul): Don't use BP_SYM.
8638         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8639         <bp-sym.h> and <bp-asm.h>.
8640         (strlen): Don't use BP_SYM.
8641         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8642         <bp-sym.h> and <bp-asm.h>.
8643         (strncmp): Don't use BP_SYM.
8644         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8645         <bp-sym.h> and <bp-asm.h>.
8646         (__strnlen): Don't use BP_SYM.
8647         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8648         <bp-asm.h>.
8649         (__mpn_rshift): Don't use BP_SYM.
8650         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8651         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8652         <bp-sym.h> and <bp-asm.h>.
8653         (__sigsetjmp): Don't use BP_SYM.
8654         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8655         (L(start_addresses)): Don't use BP_SYM.
8656         (_start): Likewise.
8657         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8658         <bp-asm.h>.
8659         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8660         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8661         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8662         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8663         <bp-asm.h>.
8664         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8665         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8666         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8667         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8668         <bp-asm.h>.
8669         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8670         comments.
8671         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8672         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8673         <bp-asm.h>.
8674         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8675         FIXME comments.
8676         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8677         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8678         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8679         <bp-asm.h>.
8680         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8681         comment.
8682         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8683         and <bp-asm.h>.
8684         (strncmp): Don't use BP_SYM,
8685         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8686         <bp-asm.h>.
8687         (__mpn_sub_n): Don't use BP_SYM.
8688         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8689         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8690         and <bp-asm.h>.
8691         (__mpn_submul_1): Don't use BP_SYM.
8692         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8694         <bp-sym.h> and <bp-asm.h>.
8695         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8697         <bp-sym.h> and <bp-asm.h>.
8698         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8699         comment.
8701 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8704         Use ZK to minimize writes to Z.
8705         (sub_magnitudes): Simplify code a bit.
8706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8707         Use ZK to minimize writes to Z.
8708         (sub_magnitudes): Simplify code a bit.
8710 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8712         * csu/gmon-start.c: Add special exception to license text.
8714 2013-02-27  Richard Henderson  <rth@redhat.com>
8716         * scripts/config.guess: Update from config.git.
8717         * scripts/config.sub: Likewise.
8719 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8721         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8723         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8725         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8727         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8729         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8731 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8733         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8734         [$(build-shared = yes].
8736 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8738         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8739         (__mul): Reduce iterations for calculating mantissa.
8741         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8742         MPTWO.
8743         (__mpranred): Likewise.
8745         [BZ #15160]
8746         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8747         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8749 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8751         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8752         Define __attribute__.
8754 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8756         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8757         unused.
8758         * posix/regex_internal.h (__attribute): Remove.
8759         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8760         (re_string_context_at): Likewise.
8761         (bitset_not): Use __attribute__ and mark function as possibly
8762         unused.
8763         (bitset_merge): Likewise.
8764         (bitset_mask): Likewise.
8765         (re_string_char_size_at): Likewise.
8766         (re_string_wchar_at): Likewise.
8767         (re_string_elem_size_at): Likewise.
8769 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8771         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8772         code.
8773         (cc32): Likewise.
8775         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8776         (__acr): Likewise.
8777         (__cpy): Likewise.
8778         (norm): Likewise.
8779         (denorm): Likewise.
8780         (__dbl_mp): Likewise.
8781         (add_magnitudes): Likewise.
8782         (sub_magnitudes): Likewise.
8783         (__mul): Likewise.
8784         (__inv): Likewise.
8786         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8787         style.
8789         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8790         style.
8792         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8793         code.
8795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8796         up changes with default code.
8797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8798         Likewise.
8800 2013-02-24  Allan McRae  <allan@archlinux.org>
8802         * manual/socket.texi (The Internet Namespace): Order menu items
8803         to match that in the file.
8805         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8806         node listing of the info page menu.
8808 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8810         [BZ #13550]
8811         * sysdeps/i386/bp-asm.h: Remove file.
8812         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8813         (PARMS): Do not use macros from bp-asm.h.
8814         (S1): Likewise.
8815         (S2): Likewise.
8816         (SIZE): Likewise.
8817         (__mpn_add_n): Do not use BP_SYM
8818         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8819         "bp-asm.h".
8820         (PARMS): Do not use macros from bp-asm.h.
8821         (S1): Likewise.
8822         (SIZE): Likewise.
8823         (__mpn_addmul_1): Do not use BP_SYM
8824         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8825         "bp-asm.h".
8826         (PARMS): Do not use macros from bp-asm.h.
8827         (SIGMSK): Likewise.
8828         (_setjmp): Likewise.  Do not use BP_SYM.
8829         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8830         "bp-asm.h".
8831         (PARMS): Do not use macros from bp-asm.h.
8832         (SIGMSK): Likewise.
8833         (setjmp): Likewise.  Do not use BP_SYM.
8834         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8835         "bp-asm.h".
8836         (PARMS): Do not use macros from bp-asm.h.
8837         (__frexp): Do not use BP_SYM.
8838         (frexp): Likewise.
8839         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8840         "bp-asm.h".
8841         (PARMS): Do not use macros from bp-asm.h.
8842         (__frexpf): Do not use BP_SYM.
8843         (frexpf): Likewise.
8844         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8845         "bp-asm.h".
8846         (PARMS): Do not use macros from bp-asm.h.
8847         (__frexpl): Do not use BP_SYM.
8848         (frexpl): Likewise.
8849         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8850         "bp-asm.h".
8851         (PARMS): Do not use macros from bp-asm.h.
8852         (__remquo): Do not use BP_SYM.
8853         (remquo): Likewise.
8854         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8855         "bp-asm.h".
8856         (PARMS): Do not use macros from bp-asm.h.
8857         (__remquof): Do not use BP_SYM.
8858         (remquof): Likewise.
8859         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8860         "bp-asm.h".
8861         (PARMS): Do not use macros from bp-asm.h.
8862         (__remquol): Do not use BP_SYM.
8863         (remquol): Likewise.
8864         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8865         "bp-asm.h".
8866         (PARMS): Do not use macros from bp-asm.h.
8867         (DEST): Likewise.
8868         (SRC): Likewise.
8869         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8870         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8871         "bp-asm.h".
8872         (PARMS): Do not use macros from bp-asm.h.
8873         (strlen): Do not use BP_SYM.
8874         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8875         "bp-asm.h".
8876         (PARMS): Do not use macros from bp-asm.h.
8877         (S1): Likewise.
8878         (S2): Likewise.
8879         (SIZE): Likewise.
8880         (__mpn_add_n): Do not use BP_SYM.
8881         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8882         "bp-asm.h".
8883         (PARMS): Do not use macros from bp-asm.h.
8884         (S1): Likewise.
8885         (SIZE): Likewise.
8886         (__mpn_addmul_1): Do not use BP_SYM.
8887         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8888         weak_alias.
8889         (bzero): Likewise.
8890         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8891         "bp-asm.h".
8892         (PARMS): Do not use macros from bp-asm.h.
8893         (S): Likewise.
8894         (SIZE): Likewise.
8895         (__mpn_lshift): Do not use BP_SYM.
8896         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8897         "bp-asm.h".
8898         (PARMS): Do not use macros from bp-asm.h.
8899         (DEST): Likewise.
8900         (SRC): Likewise.
8901         (LEN): Likewise.
8902         (memcpy): Likewise.  Do not use BP_SYM.
8903         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8904         libc_hidden_def and weak_alias.
8905         (mempcpy): Do not use BP_SYM in weak_alias.
8906         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8907         "bp-asm.h".
8908         (PARMS): Do not use macros from bp-asm.h.
8909         (DEST): Likewise.
8910         (LEN): Likewise.
8911         [!BZERO_P] (CHR): Likewise.
8912         (memset): Likewise.  Do not use BP_SYM.
8913         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8914         "bp-asm.h".
8915         (PARMS): Do not use macros from bp-asm.h.
8916         (S1): Likewise.
8917         (SIZE): Likewise.
8918         (__mpn_mul_1): Do not use BP_SYM.
8919         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8920         "bp-asm.h".
8921         (PARMS): Do not use macros from bp-asm.h.
8922         (S): Likewise.
8923         (SIZE): Likewise.
8924         (__mpn_rshift): Do not use BP_SYM.
8925         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8926         "bp-asm.h".
8927         (PARMS): Do not use macros from bp-asm.h.
8928         (STR): Likewise.
8929         (CHR): Likewise.
8930         (strchr): Likewise.  Do not use BP_SYM.
8931         (index): Do not use BP_SYM in weak_alias.
8932         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8933         "bp-asm.h".
8934         (PARMS): Do not use macros from bp-asm.h.
8935         (DEST): Likewise.
8936         (SRC): Likewise.
8937         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8938         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8939         "bp-asm.h".
8940         (PARMS): Do not use macros from bp-asm.h.
8941         (strlen): Do not use BP_SYM.
8942         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8943         "bp-asm.h".
8944         (PARMS): Do not use macros from bp-asm.h.
8945         (S1): Likewise.
8946         (S2): Likewise.
8947         (SIZE): Likewise.
8948         (__mpn_sub_n): Do not use BP_SYM.
8949         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8950         "bp-asm.h".
8951         (PARMS): Do not use macros from bp-asm.h.
8952         (S1): Likewise.
8953         (SIZE): Likewise.
8954         (__mpn_submul_1): Do not use BP_SYM.
8955         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8956         "bp-asm.h".
8957         (PARMS): Do not use macros from bp-asm.h.
8958         (S1): Likewise.
8959         (S2): Likewise.
8960         (SIZE): Likewise.
8961         (__mpn_add_n): Do not use BP_SYM.
8962         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8963         weak_alias.
8964         (bzero): Likewise.
8965         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8966         "bp-asm.h".
8967         (PARMS): Do not use macros from bp-asm.h.
8968         (BLK2): Likewise.
8969         (LEN): Likewise.
8970         (memcmp): Do not use BP_SYM.
8971         (bcmp): Do not use BP_SYM in weak_alias.
8972         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8973         "bp-asm.h".
8974         (PARMS): Do not use macros from bp-asm.h.
8975         (DEST): Likewise.
8976         (SRC): Likewise.
8977         (LEN): Likewise.
8978         (memcpy): Likewise.  Do not use BP_SYM.
8979         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8980         "bp-asm.h".
8981         (PARMS): Do not use macros from bp-asm.h.
8982         (DEST): Likewise.
8983         (SRC): Likewise.
8984         (LEN): Likewise.
8985         (memmove): Likewise.  Do not use BP_SYM.
8986         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8987         "bp-asm.h".
8988         (PARMS): Do not use macros from bp-asm.h.
8989         (DEST): Likewise.
8990         (SRC): Likewise.
8991         (LEN): Likewise.
8992         (__mempcpy): Likewise.  Do not use BP_SYM.
8993         (mempcpy): Do not use BP_SYM in weak_alias.
8994         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8995         "bp-asm.h".
8996         (PARMS): Do not use macros from bp-asm.h.
8997         (DEST): Likewise.
8998         (LEN): Likewise.
8999         [!BZERO_P] (CHR): Likewise.
9000         (memset): Likewise.  Do not use BP_SYM.
9001         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9002         "bp-asm.h".
9003         (PARMS): Do not use macros from bp-asm.h.
9004         (STR2): Likewise.
9005         (strcmp): Do not use BP_SYM.
9006         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9007         "bp-asm.h".
9008         (PARMS): Do not use macros from bp-asm.h.
9009         (STR): Likewise.
9010         (DELIM): Likewise.
9011         [USE_AS_STRTOK_R] (SAVE): Likewise.
9012         (FUNCTION): Likewise.  Do not use BP_SYM.
9013         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9014         aliases.
9015         (strtok_r): Likewise.
9016         (__GI___strtok_r): Likewise.
9017         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9018         (PARMS): Do not use macros from bp-asm.h.
9019         (S): Likewise.
9020         (SIZE): Likewise.
9021         (__mpn_lshift): Do not use BP_SYM.
9022         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9023         (PARMS): Do not use macros from bp-asm.h.
9024         (STR): Likewise.
9025         (CHR): Likewise.
9026         (__memchr): Do not use BP_SYM.
9027         (memchr): Do not use BP_SYM in weak_alias.
9028         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9029         (PARMS): Do not use macros from bp-asm.h.
9030         (BLK2): Likewise.
9031         (LEN): Likewise.
9032         (memcmp): Do not use BP_SYM.
9033         (bcmp): Do not use BP_SYM in weak_alias.
9034         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9035         (PARMS): Do not use macros from bp-asm.h.
9036         (S1): Likewise.
9037         (SIZE): Likewise.
9038         (__mpn_mul_1): Do not use BP_SYM.
9039         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9040         "bp-asm.h".
9041         (PARMS): Do not use macros from bp-asm.h.
9042         (STR): Likewise.
9043         (CHR): Likewise.
9044         (__rawmemchr): Do not use BP_SYM.
9045         (rawmemchr): Do not use BP_SYM in weak_alias.
9046         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9047         (PARMS): Do not use macros from bp-asm.h.
9048         (S): Likewise.
9049         (SIZE): Likewise.
9050         (__mpn_rshift): Do not use BP_SYM.
9051         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9052         (PARMS): Do not use macros from bp-asm.h.
9053         (SIGMSK): Likewise.
9054         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9055         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9056         (_start): Do not use BP_SYM.
9057         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9058         (PARMS): Do not use macros from bp-asm.h.
9059         (DEST): Likewise.
9060         (SRC): Likewise.
9061         (__stpcpy): Likewise.  Do not use BP_SYM.
9062         (stpcpy): Do not use BP_SYM in weak_alias.
9063         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9064         "bp-asm.h".
9065         (PARMS): Do not use macros from bp-asm.h.
9066         (DEST): Likewise.
9067         (SRC): Likewise.
9068         (LEN): Likewise.
9069         (__stpncpy): Likewise.  Do not use BP_SYM.
9070         (stpncpy): Do not use BP_SYM in weak_alias.
9071         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9072         (PARMS): Do not use macros from bp-asm.h.
9073         (STR): Likewise.
9074         (CHR): Likewise.
9075         (strchr): Likewise.  Do not use BP_SYM.
9076         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9077         "bp-asm.h".
9078         (PARMS): Do not use macros from bp-asm.h.
9079         (STR): Likewise.
9080         (CHR): Likewise.
9081         (__strchrnul): Likewise.  Do not use BP_SYM.
9082         (strchrnul): Do not use BP_SYM in weak_alias.
9083         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9084         "bp-asm.h".
9085         (PARMS): Do not use macros from bp-asm.h.
9086         (STOP): Likewise.
9087         (strcspn): Do not use BP_SYM.
9088         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9089         "bp-asm.h".
9090         (PARMS): Do not use macros from bp-asm.h.
9091         (STR): Likewise.
9092         (STOP): Likewise.
9093         (strpbrk): Likewise.  Do not use BP_SYM.
9094         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9095         "bp-asm.h".
9096         (PARMS): Do not use macros from bp-asm.h.
9097         (STR): Likewise.
9098         (CHR): Likewise.
9099         (strrchr): Likewise.  Do not use BP_SYM.
9100         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9101         (PARMS): Do not use macros from bp-asm.h.
9102         (SKIP): Likewise.
9103         (strspn): Do not use BP_SYM.
9104         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9105         (PARMS): Do not use macros from bp-asm.h.
9106         (STR): Likewise.
9107         (DELIM): Likewise.
9108         (SAVE): Likewise.
9109         (FUNCTION): Likewise.  Do not use BP_SYM.
9110         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9111         aliases.
9112         (strtok_r): Likewise.
9113         (__GI___strtok_r): Likewise.
9114         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9115         (PARMS): Do not use macros from bp-asm.h.
9116         (S1): Likewise.
9117         (S2): Likewise.
9118         (SIZE): Likewise.
9119         (__mpn_sub_n): Do not use BP_SYM.
9120         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9121         "bp-asm.h".
9122         (PARMS): Do not use macros from bp-asm.h.
9123         (S1): Likewise.
9124         (SIZE): Likewise.
9125         (__mpn_submul_1): Do not use BP_SYM.
9126         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9127         <bp-sym.h>.
9128         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9129         and <bp-asm.h>.
9130         (PARMS): Do not use macros from bp-asm.h.
9131         (FLAGS): Likewise.
9132         (PTID): Likewise.
9133         (TLS): Likewise.
9134         (CTID): Likewise.
9135         (__clone): Do not use BP_SYM.
9136         (clone): Do not use BP_SYM in weak_alias.
9137         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9138         and <bp-asm.h>.
9139         (PARMS): Do not use macros from bp-asm.h.
9140         (LEN): Likewise.
9141         (__mmap64): Do not use BP_SYM.
9142         (mmap64): Do not use BP_SYM in weak_alias.
9143         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9144         <bp-sym.h> and <bp-asm.h>.
9145         (PARMS): Do not use macros from bp-asm.h.
9146         (__posix_fadvise64_l64): Do not use BP_SYM.
9147         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9148         (PARMS): Do not use macros from bp-asm.h.
9149         (NSOPS): Likewise.
9150         (semtimedop): Do not use BP_SYM.
9151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9152         and <bp-asm.h>.
9154 2013-02-21  Allan McRae  <allan@archlinux.org>
9156         * manual/message.texi (Charset conversion in gettext):
9157         Move @end statement to beginning of line.
9159 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9162         static.
9163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9164         Likewise.
9166         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9167         (denorm): Likewise.
9168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9171 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9173         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9174         tail-call to the resolved function if pltexit isn't needed.
9176 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9179         or Y being zero as being unlikely.
9180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9181         Likewise.
9183 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9185         * manual/nss.texi (System Databases and Name Service Switch):
9186         Remove frobnicate @pxref.
9188 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9190         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9191         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9193 2013-02-20  Petr Machata  <pmachata@redhat.com>
9195         * elf/elf.h (R_ARM_TARGET1): New macro.
9196         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9197         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9198         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9199         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9200         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9201         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9202         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9203         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9204         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9205         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9206         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9207         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9208         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9209         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9210         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9211         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9212         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9213         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9214         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9215         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9216         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9217         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9218         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9219         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9220         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9221         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9222         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9223         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9224         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9225         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9226         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9227         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9228         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9229         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9230         (R_ARM_THM_GOT_BREL12): Likewise.
9231         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9232         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9233         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9234         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9235         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9236         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9237         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9238         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9239         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9241 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9243         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9244         __attribute_used__ to __attribute__ ((unused)).
9246 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9248         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9249         powerpc mpa.c.
9250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9251         comment formatting.
9252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9254 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9256         [BZ #13550]
9257         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9258         Remove macro.
9259         (ENTER): Remove both macro definitions.
9260         (LEAVE): Likewise.
9261         (CHECK_BOUNDS_LOW): Likewise.
9262         (CHECK_BOUNDS_HIGH): Likewise.
9263         (CHECK_BOUNDS_BOTH): Likewise.
9264         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9265         (RETURN_BOUNDED_POINTER): Likewise.
9266         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9267         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9268         (POP_ERRNO_LOCATION_RETURN): Likewise.
9269         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9270         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9271         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9272         macros.
9273         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9274         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9275         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9276         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9277         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9278         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9279         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9280         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9281         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9282         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9283         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9284         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9285         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9286         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9287         removed macros.
9288         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9289         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9290         macros.
9291         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9292         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9293         * sysdeps/i386/i586/memset.S (memset): Likewise.
9294         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9295         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9296         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9297         macros.
9298         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9299         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9300         Change uses of L(2) to L(out).
9301         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9302         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9303         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9304         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9305         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9306         removed macros.
9307         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9308         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9309         macros.
9310         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9311         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9312         (RETURN): Do not use macro LEAVE.
9313         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9314         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9315         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9316         * sysdeps/i386/i686/memset.S (memset): Likewise.
9317         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9318         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9319         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9320         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9321         Likewise.
9322         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9323         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9324         L(1_2) and L(1_3) into L(1).
9325         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9326         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9327         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9328         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9329         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9330         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9331         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9332         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9333         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9334         macros.
9335         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9336         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9337         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9338         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9339         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9340         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9341         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9342         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9343         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9344         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9345         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9346         * sysdeps/i386/strspn.S (strspn): Likewise.
9347         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9348         conditional code.
9349         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9350         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9351         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9352         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9353         L(1_3) into L(1_1).
9354         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9355         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9356         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9357         macros.
9358         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9360 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9362         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9363         macro.
9365 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9367         * math/atest-exp.c (exp_mpn): Remove ROUND.
9368         * math/atest-exp2.c (exp_mpn): Likewise.
9369         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9371         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9372         * stdlib/tst-tls-atexit-lib.c: Likewise.
9373         * stdlib/tst-tls-atexit.c: Likewise.
9375 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9377         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9378         and __attribute_alloc_size__.
9380 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9382         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9383         __attribute_alloc_size__.
9384         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9385         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9387 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9389         * include/programs/xmalloc.h: New file.
9390         * catgets/gencat.c: Include it.
9391         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9392         * elf/pldd.c: Likewise.
9393         * iconv/iconv_charmap.c: Likewise.
9394         * iconv/iconvconfig.c: Likewise.
9395         * iconv/strtab.c: Likewise.
9396         * locale/programs/locale.c: Likewise.
9397         * locale/programs/localedef.h: Likewise.
9398         * locale/programs/simple-hash.c: Likewise.
9399         * nscd/nscd.h: Likewise.
9400         * nss/makedb.c: Likewise.
9401         * sysdeps/generic/ldconfig.h: Likewise.
9403 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9405         * Versions.def: Add GLIBC_2.18.
9406         * include/link.h (struct link_map): New member l_tls_dtor_count.
9407         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9408         (__call_tls_dtors): Likewise.
9409         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9410         __cxa_thread_atexit_impl.
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9412         Likewise.
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9414         Likewise.
9415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9416         Likewise.
9417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9418         Likewise.
9419         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9421         Likewise.
9422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9423         Likewise.
9424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9426         Likewise.
9427         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9428         (tests): Add test case tst-tls-atexit.
9429         (modules-names): Add shared library for tst-tls-atexit.
9430         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9431         (GLIBC_PRIVATE): Add __call_tls_dtors.
9432         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9433         for libstdc++.
9434         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9435         * stdlib/tst-tls-atexit.c: New test case.
9436         * stdlib/tst-tls-atexit-lib.c: New test case.
9438         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9440         * elf/Versions (ld): Add _dl_find_dso_for_object.
9441         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9442         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9443         (dl_open_worker): Use _dl_find_dso_for_object.
9444         * elf/dl-sym.c (do_sym): Likewise.
9445         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9447 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9449         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9450         Syntactic changes only.
9451         (_dl_runtime_profile): Do a tail-call to the resolved function.
9453 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9455         [BZ #13550]
9456         * sysdeps/x86_64/bp-asm.h: Remove file.
9457         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9458         <bp-sym.h> and <bp-asm.h>.
9459         (__clone): Do not use BP_SYM.
9460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9461         <bp-sym.h> and <bp-asm.h>.
9462         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9463         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9464         "bp-asm.h".
9465         (_setjmp): Do not use BP_SYM.
9466         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9467         "bp-asm.h".
9468         (setjmp): Do not use BP_SYM.
9469         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9470         libc_hidden_def.
9471         (mempcpy): Do not use BP_SYM in weak_alias.
9472         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9473         "bp-asm.h".
9474         (strchr): Do not use BP_SYM.
9475         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9476         "bp-asm.h".
9477         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9478         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9479         (_start): Do not use BP_SYM.
9480         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9481         "bp-asm.h".
9482         (strcat): Do not use BP_SYM.
9483         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9484         "bp-asm.h".
9485         (STRCMP): Do not use BP_SYM.
9486         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9487         "bp-asm.h".
9488         (STRCPY): Do not use BP_SYM.
9489         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9490         "bp-asm.h".
9491         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9492         "bp-asm.h".
9493         (FUNCTION): Do not use BP_SYM.
9494         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9495         weak_alias.
9496         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9498 2013-02-17  Andreas Jaeger  <aj@suse.de>
9500         * time/Versions: Sort entries.
9501         * string/Versions: Likewise.
9502         * resolv/Versions: Likewise.
9503         * posix/Versions: Likewise.
9504         * iconv/Versions: Likewise.
9505         * elf/Versions: Likewise.
9506         * wcsmbs/Versions: Likewise.
9508 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9510         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9511         loop termination condition.
9513         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9514         variable to calculate EZ.
9515         (__sqr): Likewise.
9517         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9518         the lower precision input.
9520 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9522         [BZ #13550]
9523         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9524         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9525         (run-via-rtld-prefix): Do not handle %-bp tests.
9526         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9527         (all-object-suffixes): Remove .ob.
9528         (bppfx): Remove variable.
9529         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9530         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9531         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9532         [$(build-bounded) = yes] (libtype.ob): Likewise.
9533         * Makerules (elide-routines.ob): Remove variable.
9534         (do-tests-clean): Do not handle *-bp.out.
9535         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9536         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9537         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9538         (tests): Do not include $(tests-bp.out).
9539         (xtests): Do not include $(xtests-bp.out).
9540         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9541         [$(build-bounded) = yes] ($(addprefix
9542         $(objpfx),$(binaries-bounded))): Remove rule.
9543         ($(objpfx)%-bp.out): Remove rule.
9544         * config.make.in (build-bounded): Remove variable.
9545         * crypt/Makefile [$(build-bounded) = yes]
9546         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9547         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9548         append to variable.
9549         [$(build-bounded) = yes] (install-lib): Likewise.
9550         [$(build-bounded) = yes] (generated): Likewise.
9551         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9552         Remove rule.
9553         * intl/Makefile [$(build-bounded) = yes]
9554         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9555         * math/Makefile [$(build-bounded) = yes]
9556         ($(tests:%=$(objpfx)%-bp): Likewise.
9557         * misc/Makefile [$(build-bounded) = yes]
9558         ($(objpfx)tst-tsearch-bp): Likewise.
9559         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9560         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9561         Remove dependency.
9562         * string/Makefile (o-objects.ob): Remove variable.
9563         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9564         (CFLAGS-.ob): Remove variable.
9565         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9566         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9567         both definitions of variable.
9568         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9569         (ASFLAGS-.ob): Remove variable.
9571 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9573         [BZ #13550]
9574         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9575         Remove __BOUNDED_POINTERS__ from condition.
9576         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9577         * string/bits/string2.h [!__NO_STRING_INLINES &&
9578         !__BOUNDED_POINTERS__]: Likewise.
9579         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9580         Likewise.
9581         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9582         Remove conditional code.
9583         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9584         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9585         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9586         condition.
9588         [BZ #13550]
9589         * csu/libc-start.c: Do not include <bp-sym.h>.
9590         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9591         * elf/dl-open.c: Do not include <bp-sym.h>.
9592         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9593         * math/fegetenv.c: Do not include <bp-sym.h>.
9594         (fegetenv): Do not use BP_SYM in versioned symbols.
9595         * nptl/sysdeps/pthread/bits/libc-lockP.h
9596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9597         <bp-sym.h>.
9598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9599         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9601         (__pthread_mutex_destroy): Likewise.
9602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9603         (__pthread_mutex_lock): Likewise.
9604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9605         (__pthread_mutex_trylock): Likewise.
9606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9607         (__pthread_mutex_unlock): Likewise.
9608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9609         (__pthread_mutexattr_init): Likewise.
9610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9611         (__pthread_mutexattr_destroy): Likewise.
9612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9613         (__pthread_mutexattr_settype): Likewise.
9614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9615         (__pthread_rwlock_init): Likewise.
9616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9617         (__pthread_rwlock_destroy): Likewise.
9618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9619         (__pthread_rwlock_rdlock): Likewise.
9620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9621         (__pthread_rwlock_tryrdlock): Likewise.
9622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9623         (__pthread_rwlock_wrlock): Likewise.
9624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9625         (__pthread_rwlock_trywrlock): Likewise.
9626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9627         (__pthread_rwlock_unlock): Likewise.
9628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9629         (__pthread_key_create): Likewise.
9630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9631         (__pthread_setspecific): Likewise.
9632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9633         (__pthread_getspecific): Likewise.
9634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9635         Likewise.
9636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9637         (_pthread_cleanup_push_defer): Likewise.
9638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9639         (_pthread_cleanup_pop_restore): Likewise.
9640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9641         (pthread_setcancelstate): Likewise.
9642         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9643         <bp-sym.h>.
9644         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9645         (memchr): Do not use BP_SYM in weak_alias.
9646         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9647         (fegetenv): Do not use BP_SYM in versioned symbols.
9648         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9649         (fesetenv): Do not use BP_SYM in versioned symbols.
9650         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9651         (feupdateenv): Do not use BP_SYM in versioned symbols.
9652         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9653         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9654         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9655         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9656         (open64): Do not use BP_SYM in weak_alias.
9657         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9658         (fegetenv): Do not use BP_SYM in versioned symbols.
9659         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9660         (fesetenv): Do not use BP_SYM in versioned symbols.
9661         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9662         (feupdateenv): Do not use BP_SYM in versioned symbols.
9663         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9664         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9665         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9666         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9667         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9668         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9669         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9670         <bp-sym.h>.
9671         (__libc_start_main): Do not use BP_SYM.
9673 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9676         redundant return line.
9677         (norm): Likewise.
9678         (denorm): Likewise.
9679         (dbl_mp): Likewise.
9680         (sub_magnitudes): Likewise.
9681         (__add): Likewise.
9682         (__sub): Likewise.
9683         (__mul): Likewise.
9684         (__inv): Likewise.
9685         (__dvd): Likewise.
9686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9687         (norm): Likewise.
9688         (denorm): Likewise.
9689         (dbl_mp): Likewise.
9690         (sub_magnitudes): Likewise.
9691         (__add): Likewise.
9692         (__sub): Likewise.
9693         (__mul): Likewise.
9694         (__inv): Likewise.
9695         (__dvd): Likewise.
9697         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9698         instead of __mul.
9699         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9700         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9701         (cc32): Likewise.
9703         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9704         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9706         of __mul for squares.
9707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9708         function
9709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9710         Likewise.
9711         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9712         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9714 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9716         [BZ #13550]
9717         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9718         code.
9719         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9720         prototype or function definition.  Rename ubp_* variables and
9721         parameters.  Remove argv definitions conditional on
9722         [__BOUNDED_POINTERS__].
9723         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9724         * elf/dl-runtime.c (_dl_fixup): Likewise.
9725         * include/set-hooks.h (RUN_HOOK): Likewise.
9726         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9727         definition.
9728         * string/strcpy.c (strcpy): Do not use __unbounded.
9729         * sysdeps/generic/frame.h (struct layout): Likewise.
9730         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9731         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9732         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9733         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9734         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9735         (__backtrace): Likewise.
9736         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9737         use __ptrvalue.
9738         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9739         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9740         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9741         Likewise.
9742         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9743         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9744         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9745         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9746         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9747         Do not use __unbounded.
9748         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9749         Rename __unboundedrlimits parameter to rlimits in prototype.
9750         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9751         Do not use __unbounded.
9752         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9753         not use __ptrvalue.
9754         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9755         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9756         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9757         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9758         __ptrvalue or __unbounded.
9759         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9760         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9761         use __unbounded.
9762         (__new_msgctl): Do not use __ptrvalue.
9763         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9764         __unbounded.
9765         (__libc_msgrcv): Do not use __ptrvalue.
9766         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9767         startup_info): Do not use __unbounded.
9768         (__libc_start_main): Likewise.  Rename ubp_* variables and
9769         parameters.  Remove argv definitions conditional on
9770         [__BOUNDED_POINTERS__].
9771         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9772         __ptrvalue.
9773         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9774         use __unbounded.
9775         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9776         or __ptrvalue.
9777         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9778         use __unbounded.
9779         (__new_shmctl): Do not use __ptrvalue.
9780         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9781         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9782         Likewise.
9783         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9785         (__libc_sigaction): Likewise.
9786         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9787         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9788         Likewise.
9789         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9791 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9793         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9795         * string/mempcpy.c: Implement by calling memcpy.
9797 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9802         evaluation.
9804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9805         values in the mantissa.
9807         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9808         minimize writes to Z.
9809         (sub_magnitudes): Simplify code a bit.
9811 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9813         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9814         from the message.  The linker prefixes all warnings with that already.
9816 2013-02-12  Andreas Schwab  <schwab@suse.de>
9818         [BZ #15078]
9819         * posix/regexec.c (extend_buffers): Add parameter min_len.
9820         (check_matching): Pass minimum needed length.
9821         (clean_state_log_if_needed): Likewise.
9822         (get_subexp): Likewise.
9823         * posix/Makefile (tests): Add bug-regex34.
9824         (bug-regex34-ENV): Define.
9825         * posix/bug-regex34.c: New file.
9827         [BZ #11561]
9828         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9829         elements compare against the byte sequence of it, not its name.
9830         * posix/Makefile (tests): Add bug-regex35.
9831         (bug-regex35-ENV): Define.
9832         * posix/bug-regex35.c: New file.
9834 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9836         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9837         comment.
9838         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9839         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9840         (CHECK_EOL): Add undef.
9842 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9844         * bits/stdlib-bsearch.h: New file.
9845         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9846         * stdlib/stdlib.h: Likewise.
9848 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9850         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9851         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9852         declaration.
9853         * manual/search.texi (Array Search Function): Add missing const in
9854         lfind prototype.
9855         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9856         declaration to use rlim_t.
9857         (Basic Scheduling Functions): Remove erroneous const from
9858         sched_getparam prototype.  Remove erroneous * from
9859         sched_get_priority_max and sched_get_priority_min prototypes.
9860         (Resource Usage): Fix summary @comment on vtimes to refer to
9861         sys/vtimes.h rather than vtimes.h.
9862         Add missing *s in vtimes prototype.
9863         (Limits on Resources): Fix ulimit prototype to return long int.
9864         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9865         prototypes to use long int rather than double.
9866         (BSD Random): Fix initstate and setstate to use char *, not void *.
9867         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9868         prototype to make second argument 'struct aiocb64 *const[]'.
9869         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9870         (Status of AIO Operations): Remove erroneous const in aio_return and
9871         aio_return64 prototypes.
9872         (Synchronizing I/O): Fix sync prototype to return void.
9873         * manual/startup.texi (Suboptions): Remove an erroneous const in
9874         getsubopt prototype.
9875         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9876         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9877         use size_t rather than int.
9878         (Scanning All Users): Likewise for getpwent_r.
9879         (Setting Groups): Add missing const to setgroups prototype.
9880         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9881         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9882         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9883         'const void *' rather than 'const char *'.
9884         (Host Address Functions): Likewise for inet_ntop.
9885         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9886         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9887         ssize_t for return value.
9888         (Sending Data): Likewise for send, sendto, sendmsg.
9889         (Socket Option Functions): Add a missing const in setsockopt prototype.
9890         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9891         use wchar_t for the argument.
9892         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9893         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9894         take no arguments.
9895         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9896         double/float/long double for second argument.
9897         Fix return types of significand, significandf, significandl.
9898         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9899         argument in fchmod prototype.
9900         (File Owner): Use uid_t and gid_t in fchown prototype.
9901         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9902         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9903         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9904         use 'const struct dirent **' as argument types to CMP function pointer
9905         argument.
9906         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9907         (File Times): Fix summary magic @comment for struct utimbuf and utime
9908         to refer to utime.h, not time.h.
9909         * manual/string.texi (Argz Functions): Add missing const in
9910         argz_extract and argz_next prototypes.
9911         (Finding Tokens in a String): Likewise for basename.
9912         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9913         (Copying and Concatenation): Fix typo in wmemmove prototype.
9914         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9915         (Signal Stack): Remove erroneous const in sigstack prototype.
9916         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9917         prototype.
9918         (Simple Calendar Time): Likewise for stime.
9919         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9920         prototype.
9921         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9922         say sys/sysctl.h instead.
9923         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9924         and vsyslog prototypes.
9926 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9928         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9929         Remove.
9931 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9933         * misc/sys/mman.h: Fix typo in mremap comment.
9935 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9937         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9938         the '\0' terminator.
9940 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9942         [BZ #13550]
9943         * debug/segfault.c: Don't include <bp-checks.h>.
9944         * sysdeps/generic/bp-checks.h: Remove file.
9945         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9946         (__GETDENTS): Don't use CHECK_N.
9947         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9948         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9949         (__getgroups): Don't use CHECK_N.
9950         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9951         (setgroups): Don't use CHECK_N.
9952         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9953         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9954         (__libc_msgrcv): Don't use CHECK_N.
9955         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9956         (__libc_msgsnd): Don't use CHECK_N.
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9958         <bp-checks.h>.
9959         (__libc_pread): Don't use CHECK_N.
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9961         include <bp-checks.h>.
9962         (__libc_pread64): Don't use CHECK_N.
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9964         include <bp-checks.h>.
9965         (__libc_pwrite): Don't use CHECK_N.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9967         include <bp-checks.h>.
9968         (__libc_pwrite64): Don't use CHECK_N.
9969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9970         <bp-checks.h>.
9971         (__libc_pread): Don't use CHECK_N.
9972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9973         include <bp-checks.h>.
9974         (__libc_pread64): Don't use CHECK_N.
9975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9976         include <bp-checks.h>.
9977         (__libc_pwrite): Don't use CHECK_N.
9978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9979         include <bp-checks.h>.
9980         (__libc_pwrite64): Don't use CHECK_N.
9981         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9982         (do_pread): Don't use CHECK_N.
9983         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9984         (do_pread64): Don't use CHECK_N.
9985         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9986         (do_pwrite): Don't use CHECK_N.
9987         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9988         (do_pwrite64): Don't use CHECK_N.
9989         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9990         (__libc_readv): Don't use CHECK_N.
9991         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9992         (semop): Don't use CHECK_N.
9993         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9994         <bp-checks.h>.
9995         (semtimedop): Don't use CHECK_N.
9996         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9997         (__libc_pread): Don't use CHECK_N.
9998         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9999         <bp-checks.h>.
10000         (__libc_pread64): Don't use CHECK_N.
10001         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10002         <bp-checks.h>.
10003         (__libc_pwrite): Don't use CHECK_N.
10004         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10005         <bp-checks.h>.
10006         (__libc_pwrite64): Don't use CHECK_N.
10007         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10008         <bp-checks.h>.
10009         (__libc_msgrcv): Don't use CHECK_N.
10010         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10011         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10012         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10013         (__libc_writev): Don't use CHECK_N.
10015 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10017         * string/strcpy.c: Removed unused variable.
10019         * Makeconfig (+sysdep-includes): Define with := rather than =.
10020         Use an existing include/ subdir of each sysdeps dir before it.
10022 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10024         * nscd/connection.c (register_traced_file): Comment function.
10025         [HAVE_INOTIFY] (union __inev): Define.
10026         [HAVE_INOTIFY] (inotify_check_files): New function.
10027         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10028         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10029         clear_db_cache.
10030         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10032 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10034         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10035         loaded if not already and that a failure is permanent.
10037 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10039         [BZ #15006]
10040         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10041         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10043 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10045         [BZ #13550]
10046         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10047         (CHECK_1_NULL_OK): Likewise.
10048         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10049         (__fxstat): Do not use CHECK_1.
10050         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10051         <bp-checks.h>.
10052         (___fxstat64): Do not use CHECK_1.
10053         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10054         <bp-checks.h>.
10055         (__fxstatat): Do not use CHECK_1.
10056         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10057         <bp-checks.h>.
10058         (__fxstatat64): Do not use CHECK_1.
10059         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10060         <bp-checks.h>.
10061         (__fxstat): Do not use CHECK_1.
10062         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10063         <bp-checks.h>.
10064         (__fxstatat): Do not use CHECK_1.
10065         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10066         <bp-checks.h>.
10067         (__getresgid): Do not use CHECK_1.
10068         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10069         <bp-checks.h>.
10070         (__getresuid): Do not use CHECK_1.
10071         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10072         <bp-checks.h>.
10073         (__lxstat): Do not use CHECK_1.
10074         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10075         <bp-checks.h>.
10076         (__old_msgctl): Do not use CHECK_1.
10077         (__new_msgctl): Likewise.
10078         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10079         <bp-checks.h>.
10080         (__new_setrlimit): Do not use CHECK_1.
10081         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10082         <bp-checks.h>.
10083         (__old_shmctl): Do not use CHECK_1.
10084         (__new_shmctl): Likewise.
10085         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10086         <bp-checks.h>.
10087         (__xstat): Do not use CHECK_1.
10088         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10089         (__lxstat): Do not use CHECK_1.
10090         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10091         <bp-checks.h>.
10092         (___lxstat64): Do not use CHECK_1.
10093         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10094         (__old_msgctl): Do not use CHECK_1.
10095         (__new_msgctl): Likewise.
10096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10097         <bp-checks.h>.
10098         (__gettimeofday): Do not use CHECK_1.
10099         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10100         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10101         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10102         <bp-checks.h>.
10103         (__gettimeofday): Do not use CHECK_1.
10104         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10105         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10106         (__new_shmctl): Do not use CHECK_1.
10107         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10108         <bp-checks.h>.
10109         (do_sigtimedwait): Do not use CHECK_1.
10110         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10111         <bp-checks.h>.
10112         (do_sigwaitinfo): Do not use CHECK_1.
10113         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10114         <bp-checks.h>.
10115         (msgctl): Do not use CHECK_1.
10116         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10117         <bp-checks.h>.
10118         (shmctl): Do not use CHECK_1.
10119         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10120         (ustat): Do not use CHECK_1.
10121         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10122         <bp-checks.h>.
10123         (__fxstat): Do not use CHECK_1.
10124         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10125         <bp-checks.h>.
10126         (__fxstatat): Do not use CHECK_1.
10127         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10128         <bp-checks.h>.
10129         (__lxstat): Do not use CHECK_1.
10130         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10131         <bp-checks.h>.
10132         (__xstat): Do not use CHECK_1.
10133         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10134         (__xstat): Do not use CHECK_1.
10135         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10136         (___xstat64): Do not use CHECK_1.
10138         [BZ #13550]
10139         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10140         definitions.
10141         (CHECK_BOUNDS_HIGH): Likewise.
10142         * string/strcpy.c: Do not include <bp-checks.h>.
10143         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10145 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10147         * nscd/nscd-client.h (__nscd_drop_map_ref):
10148         Add __attribute__ ((unused)).
10149         * nis/nss-nisplus.h (niserr2nss): Likewise.
10151         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10152         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10154         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10155         Remove inline keyword.
10156         * include/rounding-mode.h (round_away): Likewise.
10157         * libio/wfileops.c (adjust_wide_data): Likewise.
10158         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10159         (__m128i_strloadu_tolower): Likewise.
10160         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10161         (__m128i_strloadu_tolower): Likewise.
10162         * time/mktime.c (ydhms_diff): Likewise.
10163         * locale/elem-hash.h (elem_hash): Likewise.
10164         * locale/setlocale.c (setdata): Likewise.
10165         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10166         (re_string_wchar_at): Likewise.
10167         (bitset_not, bitset_merge, bitset_mask): Likewise.
10168         [!(__GNUC__ > 3)] (inline): Remove macro.
10169         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10170         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10171         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10172         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10173         * string/memcmp.c (memcmp_bytes): Likewise.
10174         * locale/programs/locarchive.c (compute_hashval): Likewise.
10175         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10176         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10177         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10178         * nss/getent.c (print_rpc, print_protocols): Likewise.
10179         (print_passwd, print_group, print_aliases): Likewise.
10180         * nis/nss-nisplus.h (niserr2nss): Likewise.
10181         * nscd/connections.c (restart_p): Likewise.
10182         Change return type to bool.
10184 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10186         * Makeconfig (all-Depend-files): Add existing
10187         $(sorted-subdirs:=/Depend) files.
10188         (all-subdirs): Remove nss.
10189         * sysdeps/unix/inet/Subdirs: Add it here instead.
10190         * hesiod/Depend: New file.
10192         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10193         instead of calling alloca.
10195         * io/lseek.c (__lseek): Rename to __libc_lseek.
10196         Define __lseek as an alias.
10198         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10200 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10202         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10203         else clause and remove check for non-standard endianness.
10205 2013-02-04  David S. Miller  <davem@davemloft.net>
10207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10209 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10211         [BZ #13550]
10212         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10213         (__ubp_memchr): Remove prototype.
10214         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10215         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10216         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10217         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10218         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10219         Remove alias.
10220         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10221         (__ubp_memchr): Likewise.
10222         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10223         (__ubp_memchr): Likewise.
10224         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10225         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10226         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10227         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10228         CHECK_STRING.
10229         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10230         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10231         (__getcwd): Do not use CHECK_STRING.
10232         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10233         <bp-checks.h>.
10234         (__real_chown): Do not use CHECK_STRING.
10235         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10236         <bp-checks.h>.
10237         (fchownat): Do not use CHECK_STRING.
10238         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10239         CHECK_STRING.
10240         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10241         <bp-checks.h>.
10242         (__lchown): Do not use CHECK_STRING.
10243         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10244         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10245         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10246         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10248         include <bp-checks.h>.
10249         (truncate64): Do not use CHECK_STRING.
10250         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10251         <bp-checks.h>.
10252         (__real_chown): Do not use CHECK_STRING.
10253         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10254         <bp-checks.h>.
10255         (__lchown): Do not use CHECK_STRING.
10256         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10257         <bp-checks.h>.
10258         (__chown): Do not use CHECK_STRING.
10259         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10260         <bp-checks.h>.
10261         (truncate64): Do not use CHECK_STRING.
10262         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10263         Likewise.
10264         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10265         (__xmknod): Do not use CHECK_STRING.
10266         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10267         <bp-checks.h>.
10268         (__xmknodat): Do not use CHECK_STRING.
10269         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10270         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10272 2013-02-04  Andreas Schwab  <schwab@suse.de>
10274         [BZ #14142]
10275         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10276         * include/netdb.h: Likewise for h_errno.
10277         * elf/tst-stackguard1.c: Include <tls.h>.
10279 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10281         * elf/link.h (struct link_map): Extend the l_addr comment.
10282         * include/link.h (struct link_map): Likewise.
10284 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10286         [BZ #13550]
10287         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10288         (BOUNDED_1): Remove macro.
10289         * debug/backtrace.c: Don't include <bp-checks.h>.
10290         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10291         (__backtrace): Likewise.
10292         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10293         <bp-checks.h>.
10294         (__backtrace): Don't use BOUNDED_1.
10295         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10296         <bp-checks.h>.
10297         (__backtrace): Don't use BOUNDED_1.
10298         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10299         (__backtrace): Don't use BOUNDED_1.
10300         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10301         (shmat): Don't use BOUNDED_N.
10303 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10305         [BZ #13550]
10306         * sysdeps/generic/bp-start.h: Remove file.
10307         * csu/libc-start.c: Don't include <bp-start.h>.
10308         (LIBC_START_MAIN): Set up __environ directly instead of using
10309         INIT_ARGV_and_ENVIRON.
10310         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10311         <bp-start.h>.
10313         [BZ #13550]
10314         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10315         definitions.
10316         (CHECK_FCNTL): Likewise.
10317         (CHECK_N_PAGES): Likewise.
10319         [BZ #13550]
10320         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10321         definitions.
10322         (CHECK_SIGSET_NULL_OK): Likewise.
10323         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10324         <bp-checks.h>.
10325         (sigpending): Don't use CHECK_SIGSET.
10326         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10327         <bp-checks.h>.
10328         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10329         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10330         <bp-checks.h>.
10331         (do_sigsuspend): Don't use CHECK_SIGSET.
10332         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10333         use CHECK_SIGSET.
10334         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10335         (do_sigwait): Don't use CHECK_SIGSET.
10336         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10337         use CHECK_SIGSET.
10338         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10339         include <bp-checks.h>.
10340         (sigpending): Don't use CHECK_SIGSET.
10341         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10342         include <bp-checks.h>.
10343         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10344         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10345         <bp-checks.h>.
10346         (sigpending): Don't use CHECK_SIGSET.
10347         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10348         <bp-checks.h>.
10349         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10351         [BZ #13550]
10352         * sysdeps/generic/bp-semctl.h: Remove file.
10353         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10354         <bp-checks.h> and <bp-semctl.h>.
10355         (__old_semctl): Don't use CHECK_SEMCTL.
10356         (__new_semctl): Likewise.
10357         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10358         and <bp-semctl.h>.
10359         (__old_semctl): Don't use CHECK_SEMCTL.
10360         (__new_semctl): Likewise.
10361         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10362         <bp-checks.h> and <bp-semctl.h>.
10363         (__old_semctl): Don't use CHECK_SEMCTL.
10364         (__new_semctl): Likewise.
10365         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10366         <bp-checks.h> and <bp-semctl.h>.
10367         (semctl): Don't use CHECK_SEMCTL.
10369         [BZ #13550]
10370         * Makerules (elide-bp-thunks): Remove variable.
10371         (elide-routines.oS): Don't use $(elide-bp-thunks).
10372         (elide-routines.os): Likewise.
10373         (elide-routines.o): Likewise.
10374         (elide-routines.op): Likewise.
10375         (elide-routines.og): Likewise.
10376         (objects): Don't use $(bp-thunks).
10377         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10378         include.
10379         (common-generated): Do not add s-proto-bp.d.
10380         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10381         (int): Likewise.
10382         (typ): Likewise.
10383         Do not generate makefile rules for bounded-pointer thunks.
10384         * sysdeps/generic/bp-thunks.h: Remove file.
10385         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10386         * sysdeps/unix/s-proto-bp.S: Likewise.
10388         [BZ #15062]
10389         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10390         parts of result separately when argument is not close to line from
10391         -i to i and one part of argument is small.
10392         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10393         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10394         * math/libm-test.inc (cacos_test): Add more tests.
10395         (casin_test): Likewise.
10396         (casinh_test): Likewise.
10397         * sysdeps/i386/fpu/libm-test-ulps: Update.
10398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10400 2013-01-31  David S. Miller  <davem@davemloft.net>
10402         * po/de.po: Update from translation team.
10404 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10406         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10408 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10410         * configure.in (_AC_PROG_CC_C89): New definition.
10411         * configure: Regenerate.
10413         * configure.in (AC_PROG_CPP): New definition.
10414         * configure: Regenerate.
10416 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10418         * debug/tst-backtrace.h: New file.
10419         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10420         (ret): Remove variable.
10421         (x): Likewise.
10422         (FAIL): Remove macro.
10423         (NO_INLINE): Likewise.
10424         (fn1): Use match function instead of strstr.
10425         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10426         (ret): Remove variable.
10427         (x): Likewise.
10428         (FAIL): Remove macro.
10429         (NO_INLINE): Likewise.
10430         (fn): Use match function instead of strstr.
10431         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10432         (ret): Remove variable.
10433         (x): Likewise.
10434         (FAIL): Remove macro.
10435         (NO_INLINE): Likewise.
10436         (handle_signal): Use match function instead of strstr.
10437         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10438         (ret): Remove variable.
10439         (x): Likewise.
10440         (FAIL): Remove macro.
10441         (NO_INLINE): Likewise.
10442         (handle_signal): Use match function instead of strstr.
10444 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10446         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10448 2013-01-23  David S. Miller  <davem@davemloft.net>
10450         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10451         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10452         argument of CAS if possible.
10453         * sysdeps/sparc/sparc64/bits/atomic.h
10454         (__arch_compare_and_exchange_val_32_acq): Likewise.
10455         (__arch_compare_and_exchange_val_64_acq): Likewise.
10457 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10459         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10460         * sysdeps/posix/ulimit.c: ... this.
10461         Include <limits.h>.
10462         * sysdeps/unix/bsd/ulimit.c: Remove file.
10464 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10466         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10467         (LDFLAGS-tst-array5): Likewise.
10469 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10471         [BZ #15036]
10472         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10473         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10474         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10475         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10477 2013-01-21  David S. Miller  <davem@davemloft.net>
10479         * sysdeps/sparc/backtrace.c: New file.
10480         * sysdeps/sparc/sparc32/backtrace.h: New file.
10481         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10482         * sysdeps/sparc/sparc64/backtrace.h: New file.
10483         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10484         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10485         -funwind-tables.
10487 2013-01-21  Andreas Schwab  <schwab@suse.de>
10489         [BZ #15020]
10490         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10491         closed its stdout.
10493 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10496         "mpa2.h".
10497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10499 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10500             Mark Mitchell  <mark@codesourcery.com>
10501             Tom de Vries  <tom@codesourcery.com>
10502             Paul Pluzhnikov  <ppluzhnikov@google.com>
10504         * debug/tst-backtrace2.c: New file.
10505         * debug/tst-backtrace3.c: Likewise.
10506         * debug/tst-backtrace4.c: Likewise.
10507         * debug/tst-backtrace5.c: Likewise.
10508         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10509         (CFLAGS-tst-backtrace3.c): Likewise.
10510         (CFLAGS-tst-backtrace4.c): Likewise.
10511         (CFLAGS-tst-backtrace5.c): Likewise.
10512         (LDFLAGS-tst-backtrace2): Likewise.
10513         (LDFLAGS-tst-backtrace3): Likewise.
10514         (LDFLAGS-tst-backtrace4): Likewise.
10515         (LDFLAGS-tst-backtrace5): Likewise.
10516         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10517         tst-backtrace4 and tst-backtrace5.
10519 2013-01-18  Anton Blanchard  <anton@samba.org>
10520             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10522         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10523         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10524         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10525         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10527         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10528         "+r" and remove output regs list as redundant.  Add explicit inline
10529         asm to specify register of return val to work around compiler codegen
10530         bug.  Remove (int) cast on return value.  Add return type parameter to
10531         use in macro so that this macro does not truncate return value for
10532         64-bit values.
10533         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10534         pass to INTERNAL_VSYSCALL_NCS.
10535         (INLINE_VSYSCALL): Add 'long int' as return type to
10536         INTERNAL_VSYSCALL_NCS macro invocation.
10537         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10538         INTERNAL_VSYSCALL_NCS macro invocation.
10539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10541 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10543         [BZ #14496]
10544         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10545         Fix application of SIMD FP exception mask.
10547         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10548         mp_no from a power of two.
10549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10550         __mpexp_twomm1.  Use __pow_mp.
10552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10553         multiplication.
10555 2013-01-17  David S. Miller  <davem@davemloft.net>
10557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10559 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10561         [BZ #15023]
10562         * include/complex.h: Condition contents on [!_COMPLEX_H].
10563         (__kernel_casinhf): New prototype.
10564         (__kernel_casinh): Likewise.
10565         (__kernel_casinhl): Likewise.
10566         * math/Makefile (libm_calls): Add k_casinh.
10567         * math/k_casinh.c: New file.
10568         * math/k_casinhf.c: Likewise.
10569         * math/k_casinhl.c: Likewise.
10570         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10571         finite nonzero arguments.
10572         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10573         finite nonzero arguments.
10574         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10575         finite nonzero arguments.
10576         * math/s_casinh.c: Do not include <float.h>.
10577         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10578         * math/s_casinhf.c: Do not include <float.h>.
10579         (__casinhf): Move code for finite nonzero arguments to
10580         k_casinhf.c.
10581         * math/s_casinhl.c: Do not include <float.h>.
10582         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10583         redefine.
10584         (__casinhl): Move code for finite nonzero arguments to
10585         k_casinhl.c.
10586         * math/libm-test.inc (cacos_test): Add more tests.
10587         * sysdeps/i386/fpu/libm-test-ulps: Update.
10588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10590 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10592         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10593         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10594         [!HAVE_MREMAP]: Remove [defined linux] case.
10595         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10597 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10599         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10601 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10603         * elf/elf.h (R_386_SIZE32): New relocation.
10604         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10605         R_386_SIZE32.
10606         (elf_machine_rela): Likewise.
10607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10608         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10610 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10612         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10613         (FP_FAST_FMA): Do not define.
10614         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10615         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10616         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10617         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10618         !_SOFT_FLOAT]: Likewise.
10619         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10620         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10621         value.
10622         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10623         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10624         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10625         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10626         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10627         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10628         file.
10630 2013-01-16  Andreas Schwab  <schwab@suse.de>
10632         [BZ #14327]
10633         * include/stdlib.h (__mktemp): Add declaration.
10634         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10635         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10637 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10639         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10640         definitions.
10641         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10642         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10643         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10644         definitions here.
10645         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10646         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10647         definitions.
10648         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10649         and ONE.
10650         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10651         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10652         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10653         definitions.
10654         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10655         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10656         definitions.
10657         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10659         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10661 2013-01-15  David S. Miller  <davem@davemloft.net>
10663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10664         trunc{,f} to libm-sysdep_routes.
10665         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10667         file.
10668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10670         file.
10671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10672         file.
10673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10675         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10676         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10677         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10678         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10679         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10680         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10683         nearbyint{,f} to libm-sysdep_routes.
10684         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10686         New file.
10687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10688         file.
10689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10690         New file.
10691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10692         file.
10693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10695         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10696         file.
10697         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10698         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10699         file.
10700         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10701         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10702         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10704         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10705         libc_feholdexcept and libc_fesetenv.
10707 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10709         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10711 2013-01-14  David S. Miller  <davem@davemloft.net>
10713         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10714         (SPARC_ASM_VIS2_IFUNC): Likewise.
10715         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10717         use of 'siam' instruction.
10718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10719         Likewise.
10720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10721         Likewise.
10722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10723         Likewise.
10724         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10729         file.
10730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10731         file.
10732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10733         file.
10734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10735         file.
10736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10741         new VIS2 routines.
10742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10745         Likewise.
10746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10747         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10751         routines to libm-sysdep_routines.
10752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10755         fdim/fdimf to libm-sysdep_routines.
10756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10757         file.
10758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10760         file.
10761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10764         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10765         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10766         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10767         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10769 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10772         to optimize copies.
10774         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10779         local variable MPTWO.
10780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10781         Likewise.
10783 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10785         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10786         GLOB_NOESCAPE.
10788 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10790         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10792 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10794         * manual/pattern.texi (glob_t): Document gl_flags.
10795         (glob64_t): Likewise.
10797 2013-01-11  David S. Miller  <davem@davemloft.net>
10799         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10800         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10801         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10802         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10803         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10804         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10805         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10806         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10807         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10808         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10809         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10810         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10811         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10813         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10814         sparc V9 rather than using V8 code.
10815         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10816         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10818         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10819         Move to...
10820         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10821         Here.
10823 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10825         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10826         not in the main loop.
10827         * configure: Regenerated.
10829 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10831         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10832         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10833         to just #else.
10834         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10835         [!__GLIBC_HAVE_LONG_LONG] case.
10836         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10837         condition to just #else.
10838         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10839         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10840         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10841         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10842         unconditional.
10843         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10844         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10845         #elif condition to just #else.
10846         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10847         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10848         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10849         #elif condition to just #else.
10851 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10853         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10854         (EF_MIPS_ARCH_64): Fix value.
10855         (EF_MIPS_ARCH_32R2): New.
10856         (EF_MIPS_ARCH_64R2): New.
10858 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10860         * Makeconfig (+link-pie-before-libc): New.
10861         (+link-pie-after-libc): Likewise.
10862         (+link-pie-tests): Likewise.
10863         (+link-pie): Rewritten.
10864         (link-before-libc): Remove $(config-LDFLAGS).
10865         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10866         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10867         (config-LDFLAGS): Renamed to ...
10868         (rtld-LDFLAGS): This.
10869         (rtld-tests-LDFLAGS): New macro.
10870         (link-libc-rpath-link): Likewise.
10871         (link-libc-tests-rpath-link): Likewise.
10872         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10873         (link-libc): Prepand $(link-libc-rpath-link).
10874         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10875         (test-program-prefix): New macro.
10876         (test-via-rtld-prefix): Likewise.
10877         (test-program-cmd): Likewise.
10878         (host-test-program-cmd): Likewise.
10879         * Makefile ($(common-objpfx)testrun.sh): Replace
10880         $(run-program-prefix) with $(test-program-prefix).
10881         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10882         $(rtld-LDFLAGS).
10883         ($(common-objpfx)shlib.lds): Likewise.
10884         (build-module-helper): Likewise.
10885         ($(common-objpfx)format.lds): Likewise.
10886         * Rules (binaries-pie-tests): New.
10887         (binaries-pie-notests): Likewise.
10888         (binaries-pie): Rewritten.
10889         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10890         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10891         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10892         (make-test-out): Replace $(host-built-program-cmd) with
10893         $(host-test-program-cmd).
10894         * config.make.in (build-hardcoded-path-in-tests): New variable.
10895         * configure.in (--enable-hardcoded-path-in-tests): New configure
10896         option.
10897         (hardcoded_path_in_tests): New AC_SUBST.
10898         * configure: Regenerated.
10899         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10900         $(built-program-cmd) with $(test-program-cmd).
10901         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10902         (test_program_cmd): This.
10903         * elf/Makefile ($(objpfx)order.out): Run test with
10904         $(test-program-prefix).
10905         ($(objpfx)order2.out): Likewise.
10906         ($(objpfx)tst-initorder.out): Likewise.
10907         ($(objpfx)tst-initorder2.out): Likewise.
10908         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10909         $(test-program-cmd).
10910         ($(objpfx)tst-array1-static.out): Likewise.
10911         ($(objpfx)tst-array2.out): Likewise.
10912         ($(objpfx)tst-array3.out): Likewise.
10913         ($(objpfx)tst-array4.out): Likewise.
10914         ($(objpfx)tst-array5.out): Likewise.
10915         ($(objpfx)tst-array5-static.out): Likewise.
10916         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10917         $(test-program-cmd).
10918         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10919         $(run-program-prefix) with $(test-program-prefix).
10920         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10921         (test_program_prefix): This.
10922         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10923         $(run-program-prefix) with $(test-program-prefix).
10924         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10925         (test_program_prefix): This.
10926         * iconvdata/tst-tables.sh: Likewise.
10927         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10928         $(run-program-prefix) with $(test-program-prefix).
10929         ($(objpfx)tst-translit.out): Likewise.
10930         ($(objpfx)tst-gettext2.out): Likewise.
10931         ($(objpfx)tst-gettext4.out): Likewise.
10932         ($(objpfx)tst-gettext6.out): Likewise.
10933         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10934         (test_program_prefix): This.
10935         * intl/tst-gettext2.sh: Likewise.
10936         * intl/tst-gettext4.sh  Likewise.
10937         * intl/tst-gettext6.sh: Likewise.
10938         * intl/tst-translit.sh: Likewise.
10939         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10940         with $(test-program-cmd).
10941         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10942         $(run-program-prefix) with $(test-program-prefix).
10943         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10944         (test_program_prefix): This.
10945         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10946         $(run-program-prefix) with $(test-program-prefix).
10947         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10948         (test_program_prefix): This.
10949         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10950         * posix/Makefile ($(objpfx)globtest.out): Replace
10951         $(run-via-rtld-prefix) and $(test-wrapper) with
10952         $(test-program-prefix) and $(test-via-rtld-prefix).
10953         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10954         $(test-program-prefix).
10955         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10956         $(host-test-program-cmd).
10957         (tst-spawn-ARGS): Likewise.
10958         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10959         $(test-program-prefix).
10960         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10961         (test_via_rtld_prefix): This.
10962         (test_wrapper): Renamed to ...
10963         (test_program_prefix): This.
10964         (run_program_prefix): Replaced by test_program_prefix.
10965         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10966         (test_program_prefix): This.
10967         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10968         with $(host-test-program-cmd).
10969         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10970         $(run-program-prefix) with $(test-program-prefix).
10971         ($(objpfx)tst-printf.out): Likewise.
10972         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10973         $(test-program-cmd).
10974         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10975         (test_program_prefix): This.
10976         * stdio-common/tst-unbputc.sh: Likewise.
10977         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10978         $(run-program-prefix) with $(test-program-prefix).
10979         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10980         (test_program_prefix): This.
10981         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10982         $(built-program-cmd) with $(test-program-cmd).
10984 2013-01-11  Andreas Jaeger  <aj@suse.de>
10986         [BZ #15003]
10987         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10988         value. Sync with Linux 3.7.
10990 2013-01-10  David S. Miller  <davem@davemloft.net>
10992         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10993         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10994         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10996 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10998         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10999         never set.
11000         * configure: Regenerated.
11002 2013-01-10  David S. Miller  <davem@davemloft.net>
11004         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11005         sparc V9 rather than using V8 code.
11006         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11007         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11009 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11011         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11012         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11013         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11014         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11015         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11016         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11017         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11018         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11019         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11020         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11021         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11022         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11023         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11024         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11025         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11026         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11027         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11028         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11029         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11030         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11031         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11032         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11033         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11034         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11035         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11036         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11037         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11039 2013-01-10  David S. Miller  <davem@davemloft.net>
11041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11043 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11045         * posix/Makefile (tests-static): New variable.
11046         (tests): Add $(tests-static).
11047         (tst-exec-static-ARGS): New variable.
11048         (tst-spawn-static-ARGS): Likewise.
11049         * posix/tst-exec-static.c: New file.
11050         * posix/tst-spawn-static.c: Likewise.
11051         * posix/tst-exec.c: Support run directly.
11052         * posix/tst-spawn.c: Likewise.
11054 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11056         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11057         long.
11058         * math/bits/mathcalls.h (llrint): Likewise.
11059         (llround): Likewise.
11060         * stdlib/stdlib.h (struct drand48_data): Likewise.
11061         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11062         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11063         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11064         Likewise.
11065         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11066         Likewise.
11067         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11068         (elf_greg_t): Likewise.
11069         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11070         (__jmp_buf): Likewise.
11071         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11072         definitions.
11073         (llrint): Likewise, for all definitions.
11074         (llrintl): Likewise.
11076         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11077         Remove [__GNUC__] condition.
11078         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11079         condition to just [__USE_ISOC99].
11080         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11082 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11084         [BZ #14200]
11085         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11086         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11087         defined.
11088         (_POSIX_V6_ILP32_OFF32): Likewise.
11089         (_XBS5_ILP32_OFF32): Likewise.
11090         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11091         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11093 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11095         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11098         doubles __mpexp_twomm1.  Adjust usage.
11099         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11100         Remove.
11102 2013-01-10  Andreas Schwab  <schwab@suse.de>
11104         [BZ #14964]
11105         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11106         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11108 2013-01-09  David S. Miller  <davem@davemloft.net>
11110         [BZ #15003]
11111         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11112         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11113         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11114         TCP_FASTOPEN): Define.
11115         (tcp_repair_opt): New structure.
11116         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11117         enum values.
11118         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11119         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11120         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11121         (tcp_cookie_transactions): New structure.
11123 2013-01-09  Anton Blanchard  <anton@samba.org>
11125         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11126         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11127         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11130 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11132         * include/features.h (__USE_ANSI): Remove.
11134 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11136         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11138         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11140 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11142         * sysdeps/s390/fpu/libm-test-ulps: Update.
11144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11146         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11147         (__acr): Likewise.
11148         (__cpy): Likewise.
11149         (norm): Likewise.
11150         (denorm): Likewise.
11151         (__mp_dbl): Likewise.
11152         (__dbl_mp): Likewise.
11153         (add_magnitudes): Likewise.
11154         (sub_magnitudes): Likewise.
11155         (__add): Likewise.
11156         (__sub): Likewise.
11157         (__mul): Likewise.
11158         (__inv): Likewise.
11159         (__dvd): Likewise.
11160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11161         (__acr): Likewise.
11162         (__cpy): Likewise.
11163         (norm): Likewise.
11164         (denorm): Likewise.
11165         (__mp_dbl): Likewise.
11166         (__dbl_mp): Likewise.
11167         (add_magnitudes): Likewise.
11168         (sub_magnitudes): Likewise.
11169         (__add): Likewise.
11170         (__sub): Likewise.
11171         (__mul): Likewise.
11172         (__inv): Likewise.
11173         (__dvd): Likewise.
11174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11175         (__acr): Likewise.
11176         (__cpy): Likewise.
11177         (norm): Likewise.
11178         (denorm): Likewise.
11179         (__mp_dbl): Likewise.
11180         (__dbl_mp): Likewise.
11181         (add_magnitudes): Likewise.
11182         (sub_magnitudes): Likewise.
11183         (__add): Likewise.
11184         (__sub): Likewise.
11185         (__mul): Likewise.
11186         (__inv): Likewise.
11187         (__dvd): Likewise.
11189 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11191         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11192         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11193         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11194         2 && __USE_EXTERN_INLINES]: Likewise.
11196 2013-01-08  Andreas Jaeger  <aj@suse.de>
11198         [BZ# 14985]
11199         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11200         Remove.
11201         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11202         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11204 2013-01-07  Anton Blanchard  <anton@samba.org>
11206         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11207         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11208         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11209         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11210         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11211         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11212         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11213         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11215         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11216         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11217         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11219         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11220         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11221         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11222         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11223         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11224         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11225         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11226         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11227         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11228         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11229         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11230         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11231         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11232         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11233         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11234         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11235         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11236         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11238         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11239         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11240         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11241         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11242         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11243         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11244         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11245         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11246         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11247         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11248         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11250 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11252         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11253         (__MALLOC_PMT): Likewise.
11254         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11255         [__GNUC__], only on [_LIBC].
11256         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11257         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11258         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11259         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11260         forward declaration.
11261         (realloc_hook_ini): Likewise.
11262         (memalign_hook_ini): Likewise.
11263         (__libc_memalign): Do not use __MALLOC_PMT in variable
11264         declaration.
11265         (__libc_valloc): Likewise.
11266         (__libc_pvalloc): Likewise.
11267         (__libc_calloc): Likewise.
11268         (__posix_memalign): Likewise.
11270         [BZ #14996]
11271         * math/s_casinh.c: Include <float.h>.
11272         (__casinh): Do not do computation with squaring and square root
11273         for large arguments.
11274         * math/s_casinhf.c: Include <float.h>.
11275         (__casinhf): Do not do computation with squaring and square root
11276         for large arguments.
11277         * math/s_casinhl.c: Include <float.h>.
11278         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11279         (__casinhl): Do not do computation with squaring and square root
11280         for large arguments.
11281         * math/libm-test.inc (casin_test): Add more tests.
11282         (casinh_test): Likewise.
11283         * sysdeps/i386/fpu/libm-test-ulps: Update.
11284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11286 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11288         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11289         (__x86_64_raw_data_cache_size): Likewise.
11290         (__x86_64_data_cache_size_half): Likewise.
11291         (__x86_64_raw_data_cache_size_half): Likewise.
11292         (__x86_64_shared_cache_size): Likewise.
11293         (__x86_64_raw_shared_cache_size): Likewise.
11294         (__x86_64_shared_cache_size_half): Likewise.
11295         (__x86_64_raw_shared_cache_size_half): Likewise.
11296         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11297         to ...
11298         (__x86_data_cache_size): This.
11299         (__x86_64_raw_data_cache_size): Renamed to ...
11300         (__x86_raw_data_cache_size): This.
11301         (__x86_64_data_cache_size_half): Renamed to ...
11302         (__x86_data_cache_size_half): This.
11303         (__x86_64_raw_data_cache_size_half): Renamed to ...
11304         (__x86_raw_data_cache_size_half): This.
11305         (__x86_64_shared_cache_size): Renamed to ...
11306         (__x86_shared_cache_size): This.
11307         (__x86_64_raw_shared_cache_size): Renamed to ...
11308         (__x86_raw_shared_cache_size): This.
11309         (__x86_64_shared_cache_size_half): Renamed to ...
11310         (__x86_shared_cache_size_half): This.
11311         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11312         (__x86_raw_shared_cache_size_half): This.
11313         * sysdeps/x86_64/memcpy.S: Updated.
11314         * sysdeps/x86_64/memset.S: Likewise.
11315         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11316         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11317         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11319 2013-01-04  David S. Miller  <davem@davemloft.net>
11321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11323 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11325         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11326         1 to avoid redefinition warning.
11327         (__USE_GNU): Don't define.
11328         (init_signaling_nan): Protoize.
11330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11332 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11334         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11336         (__cpymn): Likewise.
11337         (norm): Remove commented code.
11338         (denorm): Likewise.
11339         (__mp_dbl): Likewise.
11340         (__inv): Likewise.
11341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11342         (__cpymn): Likewise.
11343         (norm): Remove commented code.
11344         (denorm): Likewise.
11345         (__mp_dbl): Likewise.
11346         (__inv): Likewise.
11348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11349         mp_no value for 1.0 and 2.0.
11350         (norm): Use RADIXI instead of radixi.d.
11351         (denorm): Likewise.
11352         (__mul): Use 0.0 instead of zero.d.
11353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11354         mp_no value for 1.0 and 2.0.
11355         (norm): Use RADIXI instead of radixi.d.
11356         (denorm): Likewise.
11357         (__mul): Use 0.0 instead of zero.d.
11359 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11361         [BZ #14994]
11362         * math/s_casinh.c (__casinh): Reduce finite argument to first
11363         quadrant then set signs of results at the end.
11364         * math/s_casinhf.c (__casinhf): Likewise.
11365         * math/s_casinhl.c (__casinhl): Likewise.
11366         * math/libm-test.inc (casin_test): Add more tests.
11367         (casinh_test): Likewise.
11368         * sysdeps/i386/fpu/libm-test-ulps: Update.
11369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11371 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11373         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11375         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11377         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11378         declarations.
11379         (denorm): Likewise.
11380         (__mp_dbl): Likewise.
11381         (__inv): Likewise.
11383         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11384         and adjust the header comment.
11386         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11387         variable name from declaration.
11389 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11392         Initialize COMMON_CPUID_INDEX_7 element.
11393         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11394         (CPUID_RTM): Likewise.
11395         (HAS_RTM): Likewise.
11396         (COMMON_CPUID_INDEX_7): New enum.
11398 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11400         [BZ #14981]
11401         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11402         size is zero, record memory as freed.
11404 2013-01-03  Andreas Jaeger  <aj@suse.de>
11406         * po/ia.po: Add new Interlingua translation.
11408 2012-01-03  Allan McRae  <allan@archlinux.org>
11410         * locale/programs/localedef.c: Fix description of '--posix' flag.
11412 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11414         * NEWS: Update dates in second copyright notice.
11415         * README: Update copyright dates in example.
11416         * manual/libc.texinfo: Update copyright dates.
11417         * scripts/test-installation.pl: Update copyright date in --version
11418         output.
11420         * hurd/ctty-input.c: Fix copyright notice formatting.
11421         * hurd/ctty-output.c: Likewise.
11422         * hurd/dtable.c: Likewise.
11423         * hurd/hurd-raise.c: Likewise.
11424         * hurd/hurdprio.c: Likewise.
11425         * hurd/msgportdemux.c: Likewise.
11426         * misc/sys/file.h: Likewise.
11427         * misc/sys/ioctl.h: Likewise.
11428         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11429         * sysdeps/mach/hurd/chdir.c: Likewise.
11430         * sysdeps/mach/hurd/fchdir.c: Likewise.
11431         * sysdeps/mach/hurd/rename.c: Likewise.
11432         * sysdeps/mach/hurd/rmdir.c: Likewise.
11433         * sysdeps/mach/hurd/seekdir.c: Likewise.
11434         * sysdeps/mach/hurd/setsid.c: Likewise.
11435         * sysdeps/posix/wait3.c: Likewise.
11437         * All files with FSF copyright notices: Update copyright dates
11438         using scripts/update-copyrights.
11439         * intl/plural.c: Regenerated.
11440         * locale/programs/charmap-kw.h: Likewise.
11441         * locale/programs/locfile-kw.h: Likewise.
11443 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11445         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11446         four values.
11448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11449         calculation loop and add branch prediction.
11451         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11452         check access beyond bounds of m1np.
11454         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11455         MPTWO.
11456         (__inv): Remove local variable MPTWO to use the global
11457         constant.
11458         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11459         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11460         variable MPTWO.
11461         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11462         MP3HALFS static const.
11464 2013-01-01  David S. Miller  <davem@davemloft.net>
11466         * po/ca.po: Update from translation team.
11468 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11470         * scripts/update-copyrights: New file.
11471         * Makeconfig: Reformat copyright notice.
11472         * ctype/ctype.h: Likewise.
11473         * debug/swprintf_chk.c: Likewise.
11474         * elf/dl-cache.c: Likewise.
11475         * elf/dl-debug.c: Likewise.
11476         * elf/dl-object.c: Likewise.
11477         * grp/initgroups.c: Likewise.
11478         * hurd/Makefile: Likewise.
11479         * hurd/hurd/signal.h: Likewise.
11480         * hurd/hurdfault.c: Likewise.
11481         * hurd/hurdioctl.c: Likewise.
11482         * hurd/hurdlookup.c: Likewise.
11483         * hurd/intr-msg.c: Likewise.
11484         * iconv/gconv_open.c: Likewise.
11485         * libio/swprintf.c: Likewise.
11486         * locale/lc-ctype.c: Likewise.
11487         * locale/nl_langinfo.c: Likewise.
11488         * mach/Machrules: Likewise.
11489         * mach/Makefile: Likewise.
11490         * malloc/obstack.h: Likewise.
11491         * manual/Makefile: Likewise.
11492         * manual/tsort.awk: Likewise.
11493         * misc/bits/stab.def: Likewise.
11494         * nis/nis_print_group_entry.c: Likewise.
11495         * nis/nis_table.c: Likewise.
11496         * nis/nss_compat/compat-pwd.c: Likewise.
11497         * nis/nss_compat/compat-spwd.c: Likewise.
11498         * po/Makefile: Likewise.
11499         * posix/fnmatch.c: Likewise.
11500         * posix/regex.h: Likewise.
11501         * resolv/Makefile: Likewise.
11502         * resolv/nss_dns/dns-network.c: Likewise.
11503         * resolv/res_hconf.c: Likewise.
11504         * scripts/gen-sorted.awk: Likewise.
11505         * soft-fp/soft-fp.h: Likewise.
11506         * stdio-common/printf.h: Likewise.
11507         * stdlib/monetary.h: Likewise.
11508         * stdlib/random.c: Likewise.
11509         * stdlib/random_r.c: Likewise.
11510         * sysdeps/generic/Makefile: Likewise.
11511         * sysdeps/gnu/Makefile: Likewise.
11512         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11514         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11516         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11519         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11520         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11522         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11523         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11524         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11525         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11526         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11527         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11528         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11530         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11531         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11532         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11533         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11534         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11538         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11539         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11540         * sysdeps/mach/hurd/errnos.awk: Likewise.
11541         * sysdeps/mach/hurd/fork.c: Likewise.
11542         * sysdeps/mach/hurd/getcwd.c: Likewise.
11543         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11544         * sysdeps/mach/hurd/mmap.c: Likewise.
11545         * sysdeps/mach/hurd/utimes.c: Likewise.
11546         * sysdeps/mach/hurd/xmknod.c: Likewise.
11547         * sysdeps/posix/profil.c: Likewise.
11548         * sysdeps/posix/readdir_r.c: Likewise.
11549         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11550         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11551         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11552         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11554         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11555         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11556         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11558         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11559         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11560         * sysdeps/pthread/lio_listio.c: Likewise.
11561         * sysdeps/sparc/dl-procinfo.h: Likewise.
11562         * sysdeps/unix/i386/sysdep.S: Likewise.
11563         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11564         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11565         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11566         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11568         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11569         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11570         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11571         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11572         * sysdeps/wordsize-32/divdi3.c: Likewise.
11573         * time/sys/time.h: Likewise.
11574         * wcsmbs/Makefile: Likewise.
11576 2013-01-01  David S. Miller  <davem@davemloft.net>
11578         * po/fr.po: Update from translation team.
11580         * catgets/gencat.c: Update copyright year.
11581         * csu/version.c: Likewise.
11582         * debug/catchsegv.sh: Likewise.
11583         * debug/pcprofiledump.c: Likewise.
11584         * debug/xtrace.sh: Likewise.
11585         * elf/ldconfig.c: Likewise.
11586         * elf/ldd.bash.in: Likewise.
11587         * elf/pldd.c: Likewise.
11588         * elf/sotruss.ksh: Likewise.
11589         * elf/sprof.c: Likewise.
11590         * iconv/iconv_prog.c: Likewise.
11591         * iconv/iconvconfig.c: Likewise.
11592         * locale/programs/locale.c: Likewise.
11593         * locale/programs/localedef.c: Likewise.
11594         * login/programs/pt_chown.c: Likewise.
11595         * malloc/memusage.sh: Likewise.
11596         * malloc/memusagestat.c: Likewise.
11597         * malloc/mtrace.pl: Likewise.
11598         * nscd/nscd.c: Likewise.
11599         * nss/getent.c: Likewise.
11600         * nss/makedb.c: Likewise.
11601         * posix/getconf.c: Likewise.
11603 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11605         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11606         numbers.
11608 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11610         * math/bits/mathcalls.h (modf): Use __nonnull.
11612 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11614         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11615         (split): Use macro CN instead of the bare value.
11616         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11617         could be used.
11618         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11619         instead of the bare value.
11620         (power1): Likewise.
11622 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11624         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11625         __ATAN_TWOM.
11626         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11628         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11629         their values.
11630         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11631         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11632         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11633         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11635 2012-12-28  Andreas Jaeger  <aj@suse.de>
11637         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11638         values are from Linux 3.7.
11640         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11641         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11643 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11645         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11646         TRUE case.
11648         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11649         (norm): Likewise.
11650         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11651         variables with preprocessor constants.
11652         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11653         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11654         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11656 2012-12-27  Bruno Haible  <bruno@clisp.org>
11658         [BZ #14317]
11659         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11660         only if needed.
11662 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11665         and use variable directly.
11666         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11668         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11669         MPONE.
11670         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11671         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11672         variable MPONE.
11673         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11674         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11675         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11676         include directive.  Remove local variable MPONE.
11677         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11678         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11679         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11681 2012-12-25  David S. Miller  <davem@davemloft.net>
11683         * version.h (RELEASE): Set to "development".
11684         (VERSION): Set to "2.17.90".
11685         * NEWS: Add 2.18 section.
11687 2012-12-21  David S. Miller  <davem@davemloft.net>
11689         * po/hr.po: Update from translation team.
11691 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11693         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11695 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11697         * NEWS:  Mention new memcpy for MIPS.
11699 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11701         * manual/contrib.texi (Contributors): Spelling correction.
11703 2012-12-15  David S. Miller  <davem@davemloft.net>
11705         * po/ru.po: Update from translation team.
11707 2012-12-13  David S. Miller  <davem@davemloft.net>
11709         * NEWS: Mention IFUNC testsuite enhancements.
11711         * po/pl.po: Update from translation team.
11712         * po/bg.po: Likewise.
11714         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11715         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11717 2012-12-11  David S. Miller  <davem@davemloft.net>
11719         * po/sv.po: Update from translation team.
11721         * po/vi.po: Update from translation team.
11723         * po/cs.po: Update from translation team.
11725         * po/de.po: Update from translation team.
11726         * po/eo.po: Likewise.
11727         * po/nl.po: Likewise.
11729 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11731         [BZ #14246]
11732         * manual/argp.texi (Argp Helper Functions): Move node to follow
11733         Argp Parsing State.
11735         [BZ #14872]
11736         * manual/conf.texi (Limits on File System Capacity): Mention if
11737         terminating null is included in the max size.
11739 2012-12-10  Andreas Jaeger  <aj@suse.de>
11741         * po/cs.po: Update from translation team.
11743 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11745         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11746         void pointer and cast to uintptr_t.
11747         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11748         path.
11749         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11750         * sysdeps/s390/s390-64/memset.S: Likewise.
11752 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11754         [BZ #14833]
11755         * menual/message.texi (Message Translation): Fix typos.
11756         (Helper programs for gettext): Likewise.
11758 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11760         [BZ #14898]
11761         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11762         Change to -1.
11764 2012-12-07  David S. Miller  <davem@davemloft.net>
11766         * po/libc.pot: Update.
11768 2012-12-07  Richard Henderson  <rth@redhat.com>
11770         [BZ #10114]
11771         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11772         normal/normal case to before the switch.
11773         (_FP_DIV): Likewise.
11775 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11776             Mike Frysinger  <vapier@gentoo.org>
11778         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11779         check for __NR_fadvise64_64.
11781 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11783         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11784         0, not just to plain "0" as a statement.
11785         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11786         with cw.
11788 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11790         * NEWS: Use sourceware.org in Bugzilla URL.
11792 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11795         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11797         * stdio-common/tst-put-error.c (do_test): Add newline to the
11798         padded test to ensure flush.
11800 2012-12-05  Jeff Law  <law@redhat.com>
11802         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11804 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11806         * README: Don't refer to ports add-on as distributed separately.
11807         Mention AArch64 in list of systems supported in the ports add-on.
11809         * LICENSES: Add more non-FSF copyright and license notices.
11811         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11812         ((unused)).
11814         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11816         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11817         10000 as width of padded output.
11819 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11821         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11824         variable LX with __attribute__ ((unused)).
11825         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11826         Likewise.
11827         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11828         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11829         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11830         with __attribute__ ((unused)).
11832 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11834         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11836 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11838         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11839         (CFLAGS-nldbl-acos.c): New variable.
11840         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11841         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11842         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11843         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11844         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11845         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11846         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11847         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11848         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11849         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11850         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11851         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11852         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11853         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11854         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11855         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11856         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11857         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11858         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11859         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11860         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11861         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11862         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11863         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11864         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11865         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11866         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11867         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11868         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11869         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11870         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11871         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11872         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11873         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11874         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11875         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11876         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11877         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11878         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11879         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11880         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11881         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11882         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11883         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11884         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11885         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11886         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11887         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11888         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11889         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11890         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11891         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11892         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11893         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11894         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11895         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11896         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11897         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11898         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11899         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11900         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11901         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11902         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11903         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11904         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11905         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11906         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11907         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11908         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11909         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11910         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11911         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11912         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11913         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11914         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11915         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11916         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11917         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11918         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11919         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11920         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11921         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11922         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11923         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11924         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11925         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11926         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11927         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11928         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11929         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11930         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11931         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11932         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11933         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11934         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11935         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11936         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11939         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11941         [BZ #14914]
11942         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11943         whole low double instead of just low 47 bits when splitting values
11944         into two parts.
11946 2012-12-03  Allan McRae  <allan@archlinux.org>
11948         * manual/stdio.texi (Predefined Printf Handlers): Remove
11949         @hsep and @vsep usage.
11951 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11953         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11954         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11956 2012-12-03  Jeff Law  <law@redhat.com>
11958         * time/sys/time.h (settimeofday): Do not mark TV argument
11959         as __nonnull.
11961 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11963         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11964         when currently writing and seek to current position when not.
11965         * libio/Makefile (tests): Remove bug-fclose1.
11966         * libio/bug-fclose1.c: Delete.
11968 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11970         * manual/arith.texi (feenableexcept): Fix typo.
11971         (fedisableexcept): Likewise.
11973 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11975         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11976         second, differently-typed declaration, rather than a cast.
11978 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11980         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11981         * include/rpc/svc.h: ... here.
11983 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11985         [BZ #13013]
11986         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11987         depending n and resplen2 to catch cases where answer
11988         equals answerp2.
11990 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11992         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11993         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11995 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11997         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11999 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12001         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12003 2012-11-28  Jeff Law  <law@redhat.com>
12005         [BZ #13761]
12006         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12007         dataset_temporary.  Track alloca usage into alloca_used.
12008         If dataset is large allocate and release it via malloc/free.
12010 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12012         [BZ #14197]
12013         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12015 2012-11-28  David S. Miller  <davem@davemloft.net>
12017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12019 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12021         [BZ #14803]
12022         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12023         of pi/2 rounded to nearest to 64 bits.
12024         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12025         nearest to 64 bits.
12026         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12027         bits.
12029 2012-11-28  Jeff Law <law@redhat.com>
12030             Martin Osvald <mosvald@redhat.com>
12032         [BZ #14889]
12033         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12034         * sunrpc/svc.c: Include time.h.
12035         (__svc_accept_failed): New function.
12036         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12037         any reason other than EINTR, call __svc_accept_failed.
12038         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12039         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12041 2012-11-28  Andreas Schwab  <schwab@suse.de>
12043         * scripts/abilist.awk: Also handle indirect functions in .opd
12044         section.
12046 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12048         [BZ #13881]
12049         * sysdeps/x86/fpu/powl_helper.c: New file.
12050         * sysdeps/x86/fpu/Makefile: Likewise.
12051         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12052         (p3): New object.
12053         (__ieee754_powl): Use __powl_helper for finite arguments except
12054         integer exponents below 8.
12055         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12056         (p3): New object.
12057         (__ieee754_powl): Use __powl_helper for finite arguments except
12058         integer exponents below 8.
12059         * math/libm-test.inc (pow_test): Add more tests and enable some
12060         previously disabled tests.
12061         * sysdeps/i386/fpu/libm-test-ulps: Update.
12062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12064 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12065             Carlos O'Donell  <carlos_odonell@mentor.com>
12067         * nss/makedb.c (is_prime): Assert that input is odd and greater
12068         than 4.  Note that fact in a comment too.
12069         (next_prime): Add 4 to input.
12071 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12073         [BZ #11741]
12074         * libio/Makefile (tests): Add test case tst-fwrite-error.
12075         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12076         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12077         * libio/tst-fwrite-error.c: New test case.
12079 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12081         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12082         before casting to void *.
12083         * include/libc-internal.h (__pointer_type): New macro.
12084         (__integer_if_pointer_type_sub): Likewise.
12085         (__integer_if_pointer_type): Likewise.
12086         (cast_to_integer): Likewise.
12087         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12088         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12089         before casting to atomic64_t.
12090         (atomic_exchange_acq): Likewise.
12091         (__arch_exchange_and_add_body): Likewise.
12092         (__arch_add_body): Likewise.
12093         (atomic_add_negative): Likewise.
12094         (atomic_add_zero): Likewise.
12096 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12098         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12099         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12100         (add_fdes): Likewise.
12101         (linear_search_fdes): Likewise.
12102         (binary_search_unencoded_fdes): Likewise.
12104 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12106         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12108 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12110         * configure.in: Autodetect C++ header directories.
12111         * configure: Regenerated.
12113 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12115         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12117 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12121 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12123         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12124         LDBL_MANT_DIG == 106]: Disable some tests.
12125         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12126         Likewise.
12127         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12128         Likewise.
12130         [BZ #14871]
12131         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12132         input for small inputs.  Return +/- pi/2 for large inputs.
12133         * math/libm-test.inc (atan_test): Add more tests.
12135         * sysdeps/generic/unwind-dw2-fde-glibc.c
12136         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12137         __attribute__ ((unused)).
12139         [BZ #14645]
12140         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12141         x * y if x and y are nonzero and z is zero.
12143         [BZ #14811]
12144         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12145         nonzero exponents with absolute value below 0x1p-117 to +/-
12146         0x1p-117.
12148         [BZ #14869]
12149         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12150         up arguments below 2**-450, not just those below 2**-500.
12151         * math/libm-test.inc (hypot_test): Add another test.
12153         [BZ #14868]
12154         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12155         Return a+b for ratio over 2**120, not 2**60.
12156         * math/libm-test.inc (hypot_test): Add another test.
12158         * math/libm-test.inc (clog_test): Use
12159         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12160         (clog10_test): Likewise.
12162         [BZ #6778]
12163         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12165 2012-11-22  Andreas Schwab  <schwab@suse.de>
12167         * sysdeps/i386/fpu/libm-test-ulps: Update.
12169 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12171         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12172         printf output with newline.
12174 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12176         [BZ #14865]
12177         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12178         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12179         -z nodlopen, -z initfirst and -z execstack support.
12180         * configure: Regenerated.
12182         * elf/elf.h (DF_1_NODIRECT): New macro.
12183         (DF_1_IGNMULDEF): Likewise.
12184         (DF_1_NOKSYMS): Likewise.
12185         (DF_1_NOHDR): Likewise.
12186         (DF_1_EDITED): Likewise.
12187         (DF_1_NORELOC): Likewise.
12188         (DF_1_SYMINTPOSE): Likewise.
12189         (DF_1_GLOBAUDIT): Likewise.
12190         (DF_1_SINGLETON): Likewise.
12191         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12192         DT_1_SUPPORTED_MASK bits.
12193         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12195 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12197         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12199 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12201         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12202         macro.
12204         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12205         (sendmmsg): Move declarations...
12206         * socket/sys/socket.h: ... here.
12207         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12208         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12209         include it from...
12210         * socket/recvmmsg.c: ... this new file.
12211         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12212         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12213         definition of __sendmmsg hidden.
12214         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12215         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12216         Move ENOSYS stub into and include it from...
12217         * socket/sendmmsg.c: ... this new file.
12218         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12219         (sysdep_routines): Move recvmmsg and sendmmsg...
12220         * socket/Makefile (routines): ... here.
12221         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12222         (GLIBC_PRIVATE): Add __sendmmsg.
12223         * include/sys/socket.h (__sendmmsg): Add declarations.
12224         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12225         sendmmsg.
12227 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12229         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12230         variable I1 with __attribute__ ((unused)).
12231         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12233 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12235         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12236         DUMMY variables with __attribute__ ((unused)).
12238         * bits/byteswap.h: Include <bits/types.h>.
12239         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12241 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12243         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12244         string_t.  Do not manually set errno.
12245         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12246         length with __strnlen.  Make sure to both set errno and return it on
12247         failure.
12249 2012-11-19  David S. Miller  <davem@davemloft.net>
12251         With help from Joseph Myers.
12252         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12253         very large arguments properly.
12254         * math/libm-test.inc (atan_test): New tests.
12255         (atan2_test): New tests.
12256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12259 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12261         [BZ #14856]
12262         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12263         Define to 3.
12265         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12266         [POSIX] (EADDRNOTAVAIL): Likewise.
12267         [POSIX] (EAFNOSUPPORT): Likewise.
12268         [POSIX] (EALREADY): Likewise.
12269         [POSIX] (ECONNABORTED): Likewise.
12270         [POSIX] (ECONNREFUSED): Likewise.
12271         [POSIX] (ECONNRESET): Likewise.
12272         [POSIX] (EDESTADDRREQ): Likewise.
12273         [POSIX] (EDQUOT): Likewise.
12274         [POSIX] (EHOSTUNREACH): Likewise.
12275         [POSIX] (EIDRM): Likewise.
12276         [POSIX] (EISCONN): Likewise.
12277         [POSIX] (ELOOP): Likewise.
12278         [POSIX] (EMULTIHOP): Likewise.
12279         [POSIX] (ENETDOWN): Likewise.
12280         [POSIX] (ENETUNREACH): Likewise.
12281         [POSIX] (ENOBUFS): Likewise.
12282         [POSIX] (ENODATA): Likewise.
12283         [POSIX] (ENOLINK): Likewise.
12284         [POSIX] (ENOMSG): Likewise.
12285         [POSIX] (ENOPROTOOPT): Likewise.
12286         [POSIX] (ENOSR): Likewise.
12287         [POSIX] (ENOSTR): Likewise.
12288         [POSIX] (ENOTCONN): Likewise.
12289         [POSIX] (ENOTSOCK): Likewise.
12290         [POSIX] (EOPNOTSUPP): Likewise.
12291         [POSIX] (EOVERFLOW): Likewise.
12292         [POSIX] (EPROTO): Likewise.
12293         [POSIX] (EPROTONOSUPPORT): Likewise.
12294         [POSIX] (EPROTOTYPE): Likewise.
12295         [POSIX] (ESTALE): Likewise.
12296         [POSIX] (ETIME): Likewise.
12297         [POSIX] (ETXTBSY): Likewise.
12298         [POSIX] (EWOULDBLOCK): Likewise.
12299         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12300         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12301         [POSIX] (SEEK_CUR): Likewise.
12302         [POSIX] (SEEK_END): Likewise.
12303         [POSIX || UNIX98] (mode_t): Do not require.
12304         [POSIX] (off_t): Likewise.
12305         [POSIX] (pid_t): Likewise.
12306         [POSIX] (sys/stat.h): Do not allow header.
12307         [POSIX] (unistd.h): Likewise.
12308         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12309         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12310         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12311         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12312         require.
12313         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12314         sigevent): Specify elements.
12315         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12316         entry.
12317         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12318         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12320         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12321         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12322         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12323         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12324         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12325         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12326         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12327         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12328         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12329         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12330         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12331         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12332         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12333         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12334         Likewise.
12335         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12336         Likewise.
12337         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12338         Likewise.
12339         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12340         Likewise.
12341         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12342         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12343         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12344         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12345         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12346         Specify lower bound on value.
12347         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12348         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12349         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12350         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12351         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12352         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12353         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12354         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12355         value.
12356         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12357         as optional.
12358         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12359         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12360         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12361         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12362         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12363         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12364         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12365         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12366         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12367         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12368         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12369         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12370         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12371         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12372         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12373         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12374         entry.
12375         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12376         optional.
12377         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12378         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12379         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12380         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12381         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12382         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12383         Likewise.
12384         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12385         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12386         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12387         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12388         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12389         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12390         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12391         as optional.
12392         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12393         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12394         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12395         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12396         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12397         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12398         specify as optional.
12399         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12400         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12401         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12402         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12403         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12404         [XPG3] (NL_LANGMAX): Likewise.
12405         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12406         [POSIX || XPG3] (NL_NMAX): Likewise.
12407         [POSIX || XPG3] (NL_SETMAX): Likewise.
12408         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12409         [XPG3] (NZERO): Likewise.
12410         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12411         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12412         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12413         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12414         (REG_ERANGE): Expect.
12415         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12416         optional-constant.
12417         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12418         Use (void) in prototype.
12419         [POSIX] (*_t): Allow.
12420         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12421         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12422         (WRDE_BADVAL): Expect.
12424         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12425         expect.
12426         [XPG3 || XPG4] (O_RSYNC): Likewise.
12427         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12428         Likewise.
12429         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12430         [XPG3 || XPG4] (sigqueue): Likewise.
12431         [XPG3 || XPG4] (sigtimedwait): Likewise.
12432         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12433         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12434         [XPG3 || XPG4] (vsnprintf): Likewise.
12435         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12436         Likewise.
12437         [XPG3 || XPG4] (blksize_t): Likewise.
12438         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12439         Likewise.
12440         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12441         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12442         [XPG3 || XPG4] (struct itimerspec): Likewise.
12443         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12444         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12445         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12446         [XPG3 || XPG4] (clockid_t): Likewise.
12447         [XPG3 || XPG4] (timer_t): Likewise.
12448         [XPG3 || XPG4] (clock_getres): Likewise.
12449         [XPG3 || XPG4] (clock_gettime): Likewise.
12450         [XPG3 || XPG4] (clock_settime): Likewise.
12451         [XPG3 || XPG4] (nanosleep): Likewise.
12452         [XPG3 || XPG4] (timer_create): Likewise.
12453         [XPG3 || XPG4] (timer_delete): Likewise.
12454         [XPG3 || XPG4] (timer_gettime): Likewise.
12455         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12456         [XPG3 || XPG4] (timer_settime): Likewise.
12457         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12458         [XPG3 || XPG4] (getlogin_r): Likewise.
12459         [XPG3 || XPG4] (pread): Likewise.
12460         [XPG3 || XPG4] (pthread_atfork): Likewise.
12461         [XPG3 || XPG4] (pwrite): Likewise.
12463         [BZ #14835]
12464         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12465         <bits/siginfo.h>.
12467 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12469         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12470         finalizing MALLSTREAM.
12472         * sysdeps/mach/hurd/syncfs.c: New file.
12474 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12476         [BZ #14719]
12477         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12478         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12479         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12480         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12481         (_nss_dns_gethostbyname4_r): Likewise.
12482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12483         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12485 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12487         [BZ #13763]
12488         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12490 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12492         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12493         * elf/cache.c (print_entry): Print ",AArch64" for
12494         FLAG_AARCH64_LIB64
12496         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12497         * elf/cache.c (print_entry): Print ",hard-float" for
12498         FLAG_ARM_LIBHF.
12500 2012-11-18  David S. Miller  <davem@davemloft.net>
12502         With help from Joseph Myers.
12503         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12504         cutoff to 2**-13.
12505         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12506         cutoff to 2**-25.
12507         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12508         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12509         small.
12510         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12511         * math/libm-test.inc (y0_test): New tests.
12512         (y1_test): New tests.
12513         * sysdeps/i386/fpu/libm-test-ulps: Update.
12514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12517 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12519         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12520         64-bit targets.
12521         * configure: Regenerated.
12523 2012-11-17  David S. Miller  <davem@davemloft.net>
12525         [BZ #14811]
12526         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12527         nonzero exponents with absolute value below 0x1p-128 to +/-
12528         0x1p-128.
12530 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12532         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12534         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12536         * posix/getconf-speclist.c: New file.
12537         * posix/posix-envs.def: Likewise.
12538         * posix/confstr.c (START_ENV_GROUP): New macro.
12539         (END_ENV_GROUP): Likewise.
12540         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12541         (KNOWN_PRESENT_ENV_STRING): Likewise.
12542         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12543         (UNKNOWN_ENVIRONMENT): Likewise.
12544         (confstr): Include posix-envs.def instead of handling
12545         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12546         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12547         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12548         (END_ENV_GROUP): Likewise.
12549         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12550         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12551         (UNKNOWN_ENVIRONMENT): Likewise.
12552         (__sysconf): Include posix-envs.def instead of handling associated
12553         cases directly here.
12554         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12555         preprocessing getconf-speclist.c rather than running getconf or
12556         generating empty file.
12558 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12560         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12562 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12564         [BZ #14672]
12565         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12567 2012-11-16  David S. Miller  <davem@davemloft.net>
12569         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12570         smaller than LDBL_EPSILON/2.0L, just return xm1.
12572 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12574         * elf/tst-array1.c (init): Set constructor priority to 1000.
12575         (fini): Set destructor priority to 1000.
12576         * elf/tst-array2dep.c: Likewise.
12578 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12580         [BZ #11741]
12581         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12582         (_IO_new_file_xsputn): Also return EOF if none of the input
12583         data was written when overflow failed.
12584         * libio/iopadn.c (_IO_padn): Likewise.
12585         * libio/iowpadn.c (_IO_wpadn): Likewise.
12586         * stdio-common/tst-put-error.c: Add copyright notice.
12587         (do_test): Add case for printing padded string.
12588         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12589         _IO_padn returned error.
12590         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12591         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12592         return EOF.
12594 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12596         * libio/libioP.h: Add comment note that the references to C++
12597         bits are now obsolete.
12599 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12601         * math/libm-test.inc (check_complex): Use asprintf.
12603 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12605         * debug/pcprofiledump.c (print_version): Update copyright year.
12606         * malloc/memusagestat.c (print_version): Likewise.
12608 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12610         [BZ #14831]
12611         * elf/Makefile (tests): Add tst-audit8.
12612         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12613         ($(objpfx)tst-audit8.out): New target.
12614         (tst-audit8-ENV): New variable.
12615         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12616         audit if l_reloc_result is NULL.
12617         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12618         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12619         * elf/tst-audit8.c: New file.
12621 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12623         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12624         * misc/Makefile (CFLAGS-select.c): Define.
12625         * posix/Makefile (CFLAGS-pause.c): Define.
12627 2012-11-13  David S. Miller  <davem@davemloft.net>
12629         * crypt/Makefile: Move test targets after toplevel Rules
12630         inclusion.  Grab any necessary sysdep routines when linking.
12631         * crypt/md5.c (md5_process_block): Remove define, we will always
12632         name it __md5_process_block.
12633         (md5_finish_ctx): Update md5_process_block call.
12634         (md5_stream): Likewise.
12635         (md5_process_bytes): Likewise.
12636         (md5_process_block): Rename to __md5_process_block and move to ...
12637         * crypt/md5-block.c: ... here.
12638         * crypt/sha256.c (sha256_process_block): Move to ...
12639         * crypt/sha256-block.c: ... here.
12640         * crypt/sha512.c (sha512_process_block): Move to ...
12641         * crypt/sha512-block.c: ... here.
12642         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12643         path.
12644         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12645         * sysdeps/sparc/sparc64/multiarch/Makefile
12646         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12647         crypt subdir.
12648         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12649         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12650         multiarch changes.
12651         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12652         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12653         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12654         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12655         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12656         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12657         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12658         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12659         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12660         file.
12661         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12662         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12663         file.
12664         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12666 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12668         * timezone/tzselect.ksh: Update from tzcode git revision
12669         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12670         * timezone/zdump.c: Likewise.
12671         * timezone/zic.c: Likewise.
12672         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12673         in TZVERSION setting, not $(PKGVERSION).
12674         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12675         REPORT_BUGS_TO settings.
12677         [BZ #14838]
12678         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12679         macro.
12681 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12683         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12684         detection to immediately after _FP_ROUND().
12685         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12686         bits are 0.
12688 2012-11-11  David S. Miller  <davem@davemloft.net>
12690         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12691         inttypes.h
12692         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12693         __close rather than their public counterparts.
12695 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12697         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12698         file.
12699         [UNIX98] (sem_timedwait): Do not expect.
12700         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12701         [XPG4 || UNIX98] (sockatmark): Do not expect.
12702         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12703         (clock_getcpuclockid): Do not expect.
12704         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12705         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12706         Do not expect.
12707         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12708         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12709         [UNIX98] (vwscanf): Likewise.
12710         [UNIX98] (vswscanf): Likewise.
12712 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12714         * timezone/version.h: Remove file.
12715         * timezone/README: Do not refer to version.h.
12716         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12717         $(objpfx)version.h.
12718         ($(objpfx)zdump.o): Likewise.
12719         ($(objpfx)version.h): New target.
12721         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12722         2012i.
12723         * timezone/README: Don't mention modification to tzselect.ksh.
12724         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12725         work on unmodified tzselect.ksh.  Substitute version numbers in
12726         tzselect.ksh.
12728         * Makefile (format-me): Remove.
12729         (INSTALL): Adjust indentation.  Use commands directly instead of
12730         using $(format-me).
12732         * aclocal.m4 (ACX_PKGVERSION): New macro.
12733         (ACX_BUGURL): Likewise.
12734         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12735         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12736         (REPORT_BUGS_TO): Likewise.
12737         * configure: Regenerated.
12738         * config.h.in (PKGVERSION): New macro.
12739         (REPORT_BUGS_TO): Likewise.
12740         * config.make.in (PKGVERSION): New variable.
12741         (PKGVERSION_TEXI): Likewise.
12742         (REPORT_BUGS_TO): Likewise.
12743         (REPORT_BUGS_TEXI): Likewise.
12744         * Makefile (format-me): Use -I$(common-objpfx)manual.
12745         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12746         ($(common-objpfx)manual/%): New target.
12747         (manual/%): Remove target.
12748         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12749         (print_version): Use PKGVERSION.
12750         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12751         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12752         and REPORT_BUGS_TO.
12753         ($(objpfx)xtrace): Likewise.
12754         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12755         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12756         (print_version): Use PKGVERSION.
12757         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12758         (do_version): Use PKGVERSION.
12759         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12760         REPORT_BUGS_TO.
12761         (common-ldd-rewrite): Likewise.
12762         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12763         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12764         (print_version): Use PKGVERSION.
12765         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12766         * elf/pldd.c (argp_program_bug_address): Remove variable.
12767         (more_help): New function.
12768         (argp): Use more_help.
12769         (print_version): Use PKGVERSION.
12770         * elf/sln.c (main): Use PKGVERSION.
12771         (usage): Use REPORT_BUGS_TO.
12772         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12773         (top level): Use PKGVERSION.
12774         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12775         (print_version): Use PKGVERSION.
12776         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12777         (print_version): Use PKGVERSION.
12778         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12779         (print_version): Use PKGVERSION.
12780         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12781         (print_version): Use PKGVERSION.
12782         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12783         (print_version): Use PKGVERSION.
12784         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12785         (print_version): Use PKGVERSION.
12786         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12787         and BUGURL.
12788         ($(objpfx)memusage): Likewise.
12789         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12790         (do_version): Use PKGVERSION.
12791         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12792         (print_version): Use PKGVERSION.
12793         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12794         ($PKGVERSION): New variable.
12795         ($REPORT_BUGS_TO): Likewise.
12796         (usage): Use $REPORT_BUGS_TO.
12797         (top level): Use $PKGVERSION.
12798         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12799         ($(objpfx)pkgvers.texi): New rule.
12800         ($(objpfx)stamp-pkgvers): Likewise.
12801         * manual/install.texi: Include pkgvers.texi.
12802         (--with-pkgversion): Document new configure option.
12803         (--with-bugurl): Likewise.
12804         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12805         than necessarily for this particular distribution.  Use
12806         REPORT_BUGS_TO for where to report bugs.
12807         * INSTALL: Regenerated.
12808         * manual/libc.texinfo: Include pkgvers.texi.
12809         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12810         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12811         (print_version): Use PKGVERSION.
12812         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12813         (print_version): Use PKGVERSION.
12814         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12815         (print_version): Use PKGVERSION.
12816         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12817         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12818         macro.
12819         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12820         (print_version): Use PKGVERSION.
12821         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12822         (print_version): Use PKGVERSION.
12823         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12824         and PKGVERSION.
12826         * timezone/checktab.awk: Update from tzcode 2012i.
12827         * timezone/ialloc.c: Likewise.
12828         * timezone/private.h: Likewise.
12829         * timezone/scheck.c: Likewise.
12830         * timezone/tzfile.h: Likewise.
12831         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12832         (TZVERSION): Hardcode tzcode version number.
12833         * timezone/zdump.c: Update from tzcode 2012i.
12834         * timezone/zic.c: Likewise.
12835         * timezone/version.h: New file.
12836         * timezone/README: Describe version.h.  Update upstream location.
12838         [BZ #14824]
12839         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12840         (mktemp): Enable declaration.
12841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12845         Likewise.
12846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12847         Likewise.
12848         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12849         Likewise.
12850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12851         Likewise.
12852         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12853         Likewise.
12854         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12855         Likewise.
12857         [BZ #14821]
12858         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12859         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12860         for copies of such integer values.
12861         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12862         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12864 2012-11-09  Andreas Jaeger  <aj@suse.de>
12866         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12867         definitions and declarations that are provided by
12868         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12870 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12872         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12873         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12874         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12875         definition.
12877 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12879         * elf/elf.h: Update comment before AArch64 relocations.
12881 2012-11-07  David S. Miller  <davem@davemloft.net>
12883         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12884         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12885         (__start_context): Declare.
12886         (__makecontext_ret): Delete.
12887         (__makecontext): Hook up __start_context instead of
12888         __makecontext_ret.
12889         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12890         (sysdep_routines): Add __start_context when in stdlib.
12892 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12894         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12895         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12896         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12897         hardcoded "nm".
12898         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12899         (READELF): New variable.  Use it instead of hardcoded "readelf".
12901 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12903         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12904         * sysdeps/x86/Makefile: Here.
12905         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12906         * sysdeps/x86/tst-xmmymm.sh: This.
12908 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12910         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12911         expectations.
12912         [UNIX98] (pthread_barrier_t): Do not expect.
12913         [UNIX98] (pthread_barrierattr_t): Likewise.
12914         [UNIX98] (pthread_spinlock_t): Likewise.
12915         [UNIX98] (pthread_barrier_destroy): Likewise.
12916         [UNIX98] (pthread_barrier_init): Likewise.
12917         [UNIX98] (pthread_barrier_wait): Likewise.
12918         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12919         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12920         [UNIX98] (pthread_barrierattr_init): Likewise.
12921         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12922         [UNIX98] (pthread_getcpuclockid): Likewise.
12923         [UNIX98] (pthread_mutex_timedlock): Likewise.
12924         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12925         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12926         [UNIX98] (pthread_sigmask): Likewise.
12927         [UNIX98] (pthread_spin_destroy): Likewise.
12928         [UNIX98] (pthread_spin_init): Likewise.
12929         [UNIX98] (pthread_spin_lock): Likewise.
12930         [UNIX98] (pthread_spin_trylock): Likewise.
12931         [UNIX98] (pthread_spin_unlock): Likewise.
12932         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12933         Do not expect.
12934         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12935         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12936         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12937         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12938         [XPG3 || XPG4] (pthread_key_t): Likewise.
12939         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12940         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12941         [XPG3 || XPG4] (pthread_once_t): Likewise.
12942         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12943         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12944         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12945         [XPG3 || XPG4] (pthread_t): Likewise.
12947         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12948         not expect.
12949         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12951         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12952         Change function return type to int.
12954         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12955         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12956         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12957         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12958         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12959         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12960         [!POSIX] (posix_madvise): Likewise.
12961         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12962         && !UNIX98].
12963         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12964         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12965         (mode_t): Likewise.
12966         (posix_mem_offset): Likewise.
12967         (posix_typed_mem_get_info): Likewise.
12968         (posix_typed_mem_open): Likewise.
12970         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12971         Change condition to [XOPEN2K8].
12973         * conform/conformtest.pl: Preprocess allow-header data with -x c
12974         instead of from stdin.
12975         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12976         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12977         [C99-based standards] (cerfc): Likewise.
12978         [C99-based standards] (cexp2): Likewise.
12979         [C99-based standards] (cexpm1): Likewise.
12980         [C99-based standards] (clog10): Likewise.
12981         [C99-based standards] (clog1p): Likewise.
12982         [C99-based standards] (clog2): Likewise.
12983         [C99-based standards] (clgamma): Likewise.
12984         [C99-based standards] (ctgamma): Likewise.
12985         [C99-based standards] (cerff): Likewise.
12986         [C99-based standards] (cerfcf): Likewise.
12987         [C99-based standards] (cexp2f): Likewise.
12988         [C99-based standards] (cexpm1f): Likewise.
12989         [C99-based standards] (clog10f): Likewise.
12990         [C99-based standards] (clog1pf): Likewise.
12991         [C99-based standards] (clog2f): Likewise.
12992         [C99-based standards] (clgammaf): Likewise.
12993         [C99-based standards] (ctgammaf): Likewise.
12994         [C99-based standards] (cerfl): Likewise.
12995         [C99-based standards] (cerfcl): Likewise.
12996         [C99-based standards] (cexp2l): Likewise.
12997         [C99-based standards] (cexpm1l): Likewise.
12998         [C99-based standards] (clog10l): Likewise.
12999         [C99-based standards] (clog1pl): Likewise.
13000         [C99-based standards] (clog2l): Likewise.
13001         [C99-based standards] (clgammal): Likewise.
13002         [C99-based standards] (ctgammal): Likewise.
13003         * conform/data/inttypes.h-data [C99-based standards]: Include
13004         stdint.h-data.  Remove all expectations for stdint.h contents.
13005         [C99-based standards] (PRI*): Do not allow.
13006         [C99-based standards] (SCN*): Likewise.
13007         [C99-based standards] (*_t): Likewise.
13008         [C99-based-standards] (PRId8): Expect macro.
13009         [C99-based-standards] (PRIi8): Likewise.
13010         [C99-based-standards] (PRIo8): Likewise.
13011         [C99-based-standards] (PRIu8): Likewise.
13012         [C99-based-standards] (PRIx8): Likewise.
13013         [C99-based-standards] (PRIX8): Likewise.
13014         [C99-based-standards] (SCNd8): Likewise.
13015         [C99-based-standards] (SCNi8): Likewise.
13016         [C99-based-standards] (SCNo8): Likewise.
13017         [C99-based-standards] (SCNu8): Likewise.
13018         [C99-based-standards] (SCNx8): Likewise.
13019         [C99-based-standards] (PRIdLEAST8): Likewise.
13020         [C99-based-standards] (PRIiLEAST8): Likewise.
13021         [C99-based-standards] (PRIoLEAST8): Likewise.
13022         [C99-based-standards] (PRIuLEAST8): Likewise.
13023         [C99-based-standards] (PRIxLEAST8): Likewise.
13024         [C99-based-standards] (PRIXLEAST8): Likewise.
13025         [C99-based-standards] (SCNdLEAST8): Likewise.
13026         [C99-based-standards] (SCNiLEAST8): Likewise.
13027         [C99-based-standards] (SCNoLEAST8): Likewise.
13028         [C99-based-standards] (SCNuLEAST8): Likewise.
13029         [C99-based-standards] (SCNxLEAST8): Likewise.
13030         [C99-based-standards] (PRIdFAST8): Likewise.
13031         [C99-based-standards] (PRIiFAST8): Likewise.
13032         [C99-based-standards] (PRIoFAST8): Likewise.
13033         [C99-based-standards] (PRIuFAST8): Likewise.
13034         [C99-based-standards] (PRIxFAST8): Likewise.
13035         [C99-based-standards] (PRIXFAST8): Likewise.
13036         [C99-based-standards] (SCNdFAST8): Likewise.
13037         [C99-based-standards] (SCNiFAST8): Likewise.
13038         [C99-based-standards] (SCNoFAST8): Likewise.
13039         [C99-based-standards] (SCNuFAST8): Likewise.
13040         [C99-based-standards] (SCNxFAST8): Likewise.
13041         [C99-based-standards] (PRId16): Likewise.
13042         [C99-based-standards] (PRIi16): Likewise.
13043         [C99-based-standards] (PRIo16): Likewise.
13044         [C99-based-standards] (PRIu16): Likewise.
13045         [C99-based-standards] (PRIx16): Likewise.
13046         [C99-based-standards] (PRIX16): Likewise.
13047         [C99-based-standards] (SCNd16): Likewise.
13048         [C99-based-standards] (SCNi16): Likewise.
13049         [C99-based-standards] (SCNo16): Likewise.
13050         [C99-based-standards] (SCNu16): Likewise.
13051         [C99-based-standards] (SCNx16): Likewise.
13052         [C99-based-standards] (PRIdLEAST16): Likewise.
13053         [C99-based-standards] (PRIiLEAST16): Likewise.
13054         [C99-based-standards] (PRIoLEAST16): Likewise.
13055         [C99-based-standards] (PRIuLEAST16): Likewise.
13056         [C99-based-standards] (PRIxLEAST16): Likewise.
13057         [C99-based-standards] (PRIXLEAST16): Likewise.
13058         [C99-based-standards] (SCNdLEAST16): Likewise.
13059         [C99-based-standards] (SCNiLEAST16): Likewise.
13060         [C99-based-standards] (SCNoLEAST16): Likewise.
13061         [C99-based-standards] (SCNuLEAST16): Likewise.
13062         [C99-based-standards] (SCNxLEAST16): Likewise.
13063         [C99-based-standards] (PRIdFAST16): Likewise.
13064         [C99-based-standards] (PRIiFAST16): Likewise.
13065         [C99-based-standards] (PRIoFAST16): Likewise.
13066         [C99-based-standards] (PRIuFAST16): Likewise.
13067         [C99-based-standards] (PRIxFAST16): Likewise.
13068         [C99-based-standards] (PRIXFAST16): Likewise.
13069         [C99-based-standards] (SCNdFAST16): Likewise.
13070         [C99-based-standards] (SCNiFAST16): Likewise.
13071         [C99-based-standards] (SCNoFAST16): Likewise.
13072         [C99-based-standards] (SCNuFAST16): Likewise.
13073         [C99-based-standards] (SCNxFAST16): Likewise.
13074         [C99-based-standards] (PRId32): Likewise.
13075         [C99-based-standards] (PRIi32): Likewise.
13076         [C99-based-standards] (PRIo32): Likewise.
13077         [C99-based-standards] (PRIu32): Likewise.
13078         [C99-based-standards] (PRIx32): Likewise.
13079         [C99-based-standards] (PRIX32): Likewise.
13080         [C99-based-standards] (SCNd32): Likewise.
13081         [C99-based-standards] (SCNi32): Likewise.
13082         [C99-based-standards] (SCNo32): Likewise.
13083         [C99-based-standards] (SCNu32): Likewise.
13084         [C99-based-standards] (SCNx32): Likewise.
13085         [C99-based-standards] (PRIdLEAST32): Likewise.
13086         [C99-based-standards] (PRIiLEAST32): Likewise.
13087         [C99-based-standards] (PRIoLEAST32): Likewise.
13088         [C99-based-standards] (PRIuLEAST32): Likewise.
13089         [C99-based-standards] (PRIxLEAST32): Likewise.
13090         [C99-based-standards] (PRIXLEAST32): Likewise.
13091         [C99-based-standards] (SCNdLEAST32): Likewise.
13092         [C99-based-standards] (SCNiLEAST32): Likewise.
13093         [C99-based-standards] (SCNoLEAST32): Likewise.
13094         [C99-based-standards] (SCNuLEAST32): Likewise.
13095         [C99-based-standards] (SCNxLEAST32): Likewise.
13096         [C99-based-standards] (PRIdFAST32): Likewise.
13097         [C99-based-standards] (PRIiFAST32): Likewise.
13098         [C99-based-standards] (PRIoFAST32): Likewise.
13099         [C99-based-standards] (PRIuFAST32): Likewise.
13100         [C99-based-standards] (PRIxFAST32): Likewise.
13101         [C99-based-standards] (PRIXFAST32): Likewise.
13102         [C99-based-standards] (SCNdFAST32): Likewise.
13103         [C99-based-standards] (SCNiFAST32): Likewise.
13104         [C99-based-standards] (SCNoFAST32): Likewise.
13105         [C99-based-standards] (SCNuFAST32): Likewise.
13106         [C99-based-standards] (SCNxFAST32): Likewise.
13107         [C99-based-standards] (PRId64): Likewise.
13108         [C99-based-standards] (PRIi64): Likewise.
13109         [C99-based-standards] (PRIo64): Likewise.
13110         [C99-based-standards] (PRIu64): Likewise.
13111         [C99-based-standards] (PRIx64): Likewise.
13112         [C99-based-standards] (PRIX64): Likewise.
13113         [C99-based-standards] (SCNd64): Likewise.
13114         [C99-based-standards] (SCNi64): Likewise.
13115         [C99-based-standards] (SCNo64): Likewise.
13116         [C99-based-standards] (SCNu64): Likewise.
13117         [C99-based-standards] (SCNx64): Likewise.
13118         [C99-based-standards] (PRIdLEAST64): Likewise.
13119         [C99-based-standards] (PRIiLEAST64): Likewise.
13120         [C99-based-standards] (PRIoLEAST64): Likewise.
13121         [C99-based-standards] (PRIuLEAST64): Likewise.
13122         [C99-based-standards] (PRIxLEAST64): Likewise.
13123         [C99-based-standards] (PRIXLEAST64): Likewise.
13124         [C99-based-standards] (SCNdLEAST64): Likewise.
13125         [C99-based-standards] (SCNiLEAST64): Likewise.
13126         [C99-based-standards] (SCNoLEAST64): Likewise.
13127         [C99-based-standards] (SCNuLEAST64): Likewise.
13128         [C99-based-standards] (SCNxLEAST64): Likewise.
13129         [C99-based-standards] (PRIdFAST64): Likewise.
13130         [C99-based-standards] (PRIiFAST64): Likewise.
13131         [C99-based-standards] (PRIoFAST64): Likewise.
13132         [C99-based-standards] (PRIuFAST64): Likewise.
13133         [C99-based-standards] (PRIxFAST64): Likewise.
13134         [C99-based-standards] (PRIXFAST64): Likewise.
13135         [C99-based-standards] (SCNdFAST64): Likewise.
13136         [C99-based-standards] (SCNiFAST64): Likewise.
13137         [C99-based-standards] (SCNoFAST64): Likewise.
13138         [C99-based-standards] (SCNuFAST64): Likewise.
13139         [C99-based-standards] (SCNxFAST64): Likewise.
13140         [C99-based-standards] (PRIdMAX): Likewise.
13141         [C99-based-standards] (PRIiMAX): Likewise.
13142         [C99-based-standards] (PRIoMAX): Likewise.
13143         [C99-based-standards] (PRIuMAX): Likewise.
13144         [C99-based-standards] (PRIxMAX): Likewise.
13145         [C99-based-standards] (PRIXMAX): Likewise.
13146         [C99-based-standards] (SCNdMAX): Likewise.
13147         [C99-based-standards] (SCNiMAX): Likewise.
13148         [C99-based-standards] (SCNoMAX): Likewise.
13149         [C99-based-standards] (SCNuMAX): Likewise.
13150         [C99-based-standards] (SCNxMAX): Likewise.
13151         [C99-based-standards] (PRIdPTR): Likewise.
13152         [C99-based-standards] (PRIiPTR): Likewise.
13153         [C99-based-standards] (PRIoPTR): Likewise.
13154         [C99-based-standards] (PRIuPTR): Likewise.
13155         [C99-based-standards] (PRIxPTR): Likewise.
13156         [C99-based-standards] (PRIXPTR): Likewise.
13157         [C99-based-standards] (SCNdPTR): Likewise.
13158         [C99-based-standards] (SCNiPTR): Likewise.
13159         [C99-based-standards] (SCNoPTR): Likewise.
13160         [C99-based-standards] (SCNuPTR): Likewise.
13161         [C99-based-standards] (SCNxPTR): Likewise.
13162         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13163         allow.
13164         * conform/data/stdint.h-data: Update comments to clarify
13165         requirements.
13166         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13167         type.
13168         [C99-based standards] (INT8_MAX): Likewise.
13169         [C99-based standards] (INT16_MIN): Likewise.
13170         [C99-based standards] (INT16_MAX): Likewise.
13171         [C99-based standards] (INT32_MIN): Likewise.
13172         [C99-based standards] (INT32_MAX): Likewise.
13173         [C99-based standards] (INT64_MIN): Likewise.
13174         [C99-based standards] (INT64_MAX): Likewise.
13175         [C99-based standards] (UINT8_MAX): Likewise.
13176         [C99-based standards] (UINT16_MAX): Likewise.
13177         [C99-based standards] (UINT32_MAX): Likewise.
13178         [C99-based standards] (UINT64_MAX): Likewise.
13179         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13180         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13181         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13182         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13183         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13184         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13185         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13186         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13187         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13188         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13189         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13190         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13191         [C99-based standards] (INT_FAST8_MIN): Likewise.
13192         [C99-based standards] (INT_FAST8_MAX): Likewise.
13193         [C99-based standards] (INT_FAST16_MIN): Likewise.
13194         [C99-based standards] (INT_FAST16_MAX): Likewise.
13195         [C99-based standards] (INT_FAST32_MIN): Likewise.
13196         [C99-based standards] (INT_FAST32_MAX): Likewise.
13197         [C99-based standards] (INT_FAST64_MIN): Likewise.
13198         [C99-based standards] (INT_FAST64_MAX): Likewise.
13199         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13200         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13201         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13202         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13203         [C99-based standards] (INTPTR_MIN): Likewise.
13204         [C99-based standards] (INTPTR_MAX): Likewise.
13205         [C99-based standards] (UINTPTR_MAX): Likewise.
13206         [C99-based standards] (INTMAX_MIN): Likewise.
13207         [C99-based standards] (INTMAX_MAX): Likewise.
13208         [C99-based standards] (UINTMAX_MAX): Likewise.
13209         [C99-based standards] (PTRDIFF_MIN): Likewise.
13210         [C99-based standards] (PTRDIFF_MAX): Likewise.
13211         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13212         [C99-based standards] (SIZE_MAX): Likewise.
13213         [C99-based standards] (WCHAR_MAX): Likewise.
13214         [C99-based standards] (WINT_MAX): Likewise.
13215         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13216         constraint on value.
13217         [C99-based standards] (WCHAR_MIN): Likewise.
13218         [C99-based standards] (WINT_MIN): Likewise.
13219         [C99-based standards] (*_t): Allow.
13220         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13221         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13222         Include math.h-data and complex.h-data.  Remove all expectations
13223         of math.h and complex.h contents.
13224         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13225         at end of line.
13226         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13227         (struct tm): Expect tag.
13228         [C99-based-standards] (wcstof): Expect function.
13229         [C99-based-standards] (wcstold): Likewise.
13230         [C99-based-standards] (wcstoll): Likewise.
13231         [C99-based-standards] (wcstoull): Likewise.
13232         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13233         macro-int-constant.  Specify type.
13234         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13235         constraint on value.
13236         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13237         Specify type.
13238         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13239         Specify value.
13240         [ISO C standards]: Do not allow headers.
13241         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13242         wcs[abcdefghijklmnopqrstuvwxyz]*.
13243         [ISO C standards] (*_t): Do not allow.
13244         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13245         Expect function.
13246         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13247         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13248         Specify type.
13249         [ISO C standards]: Do not allow headers.
13250         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13251         is[abcdefghijklmnopqrstuvwxyz]*.
13252         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13253         to[abcdefghijklmnopqrstuvwxyz]*.
13254         [ISO C standards] (*_t): Do not allow.
13255         * conform/data/stdalign.h-data: New file.
13256         * conform/data/stdbool.h-data: Likewise.
13257         * conform/data/stdnoreturn.h-data: Likewise.
13259 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13261         [BZ #14815]
13262         * manual/filesys.texi (Directory Entries): Typo fix.
13263         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13265 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13267         * elf/elf.h (EM_AARCH64): New macro.
13268         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13269         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13270         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13271         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13272         (R_AARCH64_TLSDESC): Likewise.
13273         (NT_ARM_TLS): Likewise.
13274         (NT_ARM_HW_BREAK): Likewise.
13275         (NT_ARM_HW_WATCH): Likewise.
13277 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13279         [BZ #14811]
13280         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13281         (__ieee754_powl): Saturate nonzero exponents with absolute value
13282         below 0x1p-79 to +/- 0x1p-79.
13283         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13284         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13285         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13286         nonzero exponents with absolute value below 0x1p-32 to +/-
13287         0x1p-32.
13288         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13289         (__ieee754_powl): Saturate nonzero exponents with absolute value
13290         below 0x1p-79 to +/- 0x1p-79.
13291         * math/libm-test.inc (pow_test): Add more tests.
13293 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13295         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13296         _dl_s390_cap_flags with kernel. Increase string length.
13297         (_dl_s390_platforms): Add z196 and zEC12.
13299 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13301         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13302         Change XOPEN21K to XOPEN2K.
13304 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13306         * string/memmove.c: Use memcpy when possible.
13308 2012-11-06  Andreas Jaeger  <aj@suse.de>
13310         * po/eo.po: Update from translation team.
13312 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13314         [BZ #14793]
13315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13316         exponent and small x and y exponents, scale x or y up.  Increase
13317         by 2 the exponent used in scaling up.
13318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13320         * math/libm-test.inc (fma_test): Add more tests.
13321         (fma_test_towardzero): Likewise.
13322         (fma_test_downward): Likewise.
13323         (fma_test_upward): Likewise.
13325 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13327         [BZ #14805]
13328         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13329         fenv_t *.
13331         [BZ #14801]
13332         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13333         namespace for names of struct fields.
13334         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13335         fenv_t fields.
13336         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13337         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13339 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13341         [BZ #3665]
13342         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13344 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13346         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13347         PTR_DEMANGLE.
13349         [BZ #5246]
13350         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13351         PTR_DEMANGLE.
13353 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13355         [BZ #14797]
13356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13357         definitely overflow as x * y not x * y + z.
13358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13360         * math/libm-test.inc (fma_test): Add more tests.
13361         (fma_test_towardzero): Likewise.
13362         (fma_test_downward): Likewise.
13363         (fma_test_upward): Likewise.
13365 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13367         [BZ #157]
13369         * include/stub-tag.h: Remove file.
13370         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13371         '#include' of it.
13372         * manual/maint.texi (Porting): Don't reference it.
13373         * Makerules ($(objpfx)stubs): Likewise.
13374         * dirent/closedir.c: Don't include <stub-tag.h>.
13375         * dirent/dirfd.c: Likewise.
13376         * dirent/fdopendir.c: Likewise.
13377         * dirent/getdents.c: Likewise.
13378         * dirent/getdents64.c: Likewise.
13379         * dirent/opendir.c: Likewise.
13380         * dirent/readdir.c: Likewise.
13381         * dirent/readdir64.c: Likewise.
13382         * dirent/readdir64_r.c: Likewise.
13383         * dirent/readdir_r.c: Likewise.
13384         * dirent/rewinddir.c: Likewise.
13385         * dirent/seekdir.c: Likewise.
13386         * dirent/telldir.c: Likewise.
13387         * gmon/profil.c: Likewise.
13388         * grp/setgroups.c: Likewise.
13389         * inet/if_index.c: Likewise.
13390         * io/access.c: Likewise.
13391         * io/chdir.c: Likewise.
13392         * io/chmod.c: Likewise.
13393         * io/chown.c: Likewise.
13394         * io/close.c: Likewise.
13395         * io/dup.c: Likewise.
13396         * io/dup2.c: Likewise.
13397         * io/dup3.c: Likewise.
13398         * io/euidaccess.c: Likewise.
13399         * io/faccessat.c: Likewise.
13400         * io/fchdir.c: Likewise.
13401         * io/fchmod.c: Likewise.
13402         * io/fchmodat.c: Likewise.
13403         * io/fchown.c: Likewise.
13404         * io/fchownat.c: Likewise.
13405         * io/fcntl.c: Likewise.
13406         * io/flock.c: Likewise.
13407         * io/fstatfs.c: Likewise.
13408         * io/fstatfs64.c: Likewise.
13409         * io/fstatvfs.c: Likewise.
13410         * io/fstatvfs64.c: Likewise.
13411         * io/futimens.c: Likewise.
13412         * io/fxstat.c: Likewise.
13413         * io/fxstat64.c: Likewise.
13414         * io/fxstatat.c: Likewise.
13415         * io/fxstatat64.c: Likewise.
13416         * io/getcwd.c: Likewise.
13417         * io/isatty.c: Likewise.
13418         * io/lchmod.c: Likewise.
13419         * io/lchown.c: Likewise.
13420         * io/link.c: Likewise.
13421         * io/linkat.c: Likewise.
13422         * io/lseek.c: Likewise.
13423         * io/lseek64.c: Likewise.
13424         * io/lxstat64.c: Likewise.
13425         * io/mkdir.c: Likewise.
13426         * io/mkdirat.c: Likewise.
13427         * io/mkfifo.c: Likewise.
13428         * io/mkfifoat.c: Likewise.
13429         * io/open.c: Likewise.
13430         * io/open64.c: Likewise.
13431         * io/openat.c: Likewise.
13432         * io/openat64.c: Likewise.
13433         * io/pipe.c: Likewise.
13434         * io/pipe2.c: Likewise.
13435         * io/poll.c: Likewise.
13436         * io/posix_fadvise.c: Likewise.
13437         * io/posix_fadvise64.c: Likewise.
13438         * io/posix_fallocate.c: Likewise.
13439         * io/posix_fallocate64.c: Likewise.
13440         * io/read.c: Likewise.
13441         * io/readlink.c: Likewise.
13442         * io/readlinkat.c: Likewise.
13443         * io/rmdir.c: Likewise.
13444         * io/sendfile.c: Likewise.
13445         * io/sendfile64.c: Likewise.
13446         * io/statfs.c: Likewise.
13447         * io/statfs64.c: Likewise.
13448         * io/statvfs.c: Likewise.
13449         * io/statvfs64.c: Likewise.
13450         * io/symlink.c: Likewise.
13451         * io/symlinkat.c: Likewise.
13452         * io/ttyname.c: Likewise.
13453         * io/ttyname_r.c: Likewise.
13454         * io/umask.c: Likewise.
13455         * io/unlink.c: Likewise.
13456         * io/unlinkat.c: Likewise.
13457         * io/utime.c: Likewise.
13458         * io/utimensat.c: Likewise.
13459         * io/write.c: Likewise.
13460         * io/xmknod.c: Likewise.
13461         * io/xmknodat.c: Likewise.
13462         * io/xstat.c: Likewise.
13463         * io/xstat64.c: Likewise.
13464         * login/getpt.c: Likewise.
13465         * login/grantpt.c: Likewise.
13466         * login/unlockpt.c: Likewise.
13467         * math/e_acoshl.c: Likewise.
13468         * math/e_acosl.c: Likewise.
13469         * math/e_asinl.c: Likewise.
13470         * math/e_atan2l.c: Likewise.
13471         * math/e_atanhl.c: Likewise.
13472         * math/e_coshl.c: Likewise.
13473         * math/e_expl.c: Likewise.
13474         * math/e_fmodl.c: Likewise.
13475         * math/e_gammal_r.c: Likewise.
13476         * math/e_hypotl.c: Likewise.
13477         * math/e_j0l.c: Likewise.
13478         * math/e_j1l.c: Likewise.
13479         * math/e_jnl.c: Likewise.
13480         * math/e_lgammal_r.c: Likewise.
13481         * math/e_log10l.c: Likewise.
13482         * math/e_log2l.c: Likewise.
13483         * math/e_logl.c: Likewise.
13484         * math/e_powl.c: Likewise.
13485         * math/e_rem_pio2l.c: Likewise.
13486         * math/e_sinhl.c: Likewise.
13487         * math/e_sqrtl.c: Likewise.
13488         * math/fclrexcpt.c: Likewise.
13489         * math/fedisblxcpt.c: Likewise.
13490         * math/feenablxcpt.c: Likewise.
13491         * math/fegetenv.c: Likewise.
13492         * math/fegetexcept.c: Likewise.
13493         * math/fegetround.c: Likewise.
13494         * math/feholdexcpt.c: Likewise.
13495         * math/fesetenv.c: Likewise.
13496         * math/fesetround.c: Likewise.
13497         * math/feupdateenv.c: Likewise.
13498         * math/fgetexcptflg.c: Likewise.
13499         * math/fraiseexcpt.c: Likewise.
13500         * math/fsetexcptflg.c: Likewise.
13501         * math/ftestexcept.c: Likewise.
13502         * math/k_cosl.c: Likewise.
13503         * math/k_rem_pio2l.c: Likewise.
13504         * math/k_sinl.c: Likewise.
13505         * math/k_tanl.c: Likewise.
13506         * math/s_asinhl.c: Likewise.
13507         * math/s_atanl.c: Likewise.
13508         * math/s_cbrtl.c: Likewise.
13509         * math/s_erfl.c: Likewise.
13510         * math/s_expm1l.c: Likewise.
13511         * math/s_log1pl.c: Likewise.
13512         * math/s_tanhl.c: Likewise.
13513         * misc/acct.c: Likewise.
13514         * misc/brk.c: Likewise.
13515         * misc/chflags.c: Likewise.
13516         * misc/chroot.c: Likewise.
13517         * misc/fchflags.c: Likewise.
13518         * misc/fgetxattr.c: Likewise.
13519         * misc/flistxattr.c: Likewise.
13520         * misc/fremovexattr.c: Likewise.
13521         * misc/fsetxattr.c: Likewise.
13522         * misc/fsync.c: Likewise.
13523         * misc/ftruncate.c: Likewise.
13524         * misc/futimes.c: Likewise.
13525         * misc/futimesat.c: Likewise.
13526         * misc/getdomain.c: Likewise.
13527         * misc/getdtsz.c: Likewise.
13528         * misc/gethostid.c: Likewise.
13529         * misc/gethostname.c: Likewise.
13530         * misc/getloadavg.c: Likewise.
13531         * misc/getpagesize.c: Likewise.
13532         * misc/getsysstats.c: Likewise.
13533         * misc/getxattr.c: Likewise.
13534         * misc/gtty.c: Likewise.
13535         * misc/ioctl.c: Likewise.
13536         * misc/lgetxattr.c: Likewise.
13537         * misc/listxattr.c: Likewise.
13538         * misc/llistxattr.c: Likewise.
13539         * misc/lremovexattr.c: Likewise.
13540         * misc/lsetxattr.c: Likewise.
13541         * misc/lutimes.c: Likewise.
13542         * misc/madvise.c: Likewise.
13543         * misc/mincore.c: Likewise.
13544         * misc/mlock.c: Likewise.
13545         * misc/mlockall.c: Likewise.
13546         * misc/mmap.c: Likewise.
13547         * misc/mprotect.c: Likewise.
13548         * misc/msync.c: Likewise.
13549         * misc/munlock.c: Likewise.
13550         * misc/munlockall.c: Likewise.
13551         * misc/munmap.c: Likewise.
13552         * misc/preadv.c: Likewise.
13553         * misc/preadv64.c: Likewise.
13554         * misc/ptrace.c: Likewise.
13555         * misc/pwritev.c: Likewise.
13556         * misc/pwritev64.c: Likewise.
13557         * misc/readv.c: Likewise.
13558         * misc/reboot.c: Likewise.
13559         * misc/remap_file_pages.c: Likewise.
13560         * misc/removexattr.c: Likewise.
13561         * misc/revoke.c: Likewise.
13562         * misc/select.c: Likewise.
13563         * misc/setdomain.c: Likewise.
13564         * misc/setegid.c: Likewise.
13565         * misc/seteuid.c: Likewise.
13566         * misc/sethostid.c: Likewise.
13567         * misc/sethostname.c: Likewise.
13568         * misc/setregid.c: Likewise.
13569         * misc/setreuid.c: Likewise.
13570         * misc/setxattr.c: Likewise.
13571         * misc/sstk.c: Likewise.
13572         * misc/stty.c: Likewise.
13573         * misc/swapoff.c: Likewise.
13574         * misc/swapon.c: Likewise.
13575         * misc/sync.c: Likewise.
13576         * misc/syncfs.c: Likewise.
13577         * misc/syscall.c: Likewise.
13578         * misc/truncate.c: Likewise.
13579         * misc/ualarm.c: Likewise.
13580         * misc/usleep.c: Likewise.
13581         * misc/ustat.c: Likewise.
13582         * misc/utimes.c: Likewise.
13583         * misc/vhangup.c: Likewise.
13584         * misc/writev.c: Likewise.
13585         * posix/_exit.c: Likewise.
13586         * posix/alarm.c: Likewise.
13587         * posix/execve.c: Likewise.
13588         * posix/fexecve.c: Likewise.
13589         * posix/fork.c: Likewise.
13590         * posix/fpathconf.c: Likewise.
13591         * posix/getaddrinfo.c: Likewise.
13592         * posix/getegid.c: Likewise.
13593         * posix/geteuid.c: Likewise.
13594         * posix/getgid.c: Likewise.
13595         * posix/getgroups.c: Likewise.
13596         * posix/getlogin.c: Likewise.
13597         * posix/getlogin_r.c: Likewise.
13598         * posix/getpgid.c: Likewise.
13599         * posix/getpid.c: Likewise.
13600         * posix/getppid.c: Likewise.
13601         * posix/getresgid.c: Likewise.
13602         * posix/getresuid.c: Likewise.
13603         * posix/getsid.c: Likewise.
13604         * posix/getuid.c: Likewise.
13605         * posix/glob64.c: Likewise.
13606         * posix/nanosleep.c: Likewise.
13607         * posix/pathconf.c: Likewise.
13608         * posix/pause.c: Likewise.
13609         * posix/posix_madvise.c: Likewise.
13610         * posix/pread.c: Likewise.
13611         * posix/pread64.c: Likewise.
13612         * posix/pwrite.c: Likewise.
13613         * posix/pwrite64.c: Likewise.
13614         * posix/sched_getaffinity.c: Likewise.
13615         * posix/sched_getp.c: Likewise.
13616         * posix/sched_gets.c: Likewise.
13617         * posix/sched_primax.c: Likewise.
13618         * posix/sched_primin.c: Likewise.
13619         * posix/sched_rr_gi.c: Likewise.
13620         * posix/sched_setaffinity.c: Likewise.
13621         * posix/sched_setp.c: Likewise.
13622         * posix/sched_sets.c: Likewise.
13623         * posix/sched_yield.c: Likewise.
13624         * posix/setgid.c: Likewise.
13625         * posix/setlogin.c: Likewise.
13626         * posix/setpgid.c: Likewise.
13627         * posix/setresgid.c: Likewise.
13628         * posix/setresuid.c: Likewise.
13629         * posix/setsid.c: Likewise.
13630         * posix/setuid.c: Likewise.
13631         * posix/sleep.c: Likewise.
13632         * posix/spawni.c: Likewise.
13633         * posix/sysconf.c: Likewise.
13634         * posix/times.c: Likewise.
13635         * posix/wait.c: Likewise.
13636         * posix/wait3.c: Likewise.
13637         * posix/wait4.c: Likewise.
13638         * posix/waitpid.c: Likewise.
13639         * resolv/gai_sigqueue.c: Likewise.
13640         * resource/getpriority.c: Likewise.
13641         * resource/getrlimit.c: Likewise.
13642         * resource/getrusage.c: Likewise.
13643         * resource/nice.c: Likewise.
13644         * resource/setpriority.c: Likewise.
13645         * resource/setrlimit.c: Likewise.
13646         * resource/ulimit.c: Likewise.
13647         * rt/aio_cancel.c: Likewise.
13648         * rt/aio_fsync.c: Likewise.
13649         * rt/aio_read.c: Likewise.
13650         * rt/aio_sigqueue.c: Likewise.
13651         * rt/aio_suspend.c: Likewise.
13652         * rt/aio_write.c: Likewise.
13653         * rt/clock_getres.c: Likewise.
13654         * rt/clock_gettime.c: Likewise.
13655         * rt/clock_nanosleep.c: Likewise.
13656         * rt/clock_settime.c: Likewise.
13657         * rt/lio_listio.c: Likewise.
13658         * rt/mq_close.c: Likewise.
13659         * rt/mq_getattr.c: Likewise.
13660         * rt/mq_notify.c: Likewise.
13661         * rt/mq_open.c: Likewise.
13662         * rt/mq_receive.c: Likewise.
13663         * rt/mq_send.c: Likewise.
13664         * rt/mq_setattr.c: Likewise.
13665         * rt/mq_timedreceive.c: Likewise.
13666         * rt/mq_timedsend.c: Likewise.
13667         * rt/mq_unlink.c: Likewise.
13668         * rt/shm_open.c: Likewise.
13669         * rt/shm_unlink.c: Likewise.
13670         * rt/timer_create.c: Likewise.
13671         * rt/timer_delete.c: Likewise.
13672         * rt/timer_getoverr.c: Likewise.
13673         * rt/timer_gettime.c: Likewise.
13674         * rt/timer_settime.c: Likewise.
13675         * setjmp/__longjmp.c: Likewise.
13676         * setjmp/setjmp.c: Likewise.
13677         * signal/kill.c: Likewise.
13678         * signal/killpg.c: Likewise.
13679         * signal/raise.c: Likewise.
13680         * signal/sigaction.c: Likewise.
13681         * signal/sigaltstack.c: Likewise.
13682         * signal/sigblock.c: Likewise.
13683         * signal/sigignore.c: Likewise.
13684         * signal/sigintr.c: Likewise.
13685         * signal/signal.c: Likewise.
13686         * signal/sigpause.c: Likewise.
13687         * signal/sigpending.c: Likewise.
13688         * signal/sigqueue.c: Likewise.
13689         * signal/sigreturn.c: Likewise.
13690         * signal/sigset.c: Likewise.
13691         * signal/sigsetmask.c: Likewise.
13692         * signal/sigstack.c: Likewise.
13693         * signal/sigsuspend.c: Likewise.
13694         * signal/sigtimedwait.c: Likewise.
13695         * signal/sigvec.c: Likewise.
13696         * signal/sigwait.c: Likewise.
13697         * signal/sigwaitinfo.c: Likewise.
13698         * signal/sysv_signal.c: Likewise.
13699         * socket/accept.c: Likewise.
13700         * socket/accept4.c: Likewise.
13701         * socket/bind.c: Likewise.
13702         * socket/connect.c: Likewise.
13703         * socket/getpeername.c: Likewise.
13704         * socket/getsockname.c: Likewise.
13705         * socket/getsockopt.c: Likewise.
13706         * socket/isfdtype.c: Likewise.
13707         * socket/listen.c: Likewise.
13708         * socket/recv.c: Likewise.
13709         * socket/recvfrom.c: Likewise.
13710         * socket/recvmsg.c: Likewise.
13711         * socket/send.c: Likewise.
13712         * socket/sendmsg.c: Likewise.
13713         * socket/sendto.c: Likewise.
13714         * socket/setsockopt.c: Likewise.
13715         * socket/shutdown.c: Likewise.
13716         * socket/sockatmark.c: Likewise.
13717         * socket/socket.c: Likewise.
13718         * socket/socketpair.c: Likewise.
13719         * stdio-common/ctermid.c: Likewise.
13720         * stdio-common/cuserid.c: Likewise.
13721         * stdio-common/remove.c: Likewise.
13722         * stdio-common/rename.c: Likewise.
13723         * stdio-common/renameat.c: Likewise.
13724         * stdio-common/tempname.c: Likewise.
13725         * stdlib/getcontext.c: Likewise.
13726         * stdlib/makecontext.c: Likewise.
13727         * stdlib/setcontext.c: Likewise.
13728         * stdlib/swapcontext.c: Likewise.
13729         * stdlib/system.c: Likewise.
13730         * streams/fattach.c: Likewise.
13731         * streams/fdetach.c: Likewise.
13732         * streams/getmsg.c: Likewise.
13733         * streams/getpmsg.c: Likewise.
13734         * streams/putmsg.c: Likewise.
13735         * streams/putpmsg.c: Likewise.
13736         * sysdeps/unix/bsd/getpt.c: Likewise.
13737         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13738         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13739         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13741         Likewise.
13742         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13743         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13744         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13745         * sysvipc/msgctl.c: Likewise.
13746         * sysvipc/msgget.c: Likewise.
13747         * sysvipc/msgrcv.c: Likewise.
13748         * sysvipc/msgsnd.c: Likewise.
13749         * sysvipc/semctl.c: Likewise.
13750         * sysvipc/semget.c: Likewise.
13751         * sysvipc/semop.c: Likewise.
13752         * sysvipc/semtimedop.c: Likewise.
13753         * sysvipc/shmat.c: Likewise.
13754         * sysvipc/shmctl.c: Likewise.
13755         * sysvipc/shmdt.c: Likewise.
13756         * sysvipc/shmget.c: Likewise.
13757         * termios/tcdrain.c: Likewise.
13758         * termios/tcflow.c: Likewise.
13759         * termios/tcflush.c: Likewise.
13760         * termios/tcgetattr.c: Likewise.
13761         * termios/tcgetpgrp.c: Likewise.
13762         * termios/tcsendbrk.c: Likewise.
13763         * termios/tcsetattr.c: Likewise.
13764         * termios/tcsetpgrp.c: Likewise.
13765         * time/adjtime.c: Likewise.
13766         * time/clock.c: Likewise.
13767         * time/getitimer.c: Likewise.
13768         * time/gettimeofday.c: Likewise.
13769         * time/setitimer.c: Likewise.
13770         * time/settimeofday.c: Likewise.
13771         * time/stime.c: Likewise.
13772         * time/time.c: Likewise.
13774 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13776         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13777         /usr/old/bin.
13779         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13780         instead of spaces.
13781         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13783 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13785         [BZ #14796]
13786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13787         FE_TONEAREST before applying Dekker multiplication and Knuth
13788         addition.  Clear inexact exceptions and check for exact zero
13789         results afterwards.
13790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13791         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13792         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13793         * math/libm-test.inc (fma_test): Add more tests.
13794         (fma_test_towardzero): Likewise.
13795         (fma_test_downward): Likewise.
13796         (fma_test_upward): Likewise.
13797         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13798         function.
13799         (libc_fesetround): New macro.
13800         (libc_fesetroundf): Likewise.
13801         (libc_fesetroundl): Likewise.
13802         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13803         function.
13804         (libc_fesetround_387): Likewise.
13805         (libc_fesetroundf): New macro.
13806         (libc_fesetround): Likewise.
13807         (libc_fesetroundl): Likewise.
13808         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13809         function.
13810         (libc_fesetroundf): New macro.
13811         (libc_fesetround): Likewise.
13812         (libc_fesetroundl): Likewise.
13813         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13814         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13815         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13816         libm_hidden_ver.
13817         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13818         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13819         libm_hidden_def.
13820         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13821         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13822         libm_hidden_ver.
13823         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13824         libm_hidden_def.
13826         [BZ #3439]
13827         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13828         integer constant usable in #if and use that to give value to enum
13829         constant.
13830         (FE_DIVBYZERO): Likewise.
13831         (FE_UNDERFLOW): Likewise.
13832         (FE_OVERFLOW): Likewise.
13833         (FE_INVALID): Likewise.
13834         (FE_INVALID_SNAN): Likewise.
13835         (FE_INVALID_ISI): Likewise.
13836         (FE_INVALID_IDI): Likewise.
13837         (FE_INVALID_ZDZ): Likewise.
13838         (FE_INVALID_IMZ): Likewise.
13839         (FE_INVALID_COMPARE): Likewise.
13840         (FE_INVALID_SOFTWARE): Likewise.
13841         (FE_INVALID_SQRT): Likewise.
13842         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13843         (FE_TONEAREST): Likewise.
13844         (FE_TOWARDZERO): Likewise.
13845         (FE_UPWARD): Likewise.
13846         (FE_DOWNWARD): Likewise.
13847         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13848         (FE_DIVBYZERO): Likewise.
13849         (FE_OVERFLOW): Likewise.
13850         (FE_UNDERFLOW): Likewise.
13851         (FE_INEXACT): Likewise.
13852         (FE_TONEAREST): Likewise.
13853         (FE_DOWNWARD): Likewise.
13854         (FE_UPWARD): Likewise.
13855         (FE_TOWARDZERO): Likewise.
13856         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13857         (FE_UNDERFLOW): Likewise.
13858         (FE_OVERFLOW): Likewise.
13859         (FE_DIVBYZERO): Likewise.
13860         (FE_INVALID): Likewise.
13861         (FE_TONEAREST): Likewise.
13862         (FE_TOWARDZERO): Likewise.
13863         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13864         (FE_OVERFLOW): Likewise.
13865         (FE_UNDERFLOW): Likewise.
13866         (FE_DIVBYZERO): Likewise.
13867         (FE_INEXACT): Likewise.
13868         (FE_TONEAREST): Likewise.
13869         (FE_TOWARDZERO): Likewise.
13870         (FE_UPWARD): Likewise.
13871         (FE_DOWNWARD): Likewise.
13872         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13873         (FE_DIVBYZERO): Likewise.
13874         (FE_OVERFLOW): Likewise.
13875         (FE_UNDERFLOW): Likewise.
13876         (FE_INEXACT): Likewise.
13877         (FE_TONEAREST): Likewise.
13878         (FE_DOWNWARD): Likewise.
13879         (FE_UPWARD): Likewise.
13880         (FE_TOWARDZERO): Likewise.
13882 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13884         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13886 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13888         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13889         commands.  Quote $PWD.
13890         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13891         -x" by "export".
13892         (remove_newlines): Remove.
13894 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13896         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13897         * stdlib/stdlib.h (atof): Moved to ...
13898         * include/bits/stdlib-float.h: Here.  New file.
13899         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13900         * stdlib/bits/stdlib-float.h: New file.
13901         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13902         -mno-sse -mno-mmx.
13903         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13904         <xmmintrin.h>.
13906 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13908         * conform/conformtest.pl (@headers): Add fenv.h.
13909         * conform/data/fenv.h-data: New file.
13910         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13911         include of <math/fenv.h>.
13913         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13914         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13915         && !UNIX98].  Enables tests for XOPEN2K8.
13916         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13917         POSIX2008]: Likewise.
13919         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13920         (struct rusage): Do not expect type or its members.
13922         [BZ #3439]
13923         * math/math.h (FP_NAN): Define macro to integer constant usable in
13924         #if and use that to give value to enum constant.
13925         (FP_INFINITE): Likewise.
13926         (FP_ZERO): Likewise.
13927         (FP_SUBNORMAL): Likewise.
13928         (FP_NORMAL): Likewise.
13930 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13932         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13933         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13934         arguments.
13936 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13938         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13939         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13940         autoconf-time if not.
13941         * configure.in: Remove AC_PREREQ.
13943 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13945         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13946         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13947         of the internal implementation.
13949 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13951         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13952         except include of <misc/sys/syslog.h>.
13954 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13957         function returns with a NULL context exit with zero.
13959 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13961         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13963 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13965         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13966         (run_program_cmd): This.
13967         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13968         (tst_langinfo): New variable.  Use it.
13970 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13972         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13973         floating point opcodes.
13975 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13977         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13978         variable.
13980         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13982         * sysdeps/mach/hurd/powerpc: Remove directory.
13983         * sysdeps/mach/powerpc: Likewise.
13985 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13987         * scripts/check-local-headers.sh: Ignore c++ headers.
13989 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13991         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13992         __libc_cleanup_region_start argument.
13994 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13996         [BZ #14784]
13997         [BZ #14785]
13998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13999         x * y using scaling, not as x * y + z.
14000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14002         * math/libm-test.inc (fma_test): Add more tests.
14003         (fma_test_towardzero): Likewise.
14004         (fma_test_downward): Likewise.
14005         (fma_test_upward): Likewise.
14007 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14009         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14011 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14013         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14014         New variable.
14016 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14018         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14020 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14023         Fix sort order.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14025         Likewise.
14027 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14030         Fix the order of the list for glibc 2.17.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14032         Likewise.
14034 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14038 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14040         [BZ #14610]
14041         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14042         for low part of x being zero before using __atanl (y).
14043         * math/libm-test.inc (atan2_test): Add another test.
14045         * manual/install.texi (Configuring and compiling): Document
14046         general use of test-wrapper and test-wrapper-env.
14047         * INSTALL: Regenerated.
14049         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14050         (__fma): Do not extract and scale down low bits on after-rounding
14051         systems when result rounded to normal precision would have normal
14052         exponent.
14053         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14054         (__fmal): Do not extract and scale down low bits on after-rounding
14055         systems when result rounded to normal precision would have normal
14056         exponent.
14057         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14058         (__fmal): Do not extract and scale down low bits on after-rounding
14059         systems when result rounded to normal precision would have normal
14060         exponent.
14061         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14062         macro.
14063         (fma_test): Add more tests.
14064         (fma_test_towardzero): Likewise.
14065         (fma_test_downward): Likewise.
14066         (fma_test_upward): Likewise.
14068 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14070         * sysdeps/i386/tininess.h: Renamed to ...
14071         * sysdeps/x86/tininess.h: This.
14072         * sysdeps/x86_64/tininess.h: Removed.
14074 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14076         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14077         input.  Use $(build-program-cmd).
14078         ($(objpfx)tst-array1-static.out): Likewise.
14079         ($(objpfx)tst-array2.out): Likewise.
14080         ($(objpfx)tst-array3.out): Likewise.
14081         ($(objpfx)tst-array4.out): Likewise.
14082         ($(objpfx)tst-array5.out): Likewise.
14083         ($(objpfx)tst-array5-static.out): Likewise.
14085 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14087         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14088         if defined.
14090         * nss/nsswitch.h (nss_interface_function): Provide new
14091         macro for use with NSS functions.
14092         * grp/initgroups.c: Use new macro.
14093         * nss/getXXbyYY.c: Likewise.
14094         * nss/getXXbyYY_r.c: Likewise.
14095         * nss/getXXent.c: Likewise.
14096         * nss/getXXent_r.c: Likewise.
14097         * sysdeps/posix/getaddrinfo.c: Likewise.
14099 2012-10-30  Andreas Jaeger  <aj@suse.de>
14101         * po/ru.po: Update Russion translation from translation project.
14103 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14105         [BZ #14152]
14106         [BZ #14783]
14107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14108         result and shift together with sticky bit instead of replicating
14109         round-to-nearest rounding.
14110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14112         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14113         missing underflow exceptions.
14114         (fma_test_towardzero): Add more tests.
14115         (fma_test_downward): Likewise.
14116         (fma_test_upward): Likewise.
14118         [BZ #14047]
14119         * sysdeps/generic/tininess.h: New file.
14120         * sysdeps/i386/tininess.h: Likewise.
14121         * sysdeps/sh/tininess.h: Likewise.
14122         * sysdeps/x86_64/tininess.h: Likewise.
14123         * stdlib/tst-strtod-underflow.c: Likewise.
14124         * stdlib/tst-tininess.c: Likewise.
14125         * stdlib/strtod_l.c: Include <tininess.h>.
14126         (round_and_return): Do not set errno for exact underflow cases.
14127         Force an underflow exception when setting errno for underflow.
14128         Determine underflow based on rounding to normal precision if
14129         TININESS_AFTER_ROUNDING.
14130         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14131         ERANGE for exact underflow cases.
14132         * stdlib/Makefile (tests): Add tst-tininess and
14133         tst-strtod-underflow.
14134         ($(objpfx)tst-tininess): Use $(link-libm).
14135         ($(objpfx)tst-strtod-underflow): Likewise.
14137 2012-10-30  Andreas Jaeger  <aj@suse.de>
14139         [BZ#14767]
14140         * elf/Makefile (tests): Remove conditional for have-initfini-array
14141         since this is now always required and the variable does not exist
14142         anymore.
14143         (tests-static): Likewise.
14144         (modules-names): Likewise.
14146         * po/eo.po: Add Esperanto translation from translation project.
14148         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14149         merged with constructor/destructor.
14150         (init_array): Likewise.
14151         * elf/tst-array2dep.c (fini_array): Likewise.
14152         (init_array): Likewise.
14154 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14156         * manual/message.texi: Delete @cartouche tags.
14158 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14160         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14161         EOPNOTSUPP.
14162         * sysdeps/mach/hurd/fsync.c: Likewise.
14164         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14165         [_POSIX_REALTIME_SIGNALS]: Change condition to
14166         [_POSIX_REALTIME_SIGNALS > 0].
14168 2012-10-27  Andreas Jaeger  <aj@suse.de>
14170         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14171         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14173         [__WORDSIZE != 64]: Likewise.
14175 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14177         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14178         *  iconvdata/tst-tables.sh: Likewise.
14180 2012-10-25  David S. Miller  <davem@davemloft.net>
14182         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14183         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14184         of strtoull.
14186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14187         ifunc-impl-list.c
14188         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14189         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14190         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14191         file.
14193 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14195         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14196         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14197         __getdirentries.
14199 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14200             Jim Blandy  <jimb@codesourcery.com>
14202         * scripts/cross-test-ssh.sh: New file.
14203         * manual/install.texi (Configuring and compiling): Document use of
14204         cross-test-ssh.sh.
14205         * INSTALL: Regenerated.
14207 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14209         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14210         EOPNOTSUPP.
14212 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14214         * Makeconfig (run-program-prefix): Fix comment.
14216 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14217             Jim Blandy  <jimb@codesourcery.com>
14219         * Makeconfig (test-wrapper): New variable,
14220         (test-wrapper-env): Likewise.
14221         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14222         (run-built-tests): Define to yes.
14223         (run-program-prefix): Use $(test-wrapper).
14224         (built-program-cmd): Likewise.
14225         * Rules (make-test-out): Use $(test-wrapper-env) and
14226         $(host-built-program-cmd).
14227         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14228         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14229         tst-pathopt.sh.
14230         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14231         $(test-wrapper-env) to tst-rtld-load-self.sh.
14232         ($(objpfx)order2.out): Use $(test-wrapper).
14233         ($(objpfx)tst-initorder.out): Likewise.
14234         ($(objpfx)tst-initorder2.out): Likewise.
14235         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14236         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14237         (test_wrapper_env): New variable.  Use it to run ld.so.
14238         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14239         Use it to run ld.so.
14240         (test_wrapper_env): Likewise.
14241         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14242         $(test-wrapper) to run-iconv-test.sh.
14243         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14244         (ICONV): Use $test_wrapper.
14245         * posix/Makefile ($(objpfx)globtest.out): Pass
14246         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14247         globtest.sh, not $(run-program-prefix).
14248         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14249         (test_wrapper): Likewise.
14250         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14251         set together with run_via_rtld_prefix.
14252         (run_program_prefix): Define in terms of test_wrapper and
14253         run_via_rtld_prefix.
14255 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14257         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14258         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14259         Targets removed.
14261         [BZ #14743]
14262         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14263         Declare __clock_getres, __clock_gettime, __clock_settime,
14264         __clock_nanosleep, and __clock_getcpuclockid.
14265         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14266         Remove librt_hidden_def (clock_gettime).
14267         * sysdeps/unix/clock_gettime.c: Likewise.
14268         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14269         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14270         * rt/clock_getres.c: Define __clock_getres as an alias.
14271         * sysdeps/posix/clock_getres.c: Likewise.
14272         * rt/clock_settime.c: Define __clock_settime as an alias.
14273         * sysdeps/unix/clock_settime.c: Likewise.
14274         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14275         * sysdeps/unix/clock_nanosleep.c: Likewise.
14276         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14277         * rt/clock-compat.c: New file.
14278         * rt/Makefile (librt-routines): Add clock-compat and move
14279         $(clock-routines) to ...
14280         (routines): ... here, new variable.
14281         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14282         Don't add get_clockfreq here.
14283         * rt/Versions (libc: GLIBC_2.17): New version set.
14284         Add clock_* symbols here.
14285         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14287         (GLIBC_2.17): Add clock_* symbols.
14288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14290         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14292         Likewise.
14293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14294         Likewise.
14295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14299         * NEWS: Mention the move.
14301         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14302         Use __open, __read, __close rather than their public counterparts.
14303         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14304         (__get_clockfreq_via_cpuinfo): Likewise.
14305         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14306         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14308         * config.h.in (HAVE_IFUNC): New #undef.
14309         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14310         was successful.
14311         * configure: Regenerated.
14313 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14315         * configure.in: Move READELF check to start of file.
14316         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14317         libc_cv_asm_gnu_indirect_function in the process.
14318         * configure: Regenerated.
14320 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14322         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14323         send the output to /dev/null.
14324         (libc_cv_cc_with_libunwind): Likewise.
14325         (libc_cv_as_noexecstack): Likewise.
14326         * configure: Regenerate.
14328 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14330         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14332         * posix/globtest.sh (TMPDIR): Do not set.
14333         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14334         (testout): Likewise.
14336 2012-10-24  Andreas Jaeger  <aj@suse.de>
14338         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14339         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14340         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14341         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14342         posix_fadvise64, posix_fallocate64.
14344         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14345         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14346         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14347         Likewise.
14348         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14349         Likewise.
14350         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14353         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14354         <bits/fcntl-linux.h>.
14355         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14357         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14358         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14359         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14360         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14361         [__WORDSIZE != 64]: Likewise.
14363 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14365         * Makeconfig (run-built-tests): New variable.
14366         * Rules [$(cross-compiling) = yes]: Change condition to
14367         [$(run-built-tests) = no].
14368         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14369         to [$(run-built-tests) = yes].
14370         * elf/Makefile [$(cross-compiling) = no]: Likewise
14371         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14372         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14373         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14374         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14375         * io/Makefile [$(cross-compiling) = no]: Likewise.
14376         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14377         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14378         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14379         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14380         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14381         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14382         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14383         * string/Makefile [$(cross-compiling) = no]: Likewise.
14385         * posix/Makefile ($(objpfx)globtest.out): Pass
14386         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14387         $(rtld-installed-name).
14388         * posix/globtest.sh (elf_objpfx): Remove variable.
14389         (rtld_installed_name): Likewise.
14390         (library_path): Likewise.
14391         (run_program_prefix): New variable.  Use for running globtest
14392         binary.
14394 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14395             Joseph Myers  <joseph@codesourcery.com>
14397         * Makeconfig (host-built-program-cmd): New variable.
14398         * elf/Makefile (tst-stackguard1-ARGS): Use
14399         $(host-built-program-cmd).
14400         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14401         (tst-spawn-ARGS): Likewise.
14402         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14404 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14405             Jim Blandy  <jimb@codesourcery.com>
14407         * Makeconfig (run-via-rtld-prefix): New variable.
14408         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14409         (built-program-cmd): Likewise.
14411 2012-10-22  Andreas Jaeger  <aj@suse.de>
14413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14414         __O_RSYNC if it exists, otherwise to O_SYNC.
14416 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14417             Joseph Myers  <joseph@codesourcery.com>
14419         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14420         /dev/null.
14421         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14422         from /dev/null
14423         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14424         /dev/null.
14426 2012-10-22  Andreas Jaeger  <aj@suse.de>
14428         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14429         Define always.
14430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14433         bits/fcntl-linux.h.
14435         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14436         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14439         to __O_LARGEFILE.
14440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14441         to __O_LARGEFILE.
14443 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14444             Joseph Myers  <joseph@codesourcery.com>
14446         * config.make.in (NM): New variable.
14448 2012-10-21  Andreas Jaeger  <aj@suse.de>
14450         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14451         definitions and declarations that are provided by
14452         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14454 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14456         [BZ #14683]
14457         * elf/Makefile (tests-static): Add tst-leaks1-static.
14458         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14459         ($(objpfx)tst-leaks1-static): New rule.
14460         ($(objpfx)tst-leaks1-static-mem): Likewise.
14461         (tst-leaks1-static-ENV): New macro.
14462         * elf/dl-open.c (dl_open_worker): Check the main application
14463         only if SHARED is defined.
14464         * elf/tst-leaks1-static.c: New file.
14466 2012-10-20  Andreas Jaeger  <aj@suse.de>
14468         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14469         generic values for Linux.
14470         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14471         and declarations that are provided by <bits/fcntl-linux.h> and
14472         include <bits/fcntl-linux.h>.
14473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14476 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14478         * io/fcntl.h: Move include of <bits/types.h> to the top and
14479         include it unconditionally.
14481 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14483         * wcsmbs/Makefile (tests-ifunc): New variable.
14484         (tests): Add $(tests-ifunc).
14485         * wcsmbs/test-wcschr-ifunc.c: New file.
14486         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14487         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14488         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14489         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14490         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14492         * string/Makefile (tests-ifunc): New variable.
14493         (tests): Add $(tests-ifunc).
14494         * string/test-memccpy.c (TEST_NAME): New macro.
14495         * string/test-memchr.c (TEST_NAME): Likewise.
14496         * string/test-memcmp.c (TEST_NAME): Likewise.
14497         * string/test-memcpy.c (TEST_NAME): Likewise.
14498         * string/test-memmem.c (TEST_NAME): Likewise.
14499         * string/test-memmove.c (TEST_NAME): Likewise.
14500         * string/test-memset.c (TEST_NAME): Likewise.
14501         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14502         * string/test-stpcpy.c (TEST_NAME): Likewise.
14503         * string/test-stpncpy.c (TEST_NAME): Likewise.
14504         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14505         * string/test-strcasestr.c (TEST_NAME): Likewise.
14506         * string/test-strcat.c (TEST_NAME): Likewise.
14507         * string/test-strchr.c (TEST_NAME): Likewise.
14508         * string/test-strcmp.c(TEST_NAME): Likewise.
14509         * string/test-strcpy.c (TEST_NAME): Likewise.
14510         * string/test-strcspn.c (TEST_NAME): Likewise.
14511         * string/test-strlen.c (TEST_NAME): Likewise.
14512         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14513         * string/test-strncmp.c (TEST_NAME): Likewise.
14514         * string/test-strncpy.c (TEST_NAME): Likewise.
14515         * string/test-strnlen.c (TEST_NAME): Likewise.
14516         * string/test-strpbrk.c (TEST_NAME): Likewise.
14517         * string/test-strrchr.c (TEST_NAME): Likewise.
14518         * string/test-strspn.c (TEST_NAME): Likewise.
14519         * string/test-strstr.c (TEST_NAME): Likewise.
14520         * string/test-bcopy-ifunc.c: New file.
14521         * string/test-bzero-ifunc.c: Likewise.
14522         * string/test-memccpy-ifunc.c: Likewise.
14523         * string/test-memchr-ifunc.c: Likewise.
14524         * string/test-memcmp-ifunc.c: Likewise.
14525         * string/test-memcpy-ifunc.c: Likewise.
14526         * string/test-memmem-ifunc.c: Likewise.
14527         * string/test-memmove-ifunc.c: Likewise.
14528         * string/test-mempcpy-ifunc.c: Likewise.
14529         * string/test-memset-ifunc.c: Likewise.
14530         * string/test-rawmemchr-ifunc.c: Likewise.
14531         * string/test-stpcpy-ifunc.c: Likewise.
14532         * string/test-stpncpy-ifunc.c: Likewise.
14533         * string/test-strcasecmp-ifunc.c: Likewise.
14534         * string/test-strcasestr-ifunc.c: Likewise.
14535         * string/test-strcat-ifunc.c: Likewise.
14536         * string/test-strchr-ifunc.c: Likewise.
14537         * string/test-strchrnul-ifunc.c: Likewise.
14538         * string/test-strcmp-ifunc.c: Likewise.
14539         * string/test-strcpy-ifunc.c: Likewise.
14540         * string/test-strcspn-ifunc.c: Likewise.
14541         * string/test-strlen-ifunc.c: Likewise.
14542         * string/test-strncasecmp-ifunc.c: Likewise.
14543         * string/test-strncat-ifunc.c: Likewise.
14544         * string/test-strncmp-ifunc.c: Likewise.
14545         * string/test-strncpy-ifunc.c: Likewise.
14546         * string/test-strnlen-ifunc.c: Likewise.
14547         * string/test-strpbrk-ifunc.c: Likewise.
14548         * string/test-strrchr-ifunc.c: Likewise.
14549         * string/test-strspn-ifunc.c: Likewise.
14550         * string/test-strstr-ifunc.c: Likewise.
14552         * debug/Makefile (tests-ifunc): New variable.
14553         (tests): Add $(tests-ifunc).
14554         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14555         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14556         * debug/test-stpcpy_chk-ifunc.c: New file.
14557         * debug/test-strcpy_chk-ifunc.c: Likewise.
14559 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14561         [BZ #13601]
14562         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14563         header is not read in.
14565 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14567         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14568         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14569         directly.  Pass built executable to script as
14570         $(built-program-cmd).
14571         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14572         $testprogram without using LD_LIBRARY_PATH and $ldso.
14574         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14575         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14576         $(rtld-installed-name).
14577         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14578         (rtld_installed_name): Likewise.
14579         (library_path): Likewise.
14580         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14581         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14582         $(run-program-prefix) to tst-tables.sh.
14583         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14584         it to run tst-table-from and tst-table-to.
14585         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14586         Pass it to tst-table.sh.
14587         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14588         $(run-program-prefix) to tst-gettext.sh.
14589         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14590         tst-translit.sh.
14591         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14592         tst-gettext2.sh.
14593         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14594         to run tst-gettext.
14595         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14596         to run tst-gettext2.
14597         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14598         to run tst-translit.
14599         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14600         $(run-program-prefix) to tst-mtrace.sh.
14601         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14602         to run tst-mtrace.
14603         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14604         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14605         $(rtld-installed-name).
14606         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14607         (rtld_installed_name): Likewise.
14608         (run_program_prefix): New variable.  Use it to run wordexp-test.
14610         * Makeconfig (ARCH): Remove all definitions.
14611         (machine): Likewise.
14612         [ARCH]: Remove conditional code.
14613         [!objdir]: Give error.
14614         [!objdir] (objpfx): Remove.
14615         [!objdir] (common-objpfx): Likewise.
14616         [!objdir] (common-objdir): Likewise.
14617         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14618         AC_CONFIG_FILES call.
14619         * configure: Regenerated.
14621         [BZ #13888]
14622         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14623         or TMPDIR.
14624         (testout): Likewise.
14626         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14627         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14628         $(rtld-installed-name).
14629         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14630         (rtld_installed_name): Likwise.
14631         (runit): Remove function.
14632         (run_getconf): New variable,  Use it for running getconf binary.
14634 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14636         [BZ #14716]
14637         * string/test-memmem.c (check_result): New function.
14638         (do_one_test): Use it.
14639         (check1): New function.
14640         (test_main): Use it.
14642 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14644         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14646 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14648         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14649         (_G_LSEEK64): Likewise.
14650         (_G_MMAP64): Likewise.
14651         (_G_FSTAT64): Likewise.
14652         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14653         (_G_LSEEK64): Likewise.
14654         (_G_MMAP64): Likewise.
14655         (_G_FSTAT64): Likewise.
14656         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14657         unconditional.  Call __mmap64 directly.
14658         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14659         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14660         __lseek64 directly.
14661         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14662         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14663         __mmap64 directly.
14664         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14665         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14666         __lseek64 directly.
14667         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14668         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14669         __lseek64 directly.
14670         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14671         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14672         __lseek64 directly.
14673         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14674         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14675         __fxstat64 directly.
14676         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14677         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14678         unconditional.
14679         (freopen64) [!_G_OPEN64]: Remove conditional code.
14680         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14681         unconditional.
14682         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14683         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14684         unconditional.
14685         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14686         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14687         unconditional.
14688         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14689         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14690         unconditional.
14691         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14692         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14693         unconditional.
14694         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14695         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14696         unconditional.
14697         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14698         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14699         unconditional.
14700         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14702 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14704         [BZ #12140]
14705         * manual/memory.texi (Malloc Tunable Parameters): Add note
14706         about free list pointers overwriting some perturb bytes.
14707         Wording suggested by Roland McGrath.
14709 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14711         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14712         (lgamma_test): Likewise.
14713         (tgamma_test): Likewise.
14715 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14717         [BZ #14700]
14718         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14719         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14721 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14723         * NEWS: Mention BZ #14716.
14724         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14725         when removing AVAILABLE1_USES_J macro.
14727 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14729         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14730         (__bswap_64): __uint64_t for unsigned 64-bit int.
14732 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14734         * include/string.h (memmem): Declare libc hidden alias.
14735         * string/memmem.c (memmem): Define libc hidden alias.
14736         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14737         __read, __close instead of open, read, close.
14739 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14742         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14743         global and hidden.
14744         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14745         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14746         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14747         Likewise.
14748         (__rawmemchr_sse2): Likewise.
14749         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14750         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14751         (__strchr_sse2): Likewise.
14752         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14753         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14754         (__strcasecmp_sse2): Likewise.
14755         (__strncasecmp_sse2): Likewise.
14756         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14757         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14758         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14759         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14760         (__strrchr_sse2): Likewise.
14761         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14762         ifunc-impl-list.c.
14763         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14764         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14765         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14766         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14767         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14768         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14769         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14770         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14771         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14772         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14773         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14774         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14775         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14776         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14777         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14778         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14779         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14780         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14781         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14782         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14783         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14784         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14785         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14786         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14787         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14788         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14789         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14790         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14791         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14792         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14794         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14795         global and hidden.
14796         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14797         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14798         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14799         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14800         Likewise.
14801         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14802         Likewise.
14803         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14804         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14805         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14806         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14807         ifunc-impl-list.c.
14808         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14809         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14810         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14811         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14812         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14813         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14814         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14815         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14816         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14817         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14818         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14819         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14820         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14821         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14822         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14823         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14824         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14825         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14826         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14827         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14828         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14829         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14830         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14831         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14832         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14833         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14834         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14835         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14836         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14837         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14838         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14839         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14840         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14841         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14842         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14843         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14844         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14845         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14846         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14847         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14848         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14850         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14851         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14852         * include/ifunc-impl-list.h: New file.
14853         * misc/ifunc-impl-list.c: Likewise.
14854         * misc/Makefile (routines): Add ifunc-impl-list.
14855         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14856         * string/test-string.h: Include <ifunc-impl-list.h>.
14857         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14858         impl_array): New variables.
14859         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14860         are defined.
14861         (test_init): Call __libc_ifunc_impl_list to initialize
14862         func_list if TEST_IFUNC and TEST_NAME are defined.
14864         * string/Makefile (strop-tests): Add bcopy and bzero.
14865         * string/test-bcopy.c: New file.
14866         * string/test-bzero.c: Likewise.
14867         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14868         defined.
14869         * string/test-memset.c: Support bzero test if TEST_BZERO is
14870         defined.
14871         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14872         __libc_memmove.
14873         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14874         __libc_memset.
14875         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14876         of memset.
14878 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14880         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14881         * configure: Regenerated.
14883         * Makeconfig (+link-static-before-libc): Don't include
14884         $(link-static-libc).
14886         * libio/libio.h (_IO_pos_t): Remove.
14888 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14890         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14891         McGrath.
14893 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14895         * crypt/crypt-entry.c: Include fips-private.h.
14896         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14897         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14898         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14899         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14901 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14903         * crypt/crypt-private.h: Include stdbool.h.
14904         (_ufc_setup_salt_r): Return bool.
14905         * crypt/crypt-entry.c: Include errno.h.
14906         (__crypt_r): Return NULL with EINVAL for bad salt.
14907         * crypt/crypt_util.c (bad_for_salt): New.
14908         (_ufc_setup_salt_r): Check that salt is long enough and within
14909         the specified alphabet.
14910         * crypt/badsalttest.c: New file.
14911         * crypt/Makefile (tests): Add it.
14912         ($(objpfx)badsalttest): New.
14914 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14916         * NEWS: Add entry for BZ #14602.
14918 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14920         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14921         type-generic.
14922         * math/libm-test.inc: Update comment listing what functions and
14923         macros are tested.
14924         (isgreater_test): New function.
14925         (isgreaterequal_test): Likewise.
14926         (isless_test): Likewise.
14927         (islessequal_test): Likewise.
14928         (islessgreater_test): Likewise.
14929         (isunordered_test): Likewise.
14930         (main): Call the new functions.
14932 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14934         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14935         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14936         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14937         * sysdeps/i386/configure: Regenerated.
14938         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14939         * sysdeps/mach/configure: Regenerated.
14940         * sysdeps/mach/hurd/configure: Regenerated.
14941         * sysdeps/powerpc/configure: Regenerated.
14942         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14943         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14944         * sysdeps/s390/s390-32/configure: Regenerated.
14945         * sysdeps/s390/s390-64/configure: Regenerated.
14946         * sysdeps/sh/configure: Regenerated.
14947         * sysdeps/sparc/configure: Regenerated.
14948         * sysdeps/unix/sysv/linux/configure: Regenerated.
14949         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14950         * sysdeps/x86_64/configure: Regenerated.
14952         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14953         defined.  Don't check if MAP is NULL.
14955 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14957         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14958         (_G_stat64): Likewise.
14959         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14960         (_G_stat64): Likewise.
14961         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14962         instead of struct _G_stat64.
14963         * libio/fileops.c (mmap_remap_check): Likewise.
14964         (decide_maybe_mmap): Likewise.
14965         (_IO_new_file_seekoff): Likewise.
14966         (_IO_file_stat): Likewise.
14967         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14968         _G_off64_t.
14969         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14970         instead of struct _G_stat64.
14971         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14973 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14975         [BZ #14602]
14976         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14977         Replace with ...
14978         (CHECK_EOL): New macro.
14979         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14980         CHECK_EOL.
14981         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14982         Replace with CHECK_EOL.
14983         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14984         Replace with CHECK_EOL.
14986 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14988         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14989         type-generic.
14990         * math/libm-test.inc: Update comment listing what functions and
14991         macros are tested.
14992         (finite_test): New function.
14993         (isinf_test): Likewise.
14994         (isnan_test): Likewise.
14995         (fpclassify_test): Test subnormal input.
14996         (isfinite_test): Likewise.
14997         (isnormal_test): Likewise.
14998         (main): Call the new functions.
15000 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15002         [BZ #14660]
15003         * Makerules (%.dynsym): Force C locale when running
15004         $(OBJDUMP) --dynamic-syms.
15006 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15008         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15009         <stdint.h>.
15011 2012-10-06  David S. Miller  <davem@davemloft.net>
15013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15014         upper 32-bits of the length value in %o2 since we use branch-on-register
15015         tests which consider the entire 64-bit register.
15017 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15019         * string/test-strstr.c (check2): Add a test for page boundary.
15021 2012-10-05  David S. Miller  <davem@davemloft.net>
15023         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15024         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15025         file.
15026         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15027         sysdep_routines.
15028         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15029         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15030         and bzero when HWCAP_SPARC_CRYPTO is present.
15032 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15034         [BZ #14602]
15035         * string/test-strstr.c (check2): New function.
15036         (test_main): Call check2.
15038         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15039         and bug-strchr1.
15040         * string/bug-strcasestr1.c (do_test): Moved to ...
15041         * string/test-strcasestr.c (check1): Here.  New function.
15042         (do_one_test): Break out result checking code into ...
15043         (check_result): This.  New function.
15044         (do_one_test): Call check_result.
15045         (test_main): Call check1.
15046         * string/bug-strchr1.c (do_test): Moved to ...
15047         * string/test-strchr.c (check1): Here.  New function.
15048         (do_one_test): Break out result checking code into ...
15049         (check_result): This.  New function.
15050         (do_one_test): Call check_result.
15051         (test_main): Call check1.
15052         * string/bug-strstr1.c (main): Moved to ...
15053         * string/test-strstr.c (check1): Here.  New function.
15054         (do_one_test): Break out result checking code into ...
15055         (check_result): This.  New function.
15056         (do_one_test): Call check_result.
15057         (test_main): Call check1.
15058         * string/bug-strcasestr1.c: Removed.
15059         * string/bug-strchr1.c: Likewise.
15060         * string/bug-strstr1.c: Likewise.
15062         * elf/Makefile (dl-routines): Add hwcaps.
15063         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15064         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15065         (_dl_important_hwcaps): Moved to ...
15066         * elf/dl-hwcaps.c: Here.  New file.
15067         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15069         [BZ #14557]
15070         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15071         if IS_IN_rtld isn't defined.
15073         * elf/dl-support.c (_dl_sysinfo_map): New.
15074         Include "get-dynamic-info.h" and "setup-vdso.h".
15075         (_dl_non_dynamic_init): Call setup_vdso.
15076         * elf/dynamic-link.h: Don't include <assert.h>.
15077         (elf_get_dynamic_info): Moved to ...
15078         * elf/get-dynamic-info.h: Here.  New file.
15079         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15080         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15081         * elf/setup-vdso.h: Here.  New file.
15082         * elf/rtld.c: Include "setup-vdso.h".
15083         (dl_main): Call setup_vdso.
15085 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15087         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15088         creal in comment listing functions tested.  List finite, isinf,
15089         isnan, isless, islessequal, isgreater, isgreaterequal,
15090         islessgreater, isunordered, lgamma_r and pow10 as functions and
15091         macros not tested.  Mention which functions not tested are aliases
15092         for other functions.  Fix typo.  Note that signs of NaNs are not
15093         tested.
15095         * scripts/config.guess: Update from config.git.
15096         * scripts/config.sub: Likewise.
15098 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15100         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15101         * misc/madvise.c (madvise): Renamed to __madvise.
15102         Make madvise a weak alias.
15103         * include/sys/mman.h: Declare __madvise.
15104         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15105         * sysdeps/unix/syscalls.list
15106         (madvise): Make __madvise the strong name, and madvise a weak alias.
15107         * sysdeps/unix/sysv/linux/syscalls.list
15108         (madvise, mmap): Remove redundant entries.
15109         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15110         * malloc/malloc.c (mtrim): Likewise.
15111         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15113 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15115         * sysdeps/mach/hurd/dl-cache.c: File removed.
15116         * config.h.in (USE_LDCONFIG): New #undef.
15117         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15118         * configure: Regenerated.
15119         * elf/Makefile (dl-routines): Add dl-cache only under
15120         [$(use-ldconfig) = yes].
15121         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15122         cache on [USE_LDCONFIG].
15123         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15124         [USE_LDCONFIG].
15125         * elf/rtld.c (dl_main): Likewise.
15127 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15129         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15130         _SC_LEVEL4_CACHE_LINESIZE.
15132 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15134         * sysdeps/unix/bsd/confstr.h: File removed.
15136 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15138         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15139         sys/sdt-config.h.
15141 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15143         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15144         Make 'mapoff' field ElfW(Off) rather than off_t.
15146 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15148         * nscd/Makefile: Remove nscd-cflags and all its users.
15149         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15150         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15152         [BZ #10631]
15153         * malloc.c (malloc_printerr): Clarify error message.
15155 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15157         [BZ #14648]
15158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15159         Set bit_FMA_Usable if FMA is supported.
15160         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15161         macro.
15162         (bit_FMA4_Usable): Updated.
15163         (index_FMA_Usable): New macro.
15164         (CPUID_FMA): Likewise
15165         (HAS_FMA): Defined with bit_FMA_Usable.
15167 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15169         * bits/types.h (__swblk_t): Type removed.
15170         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15171         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15172         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15173         (__SWBLK_T_TYPE): Likewise.
15174         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15175         (__SWBLK_T_TYPE): Likewise.
15176         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15177         (__SWBLK_T_TYPE): Likewise.
15178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15179         (__SWBLK_T_TYPE): Likewise.
15181 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15182             Honza Horak <hhorak@redhat.com>
15184         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15185         (xdr_mapname): Use YPMAXMAP as maxsize.
15186         (xdr_peername): Use YPMAXPEER as maxsize.
15187         (xdr_keydat): Use YPAXRECORD as maxsize.
15188         (xdr_valdat): Use YPMAXRECORD as maxsize.
15190 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15192         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15194         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15195         * csu/init-first.c: ... here.
15196         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15197         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15198         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15199         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15200         * sysdeps/i386/init-first.c: File removed.
15201         * sysdeps/sh/init-first.c: File removed.
15203 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15205         [BZ #14645]
15206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15207         if x * y might underflow to zero and z is zero.
15208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15210         * math/libm-test.inc (min_subnorm_value): New variable.
15211         (fma_test): Add more tests.
15212         (fma_test_towardzero): Likewise.
15213         (fma_test_downward): Likewise
15214         (fma_test_upward): Likewise.
15215         (initialize): Set min_subnorm_value.
15217 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15219         [BZ #14638]
15220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15221         0 + 0.
15222         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15223         mode for addition resulting in exact zero.
15224         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15226         exact 0 + 0.
15227         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15229         * math/libm-test.inc (fma_test): Add more tests.
15230         (fma_test_towardzero): New function.
15231         (fma_test_downward): Likewise.
15232         (fma_test_upward): Likewise.
15233         (main): Call the new functions.
15235 2012-09-28  David S. Miller  <davem@davemloft.net>
15237         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15239 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15241         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15242         instead of SIGALRM.
15244         * sysdeps/gnu/_G_config.h: Moved to ...
15245         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15246         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15247         * sysdeps/generic/_G_config.h: ... here.
15249         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15251         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15253         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15254         Conditionalize target on [libnss_test1.so-version].
15256         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15258         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15259         (elfobjdir): Move out of conditionals.
15261         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15262         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15263         (__nss_lookup_function): Conditionalize label remove_from_tree on
15264         [!DO_STATIC_NSS || SHARED], matching its only use.
15266 2012-09-28  David S. Miller  <davem@davemloft.net>
15268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15269         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15270         file.
15271         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15272         sysdep_routines.
15273         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15274         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15275         when HWCAP_SPARC_CRYPTO is present.
15277 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15279         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15281 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15283         [BZ #6530]
15284         * stdio-common/vfprintf.c (process_string_arg): Revert
15285         2000-07-22 change.
15287 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15289         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15290         for testcase.
15291         * stdio-common/tst-sprintf.c: Include <locale.h>
15292         (main): Test sprintf's handling of incomplete multibyte
15293         characters.
15295 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15297         * elf/dl-runtime.c (VERSYMIDX): Removed.
15298         * elf/dl-version.c (VERSYMIDX): Likewise.
15299         * elf/do-rel.h (VERSYMIDX): Likewise.
15300         (VALIDX): Likewise.
15301         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15302         * elf/rtld.c (VALIDX): Likewise.
15303         (ADDRIDX): Likewise.
15304         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15305         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15306         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15307         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15308         (VALIDX): Likewise.
15309         (ADDRIDX): Likewise.
15311 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15313         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15315 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15317         [BZ #11438]
15318         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15319         to global scope.
15320         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15321         addresses are in the same scope as 192.0.2/24.
15322         * posix/gai.conf: Document new scope table defaults.
15324 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15326         [BZ #5298]
15327         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15328         for ftell.  Compute offsets from write pointers instead.
15329         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15331 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15333         [BZ #14543]
15334         * libio/Makefile (tests): New test case tst-fseek.
15335         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15336         combination works in wide mode.
15337         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15338         state when the external buffer state changes.
15340 2012-09-27  David S. Miller  <davem@davemloft.net>
15342         [BZ #14376]
15343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15344         pass reloc->r_addend in as the 'high' argument to
15345         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15349 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15351         * rt/tst-aio2.c: Include <pthread.h>.
15352         * rt/tst-aio3.c: Likewise.
15354 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15356         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15358 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15360         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15361         contents on [SHARED].
15363 2012-09-26  Marek Polacek  <polacek@redhat.com>
15365         [BZ #14530]
15366         [BZ #13741]
15367         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15368         for C++ and GCC <4.3 as well as for non GCC compilers.
15370 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15374 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15376         * Makefile.in (all, install): Declare with .PHONY.
15377         Reported by Michael Hope <michael.hope@linaro.org>.
15379 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15381         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15382         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15383         system header.
15384         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15385         Likewise.
15386         (sydep_routines): Add the new and the internal functions.
15387         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15388         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15390         (GLIBC_2.17): Add the new function.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15392         (GLIBC_2.17): Likewise.
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15394         (GLIBC_2.17): Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15396         (GLIBC_2.17): Likewise.
15397         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15399 2012-09-25  Alan Modra  <amodra@gmail.com>
15401         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15402         Add release barrier before setting once_control to say
15403         initialisation is done.  Add hints on lwarx.  Use macro in
15404         place of isync.
15405         (clear_once_control): Add release barrier.
15407 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15409         [BZ #13629]
15410         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15411         specially.
15412         * math/s_clog10.c (__clog10): Likewise.
15413         * math/s_clog10f.c (__clog10f): Likewise.
15414         * math/s_clog10l.c (__clog10l): Likewise.
15415         * math/s_clogf.c (__clogf): Likewise.
15416         * math/s_clogl.c (__clogl): Likewise.
15417         * math/Makefile (libm-calls): Add x2y2m1.
15418         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15419         (__x2y2m1): Likewise.
15420         (__x2y2m1l): Likewise.
15421         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15422         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15423         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15424         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15425         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15426         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15427         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15428         * sysdeps/i386/fpu/libm-test-ulps: Update.
15429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15431         [BZ #14621]
15432         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15433         int as type of variable DEPTH.
15434         (glob): Use size_t instead of int as type of variables NEWCOUNT
15435         and OLD_PATHC.
15437 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15439         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15440         Add s_sincosf-sse2.
15441         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15442         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15443         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15444         macros for using routine as __sincosf_ia32.
15445         Use macro for function declaration and weak_alias.
15446         * sysdeps/i386/fpu/libm-test-ulps: Update.
15448         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15451         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15452         subnormal argument.
15453         * math/s_cexpf.c (__cexpf): Likewise.
15454         * math/s_csinf.c (__csinf): Likewise.
15455         * math/s_csinhf.c (__csinhf): Likewise.
15456         * math/s_ctanf.c (__ctanf): Likewise.
15457         * math/s_ctanhf.c (__ctanhf): Likewise.
15458         * math/s_ccosh.c (__ccoshf): Likewise.
15459         * math/s_cexp.c (__cexpl): Likewise.
15460         * math/s_csin.c (__csin): Likewise.
15461         * math/s_csinh.c (__csinh): Likewise.
15462         * math/s_ctan.c (__ctan): Likewise.
15463         * math/s_ctanh.c (ctanh): Likewise.
15464         * math/s_ccoshl.c (__ccoshl): Likewise.
15465         * math/s_cexpl.c (__cexpl): Likewise.
15466         * math/s_csinl.c (__csinl): Likewise.
15467         * math/s_csinhl.c (__csinhl): Likewise.
15468         * math/s_ctanl.c (__ctanl): Likewise.
15469         * math/s_ctanhl.c (__ctanhl): Likewise.
15471 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15473         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15474         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15475         (_IO_off_t): Define to __off_t, not _G_off_t.
15476         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15477         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15478         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15479         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15480         type of __dummy and __dummy2 fields.
15481         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15482         (_G_ssize_t): Likewise.
15483         (_G_off_t): Likewise.
15484         (_G_pid_t): Likewise.
15485         (_G_uid_t): Likewise.
15486         (_G_wchar_t): Likewise.
15487         (_G_wint_t): Likewise.
15488         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15489         (_G_ssize_t): Likewise.
15490         (_G_off_t): Likewise.
15491         (_G_pid_t): Likewise.
15492         (_G_uid_t): Likewise.
15493         (_G_wchar_t): Likewise.
15494         (_G_wint_t): Likewise.
15495         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15496         (_G_ssize_t): Likewise.
15497         (_G_off_t): Likewise.
15498         (_G_pid_t): Likewise.
15499         (_G_uid_t): Likewise.
15500         (_G_wchar_t): Likewise.
15501         (_G_wint_t): Likewise.
15503 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15505         * malloc/arena.c: Include malloc-sysdep.h.
15506         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15507         is sufficient to shrink the heap or an unmap is needed.
15508         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15509         new function check_may_shrink_heap.
15510         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15511         new function check_may_shrink_heap.
15513 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15515         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15516         comments.
15518 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15520         * catgets/test-gencat.sh: Add "set -e".
15521         * elf/tst-pathopt.sh: Likewise.
15522         * grp/tst_fgetgrent.sh: Likewise.
15523         * iconvdata/run-iconv-test.sh: Likewise.
15524         * intl/tst-gettext.sh: Likewise.
15525         * intl/tst-gettext2.sh: Likewise.
15526         * intl/tst-gettext4.sh: Likewise.
15527         * intl/tst-gettext6.sh: Likewise.
15528         * intl/tst-translit.sh: Likewise.
15529         * io/ftwtest-sh: Likewise.
15530         * libio/test-freopen.sh: Likewise.
15531         * malloc/tst-mtrace.sh: Likewise.
15532         * posix/globtest.sh: Likewise.
15533         * posix/tst-getconf.sh: Likewise.
15534         * posix/wordexp-tst.sh: Likewise.
15535         * stdio-common/tst-printf.sh: Likewise.
15536         * stdio-common/tst-unbputc.sh: Likewise.
15537         * stdlib/tst-fmtmsg.sh: Likewise.
15538         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15539         * catgets/Makefile: Do not specify -e option when running
15540         testsuite shell scripts.
15541         * elf/Makefile: Likewise.
15542         * grp/Makefile: Likewise.
15543         * iconvdata/Makefile: Likewise.
15544         * intl/Makefile: Likewise.
15545         * io/Makefile: Likewise.
15546         * libio/Makefile: Likewise.
15547         * malloc/Makefile: Likewise.
15548         * posix/Makefile: Likewise.
15549         * stdio-common/Makefile: Likewise.
15550         * stdlib/Makefile: Likewise.
15551         * sysdeps/x86_64/Makefile: Likewise.
15553         * io/ftwtest-sh: Add copyright header.
15554         * posix/globtest.sh: Likewise.
15555         * posix/tst-getconf.sh: Likewise.
15556         * posix/wordexp-tst.sh: Likewise.
15557         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15559 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15561         [BZ #13679]
15562         * Makeconfig (+link): Defined as $(+link-static) if
15563         $(build-shared) isn't yes.
15564         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15565         isn't yes.
15566         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15568         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15570         [BZ #14562]
15571         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15572         new chunk size with MALLOC_ALIGN_MASK.
15574 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15576         [BZ #5044]
15577         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15578         <rounding-mode.h>.
15579         (__printf_fphex): Determine rounding using get_rounding_mode and
15580         round_away.
15581         * stdio-common/tst-printf-round.c (struct hex_test): New
15582         structure.
15583         (hex_tests): New variable.
15584         (test_hex_in_one_mode): New function.
15585         (do_test): Also run tests for hex float output.
15587 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15589         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15590         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15591         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15592         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15593         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15594         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15595         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15596         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15598 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15600         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15601         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15602         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15603         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15605 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15607         [BZ #14579]
15608         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15609         mode only.
15610         * elf/tst-rtld-load-self.sh: New test.
15611         * elf/Makefile: Run it.
15613 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15615         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15616         (tst-writev-ENV): Remove.
15617         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15619 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15621         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15623 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15625         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15626         unconditional.
15627         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15628         Likewise.
15629         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15630         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15631         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15632         Likewise.
15634 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15636         [BZ #14587]
15637         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15638         * config.make.in (have-cpp-asm-debuginfo): Removed.
15639         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15640         * configure: Regenerated.
15642 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15644         [BZ #5044]
15645         * stdio-common/printf_fp.c: Include <stdbool.h> and
15646         <rounding-mode.h>.
15647         (___printf_fp): Determine rounding using get_rounding_mode and
15648         round_away.
15649         * stdio-common/tst-printf-round.c: New file.
15650         * stdio-common/Makefile (tests): Add tst-printf-round.
15651         (link-libm): New variable.
15652         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15654 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15656         [BZ #14576]
15657         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15658         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15659         Likewise.
15660         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15661         Likewise.
15663 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15665         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15666         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15667         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15668         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15670 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15672         [BZ #14518]
15673         * include/rounding-mode.h: New file.
15674         * sysdeps/generic/get-rounding-mode.h: Likewise.
15675         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15676         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15677         (MAX_VALUE): New macro.
15678         (MIN_VALUE): Likewise.
15679         (overflow_value): New function.
15680         (underflow_value): Likewise.
15681         (round_and_return): Use overflow_value and underflow_value to
15682         determine return values in overflow and underflow cases.  Use
15683         round_away to determine rounding depending on rounding mode.
15684         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15685         determine return values in overflow and underflow cases.
15686         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15687         (struct test_results): New structure.
15688         (struct test): Use struct test_results to store expected results
15689         for all rounding modes.
15690         (TEST): Include expected results for all rounding modes.
15691         (test_in_one_mode): New function.
15692         (do_test): Use test_in_one_mode to compute and check results.
15693         Check results for all rounding modes.
15694         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15695         $(link-libm).
15697 2012-12-09  Allan McRae  <allan@archlinux.org>
15699         * sysdeps/i386/fpu/libm-test-ulps: Update
15701 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15703         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15704         (_G_int32_t): Likewise.
15705         (_G_uint16_t): Likewise.
15706         (_G_uint32_t): Likewise.
15707         (_G_HAVE_BOOL): Likewise.
15708         (_G_HAVE_ATEXIT): Likewise.
15709         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15710         (_G_HAVE_IO_FILE_OPEN): Likewise.
15711         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15712         (_G_int32_t): Likewise.
15713         (_G_uint16_t): Likewise.
15714         (_G_uint32_t): Likewise.
15715         (_G_HAVE_BOOL): Likewise.
15716         (_G_HAVE_ATEXIT): Likewise.
15717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15718         (_G_HAVE_IO_FILE_OPEN): Likewise.
15719         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15720         (_G_int32_t): Likewise.
15721         (_G_uint16_t): Likewise.
15722         (_G_uint32_t): Likewise.
15723         (_G_HAVE_BOOL): Likewise.
15724         (_G_HAVE_ATEXIT): Likewise.
15725         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15726         (_G_HAVE_IO_FILE_OPEN): Likewise.
15728 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15730         * csu/libc-tls.c: Update copyright years.
15732 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15734         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15735         [!_G_USING_THUNKS]: Remove conditional code.
15736         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15737         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15739         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15740         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15741         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15742         (_G_VTABLE_LABEL_PREFIX): Likewise.
15743         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15744         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15745         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15746         (_G_VTABLE_LABEL_PREFIX): Likewise.
15747         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15748         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15749         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15750         (_G_VTABLE_LABEL_PREFIX): Likewise.
15751         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15753 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15755         * libio/Makefile: Include ../Makeconfig before tests.
15756         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15757         only if $(build-shared) is yes.
15759         * iconv/gconv_db.c: Update copyright years.
15761 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15763         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15764         unwind info if defined PIC. Fix special cases description.
15765         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15767         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15768         DP_HI_MASK entry.
15769         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15771 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15773         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15775         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15776         is NULL.
15778         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15779         (LDLIBS-tst-chk4): This.
15780         (LDFLAGS-tst-chk5): Renamed to ...
15781         (LDLIBS-tst-chk5): This.
15782         (LDFLAGS-tst-chk6): Renamed to ...
15783         (LDLIBS-tst-chk6): This.
15784         (LDFLAGS-tst-lfschk4): Renamed to ...
15785         (LDLIBS-tst-lfschk4): This.
15786         (LDFLAGS-tst-lfschk5): Renamed to ...
15787         (LDLIBS-tst-lfschk5): This.
15788         (LDFLAGS-tst-lfschk6): Renamed to ...
15789         (LDLIBS-tst-lfschk6): This.
15791         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15792         on $(common-objpfx)soversions.mk.
15794 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15796         [BZ #10014]
15797         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15798         example host name.
15800 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15802         * malloc/arena.c (arena_get_retry): New function that gets
15803         another arena for the caller to try its request on.
15804         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15805         current arena cannot fulfill the request.
15806         (__libc_memalign): Likewise.
15807         (__libc_memalign): Likewise.
15808         (__libc_pvalloc): Likewise.
15809         (__libc_calloc): Likewise.
15811 2012-09-05  John Tobey  <john.tobey@gmail.com>
15813         [BZ #13542]
15814         * manual/arith.texi (Operations on Complex): Fix description
15815         of carg branch cut.
15817 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15819         [BZ #10014]
15820         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15821         host name.
15823         [BZ #10038]
15824         * manual/memory.texi (Memory): Make order of menu items match
15825         order of sections.
15827 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15829         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15830         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15831         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15833 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15835         * csu/libc-tls.c (static_dtv): Renamed to ...
15836         (_dl_static_dtv): This.  Make it global.
15837         (_dl_initial_dtv): Removed.
15838         (__libc_setup_tls): Updated.
15839         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15840         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15841         DL_INITIAL_DTV.
15843 2012-09-06  Petr Machata  <pmachata@redhat.com>
15845         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15846         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15847         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15848         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15850 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15852         [BZ #14545]
15853         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15854         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15855         freeing dtv[-1].
15857 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15859         [BZ #14544]
15860         * Makeconfig (link-static-before-libc): Replace $(+prector)
15861         with $(+prectorT).
15862         (link-static-after-libc): Replace $(+postctor) with
15863         $(+postctorT).
15864         (link-bounded): Replace $(+prector)/$(+postctor) with
15865         $(+prectorT)/$(+postctorT).
15866         (+prectorT): New macro.
15867         (+postctorT): Likewise.
15869 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15871         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15872         (round_str): Handle values above the maximum for IBM long double
15873         as inexact.
15874         * stdlib/tst-strtod-round.c (tests): Regenerated.
15876 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15878         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15879         assembler flag.
15880         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15881         zarch_nohighgprs around the zarch optimized routines.
15882         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15883         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15884         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15885         for zarch.
15887 2012-09-05  David S. Miller  <davem@davemloft.net>
15889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15891         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15892         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15893         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15894         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15895         entries.
15897 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15899         * malloc/arena.c: Fold copyright years.
15900         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15902 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15904         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15906 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15908         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15910 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15912         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15913         change internal state upon failure.
15915 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15917         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15918         * malloc/memusage.c (mmap): Likewise.
15919         (mmap64, mremap): Likewise.  Adjust name in comment.
15921 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15923         * libio/fileops.c: Fix typos in comments.
15924         * libio/oldfileops.c: Likewise.
15925         * libio/wfileops.c: Likewise.
15927 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15929         [BZ #1349]
15930         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15931         (tst-malloc-usable-ENV): Set environment for test case.
15932         * malloc/hooks.c (malloc_check_get_size): New function to get
15933         requested size.
15934         * malloc/malloc.c (musable): Use malloc_check_get_size.
15935         * malloc/tst-malloc-usable.c: New test case.
15937 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15939         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15941 2012-09-05  Allan McRae  <allan@archlinux.org>
15943         [BZ #13966]
15944         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15945         determine header location.
15946         * configure: Regenerated.
15948 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15950         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15951         float format.
15952         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15953         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15954         format.
15955         (test): Regenerate.
15957 2012-09-04  David S. Miller  <davem@davemloft.net>
15959         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15960         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15961         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15963 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15965         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15966         failures.
15968         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15970 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15972         [BZ #9914]
15973         * libio/iogetdelim.c: Include <limits.h>.
15974         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15975         + len + 1 would overflow.
15977 2012-09-03  Andreas Jaeger  <aj@suse.de>
15979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15980         * sysdeps/i386/fpu/libm-test-ulps: Update.
15982 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15984         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15985         Add s_sinf-sse2, s_conf-sse2.
15987         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15988         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15989         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15990         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15992         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15993         for using routine as __sinf_ia32.
15994         Use macro for function declaration and weak_alias.
15995         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15996         for using routine as __cosf_ia32.
15997         Use macro for function declaration and weak_alias.
15999         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16000         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16002         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16003         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16006         * math/libm-test.inc (cos_test): Add more test cases.
16007         (sin_test): Likewise.
16008         (sincos_test): Likewise.
16010 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16012         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16013         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16014         hidden.
16015         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16017 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16019         [BZ #14538]
16020         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16021         first element of the GOT.
16022         (elf_machine_load_address): Return the difference between
16023         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16025 2012-09-01  Allan McRae  <allan@archlinux.org>
16027         [BZ #13412]
16028         * configure.in (AWK): Require gawk version 3.0 or later.
16029         * configure: Regenerated.
16031 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16033         * sysdeps/unix/sysv/linux/kernel-features.h
16034         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16035         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16036         [__NR_clock_getres]: Make code unconditional.
16037         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16038         (clock_getcpuclockid): Remove code left unreachable by removal of
16039         conditionals.
16040         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16041         code unconditional.
16042         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16043         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16044         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16045         Make code unconditional.
16046         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16047         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16048         * sysdeps/unix/sysv/linux/clock_settime.c
16049         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16050         conditional code.
16051         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16052         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16054 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16056         [BZ #14476]
16057         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16058         scripts/test-installation.pl.
16060         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16061         and $ld_so_version if it is set.
16063 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16065         [BZ #14516]
16066         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16067         failure if reading from procfs failed.
16068         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16070 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16072         * sysdeps/unix/sysv/linux/kernel-features.h
16073         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16074         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16075         Remove conditional code.
16076         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16077         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16078         Remove conditional code.
16079         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16080         * sysdeps/unix/sysv/linux/i386/fxstat.c
16081         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16082         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16083         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16084         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16085         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16086         * sysdeps/unix/sysv/linux/i386/lxstat.c
16087         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16088         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16089         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16090         Remove conditional code.
16091         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16092         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16093         Remove conditional code.
16094         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16095         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16096         <kernel-features.h>.
16097         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16098         Remove.
16099         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16100         Remove conditional code.
16101         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16102         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16103         Remove conditional.
16105 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16107         [BZ #5400]
16108         * NEWS: Add fixed bug number.
16110 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16112         [BZ #14519]
16113         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16114         underflowing exponent in case of negative sign.
16115         * stdlib/tst-strtod-round-data: Add more tests.
16116         * stdlib/tst-strtod-round.c (tests): Regenerated.
16118         [BZ #3479]
16119         * stdlib/strtod_l.c (NDIG): Remove.
16120         (HEXNDIG): Likewise.
16121         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16122         smallest representable value.
16123         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16124         lie within an exact representation of 1/2 ulp of the result.
16125         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16126         unconditionally.
16127         (TENS_P9_IDX): Define unconditionally.
16128         (TENS_P9_SIZE): Likewise.
16129         (TENS_P10_IDX): Likewise.
16130         (TENS_P10_SIZE): Likewise.
16131         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16132         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16133         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16134         entries for 10^2^13 and 10^2^14.
16135         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16136         (TENS_P13_IDX): Define.
16137         (TENS_P13_SIZE): Likewise.
16138         (TENS_P14_IDX): Likewise.
16139         (TENS_P14_SIZE): Likewise.
16140         (_fpioconst_pow10): Change array size to
16141         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16142         unconditional.
16143         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16144         1024]: Add entries for 10^2^13 and 10^2^14.
16145         [LAST_POW10 > _LAST_POW10]: Remove #error.
16146         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16147         (_fpioconst_pow10): Change array size to
16148         FPIOCONST_POW10_ARRAY_SIZE.
16149         * stdlib/gen-fpioconst.c: New file.
16150         * stdlib/gen-tst-strtod-round.c: Likewise.
16151         * stdlib/tst-strtod-round-data: Likewise.
16152         * stdlib/tst-strtod-round.c: Likewise.
16153         * stdlib/Makefile (tests): Add tst-strtod-round.
16155         [BZ #14459]
16156         * stdlib/strtod_l.c: Include <stdint.h>.
16157         (NDEBUG): Do not define.
16158         (round_and_return): Change EXPONENT parameter to type intmax_t.
16159         Rearrange calculations to avoid internal overflow possibilities.
16160         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16161         Rearrange calculations to avoid internal overflow possibilities.
16162         Assert that number fits inside MPNSIZE limbs.
16163         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16164         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16165         calculations and add assertions to avoid internal overflow
16166         possibilities.  Add casts to avoid signed/unsigned operations.
16167         * stdlib/tst-strtod-overflow.c: New file.
16168         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16170 2012-08-25  Marek Polacek  <polacek@redhat.com>
16172         * time/time.h: Fix some typos in comments.
16174 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16176         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16177         * posix/tst-rfc3484-2.c: Likewise.
16178         * posix/tst-rfc3484-3.c: Likewise.
16180 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16182         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16183         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16185 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16187         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16188         #include of fxstatat64.c.
16190 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16192         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16193         * shadow/getspent_r.c: Likewise.
16194         * shadow/getspnam.c: Likewise.
16195         * shadow/getspnam_r.c: Likewise.
16196         * gshadow/getsgent.c: Likewise.
16197         * gshadow/getsgent_r.c: Likewise.
16198         * gshadow/getsgnam.c: Likewise.
16199         * gshadow/getsgnam_r.c: Likewise.
16200         * inet/getnetbyad.c: Likewise.
16201         * inet/getnetbyad_r.c: Likewise.
16202         * inet/getnetbynm.c: Likewise.
16203         * inet/getnetbynm_r.c: Likewise.
16204         * inet/getnetent.c: Likewise.
16205         * inet/getnetent_r.c: Likewise.
16206         * inet/getproto.c: Likewise.
16207         * inet/getproto_r.c: Likewise.
16208         * inet/getprtent.c: Likewise.
16209         * inet/getprtent_r.c: Likewise.
16210         * inet/getprtname.c: Likewise.
16211         * inet/getprtname_r.c: Likewise.
16212         * inet/getrpcbyname.c: Likewise.
16213         * inet/getrpcbyname_r.c: Likewise.
16214         * inet/getrpcbynumber.c: Likewise.
16215         * inet/getrpcbynumber_r.c: Likewise.
16216         * inet/getrpcent.c: Likewise.
16217         * inet/getrpcent_r.c: Likewise.
16218         * inet/getaliasent.c: Likewise.
16219         * inet/getaliasent_r.c: Likewise.
16220         * inet/getaliasname.c: Likewise.
16221         * inet/getaliasname_r.c: Likewise.
16222         * nscd/getgrgid_r.c: Likewise.
16223         * nscd/getgrnam_r.c: Likewise.
16224         * nscd/gethstbyad_r.c: Likewise.
16225         * nscd/gethstbynm3_r.c: Likewise.
16226         * nscd/getpwnam_r.c: Likewise.
16227         * nscd/getpwuid_r.c: Likewise.
16228         * nscd/getsrvbynm_r.c: Likewise.
16229         * nscd/getsrvbypt_r.c: Likewise.
16230         * nscd/gai.c: Likewise.
16232         * configure.in (build_nscd): New substituted variable, set
16233         by --disable-build-nscd and defaults to $use_nscd.
16234         * configure: Regenerated.
16235         * config.make.in (build-nscd): New substituted variable.
16236         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16237         Change conditional to require [$(build-nscd) = yes] as well.
16238         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16240         [BZ# 13696]
16241         * configure.in (use_nscd): New substituted variable, set by
16242         --disable-nscd.  If enabled, define USE_NSCD.
16243         * configure: Regenerated.
16244         * config.h.in: Add USE_NSCD.
16245         * config.make.in (use-nscd): New substituted variable.
16246         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16247         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16248         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16249         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16250         (CFLAGS-getgrnam_r.c): Likewise.
16251         (CFLAGS-initgroups.c): Likewise.
16252         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16253         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16254         Variables removed.
16255         * inet/getnetgrent_r.c
16256         (nscd_setnetgrent): New function, broken out of ...
16257         (setnetgrent): ... here.  Call it.
16258         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16259         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16260         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16261         * nscd/Makefile (routines, aux): Move definitions after include of
16262         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16263         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16264         Conditionalize on [USE_NSCD].
16265         (is_nscd, nscd_init_cb): Likewise.
16266         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16267         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16268         * nss/nss_db/db-init.c: Likewise.
16269         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16270         [USE_NSCD].
16271         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16272         (make_request): Use it.
16273         (cache_valid_p): New function.
16274         (__check_pf): Use it.
16275         * NEWS: Add item for --disable-nscd.
16277 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16279         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16280         to support sed >= 4.2.1-20-ga9bf076.
16281         * configure: Regenerated.
16283 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16285         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16286         Conditionalize whole body on [IREL].
16288 2012-08-22  Jeff Law <law@redhat.com>
16290         [BZ #14505]
16291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16292         if the family is PF_UNSPEC.
16294 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16296         * Makerules (lib-version): Rename from V.
16297         (install-lib-nosubdir): Change V to lib-version.
16299 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16301         [BZ #14252]
16302         * powerpc32/power6/wcschr.c: New file.
16303         * powerpc32/power6/wcscpy.c: New file.
16304         * powerpc32/power6/wcsrchr.c: New file.
16305         * powerpc64/power6/wcschr.c: New file.
16306         * powerpc64/power6/wcscpy.c: New file.
16307         * powerpc64/power6/wcsrchr.c: New file.
16309 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16311         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16312         (two_way_short_needle): Use it.
16313         * string/strstr.c (AVAILABLE1_USES_J): Define.
16314         * string/strcasestr.c: Likewise.
16316         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16317         array references.
16318         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16320         [BZ #11607]
16321         * NEWS: Add an entry.
16322         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16323         define their defaults.
16324         (two_way_short_needle): Detect end-of-string on-the-fly.
16325         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16326         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16327         * string/bug-strcasestr1.c: New test.
16328         * string/Makefile: Run it.
16330 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16332         [BZ #11607]
16333         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16334         the first character.
16336 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16338         * csu/elf-init.c (__libc_csu_irel): Function removed.
16339         * csu/libc-start.c (apply_irel): New function.
16340         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16342 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16344         * sysdeps/unix/sysv/linux/kernel-features.h
16345         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16346         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16347         <kernel-features.h>.
16348         [__NR_fadvise64_64]: Make code unconditional.
16349         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16350         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16351         !__NR_fadvise64_64)]: Likewise.
16352         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16353         !__NR_fadvise64_64))]: Likewise.
16354         [__NR_fadvise64]: Make code unconditional.
16355         [!__NR_fadvise64]: Remove conditional code.
16356         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16357         <kernel-features.h>.
16358         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16359         unconditional.
16360         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16361         conditional code.
16362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16363         not include <kernel-features.h>.
16364         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16365         unconditional.
16366         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16367         conditional code.
16368         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16369         include <kernel-features.h>.
16370         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16371         unconditional.
16372         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16373         conditional code.
16375 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16377         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16378         slight instruction rearrangements per scrollpipe analysis.
16379         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16381 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16383         * manual/syslog.texi (syslog; vsyslog, closelog):
16384         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16385         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16387         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16388         DSOCAPS to match condition on defining it.
16390 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16392         * sysdeps/unix/sysv/linux/kernel-features.h
16393         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16395         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16396         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16398         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16399         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16401         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16402         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16404         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16405         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16407         * sysdeps/unix/sysv/linux/kernel-features.h
16408         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16409         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16410         unconditional.
16411         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16412         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16413         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16414         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16415         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16416         Make code unconditional.
16417         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16418         (__mmap64) [!__NR_mmap2]: Likewise.
16419         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16420         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16421         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16422         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16423         [__NR_mmap2]: Make code unconditional.
16424         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16425         (__mmap64) [!__NR_mmap2]: Likewise.
16427 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16429         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16431 2012-08-18  Andreas Jaeger  <aj@suse.de>
16433         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16435 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16437         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16438         * include/unistd.h (__have_sock_cloexec): Likewise.
16439         (__have_pipe2): Likewise.
16440         (__have_dup3): Likewise.
16442 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16444         [BZ #9685]
16445         * include/unistd.h (__have_pipe2): Change define into an extern int.
16446         (__have_dup3): Likewise.
16447         * socket/have_sock_cloexec.c: Include fcntl.h.
16448         (__have_pipe2): New variable.
16449         (__have_dup3): Likewise.
16451 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16453         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16455 2012-08-17  Marek Polacek  <polacek@redhat.com>
16457         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16458         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16460 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16462         * configure.in: Add AC_SUBST for sysheaders.
16463         * configure: Regenerated.
16464         * config.make.in (sysheaders): New substituted variable.
16466         * sysdeps/unix/mkfifo.c: Moved ...
16467         * sysdeps/posix/mkfifo.c: ... here.
16468         * sysdeps/unix/mkfifoat.c: Moved ...
16469         * sysdeps/posix/mkfifoat.c: ... here.
16471         * sysdeps/unix/utime.c: Moved ...
16472         * sysdeps/posix/utime.c: ... here.
16474         * sysdeps/unix/time.c: Moved ...
16475         * sysdeps/posix/time.c: ... here.
16476         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16477         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16479         * sysdeps/unix/nice.c: Moved ...
16480         * sysdeps/posix/nice.c: ... here.
16482         * sysdeps/unix/alarm.c: Moved ...
16483         * sysdeps/posix/alarm.c: ... here.
16485         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16487 2012-08-17  Jeff Law <law@redhat.com>
16489         * intl/Makefile (codeset_mo): New variable.
16490         ($(codeset_mo)): New target.
16491         (tst-codeset.out): Depend on that.  Remove explicit rule.
16492         (tst-gettext3.out, tst-gettext5.out): Likewise.
16493         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16494         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16495         * intl/tst-codeset.sh: Remove.
16496         * intl/tst-gettext3.sh: Likewise.
16497         * intl/tst-gettext5.sh: Likewise.
16499 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16501         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16502         * sysdeps/unix/syscalls.list: ... here.
16504         * sysdeps/posix/getaddrinfo.c
16505         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16506         (gaiconf_init, gaiconf_reload): Use them.
16507         [!_STATBUF_ST_NSEC]
16508         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16509         Define using time_t rather than struct timespec.
16511         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16512         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16513         Macros removed.
16514         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16515         [!NO_THREADS].
16516         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16517         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16518         Likewise.
16520         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16521         __libc_cleanup_push argument.
16523         * bits/param.h: New file.
16524         * misc/sys/param.h: New file.
16525         * include/sys/param.h: New file.
16526         * misc/Makefile (headers): Add bits/param.h.
16527         * sysdeps/generic/sys/param.h: File removed.
16528         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16529         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16530         * sysdeps/mach/hurd/bits/param.h: New file.
16531         * sysdeps/mach/hurd/sys/param.h: File removed.
16533         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16534         last change.
16536         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16537         [_IO_MTSAFE_IO].
16538         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16539         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16540         New macros.
16542         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16543         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16544         rather than -D_IO_MTSAFE_IO conditionally.
16545         * stdio-common/Makefile (CPPFLAGS): Likewise.
16546         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16547         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16548         Use $(libio-mtsafe).
16549         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16550         of -D_IO_MTSAFE_IO.
16551         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16552         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16553         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16554         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16555         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16556         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16557         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16558         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16559         (CFLAGS-fread_u_chk.c): Likewise.
16560         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16561         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16562         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16563         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16564         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16565         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16566         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16567         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16568         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16570         * libio/Makefile: Test [$(libc-reentrant) = yes]
16571         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16573         * Makeconfig
16574         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16575         * sysdeps/pthread/configure: File removed.
16576         * sysdeps/pthread/Makeconfig: New file.
16577         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16578         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16580 2012-08-16  Gary Benson  <gbenson@redhat.com>
16582         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16583         unmapping the first object in a namespace.
16585 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16587         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16588         (__internal_setnetgrent): ... this.  Add internal_function to
16589         definition.  Add libc_hidden_def.
16590         (setnetgrent): Update caller.
16591         (internal_endnetgrent): Renamed to ...
16592         (__internal_endnetgrent): ... this.  Add internal_function to
16593         definition.  Add libc_hidden_def.
16594         (endnetgrent): Update caller.
16595         (internal_getnetgrent_r): Renamed to ...
16596         (__internal_getnetgrent_r): ... this.  Add internal_function to
16597         definition.  Add libc_hidden_def.
16598         (__getnetgrent_r): Update caller.
16599         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16601 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16603         * stdlib/longlong.h: Update from GCC.
16605 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16607         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16608         on _QL, which is set by umul_ppmm but never used.
16609         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16610         variables, which are set by GMP macros but never used.
16611         * stdio-common/_itowa.c (_itowa): Likewise.
16612         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16613         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16615 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16617         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16618         struct La_sh_regs is not constant.
16619         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16620         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16621         and struct La_sparc64_regs are not constant.
16623 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16625         * sysdeps/unix/sysv/linux/kernel-features.h
16626         (__ASSUME_POSIX_TIMERS): Remove.
16627         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16628         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16629         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16630         Make code unconditional.
16631         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16632         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16633         Make code unconditional.
16634         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16635         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16636         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16637         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16638         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16639         Make code unconditional.
16640         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16641         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16642         (__libc_missing_posix_timers): Remove.
16644 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16646         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16647         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16649         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16651         * elf/dl-sym.c: Include <stdlib.h>.
16653         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16654         constants, which avoids warnings in 32-bit builds.
16656         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16657         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16659         * misc/lseek.c: File moved to ...
16660         * io/lseek.c: ... here.
16662         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16664         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16665         shifting LEN more than 31 bits at once.
16667 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16669         [BZ #14195]
16670         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16671         segmentation fault for a case of two empty input strings.
16672         * string/test-strncasecmp.c (check1): Renamed to...
16673         (bz12205): ...this.
16674         (bz14195): Add new testcase for two empty input strings and N > 0.
16675         (test_main): Call new testcase, adapt for renamed function.
16677 2012-08-15  Andreas Jaeger  <aj@suse.de>
16679         [BZ #14090]
16680         * crypt/md5test2.c: New test, based on test supplied by Serge
16681         Belyshev <belyshev@depni.sinp.msu.ru>.
16682         * crypt/Makefile (xtests): Add md5test-giant..
16683         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16685 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16687         [BZ #14090]
16688         * crypt/md5.c (md5_process_block): Don't assume the buffer
16689         length is less than 2**32.
16690         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16691         length is less than 2**64.
16693 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16695         * string/str-two-way.h: Include <sys/param.h>.
16696         (MAX): Macro removed.
16698         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16699         Move #define and #undef of memmove to just before and after
16700         including <string.h>.
16702         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16703         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16704         and after including <string.h>.  Move declarations of
16705         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16706         to before #include "string/memmove.c".
16708         * include/dirent.h: Declare __getdirentries.
16710         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16711         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16713 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16715         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16716         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16717         * sysdeps/i386/configure: Regenerated.
16718         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16719         STABS_CURRENT_FILE, and STABS_FUN.
16720         (END): Remove call to STABS_FUN_END.
16721         (STABS_CURRENT_FILE1): Delete.
16722         (STABS_CURRENT_FILE): Likewise.
16723         (STABS_FUN): Likewise.
16724         (STABS_FUN_END): Likewise.
16725         (STABS_FUN2): Likewise.
16726         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16727         * sysdeps/x86_64/configure: Regenerated.
16729 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16731         * elf/dl-open.c: Include <atomic.h>.
16732         * elf/dl-lookup.c: Likewise.
16734 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16736         * sysdeps/unix/sysv/linux/kernel-features.h
16737         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16738         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16739         unconditionally.
16740         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16741         unconditionally.
16742         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16743         condition on __ASSUME_CLONE_THREAD_FLAGS.
16745 2012-08-14  Andreas Jaeger  <aj@suse.de>
16747         * sysdeps/i386/fpu/libm-test-ulps: Update.
16749 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16751         * include/atomic.h (atomic_exchange_and_add): Split into ...
16752         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16753         New atomic macros.
16755 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16759 2012-08-13  Jeff Law <law@redhat.com>
16761         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16762         null byte in the output string.
16764 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16766         * sysdeps/unix/sysv/linux/kernel-features.h
16767         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16768         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16769         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16770         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16771         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16772         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16773         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16775 2012-08-09  Jeff Law <law@redhat.com>
16777         [BZ #13939]
16778         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16779         When avoid_arena is set, don't retry in the that arena.  Pick the
16780         next one, whatever it might be.
16781         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16782         (arena_lock): Pass in new parameter to arena_get2.
16783         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16784         arena_get2.
16785         (__libc_malloc): Unify retrying after main arena failure with
16786         __libc_memalign version.
16787         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16789 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16791         [BZ #14166]
16792         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16793         to __redirect_strstr.
16794         (__strstr_sse42): Use typeof __redirect_strstr.
16795         (__strstr_ia32): Likewise.
16796         (__libc_strstr): New prototype.
16797         (strstr): Renamed to ...
16798         (__libc_strstr): This.
16799         (strstr): New strong alias of __libc_strstr.
16800         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16801         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16802         __redirect_time.
16803         Include <time.h>.
16804         (__libc_time): New prototype.
16805         (time_ifunc): Replace time with __libc_time.
16806         (time): New strong alias and hidden definition of __libc_time.
16807         (__GI_time): Remove strong alias.
16808         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16809         Include <stddef.h>.
16810         (memmove): Redefined to __redirect_memmove.
16811         (__memmove_sse2): Use typeof __redirect_memmove.
16812         (__memmove_ssse3): Likewise.
16813         (__memmove_ssse3_back): Likewise.
16814         (__libc_memmove): New prototype.
16815         (memmove): Renamed to ...
16816         (__libc_memmove): This.
16817         (memmove): New strong alias of __libc_memmove.
16819 2012-08-08  Mark Salter  <msalter@redhat.com>
16821         * elf/elf.h
16822         (R_MN10300_TLS_GD): Define.
16823         (R_MN10300_TLS_LD): Likewise.
16824         (R_MN10300_TLS_LDO): Likewise.
16825         (R_MN10300_TLS_GOTIE): Likewise.
16826         (R_MN10300_TLS_IE): Likewise.
16827         (R_MN10300_TLS_LE): Likewise.
16828         (R_MN10300_TLS_DTPMOD): Likewise.
16829         (R_MN10300_TLS_DTPOFF): Likewise.
16830         (R_MN10300_TLS_TPOFF): Likewise.
16831         (R_MN10300_SYM_DIFF): Likewise.
16832         (R_MN10300_ALIGN): Likewise.
16833         (R_MN10300_NUM): Update.
16835 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16837         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16838         Remove.
16840 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16842         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16844         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16845         sysdeps/unix -> sysdeps/posix move.
16846         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16848 2012-08-07      Allan McRae     <allan@archlinux.org>
16850         [BZ #14303]
16851         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16852         (SUNOS_CPP): Likewise.
16853         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16854         not found.
16855         (open_input): Call CPP using execvp.
16857 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16859         * sysdeps/unix/sysv/linux/kernel-features.h
16860         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16861         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16862         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16863         (__ASSUME_WAITID_SYSCALL): Likewise.
16864         * sysdeps/unix/sysv/linux/dl-execstack.c
16865         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16866         code unconditional.
16867         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16868         conditional code.
16869         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16870         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16871         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16872         code.
16873         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16874         unconditional.
16875         [__ASSUME_WAITID_SYSCALL]: Likewise.
16876         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16878 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16880         * sysdeps/unix/closedir.c: Renamed to ...
16881         * sysdeps/posix/closedir.c: ... here.
16882         * sysdeps/unix/dirfd.c: Renamed to ...
16883         * sysdeps/posix/dirfd.c: ... here.
16884         * sysdeps/unix/dirstream.h: Renamed to ...
16885         * sysdeps/posix/dirstream.h: ... here.
16886         * sysdeps/unix/fdopendir.c: Renamed to ...
16887         * sysdeps/posix/fdopendir.c: ... here.
16888         * sysdeps/unix/opendir.c: Renamed to ...
16889         * sysdeps/posix/opendir.c: ... here.
16890         * sysdeps/unix/readdir.c: Renamed to ...
16891         * sysdeps/posix/readdir.c: ... here.
16892         * sysdeps/unix/readdir_r.c: Renamed to ...
16893         * sysdeps/posix/readdir_r.c: ... here.
16894         * sysdeps/unix/rewinddir.c: Renamed to ...
16895         * sysdeps/posix/rewinddir.c: ... here.
16896         * sysdeps/unix/seekdir.c: Renamed to ...
16897         * sysdeps/posix/seekdir.c: ... here.
16898         * sysdeps/unix/telldir.c: Renamed to ...
16899         * sysdeps/posix/telldir.c: ... here.
16900         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16901         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16902         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16903         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16905         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16906         * bits/fcntl.h: ... here.
16908         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16909         not 0.
16910         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16911         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16912         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16913         (struct flock): Move l_start, l_len to the beginning.
16914         Use __pid_t for l_pid.
16915         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16916         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16917         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16918         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16919         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16920         [__USE_LARGEFILE64] (struct flock64): New type.
16921         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16923         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16924         * bits/dirent.h: ... here.
16926         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16927         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16929 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16931         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16932         Change from 2.6.0 to 2.6.16.
16933         * sysdeps/unix/sysv/linux/configure: Regenerated.
16934         * sysdeps/unix/sysv/linux/kernel-features.h
16935         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16936         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16937         version.
16938         (__ASSUME_UTIMES): Likewise.
16939         (__ASSUME_CLONE_STOPPED): Remove.
16940         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16941         architectures, not kernel version.
16942         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16943         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16944         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16945         (__ASSUME_WAITID_SYSCALL): Likewise.
16946         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16947         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16948         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16949         refer to older versions.
16951 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16953         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16954         Define alphasort64 as an alias.
16955         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16956         Define versionsort64 as an alias.
16957         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16958         Define scandir64 as an alias.
16959         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16960         Define scandirat64 as an alias.
16961         * dirent/alphasort64.c (alphasort64):
16962         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16963         * dirent/versionsort64.c: Likewise.
16964         * dirent/scandir64.c: Likewise.
16965         * dirent/scandirat64.c: Likewise.
16966         * sysdeps/wordsize-64/alphasort.c: File removed.
16967         * sysdeps/wordsize-64/alphasort64.c: File removed.
16968         * sysdeps/wordsize-64/scandir.c: File removed.
16969         * sysdeps/wordsize-64/scandir64.c: File removed.
16970         * sysdeps/wordsize-64/scandirat.c: File removed.
16971         * sysdeps/wordsize-64/scandirat64.c: File removed.
16972         * sysdeps/wordsize-64/versionsort.c: File removed.
16973         * sysdeps/wordsize-64/versionsort64.c: File removed.
16974         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16976         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16977         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16978         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16979         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16980         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16981         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16983         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16984         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16985         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16987         [defined __arch64__ || defined __sparcv9]
16988         (__INO_T_MATCHES_INO64_T): New macro.
16989         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16990         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16991         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16992         * sysdeps/unix/sysv/linux/bits/dirent.h
16993         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16994         (_DIRENT_MATCHES_DIRENT64): New macro.
16996         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16997         Define lockf64 as an alias.
16998         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16999         Define fseeko64 as an alias.
17000         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17001         Define ftello64 as an alias.
17002         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17003         Define _IO_fgetpos64 and fgetpos64 as aliases.
17004         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17005         Define _IO_fsetpos64 and fsetpos64 as aliases.
17006         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17007         Conditionalize body on this.
17008         * libio/fseeko64.c: Likewise.
17009         * libio/ftello64.c: Likewise.
17010         * libio/iofgetpos64.c: Likewise.
17011         * libio/iofsetpos64.c: Likewise.
17012         * sysdeps/wordsize-64/lockf.c: File removed.
17013         * sysdeps/wordsize-64/lockf64.c: File removed.
17014         * sysdeps/wordsize-64/fseeko.c: File removed.
17015         * sysdeps/wordsize-64/fseeko64.c: File removed.
17016         * sysdeps/wordsize-64/ftello.c: File removed.
17017         * sysdeps/wordsize-64/ftello64.c: File removed.
17018         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17019         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17020         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17021         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17022         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17023         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17024         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17025         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17026         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17027         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17028         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17029         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17030         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17031         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17033         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17035         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17037         [defined __arch64__ || defined __sparcv9]
17038         (__OFF_T_MATCHES_OFF64_T): New macro.
17039         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17040         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17042         (__OFF_T_MATCHES_OFF64_T): New macro.
17044 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17046         * stdlib/secure-getenv.c (__secure_getenv): Replace
17047         GLIBC_2_16 with GLIBC_2_17.
17049 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17051         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17052         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17054 2012-08-03  David S. Miller  <davem@davemloft.net>
17056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17058 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17060         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17061         Remove.
17062         (__ASSUME_CORRECT_SI_PID): Likewise.
17063         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17064         (__ASSUME_TMPFS_NAME): Likewise.
17065         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17066         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17067         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17068         (HAVE_AUX_SECURE): Make definition unconditional.
17069         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17070         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17072 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17074         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17075         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17076         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17077         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17078         __eloop_threshold instead of SYMLOOP_MAX.
17080         * sysdeps/generic/eloop-threshold.h: New file.
17081         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17082         of MAXSYMLINKS.
17083         * elf/chroot_canon.c (chroot_canon): Likewise.
17085 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17087         [BZ #13717]
17088         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17089         Change to 2.6.0 everywhere.
17090         * sysdeps/unix/sysv/linux/configure: Regenerated.
17091         * sysdeps/unix/sysv/linux/kernel-features.h
17092         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17093         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17094         kernel versions.
17095         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17096         (__ASSUME_FUTEX_REQUEUE): Remove.
17097         (__ASSUME_STATFS64): Define unconditionally.
17098         (__ASSUME_AT_SECURE): Likewise.
17099         (__ASSUME_CORRECT_SI_PID): Likewise.
17100         (__ASSUME_TGKILL): Define without depending on kernel version for
17101         i386.
17102         (__ASSUME_UTIMES): Likewise.
17103         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17104         kernel version.
17105         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17106         (__ASSUME_TMPFS_NAME): Likewise.
17107         * README: Update reference to Linux kernel versions.
17109 2012-08-02  Marek Polacek  <polacek@redhat.com>
17111         [BZ# 14150]
17112         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17113         libc_cv_asm_type_prefix with %.
17114         * configure: Regenerated.
17115         * include/libc-symbols.h: Remove comment about
17116         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17117         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17118         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17119         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17120         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17121         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17122         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17123         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17124         * elf/tst-unique2mod1.c: Likewise.
17125         * elf/tst-unique1mod2.c: Likewise.
17126         * elf/tst-unique1mod1.c: Likewise.
17127         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17128         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17129         Replace ASM_TYPE_DIRECTIVE with .type.
17130         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17131         * sysdeps/i386/sysdep.h: Likewise.
17132         * sysdeps/x86_64/sysdep.h: Likewise.
17133         * sysdeps/sh/sysdep.h: Likewise.
17134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17135         Do not define ASM_TYPE_DIRECTIVE.
17136         * sysdeps/powerpc/sysdep.h: Likewise.
17137         * sysdeps/powerpc/powerpc32/sysdep.h:
17138         Replace ASM_TYPE_DIRECTIVE with .type.
17139         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17140         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17141         * sysdeps/i386/fpu/e_powf.S: Likewise.
17142         * sysdeps/i386/fpu/e_expl.S: Likewise.
17143         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17144         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17145         * sysdeps/i386/fpu/e_pow.S: Likewise.
17146         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17147         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17148         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17149         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17150         * sysdeps/i386/fpu/e_log2.S: Likewise.
17151         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17152         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17153         * sysdeps/i386/fpu/e_powl.S: Likewise.
17154         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17155         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17156         * sysdeps/i386/fpu/e_logl.S: Likewise.
17157         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17158         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17159         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17160         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17161         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17162         * sysdeps/i386/fpu/e_log.S: Likewise.
17163         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17164         * sysdeps/i386/fpu/e_logf.S: Likewise.
17165         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17166         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17167         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17168         * sysdeps/i386/fpu/e_log10.S: Likewise.
17169         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17170         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17171         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17172         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17173         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17174         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17175         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17176         * sysdeps/i386/i686/strtok.S: Likewise.
17177         * sysdeps/i386/i386-mcount.S: Likewise.
17178         * sysdeps/i386/strtok.S: Likewise.
17179         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17180         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17181         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17182         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17183         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17184         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17185         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17186         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17187         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17188         * sysdeps/x86_64/_mcount.S: Likewise.
17189         * sysdeps/x86_64/strtok.S: Likewise.
17190         * sysdeps/sh/_mcount.S: Likewise.
17192 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17194         * libio/iofopen.c: Include <fcntl.h>.
17195         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17196         (_IO_fopen64, fopen64): Define as aliases.
17197         * libio/iofopen64.c: Include <fcntl.h>.
17198         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17199         Conditionalize body on this.
17200         * sysdeps/wordsize-64/iofopen.c: File removed.
17201         * sysdeps/wordsize-64/iofopen64.c: File removed.
17203 2012-08-01  Marek Polacek  <polacek@redhat.com>
17205         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17206         Use dlfcn directly instead of a variable.
17207         (binfmt-subdir): Do not define.
17208         (dlfcn): Likewise.
17210 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17212         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17213         Remove all definitions.
17214         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17215         <kernel-features.h>.
17216         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17217         (miss_F_GETOWN_EX): Remove all definitions.
17218         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17219         macro definition.
17220         [!__ASSUME_FCNTL64]: Remove conditional code.
17221         [__ASSUME_FCNTL64]: Make code unconditional.
17222         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17223         <kernel-features.h>.
17224         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17225         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17226         (lockf64) [__NR_fcntl64]: Make code unconditional.
17227         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17229         * sysdeps/unix/sysv/linux/kernel-features.h
17230         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17231         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17232         Make code unconditional.
17233         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17234         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17236         [__NR_vfork]: Make code unconditional.
17237         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17238         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17240         [__NR_vfork]: Make code unconditional.
17241         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17242         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17244 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17246         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17247         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17249         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17250         Define mkstemp64 as an alias.
17251         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17252         Define mkstemps64 as an alias.
17253         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17254         Define mkostemp64 as an alias.
17255         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17256         Define mkostemps64 as an alias.
17257         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17258         Conditionalize body on this.
17259         * misc/mkostemp64.c: Likewise.
17260         * misc/mkostemps64.c: Likewise.
17261         * misc/mkstemps64.c: Likewise.
17262         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17263         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17264         * sysdeps/wordsize-64/mkostemp.c: File removed.
17265         * sysdeps/wordsize-64/mkstemp.c: File removed.
17266         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17267         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17268         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17269         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17271         [BZ #14138]
17272         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17273         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17274         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17275         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17277         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17278         compat_symbol macros from <shlib-compat.h> rather than the underlying
17279         default_symbol_version and symbol_version macros, so that DEFAULT
17280         lines in shlib-versions are respected.
17281         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17283 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17285         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17286         Declare with warn_unused_result.
17287         (setgid, setregid, setegid, setresgid): Likewise.
17288         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17289         Likewise.
17290         * WUR-REPORT: Remove set*id functions.
17292 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17294         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17296 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17298         [BZ #10191]
17299         * include/sys/socket.h (__libc_accept, __libc_accept4):
17300         Add attribute_hidden.
17301         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17303         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17304         use of PTR_MANGLE.
17305         * inet/getnetgrent_r.c (setup): Likewise.
17307         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17309 2012-07-31  David S. Miller  <davem@davemloft.net>
17311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17313 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17315         [BZ #13629]
17316         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17317         value between 1.0 and 2.0 and smaller part has absolute value less
17318         than 1.0.
17319         * math/s_clog10.c (__clog10): Likewise.
17320         * math/s_clog10f.c (__clog10f): Likewise.
17321         * math/s_clog10l.c (__clog10l): Likewise.
17322         * math/s_clogf.c (__clogf): Likewise.
17323         * math/s_clogl.c (__clogl): Likewise.
17324         * math/libm-test.inc (clog_test): Add more tests.
17325         (clog10_test): Likewise.
17326         * sysdeps/i386/fpu/libm-test-ulps: Update.
17327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17331         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17332         Exit with zero in case no suitable GID is found, and write a
17333         message to standard error.
17335 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17337         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17338         rather than to 1.
17339         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17340         (MAXPATHLEN): Removed.
17341         (NOGROUP, NODEV): New macros.
17342         (setbit, clrbit, isset, isclr): New macros.
17343         (howmany, roundup, powerof2): New macros.
17344         (DEV_BSIZE): New macro.
17346         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17347         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17349         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17350         definition on [!__NO_LONG_DOUBLE_MATH].
17352         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17353         PTR_MANGLE and PTR_DEMANGLE.
17355         * socket/accept4.c (accept4): Rename to __libc_accept4.
17356         Define accept4 as a weak alias.
17358         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17359         on [_DIRENT_HAVE_D_TYPE].
17360         * io/ftw.c (ftw_dir): Likewise.
17362         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17364         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17366         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17367         Use the BSD numbers rather than the arbitrary ones we had.
17368         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17369         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17370         (SIGXCPU, SIGXFSZ): New macros.
17371         (_NSIG): Now 32.
17373         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17374         initializer on [_LIBC_REENTRANT].
17376         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17377         definitions inside [_POSIX_MAPPED_FILES].
17379         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17381         * dirent/opendir.c: Include <fcntl.h>.
17383         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17384         (__libc_getspecific): Likewise.
17385         (__libc_key_create): Likewise.
17387         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17388         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17389         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17390         (tmpfile64): Define as alias.
17391         * sysdeps/wordsize-64/tmpfile.c: File removed.
17392         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17393         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17394         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17396         * stdio-common/vfscanf.c: Include <stdbool.h>.
17397         * nss/makedb.c: Likewise.
17398         * stdio-common/_i18n_number.h: Likewise.
17399         * argp/argp-help.c: Likewise.
17400         * posix/wordexp.c: Likewise.
17401         * sysdeps/posix/spawni.c: Likewise.
17402         * nss/nss_files/files-initgroups.c: Likewise.
17403         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17404         * nss/nss_files/files-initgroups.c: Likewise.
17405         * nss/nss_db/db-netgrp.c: Likewise.
17406         * nss/nss_db/db-initgroups.c: Likewise.
17407         * io/fchmodat.c: Include <sys/stat.h>.
17409         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17410         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17412         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17413         [HAVE_MMAP].
17415         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17416         Add multiple inclusion protection.
17418 2012-07-27  David S. Miller  <davem@davemloft.net>
17420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17422 2012-07-27  Gary Benson  <gbenson@redhat.com>
17424         [BZ #14298]
17425         * elf/rtld.c: Include <stap-probe.h>.
17426         (dl_main): Added static probes "init_start" and "init_complete".
17427         * elf/dl-load.c: Include <stap-probe.h>.
17428         (lose): Take new parameter "nsid".
17429         Added static probe "map_failed".
17430         (_dl_map_object_from_fd): Pass namespace id to lose.
17431         Added static probe "map_start".
17432         (open_verify): Pass namespace id to lose.
17433         * elf/dl-open.c: Include <stap-probe.h>.
17434         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17435         and "reloc_complete".
17436         * elf/dl-close.c: Include <stap-probe.h>.
17437         (_dl_close_worker): Added static probes "unmap_start" and
17438         "unmap_complete".
17439         * elf/rtld-debugger-interface.txt: New file documenting the above.
17441 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17443         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17444         rather than a string variable.
17445         * sunrpc/rpc_main.c (h_output): Likewise.
17446         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17448 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17450         * inet/check_native.c: New file.
17452 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17454         [BZ #13629]
17455         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17456         if larger part has absolute value 1.0.
17457         * math/s_clog10.c (__clog10): Likewise.
17458         * math/s_clog10f.c (__clog10f): Likewise.
17459         * math/s_clog10l.c (__clog10l): Likewise.
17460         * math/s_clogf.c (__clogf): Likewise.
17461         * math/s_clogl.c (__clogl): Likewise.
17462         * math/libm-test.inc (clog_test): Add more tests.
17463         (clog10_test): Likewise.
17464         * sysdeps/i386/fpu/libm-test-ulps: Update.
17465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17467         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17468         (pltexit): Likewise.
17469         (La_regs): Likewise.
17470         (La_retval): Likewise.
17471         (int_retval): Likewise.
17472         Update #error for removed macros to refer only to definitions in
17473         tst-audit.h.
17474         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17475         macro.
17476         (pltexit): Likewise.
17477         (La_regs): Likewise.
17478         (La_retval): Likewise.
17479         (int_retval): Likewise.
17480         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17481         macro.
17482         (pltexit): Likewise.
17483         (La_regs): Likewise.
17484         (La_retval): Likewise.
17485         (int_retval): Likewise.
17486         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17487         macro.
17488         (pltexit): Likewise.
17489         (La_regs): Likewise.
17490         (La_retval): Likewise.
17491         (int_retval): Likewise.
17492         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17493         macro.
17494         (pltexit): Likewise.
17495         (La_regs): Likewise.
17496         (La_retval): Likewise.
17497         (int_retval): Likewise.
17498         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17499         macro.
17500         (pltexit): Likewise.
17501         (La_regs): Likewise.
17502         (La_retval): Likewise.
17503         (int_retval): Likewise.
17504         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17505         macro.
17506         (pltexit): Likewise.
17507         (La_regs): Likewise.
17508         (La_retval): Likewise.
17509         (int_retval): Likewise.
17510         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17511         macro definitions in tst-audit.h.
17512         * sysdeps/i386/tst-audit.h: New file.
17513         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17514         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17515         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17516         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17517         * sysdeps/sh/tst-audit.h: Likewise.
17518         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17519         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17520         * sysdeps/x86_64/tst-audit.h: Likewise.
17522 2012-07-26  Andreas Jaeger  <aj@suse.de>
17524         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17525         ptrace.
17527         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17528         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17529         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17530         PTRACE_O_MASK.
17531         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17532         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17533         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17535         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17536         value.
17538         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17539         _sigsys.
17540         (si_call_addr, si_syscall, si_arch): Define new macro.
17541         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17542         _sigsys.
17543         (si_call_addr, si_syscall, si_arch): Define new marcro.
17544         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17545         _sigsys.
17546         (si_call_addr, si_syscall, si_arch): Define new macro.
17547         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17548         _sigsys.
17549         (si_call_addr, si_syscall, si_arch): Define new macro.
17551 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17553         [BZ #13717]
17554         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17555         Change to 2.4.21 where previously 2.4.1.
17556         * sysdeps/unix/sysv/linux/configure: Regenerated.
17557         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17558         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17559         Linux kernel version.
17560         (__ASSUME_STD_AUXV): Remove.
17561         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17562         kernel version.
17563         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17564         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17565         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17566         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17567         (__ASSUME_NETLINK_SUPPORT): Likewise.
17568         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17569         (__no_netlink_support): Remove conditional definition.
17570         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17571         Remove.
17572         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17573         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17574         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17575         (if_nameindex_ioctl): Remove.
17576         (if_nameindex_netlink): Do not handle __no_netlink_support.
17577         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17578         code.
17579         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17580         Remove conditional code.
17581         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17582         code.
17583         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17584         unconditional.
17585         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17586         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17587         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17588         Remove.
17589         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17590         [!__ASSUME_STD_AUXV]: Remove conditional code.
17591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17592         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17593         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17595         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17596         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17597         code.
17598         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17600         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17601         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17602         conditional code.
17603         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17605         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17606         code.
17607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17608         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17609         conditional code.
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17611         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17612         code unconditional.
17613         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17614         conditional code.
17615         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17616         unconditional.
17617         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17618         conditional code.
17619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17620         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17621         unconditional.
17622         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17623         conditional code.
17624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17625         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17626         code unconditional.
17627         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17628         conditional code.
17629         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17630         unconditional.
17631         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17632         conditional code.
17633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17634         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17635         code unconditional.
17636         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17637         conditional code.
17638         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17639         unconditional.
17640         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17641         conditional code.
17643 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17645         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17646         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17647         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17648         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17649         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17650         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17651         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17652         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17653         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17654         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17655         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17656         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17657         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17658         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17659         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17660         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17661         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17662         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17663         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17665         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17666         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17667         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17669 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17671         * Versions.def: Add GLIBC_2.17.
17672         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17673         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17674         Introduce __libc_secure_getenv.
17675         * stdlib/Versions (2.17): Add secure_getenv
17676         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17677         * stdlib/secure-getenv.c: Rename __secure_getenv to
17678         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17679         symbol __secure_getenv for GLIBC_2.0.
17680         * stdlib/tst-secure-getenv.c: New.
17681         * stdlib/Makefile (tests): Add testcase.
17682         * manual/startup.texi (Environment Access): Document
17683         secure_getenv.
17684         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17685         __libc_secure_getenv.
17686         * inet/ruserpass.c (ruserpass): Likewise.
17687         * malloc/mtrace.c (mtrace): Likewise.
17688         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17689         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17690         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17691         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17692         HAVE_SECURE_GETENV.
17693         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17694         __secure_getenv to __libc_secure_getenv.
17695         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17697         Likewise.
17698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17699         Likewise.
17700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17702         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17708 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17710         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17711         (struct La_i86_retval): Likewise.
17712         (struct La_x86_64_regs): Likewise.
17713         (struct La_x86_64_retval): Likewise.
17714         (struct La_x32_regs): Likewise.
17715         (struct La_x32_retval): Likewise.
17716         (struct La_ppc32_regs): Likewise.
17717         (struct La_ppc32_retval): Likewise.
17718         (struct La_ppc64_regs): Likewise.
17719         (struct La_ppc64_retval): Likewise.
17720         (struct La_sh_regs): Likewise.
17721         (struct La_sh_retval): Likewise.
17722         (struct La_s390_32_regs): Likewise.
17723         (struct La_s390_32_retval): Likewise.
17724         (struct La_s390_64_regs): Likewise.
17725         (struct La_s390_64_retval): Likewise.
17726         (struct La_sparc32_regs): Likewise.
17727         (struct La_sparc32_retval): Likewise.
17728         (struct La_sparc64_regs): Likewise.
17729         (struct La_sparc64_retval): Likewise.
17730         (struct audit_ifaces): Remove architecture-specific pltenter and
17731         pltexit members.
17732         * sysdeps/i386/ldsodefs.h: New file.
17733         * sysdeps/powerpc/ldsodefs.h: Likewise.
17734         * sysdeps/s390/ldsodefs.h: Likewise.
17735         * sysdeps/sh/ldsodefs.h: Likewise.
17736         * sysdeps/sparc/ldsodefs.h: Likewise.
17737         * sysdeps/x86_64/ldsodefs.h: Likewise.
17739 2012-07-25  Marek Polacek  <polacek@redhat.com>
17741         [BZ #6808]
17742         * math/libm-test.inc (yn_test): Add another test.
17743         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17744         to ERANGE when the result is +-Inf.
17745         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17746         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17747         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17748         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17750 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17752         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17753         equal to 0.
17754         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17755         clock_t.
17756         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17758 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17760         * configure.in <sysdeps resolving>: Correct printing
17761         Implies_before.
17762         * configure: Regenerate.
17764 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17766         * math/w_ilogb.c: Include <limits.h>.
17767         * math/w_ilogbl.c: Likewise.
17769 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17771         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17772         va_copy.  Document allowing for unavailable va_copy only as
17773         pre-C99 compatibility.
17774         * manual/string.texi (Copying and Concatenation): Use va_copy
17775         instead of __va_copy in concat example.
17777 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17779         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17780         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17781         it if not null.
17783         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17784         with O_NOLINK passed to __file_name_lookup.
17786         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17787         with O_NOLINK passed to __file_name_lookup.
17789         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17790         negative N or less than NGIDS.
17792         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17793         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17794         enough.  Use memcpy instead of strncpy.
17796 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17798         * elf/Makefile (check-data): Remove.
17799         (localplt.data): New vpath directive.
17800         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17801         instead of $(check-data).
17802         * scripts/data/localplt-generic.data: Move to ...
17803         * sysdeps/generic/localplt.data: ... here.
17804         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17805         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17806         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17808         ... here.
17809         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17811         ... here.
17812         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17814         ... here.
17815         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17817         ... here.
17818         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17820         ... here.
17821         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17823         ... here.
17825 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17827         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17828         PPC32 and PPC64 files.
17829         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17830         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17832 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17834         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17835         __makecontext_ret to ...
17836         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17837         ... here and call exit if uc_link is NULL.  New file.
17838         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17839         __makecontext_ret.S.
17840         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17841         __makecontext_ret to ...
17842         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17843         ... here and call exit if uc_link is NULL.  New file.
17844         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17845         __makecontext_ret.S.
17847 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17849         * elf/elf.h (R_390_IRELATIVE): New definition.
17850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17851         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17852         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17854         (elf_machine_lazy_rel): Likewise.
17855         * sysdeps/s390/dl-irel.h: New file.
17856         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17857         * sysdeps/s390/s390-64/memset.S: New asm code.
17858         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17859         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17860         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17861         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17862         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17863         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17864         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17865         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17866         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17867         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17868         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17869         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17870         * sysdeps/s390/s390-32/memset.S: New asm code.
17871         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17873 2012-07-17  Marek Polacek  <polacek@redhat.com>
17875         [BZ #14349]
17876         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17877         * sysdeps/s390/s390-64/configure.in: Likewise.
17878         * sysdeps/sparc/configure.in: Likewise.
17879         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17880         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17881         * sysdeps/i386/configure.in: Likewise.
17882         * sysdeps/x86_64/configure.in: Likewise.
17883         * sysdeps/sh/configure.in: Likewise.
17884         * sysdeps/s390/s390-32/configure: Regenerated.
17885         * sysdeps/s390/s390-64/configure: Likewise.
17886         * sysdeps/x86_64/configure: Likewise.
17887         * sysdeps/sh/configure: Likewise.
17888         * sysdeps/powerpc/powerpc64/configure: Likewise.
17889         * sysdeps/powerpc/powerpc32/configure: Likewise.
17890         * sysdeps/sparc/configure: Likwise.
17891         * sysdeps/i386/configure: Likewise.
17893         * elf/dl-open.c: Comment fixes.
17895 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17897         * Makefile [CXX] (check-data): Remove.
17898         [CXX] (c++-types.data): New vpath directive.
17899         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17900         vpath.  Do not allow for C++ type data being missing.
17901         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17902         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17903         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17904         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17905         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17906         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17907         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17909         ... here.
17910         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17912         ... here.
17913         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17915         ... here.
17916         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17918         ... here.
17919         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17921         ... here.
17922         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17924         ... here.
17925         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17927         ... here.
17928         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17931         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17932         definitions to architecture-specific files.
17933         (TLS_IE): Likewise.
17934         (TLS_LD): Likewise.
17935         (TLS_GD): Likewise.
17936         * sysdeps/i386/tls-macros.h: New file.
17937         * sysdeps/powerpc/tls-macros.h: Likewise.
17938         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17939         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17940         * sysdeps/sh/tls-macros.h: Likewise.
17941         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17942         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17943         * sysdeps/x86_64/tls-macros.h: Likewise.
17945 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17947         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17948         zero value for regular exit case.
17950         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17951         (__start_context): Preserve zero value for regular exit case.
17953 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17954             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17956         * manual/setjmp.texi (setcontext): Clarify normal process
17957         termination when uc_link is the null pointer.
17958         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17959         exit call.
17961 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17963         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17964         preprocessor.  Test for each exception mask separately.
17966 2012-07-16  Andreas Jaeger  <aj@suse.de>
17968         * po/ru.po: Update from translation team.
17970 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17972         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17973         equal to 0.
17974         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17975         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17976         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17977         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17978         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17980 2012-07-13  Andreas Jaeger  <aj@suse.de>
17982         * po/fr.po: Update from translation team.
17984 2012-07-12  Marek Polacek  <polacek@redhat.com>
17986         [BZ #14173]
17987         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17988         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17989         loop condition.
17991 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17993         [BZ #13717]
17994         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17995         Change to 2.4.1 where previously 2.4.0.
17996         * sysdeps/unix/sysv/linux/configure: Regenerated.
17997         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17998         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17999         version.
18000         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18001         (__ASSUME_AT_CLKTCK): Remove.
18002         (__ASSUME_AT_PAGESIZE): Likewise.
18003         (__ASSUME_AT_XID): Likewise.
18004         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18005         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18006         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18007         unconditionally.
18008         (HAVE_AUX_PAGESIZE): Likewise.
18009         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18010         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18011         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18013 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18015         [BZ #14307]
18016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18017         the temporary buffer used to invoke __gethostbyname2_r,
18018         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18019         host_data / struct gaih_addrtuple.
18020         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18021         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18022         header file nss/nsswitch.h.
18023         * nss/nsswitch.h (global scope): Add definition of implementation
18024         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18025         resolv/nss_dns/dns-host.c).
18027 2012-07-11  Andreas Jaeger  <aj@suse.de>
18029         * po/fr.po: Update from translation team.
18031         * po/sv.po: Update from translation team
18032         * po/fr.po: Another update from translation team.
18034 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18036         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18037         for subnormals or multiply small sinh result by itself.
18038         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18041 2012-07-11  David S. Miller  <davem@davemloft.net>
18043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18045 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18047         [BZ #14347]
18048         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18049         (INTERNAL_MARK): Shift it here.
18051 2012-07-10  Marek Polacek  <polacek@redhat.com>
18053         [BZ #14151]
18054         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18055         libc_cv_asm_global_directive with .globl.
18056         * configure: Regenerated.
18057         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18058         with .globl.
18059         * sysdeps/i386/configure: Regenerated.
18060         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18061         with .globl.
18062         * sysdeps/x86_64/configure: Regenerated.
18063         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18064         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18065         * elf/tst-unique2mod2.c: Likewise.
18066         * elf/tst-unique2mod1.c: Likewise.
18067         * elf/tst-unique1mod2.c: Likewise.
18068         * elf/tst-unique1mod1.c: Likewise.
18069         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18070         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18071         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18072         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18073         * sysdeps/mach/sysdep.h: Likewise.
18074         * sysdeps/i386/sysdep.h: Likewise.
18075         * sysdeps/i386/i386-mcount.S: Likewise.
18076         * sysdeps/x86_64/_mcount.S: Likewise.
18077         * sysdeps/x86_64/sysdep.h: Likewise.
18078         * sysdeps/sh/_mcount.S: Likewise.
18079         * sysdeps/sh/sysdep.h: Likewise.
18080         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18081         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18082         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18083         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18084         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18085         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18086         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18087         * locale/localeinfo.h: Likewise.
18088         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18089         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18091 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18093         [BZ #14336]
18094         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18095         system".
18096         * manual/message.texi (The Uniforum approach): Likewise.
18097         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18098         (glibc iconv Implementation): Likewise.
18100 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18102         [BZ #14337]
18103         * math/s_clog.c (__clog): Avoid scaling a value down where that
18104         could result in underflow.
18105         * math/s_clog10.c (__clog10): Likewise.
18106         * math/s_clog10f.c (__clog10f): Likewise.
18107         * math/s_clog10l.c (__clog10l): Likewise.
18108         * math/s_clogf.c (__clogf): Likewise.
18109         * math/s_clogl.c (__clogl): Likewise.
18110         * math/libm-test.inc (clog_test): Add more tests.
18111         (clog10_test): Likewise.
18112         * sysdeps/i386/fpu/libm-test-ulps: Update.
18113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18117         [BZ #14283]
18118         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18119         by 7 not 8 to examine high bit of fractional part.
18121         [BZ #14042]
18122         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18123         for call to __mcount_internal.
18124         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18125         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18126         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18128 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18130         [BZ #14154]
18131         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18132         approximation for values within 0x1p-13f of an odd multiple of
18133         pi/4.
18134         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18135         exception.  Add more tests.
18136         * sysdeps/i386/fpu/libm-test-ulps: Update.
18138         [BZ #6778]
18139         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18140         inputs and return -1 for them.  Do not check for +Inf in case not
18141         reachable for +Inf.
18142         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18143         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18144         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18145         and return -1 for them.  Do not check for +Inf in case not
18146         reachable for +Inf.
18147         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18148         define.
18149         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18150         and return -1 for them.  Do not check for +Inf in case not
18151         reachable for +Inf.
18152         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18153         spurious underflow.
18154         * sysdeps/i386/fpu/libm-test-ulps: Update.
18155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18157 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18159         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18161 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18163         [BZ #14157]
18164         [BZ #14331]
18165         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18166         could result in spurious underflow.  Scale down values above
18167         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18168         * math/s_csqrtf.c (__csqrtf): Likewise.
18169         * math/s_csqrtl.c (__csqrtl): Likewise.
18170         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18171         spurious underflow.
18172         * sysdeps/i386/fpu/libm-test-ulps: Update.
18173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18175 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18177         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18178         xopen-msg.sed.
18179         * catgets/xopen-msg.awk: New file.
18180         * catgets/xopen-msg.sed: Removed.
18182         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18183         po2text.sed.
18184         * intl/po2test.awk: New file.
18185         * intl/po2test.sed: Removed.
18187 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18189         [BZ #14328]
18190         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18191         or multiply small sinh result by itself.
18192         * math/s_ctanf.c (__ctanf): Likewise.
18193         * math/s_ctanh.c (__ctanh): Likewise.
18194         * math/s_ctanhf.c (__ctanhf): Likewise.
18195         * math/s_ctanhl.c (__ctanhl): Likewise.
18196         * math/s_ctanl.c (__ctanl): Likewise.
18197         * math/libm-test.inc (ctan_test_tonearest): New function.
18198         (ctan_test_towardzero): Likewise.
18199         (ctan_test_downward): Likewise.
18200         (ctan_test_upward): Likewise.
18201         (ctanh_test_tonearest): Likewise.
18202         (ctanh_test_towardzero): Likewise.
18203         (ctanh_test_downward): Likewise.
18204         (ctanh_test_upward): Likewise.
18205         (main): Call these new functions.
18206         * sysdeps/i386/fpu/libm-test-ulps: Update.
18207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18209 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18211         * .gitignore: Delete /ports entry.
18213 2012-07-03  Andreas Jaeger  <aj@suse.de>
18215         * po/bg.po: Update from translation team.
18216         * po/cs.po: Likewise.
18217         * po/de.po: Likewise.
18218         * po/hr.po: Likewise.
18219         * po/nl.pl: Likewise.
18220         * po/pl.po: Likewise.
18221         * po/vi.po: Likewise.
18223 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18225         * Makeconfig [!+link] (+link-before-libc): New variable.
18226         [!+link] (+link-after-libc): Likewise.
18227         [!+link] (+link-tests): Likewise.
18228         [!+link] (+link): Define in terms of $(+link-before-libc) and
18229         $(+link-after-libc).
18230         [!+link-static] (+link-static-before-libc): New variable.
18231         [!+link-static] (+link-static-after-libc): Likewise.
18232         [!+link-static] (+link-static-tests): Likewise.
18233         [!+link-static] (+link-static): Define in terms of
18234         $(+link-static-before-libc) and $(+link-static-after-libc).
18235         [build-shared] (link-libc-before-gnulib): New variable.
18236         [build-shared] (link-libc-tests): Likewise.
18237         [build-shared] (link-libc): Define in terms of
18238         $(link-libc-before-gnulib).
18239         [!build-shared] (link-libc-tests): New variable.
18240         (link-libc-static-tests): New variable.
18241         [!gnulib] (gnulib-arch): New variable.
18242         [!gnulib] (gnulib-tests): Likewise.
18243         [!gnulib] (static-gnulib-arch): Likewise.
18244         [!gnulib] (static-gnulib-tests): Likewise.
18245         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18246         Define with "=" instead of ":=".
18247         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18248         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18249         * Rules (binaries-all-notests): New variable.
18250         (binaries-all-tests): Likewise.
18251         (binaries-static-notests): Likewise.
18252         (binaries-static-tests): Likewise.
18253         (binaries-all): Define using $(binaries-all-notests) and
18254         $(binaries-all-tests).
18255         (binaries-static): Define using $(binaries-static-notests) and
18256         $(binaries-static-tests).
18257         (binaries-shared-tests): New variable.
18258         (binaries-shared-notests): Likewise.
18259         (binaries-shared): Remove variable.
18260         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18261         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18262         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18263         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18264         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18265         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18266         * elf/Makefile (sln-modules): New variable.
18267         (extra-objs): Add $(sln-modules:=.o).
18268         (ldconfig-modules): Add static-stubs.
18269         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18270         * elf/static-stubs.c: New file.
18272         [BZ #14283]
18273         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18274         by 7 not 8 to examine high bit of fractional part.  Use volatile
18275         variables when splitting into final array of floats if
18276         __FLT_EVAL_METHOD__ != 0.
18277         * math/libm-test.inc (cos_test): Add another test.
18278         (sin_test): Likewise.
18279         * sysdeps/i386/fpu/libm-test-ulps: Update.
18281         [BZ #14273]
18282         * math/libm-test.inc (cosh_test): Add more tests.
18284         * version.h (RELEASE): Set to "development".
18285         (VERSION): Set to "2.16.90".
18287 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18289         * NEWS: Update copyright. Remove last-updated date.
18290         Mention math library bug fixes and timezone data changes.
18291         * README: Mention GNU/Hurd, x32, and HPPA support status.
18293 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18295         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18297 2012-06-27  Andreas Jaeger  <aj@suse.de>
18299         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18301 2012-06-25  Andreas Jaeger  <aj@suse.de>
18303         * sysdeps/s390/fpu/libm-test-ulps: Update.
18305 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18306             Thomas Schwinge  <thomas@codesourcery.com>
18308         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18309         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18310         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18311         fanotify_mark.
18313 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18315         * sysdeps/mach/start.c: Remove file.
18316         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18317         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18318         * sysdeps/sh/init-first.c: Likewise.
18320         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18321         registers for frame unwinding purposes, add CFI directives.
18322         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18323         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18324         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18325         Likewise.
18327         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18328         __fortify_fail returning.
18329         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18331         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18332         sysdeps/sh/____longjmp_chk.S.
18333         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18334         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18335         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18336         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18338         * sysdeps/sh/abort-instr.h: New file.
18339         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18340         process in case exit returns.
18342         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18343         initialize the GOT register before use.
18345         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18346         calculation of ARGC > 4.
18348         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18349         meaningful names to some local labels.
18351 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18352             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18354         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18355         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18356         (__arch_compare_and_exchange_val_16_acq): Likewise.
18357         (__arch_compare_and_exchange_val_32_acq): Likewise.
18358         (atomic_exchange_and_add): Fix gUSA sequence.
18359         (atomic_add): Likewise.
18360         (atomic_add_negative): Likewise.
18361         (atomic_add_zero): Likewise.
18362         (atomic_bit_test_set): Likewise.
18364 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18366         [BZ #13579]
18367         * include/link.h (struct link_map): Add l_free_initfini.
18368         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18369         l_initfini.
18370         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18371         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18372         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18373         set.
18375 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18377         * configure.in: Use AC_LANG_SOURCE.
18378         * configure: Regenerate.
18380 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18382         * configure.in (libc_cv_localstatedir): New substituted variable.
18383         * configure: Regenerated.
18384         * config.make.in (localstatedir): New variable, substituted from
18385         libc_cv_localstatedir.
18386         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18387         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18388         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18389         * sysdeps/gnu/configure: Regenerated.
18391 2012-06-21  Jeff Law  <law@redhat.com>
18393         [BZ #14277]
18394         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18395         free.  Simplify list management for _LIBC case.
18397 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18399         [BZ #14273]
18400         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18401         Clear sign bit of 64-bit integer value before comparing against
18402         overflow value.
18404         * sysdeps/mach/configure: Regenerated.
18406 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18408         [BZ #14278]
18409         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18411 2012-06-21  Jeff Law  <law@redhat.com>
18413         [BZ #13882]
18414         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18415         uint16_t for elements in the "seen" array to avoid char overflows.
18416         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18417         * elf/dl-open.c (dl_open_worker): Likewise.
18419 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18421         * scripts/list-sources.sh: Scan PORTS for translations.
18422         * po/libc.pot: Regenerated.
18424 2012-06-21  Andreas Jaeger  <aj@suse.de>
18426         [BZ #12194]
18427         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18428         warning.
18429         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18430         * bits/byteswap-16.h (__bswap_16): Likewise.
18431         * bits/byteswap.h (__bswap_constant_16): Likewise.
18433 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18435         [BZ #14117]
18436         * sysdeps/i386/fpu_control.h: Removed.
18437         * sysdeps/x86_64/fpu_control.h: Moved to ...
18438         * sysdeps/x86/fpu_control.h: Here.
18440         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18441         (_FPU_SETCW): Likewise.
18443 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18445         [BZ #14117]
18446         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18447         * sysdeps/x86/fpu/bits/mathinline.h: This.
18448         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18450         [BZ #14050]
18451         [BZ #14117]
18452         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18453         functions if __x86_64__ is defined.
18455 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18457         * string/endian.h: Add !__ASSEMBLER__ condition for including
18458         conversion interfaces.
18460 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18462         [BZ #14241]
18463         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18464         of ABS(x) in calculating zero to negative powers other than odd
18465         integers.
18466         * math/libm-test.inc (pow_test): Add more tests.
18468 2012-06-15  Andreas Jaeger  <aj@suse.de>
18470         * manual/contrib.texi (Contributors): Update entry of Liubov
18471         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18472         Machado Filho.
18474 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18476         * string/string.h: Add __wur to GNU version of strerror_r.
18478 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18480         [BZ #14229]
18481         * string/Makefile (tests): Add tst-strtok_r.
18482         * string/tst-strtok_r.c: New file.
18483         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18484         RAX_LP/RDX_LP on SAVE_PTR.
18486 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18488         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18490 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18492         * libm_test.inc (csqrt_test): Allow more spurious underflow
18493         exceptions.
18494         (j0_test): Likewise.
18495         (j1_test): Likewise.
18496         (y0_test): Likewise.
18497         (y1_test): Likewise.
18499 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18501         * po/Makefile (libc.pot): Use UTF-8 charset.
18503 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18505         [BZ #14210]
18506         Suppress sign-conversion warning from FD_SET.
18507         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18508         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18509         not unsigned long int.
18510         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18512 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18514         [BZ #14050]
18515         [BZ #14117]
18516         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18517         __extern_always_inline instead of __extern_inline.
18518         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18519         (__signbit): Likewise.
18520         (__signbitl): Support C++ namespace.
18521         (lrintf): New inline function.
18522         (lrint): Likewise.
18523         (llrintf): Likewise.
18524         (llrint): Likewise.
18525         (fmaxf): Likewise.
18526         (fmax): Likewise.
18527         (fminf): Likewise.
18528         (fmin): Likewise.
18529         (rint): Likewise.
18530         (rintf): Likewise.
18531         (ceil): Likewise.
18532         (ceilf): Likewise.
18533         (floor): Likewise.
18534         (floorf): Likewise.
18535         (nearbyint): Likewise.
18536         (nearbyintf): Likewise.
18538 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18540         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18541         non-default versions.
18543 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18545         [BZ #14218]
18546         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18548 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18550         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18551         (FE_UPWARD, FE_DOWNWARD): Don't define.
18552         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18553         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18555         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18556         reading it.
18557         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18558         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18560 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18562         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18563         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18564         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18565         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18567 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18569         [BZ #14117]
18570         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18571         * sysdeps/i386/fpu/Implies: New file.
18572         * sysdeps/x86_64/fpu/Implies: Likewise.
18573         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18574         * sysdeps/x86/fpu/bits/fenv.h: This.
18576         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18577         __SSE_MATH__.
18579 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18581         [BZ #14134]
18582         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18583         character 0xffff that matches the last element of the
18584         conversion table.
18586 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18588         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18589         fmodl commit.
18591 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18593         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18594         values higher than 25.6283.
18596 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18598         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18599         subnormal exponent extraction and add some __builtin_expect.
18600         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18601         Fix for subnormal mantissa calculation.
18603 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18605         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18606         cpu2 is -1 and errno is not ENOSYS.
18608 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18610         [BZ #14117]
18611         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18612         * sysdeps/x86/bits/string.h: This.
18613         * sysdeps/x86_64/bits/string.h: Removed.
18615         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18616         if not compiling for x86-64, but compiling for >= i486.
18618         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18619         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18621         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18622         New macro from Linux kernel 3.4.0.
18623         (FP_XSTATE_MAGIC2): Likewise.
18624         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18625         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18626         (struct _fpx_sw_bytes): New struct.
18627         (struct _xsave_hdr): Likewise.
18628         (struct _ymmh_state): Likewise.
18629         (struct _xstate): Likewise.
18631         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18632         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18633         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18634         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18635         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18636         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18638         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18639         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18640         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18641         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18642         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18643         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18645 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18647         [BZ #13743]
18648         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18649         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18650         (sysdep_headers): Include sys/platform/ppc.h.
18651         * sysdeps/powerpc/test-gettimebase.c: Test for
18652         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18653         * manual/Makefile (appendices): Include platform.texi.
18654         * manual/contrib.texi (Contributors): Update @node pointers.
18655         * manual/maint.texi (Maintenance): Likewise.
18656         (Platform): New node.
18657         * manual/platform.texi: New file.  Document the new features.
18659 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18660             Jakub Jelinek  <jakub@redhat.com>
18662         [BZ #14188]
18663         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18664         where __builtin_expect is unavailable.
18666 2012-06-03  David S. Miller  <davem@davemloft.net>
18668         * stdlib/longlong.h: Updated from GCC.
18670 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18672         [BZ #14042]
18673         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18674         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18675         __mcount_internal.
18676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18677         (GLIBC_2.16): Likewise.
18679 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18681         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18683 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18686         (default-abi): New variable.
18687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18688         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18689         variable.
18690         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18691         Likewise.
18692         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18693         Likewise.
18694         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18695         Likewise.
18697         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18698         definition.  Document in comment.
18700 2012-06-01  David S. Miller  <davem@davemloft.net>
18702         * stdlib/longlong.h: Updated from GCC.
18704 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18706         [BZ #14117]
18707         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18708         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18709         sys/debugreg.h sys/io.h here.
18710         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18711         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18712         sys/io.h.
18713         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18714         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18715         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18716         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18717         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18718         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18720         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18721         Define only if __x86_64__ is defined.
18723 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18725         [BZ #14048]
18726         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18727         Use int64_t for variable i.
18728         * math/libm-test.inc (fmod_test): Add more tests.
18730         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18731         z computation is not scheduled after fetestexcept.
18732         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18733         Use math_force_eval instead of asm to ensure calculation scheduled
18734         before exception test.
18735         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18736         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18738 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18741         computation is not scheduled after fetestexcept.
18743 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18745         [BZ #14117]
18746         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18747         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18749 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18751         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18752         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18754 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18756         [BZ #14117]
18757         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18758         <bits/wordsize.h>.
18759         (__WCHAR_MIN): Support __WORDSIZE == 64.
18760         (__WCHAR_MAX): Likewise.
18762         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18763         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18765         [BZ #14183]
18766         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18767         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18769         [BZ #14117]
18770         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18773         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18774         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18776         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18777         Defined to 1 if __x86_64__ isn't defined.
18778         (_STAT_VER_LINUX_OLD): New.
18779         (st_atime): Remove duplicate.
18780         (st_mtime): Likewise.
18781         (st_ctime): Likewise.
18783 2012-05-31  David S. Miller  <davem@davemloft.net>
18785         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18786         entries.
18788 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18790         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18791         gen-libm-test.pl.
18793         [BZ #14132]
18794         * elf/dl-reloc.c: Include <_itoa.h>.
18795         (_dl_reloc_bad_type): Remove use of INTUSE.
18796         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18797         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18798         * stdio-common/psiginfo.c (psiginfo): Likewise.
18799         * stdio-common/psignal.c (psignal): Likewise.
18800         * string/strsignal.c (strsignal): Likewise.
18801         * include/signal.h (_sys_siglist): Declare hidden proto.
18802         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18803         INTVARDEF with libc_hidden_data_def.
18804         * stdio-common/itoa-udigits.c: Likewise.
18805         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18806         (_itoa_lower_digits_internal): Remove declaration.
18807         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18808         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18809         (_sys_sigabbrev_internal): Remove aliases.
18810         (_sys_siglist): Define hidden alias.
18812 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18815         bits/sysctl.h.
18817 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18819         [BZ #14117]
18820         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18821         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18823         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18824         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18825         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18826         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18827         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18828         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18830         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18831         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18832         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18834         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18835         with __addr.
18836         (insw): Likewise.
18837         (insl): Likewise.
18838         (outsb): Likewise.
18839         (outsw): Likewise.
18840         (outsl): Likewise.
18842         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18843         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18844         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18846         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18847         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18848         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18849         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18850         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18851         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18853         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18854         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18856         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18857         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18860         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18861         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18863         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18864         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18865         to ...
18866         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18868         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18869         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18870         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18872         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18873         for x86-64.
18874         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18876 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18878         * math/math.h (M_El): Use two more decimal places.
18879         (M_LOG2El): Likewise.
18880         (M_LOG10El): Likewise.
18881         (M_LN2l): Likewise.
18882         (M_LN10l): Likewise.
18883         (M_PIl): Likewise.
18884         (M_PI_2l): Likewise.
18885         (M_PI_4l): Likewise.
18886         (M_1_PIl): Likewise.
18887         (M_2_PIl): Likewise.
18888         (M_2_SQRTPIl): Likewise.
18889         (M_SQRT2l): Likewise.
18890         (M_SQRT1_2l): Likewise.
18892 2012-05-31  David S. Miller  <davem@davemloft.net>
18894         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18895         values between float registers.
18896         * sysdeps/sparc/sparc64/memset.S: Likewise.
18897         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18899 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18901         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18902         -D_FORTIFY_SOURCE=1.
18903         (CPPFLAGS-tst-longjmp_chk.c): Define.
18904         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18905         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18906         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18907         CFLAGS-tst-wchar-h.c.
18909 2012-05-31  Marek Polacek  <polacek@redhat.com>
18911         [BZ #14132]
18912         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18913         __endmntent_internal): Remove declaration.
18914         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18915         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18916         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18918 2012-05-30  David S. Miller  <davem@davemloft.net>
18920         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18921         (___Q_simulate_exceptions): Use real FP ops rather than writing
18922         into the %fsr.
18923         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18924         Likewise.
18926 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18928         [BZ #14117]
18929         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18930         * sysdeps/x86/bits/xtitypes.h: This.
18932         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18933         * sysdeps/x86/bits/wordsize.h: This.
18935         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18936         * sysdeps/x86/bits/huge_vall.h: This.
18938         * sysdeps/i386/bits/select.h: Removed.
18939         * sysdeps/x86_64/bits/select.h: Renamed to ...
18940         * sysdeps/x86/bits/select.h: This.
18942         * sysdeps/i386/bits/setjmp.h: Removed.
18943         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18944         * sysdeps/x86/bits/setjmp.h: This.
18946         * sysdeps/i386/bits/mathdef.h: Removed.
18947         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18948         * sysdeps/x86/bits/mathdef.h: This.
18950 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18952         [BZ #14132]
18953         * include/sys/socket.h (__connect_internal)
18954         (__libc_sa_len_internal): Remove declaration.
18955         (__connect, __libc_sa_len): Declare hidden_proto.
18956         (SA_LEN): Remove use of INTUSE.
18957         * socket/connect.c: Add libc_hidden_def.
18958         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18959         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18960         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18961         alias.
18962         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18963         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18964         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18965         of adding _internal alias.
18967 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18969         [BZ #14117]
18970         * sysdeps/i386/bits/link.h: Removed.
18971         * sysdeps/i386/bits/linkmap.h: Likewise.
18972         * sysdeps/x86_64/bits/link.h: Renamed to ...
18973         * sysdeps/x86/bits/link.h: This.
18974         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18975         * sysdeps/x86/bits/linkmap.h: This.
18977         * sysdeps/i386/bits/endian.h: Removed.
18978         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18979         * sysdeps/x86/bits/endian.h: This.
18981         * sysdeps/i386/bits/byteswap.h: Removed.
18982         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18983         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18984         * sysdeps/x86/bits/byteswap.h: This.
18985         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18986         * sysdeps/x86/bits/byteswap-16.h: This.
18987         * sysdeps/i386/Implies: Add x86.
18988         * sysdeps/x86_64/Implies: Likewise.
18990 2012-05-30  David S. Miller  <davem@davemloft.net>
18992         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18993         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18994         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18995         (FP_TRAPPING_EXCEPTIONS): Define.
18996         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18997         (FP_TRAPPING_EXCEPTIONS): Define.
18998         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18999         subnormals only when inexact has been signalled or underflow
19000         exceptions are enabled.
19001         (_FP_PACK_CANONICAL): Likewise.
19003 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19005         [BZ #14183]
19006         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19007         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19009 2012-05-30  Richard Henderson  <rth@twiddle.net>
19011         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19012         with #ifndef NOT_IN_libc.
19014         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19015         marked to avoid plt entry.
19017 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19019         [BZ #14112]
19020         * Makeconfig (default-abi): New macro.
19021         (abi-includes): Likewise.
19022         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19023         $(abi-$(default-abi)-lib-soname) for soname if defined.
19024         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19025         abi-variants.
19026         * Makefile (installed-stubs): Likewise.
19027         * include/stubs-biarch.h: Removed.
19028         * scripts/lib-names.awk: Only handle one library at a time.
19029         * scripts/soversions.awk: Remove WORDSIZE support.
19030         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19031         entries.
19032         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19033         Removed.
19034         (syscall-list-default-condition): Likewise.
19035         (syscall-list-default-condition): Likewise.
19036         (syscall-list-includes): Likewise.
19037         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19038         syscall-list-* with abi-*.  Handle undefined abi-variants.
19039         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19040         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19041         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19042         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19043         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19044         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19045         Removed.
19046         (syscall-list-32-options): Likewise.
19047         (syscall-list-32-condition): Likewise.
19048         (syscall-list-64-options): Likewise.
19049         (syscall-list-64-condition): Likewise.
19050         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19051         macro.
19052         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19053         Renamed to ...
19054         (abi-*): This.
19055         (abi-64-ld-soname): New macro.
19056         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19057         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19058         Renamed to ...
19059         (abi-*): This.
19060         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19061         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19063 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19065         * sysdeps/unix/sysv/linux/kernel-features.h
19066         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19067         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19068         include <kernel-features.h>.
19069         [!__NR_ftruncate64]: Remove conditional code.
19070         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19071         [__NR_ftruncate64]: Make code unconditional.
19072         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19073         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19074         include <kernel-features.h>.
19075         [!__NR_ftruncate64]: Remove conditional code.
19076         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19077         [__NR_ftruncate64]: Make code unconditional.
19078         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19080         include <kernel-features.h>.
19081         [!__NR_ftruncate64]: Remove conditional code.
19082         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19083         [__NR_ftruncate64]: Make code unconditional.
19084         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19086         include <kernel-features.h>.
19087         [!__NR_ftruncate64]: Remove conditional code.
19088         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19089         [__NR_ftruncate64]: Make code unconditional.
19090         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19092         * configure.in (libc_cv_fpie): Weaken to a compile test using
19093         LIBC_TRY_CC_OPTION.
19094         * configure: Regenerated.
19096 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19102         Refreshed.
19103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19109         Refreshed.
19111 2012-05-27  David S. Miller  <davem@davemloft.net>
19113         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19114         (___Q_zero): New.
19115         (__Q_simulate_exceptions): Return void.  Change to simulate
19116         exceptions by writing into the %fsr.
19117         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19118         (__Qp_handle_exceptions): Likewise.
19119         (numbers): Delete.
19120         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19121         __Qp_handle_exceptions.
19122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19123         __Qp_handle_exceptions.
19124         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19125         as unused and give dummy FP_RND_NEAREST initializer.
19126         (FP_INHIBIT_RESULTS): Define.
19127         (___Q_simulate_exceptions): Update declaration.
19128         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19129         formatting.
19130         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19131         as unused and give dummy FP_RND_NEAREST initializer.
19132         (__Qp_handle_exceptions): Update declaration.
19133         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19134         formatting.
19136 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19138         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19139         the temporary FPU control word.
19140         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19141         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19142         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19143         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19144         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19145         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19146         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19147         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19148         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19149         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19150         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19152 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19154         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19155         fields.
19157 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19159         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19160         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19161         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19162         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19163         Likewise.
19164         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19165         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19166         Likewise.
19168 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19170         * po/h.po: Update from translation team.
19172 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19174         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19176         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19177         handling of denormals.
19178         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19179         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19180         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19181         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19185         Likewise.
19187 2012-05-26  Marek Polacek  <polacek@redhat.com>
19189         [BZ #14152]
19190         * math/libm-test.inc (fma_test): Don't always expect underflow
19191         exception.
19193 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19195         [BZ #12416]
19196         * elf/tst-execstack.c: Include stackinfo.h.
19197         (do_test): Adjust test case to ensure that pthread_getattr_np
19198         behaviour remains the same after marking stack executable.
19200 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19202         * sysdeps/unix/sysv/linux/kernel-features.h
19203         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19204         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19205         kernel-features.h.
19206         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19207         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19208         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19209         kernel-features.h.
19210         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19211         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19213 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19215         * configure.in: Define the default includes to being none.
19216         * configure: Regenerated.
19218 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19220         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19221         * sysdeps/x86_64/setjmp.S: Likewise.
19222         * sysdeps/i386/bsd-setjmp.S: Likewise.
19223         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19224         * sysdeps/i386/setjmp.S: Likewise.
19225         * sysdeps/i386/__longjmp.S: Likewise.
19226         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19227         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19229         * include/stap-probe.h: New file.
19230         * configure.in: Handle --enable-systemtap.
19231         * configure: Regenerated.
19232         * config.h.in (USE_STAP_PROBE): New #undef.
19233         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19234         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19235         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19237 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19239         [BZ #13717]
19240         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19241         to 2.4.0 where earlier.
19242         * sysdeps/unix/sysv/linux/configure: Regenerated.
19243         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19244         <kernel-features.h>.
19245         [__ASSUME_32BITUIDS]: Make code unconditional.
19246         [!__ASSUME_32BITUIDS]: Remove conditional code.
19247         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19248         <kernel-features.h>.
19249         [__ASSUME_32BITUIDS]: Make code unconditional.
19250         [!__ASSUME_32BITUIDS]: Remove conditional code.
19251         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19252         [__ASSUME_32BITUIDS]: Make code unconditional.
19253         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19254         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19255         <kernel-features.h>.
19256         [__ASSUME_32BITUIDS]: Make code unconditional.
19257         [!__ASSUME_32BITUIDS]: Remove conditional code.
19258         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19259         <kernel-features.h>.
19260         [__ASSUME_32BITUIDS]: Make code unconditional.
19261         [!__ASSUME_32BITUIDS]: Remove conditional code.
19262         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19263         <kernel-features.h>.
19264         [__ASSUME_32BITUIDS]: Make code unconditional.
19265         [!__ASSUME_32BITUIDS]: Remove conditional code.
19266         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19267         <kernel-features.h>.
19268         [__ASSUME_32BITUIDS]: Make code unconditional.
19269         [!__ASSUME_32BITUIDS]: Remove conditional code.
19270         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19271         <kernel-features.h>.
19272         [__ASSUME_32BITUIDS]: Make code unconditional.
19273         [!__ASSUME_32BITUIDS]: Remove conditional code.
19274         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19275         <kernel-features.h>.
19276         [__ASSUME_32BITUIDS]: Make code unconditional.
19277         [!__ASSUME_32BITUIDS]: Remove conditional code.
19278         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19279         <kernel-features.h>.
19280         [__ASSUME_32BITUIDS]: Make code unconditional.
19281         [!__ASSUME_32BITUIDS]: Remove conditional code.
19282         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19283         <kernel-features.h>.
19284         [__ASSUME_32BITUIDS]: Make code unconditional.
19285         [!__ASSUME_32BITUIDS]: Remove conditional code.
19286         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19287         <kernel-features.h>.
19288         [__ASSUME_32BITUIDS]: Make code unconditional.
19289         [!__ASSUME_32BITUIDS]: Remove conditional code.
19290         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19291         <kernel-features.h>.
19292         [__ASSUME_32BITUIDS]: Make code unconditional.
19293         [!__ASSUME_32BITUIDS]: Remove conditional code.
19294         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19295         <kernel-features.h>.
19296         [__NR_setresgid] (__setresgid): Do not declare.
19297         [__ASSUME_32BITUIDS]: Make code unconditional.
19298         [!__ASSUME_32BITUIDS]: Remove conditional code.
19299         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19300         <kernel-features.h>.
19301         [__NR_setresuid] (__setresuid): Do not declare.
19302         [__ASSUME_32BITUIDS]: Make code unconditional.
19303         [!__ASSUME_32BITUIDS]: Remove conditional code.
19304         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.c: Do not include
19325         <kernel-features.h>.
19326         [__ASSUME_32BITUIDS]: Make code unconditional.
19327         [!__ASSUME_32BITUIDS]: Remove conditional code.
19328         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19329         <kernel-features.h>.
19330         [__ASSUME_32BITUIDS]: Make code unconditional.
19331         [!__ASSUME_32BITUIDS]: Remove conditional code.
19332         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19333         <kernel-features.h>.
19334         [__ASSUME_32BITUIDS]: Make code unconditional.
19335         [!__ASSUME_32BITUIDS]: Remove conditional code.
19336         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19337         <kernel-features.h>.
19338         [__ASSUME_32BITUIDS]: Make code unconditional.
19339         [!__ASSUME_32BITUIDS]: Remove conditional code.
19340         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19341         <kernel-features.h>.
19342         [__ASSUME_32BITUIDS]: Make code unconditional.
19343         [!__ASSUME_32BITUIDS]: Remove conditional code.
19344         * sysdeps/unix/sysv/linux/kernel-features.h
19345         (__ASSUME_SETRESUID_SYSCALL): Remove.
19346         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19347         (__ASSUME_32BITUIDS): Likewise.
19348         (__ASSUME_LDT_WORKS): Likewise.
19349         (__ASSUME_O_DIRECTORY): Likewise.
19350         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19351         architecture but not kernel version.
19352         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19353         (__ASSUME_MMAP2_SYSCALL): Likewise.
19354         (__ASSUME_STAT64_SYSCALL): Likewise.
19355         (__ASSUME_IPC64): Likewise.
19356         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19357         <kernel-features.h>.
19358         [__ASSUME_32BITUIDS]: Make code unconditional.
19359         [!__ASSUME_32BITUIDS]: Remove conditional code.
19360         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19361         <kernel-features.h>.
19362         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19363         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19364         132096]: Remove conditional code.
19365         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19366         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
19375         <kernel-features.h>.
19376         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19377         unconditional.
19378         (__setresgid): Do not declare.
19379         [__ASSUME_32BITUIDS]: Make code unconditional.
19380         [!__ASSUME_32BITUIDS]: Remove conditional code.
19381         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19382         <kernel-features.h>.
19383         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19384         unconditional.
19385         (__setresuid): Do not declare.
19386         [__ASSUME_32BITUIDS]: Make code unconditional.
19387         [!__ASSUME_32BITUIDS]: Remove conditional code.
19388         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19389         <kernel-features.h>.
19390         [__ASSUME_32BITUIDS]: Make code unconditional.
19391         [!__ASSUME_32BITUIDS]: Remove conditional code.
19392         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19393         <kernel-features.h>.
19394         [__ASSUME_32BITUIDS]: Make code unconditional.
19395         [!__ASSUME_32BITUIDS]: Remove conditional code.
19397 2012-05-25  Richard Henderson  <rth@twiddle.net>
19399         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19400         dl_hwcap to ifunc resolver.
19401         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19402         elf_ifunc_invoke.
19403         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19404         dl_hwcap to ifunc resolver.
19405         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19407 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19409         [BZ #14153]
19410         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19411         for |x| <= 2**-26, not 2**-57.
19412         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19413         exception.
19415 2012-05-24  Jeff Law  <law@redhat.com>
19417         * stdio-common/Makefile (tests): Add bug25.
19418         * stdio-common/bug25.c: New test.
19420 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19422         [BZ #13576]
19423         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19424         multiple of MALLOC_ALIGNMENT in size.
19425         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19427 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19429         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19430         Require >= 256.
19431         (FILENAME_MAX): Use macro-int-constant.
19432         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19433         (_IOFBF): Use macro-int-constant.
19434         (_IOLBF): Likewise.
19435         (_IONBF): Likewise.
19436         (SEEK_CUR): Likewise.
19437         (SEEK_END): Likewise.
19438         (SEEK_SET): Likewise.
19439         (TMP_MAX): Likewise.
19440         (EOF): Use macro-int-constant.  Require < 0.
19441         (NULL): Use macro-constant.  Require == 0.
19442         (stdin): Require type to be FILE *.
19443         (stdout): Likewise.
19444         (stderr): Likewise.
19445         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19446         macro-int-constant.
19447         (EXIT_SUCCESS): Likewise.
19448         (NULL): Use macro-constant.  Require == 0.
19449         (RAND_MAX): Use macro-int-constant.
19450         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19451         [C99-based standards] (strtof): Require function.
19452         [C99-based standards] (strtold): Likewise.
19453         [C99-based standards] (strtoll): Likewise.
19454         [C99-based standards] (strtoull): Likewise.
19455         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19456         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19457         [ISO || ISO99 || ISO11] (math.h): Likewise.
19458         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19459         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19462 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19464         [BZ #14132]
19465         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19466         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19467         * intl/dgettext.c (DCGETTEXT): Likewise.
19468         * intl/gettext.c (DCGETTEXT): Likewise.
19469         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19470         * posix/regex_internal.h (gettext): Likewise.
19471         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19472         Remove declaration.
19473         * include/argz.h (__argz_count_internal)
19474         (__argz_stringify_internal): Remove declaration.
19475         (__argz_count, __argz_stringify): Declare hidden proto.
19476         * intl/dcgettext.c: Remove use of INTDEF.
19477         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19478         * string/argz-stringify.c: Likewise.
19479         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19480         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19481         Declare hidden proto.
19482         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19483         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19484         Declare hidden proto.
19485         * include/stdio.h (__asprintf_internal): Don't declare.
19486         (__asprintf): Don't define as macro.  Declare hidden proto.
19487         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19488         (__fsetlocking): Declare hidden proto.
19489         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19490         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19491         hidden proto.
19492         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19493         (_IO_setlinebuf): Remove use of INTUSE.
19494         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19495         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19496         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19497         Remove declaration.
19498         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19499         (_IO_do_flush): Remove use of INTUSE.
19500         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19501         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19502         (_IO_adjust_column, _IO_least_wmarker)
19503         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19504         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19505         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19506         (_IO_default_doallocate, _IO_wdefault_doallocate)
19507         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19508         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19509         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19510         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19511         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19512         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19513         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19514         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19515         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19516         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19517         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19518         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19519         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19520         proto.
19521         (_IO_flush_all_internal, _IO_adjust_column_internal)
19522         (_IO_default_uflow_internal, _IO_default_finish_internal)
19523         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19524         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19525         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19526         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19527         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19528         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19529         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19530         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19531         (_IO_file_close_internal, _IO_file_close_it_internal)
19532         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19533         (_IO_file_init_internal, _IO_file_attach_internal)
19534         (_IO_file_fopen_internal, _IO_file_read_internal)
19535         (_IO_file_sync_internal, _IO_file_seek_internal)
19536         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19537         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19538         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19539         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19540         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19541         (_IO_list_all_internal, _IO_link_in_internal)
19542         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19543         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19544         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19545         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19546         (_IO_do_write_internal, _IO_padn_internal)
19547         (_IO_getline_info_internal, _IO_getline_internal)
19548         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19549         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19550         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19551         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19552         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19553         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19554         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19555         with libc_hidden_ver, remove use of INTUSE.
19556         * libio/genops.c: Likewise.
19557         * libio/freopen.c: Likewise.
19558         * libio/freopen64.c: Likewise.
19559         * libio/iofclose.c: Likewise.
19560         * libio/iofdopen.c: Likewise.
19561         * libio/iofflush.c: Likewise.
19562         * libio/iofflush_u.c: Likewise.
19563         * libio/iofgets.c: Likewise.
19564         * libio/iofgets_u.c: Likewise.
19565         * libio/iofopen.c: Likewise.
19566         * libio/iofopncook.c: Likewise.
19567         * libio/iofread.c: Likewise.
19568         * libio/iofread_u.c: Likewise.
19569         * libio/ioftell.c: Likewise.
19570         * libio/iofwrite.c: Likewise.
19571         * libio/iogetline.c: Likewise.
19572         * libio/iogets.c: Likewise.
19573         * libio/iogetwline.c: Likewise.
19574         * libio/iopadn.c: Likewise.
19575         * libio/iopopen.c: Likewise.
19576         * libio/ioseekoff.c: Likewise.
19577         * libio/ioseekpos.c: Likewise.
19578         * libio/iosetbuffer.c: Likewise.
19579         * libio/iosetvbuf.c: Likewise.
19580         * libio/ioungetc.c: Likewise.
19581         * libio/ioungetwc.c: Likewise.
19582         * libio/iovdprintf.c: Likewise.
19583         * libio/iovsprintf.c: Likewise.
19584         * libio/iovsscanf.c: Likewise.
19585         * libio/memstream.c: Likewise.
19586         * libio/obprintf.c: Likewise.
19587         * libio/oldfileops.c: Likewise.
19588         * libio/oldiofclose.c: Likewise.
19589         * libio/oldiofdopen.c: Likewise.
19590         * libio/oldiofopen.c: Likewise.
19591         * libio/oldiopopen.c: Likewise.
19592         * libio/oldstdfiles.c: Likewise.
19593         * libio/putc.c: Likewise.
19594         * libio/setbuf.c: Likewise.
19595         * libio/setlinebuf.c: Likewise.
19596         * libio/stdfiles.c: Likewise.
19597         * libio/strops.c: Likewise.
19598         * libio/vasprintf.c: Likewise.
19599         * libio/vscanf.c: Likewise.
19600         * libio/vsnprintf.c: Likewise.
19601         * libio/vswprintf.c: Likewise.
19602         * libio/wfiledoalloc.c: Likewise.
19603         * libio/wfileops.c: Likewise.
19604         * libio/wgenops.c: Likewise.
19605         * libio/wmemstream.c: Likewise.
19606         * libio/wstrops.c: Likewise.
19607         * libio/__fpurge.c: Likewise.
19608         * libio/__fsetlocking.c: Likewise.
19609         * assert/assert.c: Likewise.
19610         * debug/fgets_chk.c: Likewise.
19611         * debug/fgets_u_chk.c: Likewise.
19612         * debug/fread_chk.c: Likewise.
19613         * debug/fread_u_chk.c: Likewise.
19614         * debug/gets_chk.c: Likewise.
19615         * debug/obprintf_chk.c: Likewise.
19616         * debug/vasprintf_chk.c: Likewise.
19617         * debug/vdprintf_chk.c: Likewise.
19618         * debug/vsnprintf_chk.c: Likewise.
19619         * debug/vsprintf_chk.c: Likewise.
19620         * malloc/mtrace.c: Likewise.
19621         * misc/error.c: Likewise.
19622         * misc/syslog.c: Likewise.
19623         * stdio-common/asprintf.c: Likewise.
19624         * stdio-common/fxprintf.c: Likewise.
19625         * stdio-common/getw.c: Likewise.
19626         * stdio-common/isoc99_fscanf.c: Likewise.
19627         * stdio-common/isoc99_scanf.c: Likewise.
19628         * stdio-common/isoc99_vfscanf.c: Likewise.
19629         * stdio-common/isoc99_vscanf.c: Likewise.
19630         * stdio-common/isoc99_vsscanf.c: Likewise.
19631         * stdio-common/printf-prs.c: Likewise.
19632         * stdio-common/printf_fp.c: Likewise.
19633         * stdio-common/printf_fphex.c: Likewise.
19634         * stdio-common/printf_size.c: Likewise.
19635         * stdio-common/putw.c: Likewise.
19636         * stdio-common/scanf.c: Likewise.
19637         * stdio-common/sprintf.c: Likewise.
19638         * stdio-common/tmpfile.c: Likewise.
19639         * stdio-common/vfprintf.c: Likewise.
19640         * stdio-common/vfscanf.c: Likewise.
19641         * stdlib/strfmon_l.c: Likewise.
19642         * sunrpc/openchild.c: Likewise.
19643         * sunrpc/xdr_stdio.c: Likewise.
19644         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19645         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19647 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19649         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19651         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19652         in the third column, to generate for the shared library an IFUNC
19653         that uses _dl_vdso_vsym.
19654         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19655         * Makeconfig (object-suffixes-noshared): New variable.
19657         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19658         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19659         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19660         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19662         [BZ #14132]
19663         * include/sys/time.h (__gettimeofday): Remove macro.
19664         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19665         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19666         Remove INTDEF.
19667         (__gettimeofday): Add libc_hidden_def.
19668         (gettimeofday): Add libc_hidden_weak.
19669         * sysdeps/mach/gettimeofday.c: Likewise.
19670         * sysdeps/posix/gettimeofday.c: Likewise.
19671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19672         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19673         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19674         (__gettimeofday_internal): Remove strong_alias.
19675         (__gettimeofday): Add libc_hidden_def.
19676         (gettimeofday): Add libc_hidden_weak.
19677         * sysdeps/unix/syscalls.list (gettimeofday):
19678         Remove __gettimeofday_internal alias.
19680 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19681             H.J. Lu  <hongjiu.lu@intel.com>
19683         [BZ #12495]
19684         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19685         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19686         (largebin_index_32_big): New.
19687         (largebin_index): Use it for 16-byte alignment.
19688         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19689         correction with front_misalign.
19691 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19695         Likewise.
19696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19697         Likewise.
19698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19699         Likewise.
19700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19701         Likewise.
19702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19703         Likewise.
19704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19705         Likewise.
19706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19707         Likewise.
19708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19709         Likewise.
19710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19711         Likewise.
19712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19713         Likewise.
19714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19715         Likewise.
19716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19717         Likewise.
19719         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19720         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19722 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19724         [BZ #10846]
19725         [BZ #14036]
19726         * math/libm-test.inc (exp_test): Add test from bug 14036.
19727         (pow_test): Add test from bug 10846.
19729         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19730         and other flags.
19731         (special_function): Do not include flags in test name.
19732         (parse_args): Likewise.
19733         * sysdeps/i386/fpu/libm-test-ulps: Update.
19734         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19735         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19736         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19739         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19740         exceptions.
19741         * math/libm-test.inc ("Philosophy"): Update comment about
19742         exception testing.
19743         (UNDERFLOW_EXCEPTION): New macro.
19744         (UNDERFLOW_EXCEPTION_OK): Likewise.
19745         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19746         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19747         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19748         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19749         (INVALID_EXCEPTION_OK): Update value.
19750         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19751         (OVERFLOW_EXCEPTION_OK): Likewise.
19752         (IGNORE_ZERO_INF_SIGN): Likewise.
19753         (test_exceptions): Handle underflow exceptions.
19754         (acos_test): Update for underflow exception expectations.
19755         (cexp_test): Likewise.
19756         (clog_test): Likewise.
19757         (clog10_test): Likewise.
19758         (csqrt_test): Likewise.
19759         (ctan_test): Likewise.
19760         (ctanh_test): Likewise.
19761         (exp_test): Likewise.
19762         (exp10_test): Likewise.
19763         (exp2_test): Likewise.
19764         (expm1_test): Likewise.
19765         (fma_test): Likewise.
19766         (j0_test): Likewise.
19767         (jn_test): Likewise.
19768         (nexttoward_test): Likewise.
19769         (pow_test): Likewise.
19770         (scalbn_test): Likewise.
19771         (scalbln_test): Likewise.
19772         (tan_test): Likewise.
19773         (y1_test): Likewise.
19774         * sysdeps/i386/fpu/libm-test-ulps: Update.
19775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19777 2012-05-23  David S. Miller  <davem@davemloft.net>
19779         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19780         (__libc_sigaction): Remove unused local variables.
19782 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19784         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19786 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19788         mktime: avoid signed integer overflow
19789         * time/mktime.c (__mktime_internal): Do not mishandle the case
19790         where diff == INT_MIN.
19792         mktime: simplify computation of average
19793         * time/mktime.c (ranged_convert): Use new time_t_avg function
19794         instead of rolling our own (probably-slower) code.
19796         mktime: do not assume signed right shift propagates sign bit
19797         * time/mktime.c (isdst_differ): New static function.
19798         (__mktime_internal): No need to normalize tm_isdst now.
19799         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19800         tm_isdst values.
19802         mktime: merge another wrapv change from gnulib
19803         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19804         from some compilers.
19806         mktime: remove incorrect attempt at unusual arithmetics
19807         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19808         The code didn't really work on such machines anyway.
19809         (TYPE_MINIMUM): Assume two's complement.
19810         (twos_complement_arithmetic): Verify that long_int and time_t
19811         are two's complement (or unsigned, in the latter case).
19813         mktime: check signed shifts on long_int and time_t, too
19814         * time/mktime.c (SHR): Check that shifts work as desired
19815         on the types long_int and time_t too, as SHR is used on
19816         such types.
19818         mktime: do not assume 'long' is wide enough
19819         * time/mktime.c (verify): Move decl up.
19820         (long_int): New type.
19821         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19822         to remove assumption in the code that 'long' is wide enough to
19823         store year values.  This assumption is not true on x32 and on
19824         some non-glibc platforms.
19826         mktime: merge wrapv change from gnulib
19827         * time/mktime.c (WRAPV): New macro.
19828         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19829         (guess_time_tm, __mktime_internal): Do not assume that signed
19830         integer overflow wraps around; modern compilers generate code
19831         where this assumption is no longer valid.
19833 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19835         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19836         Replace "jmp L(pseudo_end)" with "ret".
19837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19838         Likewise.
19840 2012-05-23  Andreas Jaeger  <aj@suse.de>
19842         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19843         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19845 2012-05-23  Andreas Jaeger  <aj@suse.de>
19846             Maximilian Attems  <max@stro.at>
19848         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19849         New macros.
19851 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19853         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19854         code so that pseudo_end is just ret and the stack pointer is
19855         correct also for static library in error case.
19857 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19859         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19860         move to syscalls.list.
19861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19866         * manual/install.texi (Running make install): Do not mention Linux
19867         kernel version for which pt_chown is not needed.
19868         (Linux): Do not mention problems with nscd with 2.0 kernels.
19869         * INSTALL: Regenerated.
19871 2012-05-23  Andreas Jaeger  <aj@suse.de>
19873         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19874         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19875         macro.
19876         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19877         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19878         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19879         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19880         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19881         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19882         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19883         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19884         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19885         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19886         * sysdeps/unix/sysv/linux/bits/in.h
19887         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19889 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19891         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19892         (PREPARE_VERSION): Just use assert instead, it will be elided
19893         under [NDEBUG] anyway.
19895 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19897         * sysdeps/unix/sysv/linux/Makefile: Include
19898         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19899         (sysdep_routines): Remove sysctl.
19900         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19901         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19902         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19903         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19904         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19906 2012-05-22  Andreas Jaeger  <aj@suse.de>
19908         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19909         that pseudo_end is just ret and the stack pointer is correct also
19910         for static library in error case.
19912 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19914         [BZ #14122]
19915         * nss/nsswitch.c (defconfig_entries): New variable.
19916         (__nss_database_lookup): Don't leak defconfig entries.
19917         (nss_parse_service_list): Don't leak on error paths.
19918         (free_database_entries): New function.
19919         (free_defconfig): New function.
19920         (free_mem): Move common code to free_database_entries.
19922 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19924         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19925         Add arch_prctl.
19926         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19928         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19929         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19931         New macro.
19932         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19933         (INTERNAL_SYSCALL_TYPES): Likewise.
19934         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19935         (LOAD_REGS_TYPES_[1-6]): Likewise.
19936         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19937         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19939 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19941         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19942         copysignl for GLIBC_2_0.
19943         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19944         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19946         logbl for GLIBC_2_0.
19947         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19948         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19950 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19952         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19953         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19955         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19956         Use "neg %eax".
19958         * time/mktime.c: Update copyright years.
19960 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19962         mktime: merge comment-quoting-style change from gnulib
19963         * time/mktime.c: Quote 'like this' in comments.
19964         The GNU coding standards suggest that we no longer quote `like this',
19965         as "`" and "'" are typically rendered asymmetrically nowadays.
19966         The typical gnulib style is to quote 'like this' when quoting
19967         code, and "like this" when quoting English.
19969         * time/mktime.c (compile-command): Add "-I.".
19971         mktime: merge mktime-internal.h change from gnulib
19972         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19974         mktime: merge time_r change from gnulib
19975         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19977         mktime: merge DEBUG change from gnulib
19978         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19979         case system <time.h> has a #define.
19981         mktime: merge <sys/types.h> change from gnulib
19982         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19983         since <time.t> is now guaranteed to define time_t.
19985         mktime: merge HAVE_CONFIG_H change from gnulib
19986         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19988 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19991         Use "neg %eax".
19993         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19994         __rlim_t cast.
19995         (struct rusage): Use anonymous union to pad each field to
19996         __syscall_slong_t.
19998 2012-05-21  David S. Miller  <davem@davemloft.net>
20000         * Makefules (o-iterator): Remove .s cases.
20001         (compile-command.s): Delete.
20002         (COMPILE.s): Delete.
20003         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20005 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20007         * configure.in (libc_cv_predef_stack_protector): Only consider
20008         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20009         * configure: Regenerated.
20011 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20014         New macro.  Use R*LP on int and pointer.
20015         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20016         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20017         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20018         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20020         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20021         [__WORDSIZE_TIME64_COMPAT32] instead of
20022         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20023         (struct utmp): Likewise.
20024         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20025         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20026         Renamed to ...
20027         (__WORDSIZE_TIME64_COMPAT32): This.
20028         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20029         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20030         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20031         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20032         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20033         (__WORDSIZE_TIME64_COMPAT32): New macro.
20035 2012-05-21  Andreas Jaeger  <aj@suse.de>
20037         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20038         only if [SHARED]. Add prototype for __wcschr_ia32.
20040 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20042         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20043         of %rbp unmolested in the jmp_buf while mangling the low bits.
20044         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20045         unmolested high bits of %rbp while demangling the low bits.
20046         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20048 2012-05-21  Andreas Jaeger  <aj@suse.de>
20050         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20051         * sunrpc/svc_simple.c: Use it for registerrpc.
20052         * sunrpc/xcrypt.c: Use it for passwd2des.
20054         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20056 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20058         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20059         Don't define if [__SYSCALL_WORDSIZE != 32].
20060         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20061         New macro.
20063 2012-05-21  Bruno Haible  <bruno@clisp.org>
20064             Andreas Jaeger  <aj@suse.de>
20066         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20067         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20068         inptr and inend for must_buffer_ch.
20069         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20070         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20071         * stdio-common/Makefile (tests): Remove bug15.
20072         (bug15-ENV): Remove macro.
20073         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20074         anymore.
20076 2012-05-19  Andreas Jaeger  <aj@suse.de>
20077             Roland McGrath  <roland@hack.frob.com>
20079         * manual/contrib.texi: Completely rewritten. It contains now an
20080         alphabetical list of contributors and their contributions.
20082 2012-05-21  Richard Henderson  <rth@twiddle.net>
20084         * misc/getauxval.c (__getauxval): Use unsigned long int.
20085         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20086         (getauxval): Use unsigned long int.
20088 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20090         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20092 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20094         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20095         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20096         __alignof__ (long double).
20098 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20102 2012-05-20  Richard Henderson  <rth@twiddle.net>
20104         * misc/getauxval.c: New file.
20105         * misc/sys/auxv.h: New file.
20106         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20107         (routines): Add getauxval.
20108         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20109         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20110         * elf/dl-sysdep.c (_dl_auxv): Remove.
20111         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20112         * elf/dl-support.c (_dl_auxv): New variable.
20113         (_dl_aux_init): Initialize it.
20114         * manual/startup.texi (Auxiliary Vector): New node.
20115         * sysdeps/generic/bits/hwcap.h: New file.
20116         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20117         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20118         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20119         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20120         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20121         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20123         Update.
20124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20133 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20137 2012-05-19  David S. Miller  <davem@davemloft.net>
20139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20141 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20143         [BZ #14123]
20144         * math/s_ccosh.c: Include <float.h>
20145         (__ccosh): Avoid internal overflow calculating sinh and cosh
20146         values before multiplying by sin and cos values.
20147         * math/s_ccoshf.c: Likewise.
20148         * math/s_ccoshl.c: Likewise.
20149         * math/s_csin.c: Likewise.
20150         * math/s_csinf.c: Likewise.
20151         * math/s_csinl.c: Likewise.
20152         * math/s_csinh.c: Likewise.
20153         * math/s_csinhf.c: Likewise.
20154         * math/s_csinhl.c: Likewise.
20155         * math/libm-test.inc (ccos_test): Add more tests.
20156         (ccosh_test): Likewise.
20157         (csin_test): Likewise.
20158         (csinh_test): Likewise.
20159         * sysdeps/i386/fpu/libm-test-ulps: Update.
20160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20162 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20164         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20165         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20167         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20169 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20171         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20172         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20173         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20174         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20175         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20176         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20177         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20178         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20179         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20180         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20181         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20182         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20183         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20184         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20185         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20186         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20187         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20188         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20189         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20190         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20191         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20192         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20193         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20194         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20195         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20196         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20197         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20198         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20199         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20200         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20201         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20203 2012-05-18  Andreas Jaeger  <aj@suse.de>
20205         * csu/.gitignore: Delete.
20207 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20209         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20210         (timex): Use __syscall_slong_t.
20212 2012-05-18  Andreas Jaeger  <aj@suse.de>
20213             Carlos O'Donell  <carlos_odonell@mentor.com>
20215         * manual/install.texi (Configuring and compiling): Update
20216         description about files modified in the source directory.
20217         * INSTALL: Regenerated.
20219 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20221         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20222         value.  Use "or" to set return value to -1.
20223         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20224         negate return value.
20226 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20228         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20229         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20230         failure if the compiler has Graphite support disabled.
20231         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20232         Likewise.
20233         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20234         CFLAGS-memmove.c): Likewise.
20235         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20236         Likewise.
20238 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20240         * sysdeps/x86_64/x32/_itoa.h: New file.
20242         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20243         getdents system call only if kernel and user dirents have the
20244         same d_ino and d_off.
20246         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20247         LLONG_MAX != LONG_MAX.
20248         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20249         (_fitoa_word): Likewise.
20251         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20252         years.
20253         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20254         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20255         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20257         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20258         include <bits/wordsize.h>.  Check __x86_64__ instead of
20259         __WORDSIZE.
20260         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20261         if __x86_64__ is defined.  Use anonymous union on fpstate.
20263         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20264         anonymous union.
20266 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20268         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20269         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20270         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20271         Refer to _rtld_local_ro instead of _rtld_global_ro.
20272         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20273         Likewise.
20274         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20275         Likewise.
20276         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20277         Likewise.
20278         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20279         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20280         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20282         * sysdeps/powerpc/powerpc32/dl-machine.c
20283         (__elf_machine_runtime_setup) [PROF]: Don't reference
20284         _dl_prof_resolve.
20286 2012-05-18  Andreas Jaeger  <aj@suse.de>
20288         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20289         function only available for GCCs before 3.4 since GCC 3.4
20290         introduced a builtin.
20291         (lrint): Likewise.
20292         (llrintf): Likewise.
20293         (llrint): Likewise.
20294         (fmaxf): Likewise.
20295         (fmax): Likewise.
20296         (fminf): Likewise.
20297         (fmin): Likewise.
20298         (rint): Likewise.
20299         (rintf): Likewise.
20300         (nearbyint): Likewise.
20301         (nearbyintf): Likewise.
20302         (ceil): Likewise.
20303         (ceilf): Likewise.
20304         (floor): Likewise.
20305         (floorf): Likewise.
20307 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20309         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20310         on both fields and cast pointer to __syscall_ulong_t.
20312         * bits/types.h (__fsword_t): New type.
20313         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20314         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20315         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20316         (__FSWORD_T_TYPE): Likewise.
20317         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20318         (__FSWORD_T_TYPE): Likewise.
20319         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20320         (__FSWORD_T_TYPE): Likewise.
20321         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20322         (__FSWORD_T_TYPE): Likewise.
20323         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20324         __SWORD_TYPE with __fsword_t.
20325         (statfs64): Likewise.
20327 2012-05-17  David S. Miller  <davem@davemloft.net>
20329         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20331 2012-05-17  Andreas Jaeger  <aj@suse.de>
20333         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20334         warning.
20336 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20338         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20340 2012-05-17  Andreas Jaeger  <aj@suse.de>
20342         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20343         when it is used.
20345 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20347         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20349 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20351         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20352         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20354 2012-05-17  Andreas Jaeger  <aj@suse.de>
20355             Carlos O'Donell  <carlos_odonell@mentor.com>
20357         [BZ #14059]
20358         * sysdeps/x86_64/multiarch/init-arch.h
20359         (bit_YMM_Usable): Rename to...
20360         (bit_AVX_Usable): ... this.
20361         (bit_FMA4_Usable): New macro.
20362         (bit_XMM_state): New macro.
20363         (bit_YMM_state): New macro.
20364         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20365         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20366         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20367         (CPUID_OSXSAVE): New macro.
20368         (CPUID_AVX): New macro.
20369         (CPUID_FMA4): New macro.
20370         (index_YMM_Usable): Rename to...
20371         (index_AVX_Usable): ... this.
20372         (HAS_AVX): Use HAS_ARCH_FEATURE.
20373         (HAS_FMA4): Likewise.
20374         (HAS_YMM_USABLE): Remove.
20375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20376         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20377         are present.
20378         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20379         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20380         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20381         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20382         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20384 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20386         * math/libm-test.c: Support platforms without multiple rounding modes.
20387         * math/bug-nextafter.c: Support platforms without FP exceptions.
20388         * math/bug-nexttoward.c: Likewise.
20389         * math/test-fenv.c: Likewise.
20390         * math/test-misc.c: Likewise.
20391         * stdlib/bug-getcontext.c: Likewise.
20393 2012-05-17  Andreas Jaeger  <aj@suse.de>
20395         * manual/examples/search.c (critter_cmp): Change signature to
20396         avoid warnings.
20397         * manual/string.texi (Collation Functions): Likewise.
20399 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20401         * bits/types.h: Fold copyright years.
20402         * bits/typesizes.h: Likewise.
20403         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20405         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20407         * time/time.h: Likewise.
20409 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20411         [BZ #208]
20412         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20413         in instead of returning them.  Return void.
20414         (__libc_mallinfo): Accumulate over all arenas.
20415         (__malloc_stats): Adjust for change in int_mallinfo interface.
20417 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20419         [BZ #10375]
20420         * configure.in (NM): Add AC_CHECK_TOOL for it.
20421         (libc_extra_cflags): New substituted variable.
20422         Check for -fstack-protector being used implicitly.
20423         * configure: Regenerated.
20424         * config.make.in (config-extra-cflags): New variable,
20425         gets @libc_extra_cflags@.
20426         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20428         [BZ #10375]
20429         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20430         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20431         * configure: Regenerated.
20432         * config.make.in (CPPUNDEFS): New substituted variable.
20433         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20434         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20435         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20437 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20439         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20440         (mq_attr): Use __syscall_slong_t.
20442 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20444         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20445         Check __x86_64__ instead of __WORDSIZE.
20446         (_STAT_VER_LINUX): Likewise.
20447         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20448         __syscall_ulong_t and __syscall_slong_t.
20449         (stat64): Likewise.
20451 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20453         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20455 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20457         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20461         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20462         __syscall_ulong_t.
20464         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20465         include <bits/wordsize.h>.  Check __x86_64__ instead of
20466         __WORDSIZE.
20467         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20468         defined.
20469         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20471         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20472         include <bits/wordsize.h>.  Check __x86_64__ instead of
20473         __WORDSIZE.
20474         (user_regs_struct): Use "__extension__ unsigned long long"
20475         instead of "unsigned long" if __x86_64__ is defined.
20476         (user): Likewise.  Pad after pointer field if __ILP32__ is
20477         defined.
20479 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20481         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20482         versions 5 to 9.
20483         * configure: Regenerated.
20484         * manual/install.texi (texinfo): Increase version requirement to
20485         4.5 or later.
20486         * INSTALL: Regenerated.
20488         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20490 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20492         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20494         * sysdeps/x86_64/x32/ffs.c: New file.
20496         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20497         __syscall_ulong_t.
20498         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20499         defined.  Use __syscall_ulong_t.
20500         (shminfo): Use __syscall_ulong_t.
20501         (shm_info): Likewise.
20503         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20504         __syscall_ulong_t.
20506         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20507         <bits/wordsize.h>.
20508         (msgqnum_t): Use __syscall_ulong_t.
20509         (msglen_t): Likewise.
20510         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20511         __syscall_ulong_t.
20513         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20514         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20516         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20518         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20519         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20521         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20522         __syscall_slong_t.
20524         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20525         include <bits/wordsize.h>.  Check __x86_64__ instead of
20526         __WORDSIZE.
20528         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20529         "unsigned long long int" if __x86_64__ is defined.
20530         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20532         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20533         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20534         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20536         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20537         <stdint.h>.
20538         (GET_PC): Cast to uintptr_t first.
20539         (GET_FRAME): Likewise.
20540         (GET_STACK): Likewise.
20542         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20543         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20544         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20545         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20546         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20547         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20548         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20549         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20550         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20551         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20552         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20553         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20554         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20555         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20556         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20557         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20558         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20559         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20560         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20561         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20562         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20563         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20564         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20565         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20566         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20567         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20568         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20569         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20570         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20572 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20574         * Makerules (+depfiles): Also collect depfiles from .oS in
20575         $(extra-objs).
20576         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20577         .oS, $(libnldbl-routines)).
20579         * Makerules (native-compile-mkdep-flags): Define.
20580         * sunrpc/Makefile (extra-objs): Add $(addprefix
20581         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20582         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20583         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20584         calling $(make-target-directory).
20586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20588         * bits/types.h (__snseconds_t): Removed.
20589         * time/time.h (struct timespec): Replace __snseconds_t with
20590         __syscall_slong_t.
20591         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20592         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20593         Likewise.
20594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20595         (__SNSECONDS_T_TYPE): Likewise.
20596         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20597         (__SNSECONDS_T_TYPE): Likewise.
20598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20599         (__SNSECONDS_T_TYPE): Likewise.
20601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20603         * sysdeps/mach/hurd/bits/typesizes.h
20604         (__SYSCALL_SLONG_TYPE): New macro.
20605         (__SYSCALL_ULONG_TYPE): Likewise.
20607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20609         * bits/types.h (__syscall_slong_t): New type.
20610         (__syscall_ulong_t): Likewise.
20612         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20613         (__SYSCALL_ULONG_TYPE): Likewise.
20614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20615         (__SYSCALL_SLONG_TYPE): Likewise.
20616         (__SYSCALL_ULONG_TYPE): Likewise.
20617         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20618         (__SYSCALL_SLONG_TYPE): Likewise.
20619         (__SYSCALL_ULONG_TYPE): Likewise.
20620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20621         (__SYSCALL_SLONG_TYPE): Likewise.
20622         (__SYSCALL_ULONG_TYPE): Likewise.
20624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20626         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20627         Add sigaltstack-offsets.sym.
20628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20629         <sigaltstack-offsets.h>.
20630         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20631         longjmp_msg pointer.
20632         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20633         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20634         signal stack.
20635         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20637 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20639         * elf/stackguard-macros.h: Remove file.
20640         * sysdeps/generic/stackguard-macros.h: New file.
20641         * sysdeps/i386/stackguard-macros.h: Likewise.
20642         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20643         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20644         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20645         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20646         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20647         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20648         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20649         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20650         <elf/stackguard-macros.h>.
20652         [BZ #14109]
20653         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20654         __aligned__ in attribute.
20655         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20656         (gregset_t): Likewise.
20658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20660         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20661         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20662         * sysdeps/x86_64/x32/Implies-after: New file.
20664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20666         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20667         and access return value for _dl_profile_fixup.  Use R10_LP to
20668         load frame size.
20670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20672         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20676         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20677         * sysdeps/x86_64/x32/sysdep.h: New file.
20679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20681         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20682         * sysdeps/x86_64/setjmp.S: Likewise.
20684 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20686         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20687         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20688         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20689         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20690         remove unused global constant.
20692 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20694         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20695         include of <not-cancel.h>.
20697 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20699         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20701 2012-05-15  Jeff Law  <law@redhat.com>
20702             Andreas Jaeger  <aj@suse.de>
20704         [BZ #13594]
20705         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20706         out from...
20707         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20708         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20709         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20710         code changing __hst_map_handle.map.
20712 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20714         * configure.in (sysnames): Look for Implies-before and Implies-after
20715         files.
20716         * configure: Regenerated.
20718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20720         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20721         8-byte data alignment with LP_SIZE alignment.
20723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20725         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20726         into R10_LP.
20728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20730         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20734         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20735         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20736         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20737         Likewise.
20738         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20742         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20743         (stackinfo_sub_sp): Likewise.
20745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20748         RAX_LP.
20750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20752         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20753         into R*_LP.
20755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20757         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20758         sizes into R*_LP.
20760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20762         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20766         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20767         into R11_LP and load __x86_64_shared_cache_size_half into
20768         R8_LP.
20770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20772         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20773         R8_LP.
20775 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20777         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20778         logb for POWER7.
20779         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20780         logbf for POWER7.
20781         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20782         logbl for POWER7.
20783         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20784         powerpc32/power7/fpu/s_logb.c via #include.
20785         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20786         powerpc32/power7/fpu/s_logbf.c via #include.
20787         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20788         powerpc32/power7/fpu/s_logbl.c via #include.
20790 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20792         * README.libm: Remove file.
20794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20796         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20797         count for x32.  Use R*_LP and omit operand-size suffix.
20799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20801         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20802         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20803         * sysdeps/x86_64/x32/shlib-versions: New file.
20805 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20807         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20808         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20809         Use _dl_fatal_printf instead.
20811 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20813         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20814         set if not set by the user.  Do not allow for being unset.
20815         * sysdeps/unix/sysv/linux/configure: Regenerated.
20817 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20819         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20820         the `q' suffix from lea and replace .quad with ASM_ADDR.
20822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20825         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20826         instead of $17.
20827         (PTR_DEMANGLE): Likewise.
20829 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20831         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20832         (LP_OP): Likewise.
20833         (ASM_ADDR): Likewise.
20834         (RAX_LP): Likewise.
20835         (RBP_LP): Likewise.
20836         (RBX_LP): Likewise.
20837         (RCX_LP): Likewise.
20838         (RDI_LP): Likewise.
20839         (RSI_LP): Likewise.
20840         (RSP_LP): Likewise.
20841         (R8_LP): Likewise.
20842         (R9_LP): Likewise.
20843         (R10_LP): Likewise.
20844         (R10_LP): Likewise.
20845         (R11_LP): Likewise.
20846         (R12_LP): Likewise.
20847         (R13_LP): Likewise.
20848         (R14_LP): Likewise.
20849         (R15_LP): Likewise.
20851 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20853         * sysdeps/x86_64/x32/dl-machine.h: New file.
20855 2012-05-14  Andreas Jaeger  <aj@suse.de>
20857         * manual/Makefile (subdir): Remove export of subdir.
20858         (all): Remove target.
20859         (.PHONY): Remove all from list.
20860         (mkinstalldirs): Remove.
20861         (.PHONY): Remove installdirs from list.
20862         ($(inst_infodir)/libc.info): Use make-target-directory.
20863         (installdirs): Remove.
20864         (subdir_%): Remove.
20865         (glibc-targets): Remove.
20866         (lib): Remove.
20867         (stubs): Remove.
20868         ($(objpfx)stubs ../po/manual.pot): Remove.
20869         ($(objpfx)stamp%): Remove.
20870         (make-target-directory): Remove.
20871         (subdir_install): Remove.
20872         (routines): Remove.
20873         (aux): Remove.
20874         (sources): Remove.
20875         (objects): Remove.
20876         (headers): Remove.
20878         [BZ #13750]
20879         * manual/.gitignore: Remove, it's not needed anymore.
20880         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20881         all files in it.
20882         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20883         directory.
20884         (texis): Renamed to $(objpfx)texis.
20885         (texis-path): New, contains path to generated files.
20886         (chapters.%): Use texis-path for complete path, add extra argument
20887         libc-texinfo.sh.
20888         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20889         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20890         (summary,texi, stamp-summary): Use complete path of
20891         files. Generate files in build dir.
20892         (dir-add.texi): Build in build dir.
20893         (libm-err.texi,stamp-libm-err): Likewise.
20894         (version.texi, stamp-version): Likewise.
20895         (.%c.texi): Likewise.
20896         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20897         (mostlyclean): Remove target.
20898         (realclean): Remove target.
20899         (generated): Add new variable with contents from mostlyclean and
20900         realclean, remove entries duplicated in common-mostlyclean, add
20901         stamp-libm-err and stamp-version.
20902         (generated-dirs): Add libc directory.
20903         ($(inst_infodir)/libc.info): Install files from build dir.
20905         * manual/install.texi (Configuring and compiling): Adjust since
20906         the info files are not part of the tar ball anymore.
20908 2012-05-14  Andreas Jaeger  <aj@suse.de>
20910         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20911         variable.
20913 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20915         [BZ #13717]
20916         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20917         to 2.2.0 where earlier.
20918         * sysdeps/unix/sysv/linux/configure: Regenerated.
20919         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20920         Remove conditional code.
20921         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20922         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20923         Remove conditional code.
20924         [!__NR_lchown]: Likewise.
20925         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20926         [__NR_lchown]: Likewise.
20927         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20928         comment referencing __ASSUME_LCHOWN_SYSCALL.
20929         * sysdeps/unix/sysv/linux/i386/sigaction.c
20930         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20931         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20932         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20933         Remove conditional code.
20934         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20935         (__protocol_available): Remove #if 0 code.
20936         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20937         conditional code.
20938         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20939         * sysdeps/unix/sysv/linux/kernel-features.h
20940         (__ASSUME_GETCWD_SYSCALL): Don't define.
20941         (__ASSUME_REALTIME_SIGNALS): Likewise.
20942         (__ASSUME_PREAD_SYSCALL): Likewise.
20943         (__ASSUME_PWRITE_SYSCALL): Likewise.
20944         (__ASSUME_POLL_SYSCALL): Likewise.
20945         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20946         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20947         non-SPARC.
20948         (__ASSUME_SIOCGIFNAME): Don't define.
20949         (__ASSUME_MSG_NOSIGNAL): Likewise.
20950         (__ASSUME_SENDFILE): Define unconditionally.
20951         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20952         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20953         conditional code.
20954         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20955         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20956         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20957         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20958         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20959         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20960         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20962         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20963         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20965         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20966         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20968         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20969         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20971         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20972         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20974         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20975         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20977         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20978         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20980         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20981         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20983         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20984         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20985         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20986         Remove conditional code.
20987         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20988         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20989         Remove conditional code.
20990         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20991         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20992         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20993         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20994         Remove conditional code.
20995         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20996         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20997         Remove conditional code.
20998         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20999         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21000         Remove conditional code.
21001         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21002         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21003         Remove conditional code.
21004         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21005         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21006         Remove conditional code.
21007         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21008         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21009         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21010         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21011         * sysdeps/unix/sysv/linux/sigaction.c
21012         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21013         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21014         * sysdeps/unix/sysv/linux/sigpending.c
21015         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21016         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21017         * sysdeps/unix/sysv/linux/sigprocmask.c
21018         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21019         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21020         * sysdeps/unix/sysv/linux/sigsuspend.c
21021         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21022         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21023         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21024         (__libc_missing_rt_sigs): Remove.
21025         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21026         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21027         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21028         Remove conditional code.
21029         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21030         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21031         return 1.
21032         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21033         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21034         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21035         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21037 2012-05-14  Andreas Jaeger  <aj@suse.de>
21039         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21040         it's not used in glibc.
21041         (__coshm1): Likewise.
21042         (__acosh1p): Likewise.
21043         (__sgn): Likewise.
21045         * manual/string.texi (Copying and Concatenation): Add missing
21046         variable in concat example.
21047         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21049 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21051         [BZ #14103]
21052         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21053         __builtin_clzl with __builtin_clzll.
21055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21057         [BZ #14104]
21058         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21059         libc_freeres_ptr.
21061 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21063         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21064         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21065         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21066         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21068 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21070         * NEWS: Update ia64 info.
21072 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21074         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21075         used as bcopy.
21077 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21079         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21080         * sysdeps/unix/syscalls.list (dup3): Likewise.
21081         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21082         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21084 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21086         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21087         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21089 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21091         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21092         thread pointer.
21093         (TLS_IE): Use mov/add instead of movq/addq to load thread
21094         pointer.
21095         (TLS_GD_PREFIX): New.
21096         (TLS_GD): Use it.
21098 2012-05-11  David S. Miller  <davem@davemloft.net>
21100         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21101         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21102         (_FPU_SETCW): Likewise.
21104 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21106         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21107         is 32-byte aligned.
21109 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21111         [BZ #11837]
21112         * iconvdata/gb18030.c: Update tables.
21113         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21114         characters specially.
21115         (BODY for TO_LOOP): Add encoding of missing ranges.
21117 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21119         [BZ #13673]
21120         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21121         * sysdeps/mach/hurd/dup3.c: Likewise.
21122         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21123         * sysdeps/powerpc/memmove.c:: Likewise.
21125 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21127         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21128         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21130 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21132         * elf/elf.h (R_X86_64_RELATIVE64): New.
21133         (R_X86_64_NUM): Updated.
21134         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21135         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21136         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21137         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21138         tst-quad1pie tst-quad2pie
21139         (modules-names): Add tst-quadmod1 tst-quadmod2.
21140         ($(objpfx)tst-quad1): New dependency.
21141         ($(objpfx)tst-quad2): Likewise.
21142         ($(objpfx)tst-quad1pie): Likewise.
21143         ($(objpfx)tst-quad2pie): Likewise.
21144         * sysdeps/x86_64/tst-quad1.c: New file.
21145         * sysdeps/x86_64/tst-quad1pie.c: New file.
21146         * sysdeps/x86_64/tst-quad2.c: Likewise.
21147         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21148         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21149         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21150         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21151         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21153 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21155         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21156         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21157         * streams/stropts.h (t_scalar_t): Define type.
21159         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21160         (_PATH_PRESERVE): Set to "/var/lib".
21161         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21163         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21164         instead of int.
21166         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21167         if __dir_mkfile succeeded.
21169         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21170         checking for _hurd_dtablesize.  Unlock it right after having
21171         finished _hurd_dtable allocation.
21173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21175         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21176         * sysdeps/mach/hurd/configure: Regenerated.
21177         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21178         special-casing to...
21179         * sysdeps/gnu/configure.in: ... this new file.
21180         * sysdeps/unix/sysv/linux/configure: Regenerated.
21181         * sysdeps/gnu/configure: New generated file.
21183         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21184         for Linux: use nsec instead of usec, as well as:
21185         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21186         members of type struct timespec.
21187         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21188         New macros.
21189         (struct stat64): Likewise.
21190         (_STATBUF_ST_NSEC): New macro.
21191         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21193         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21194         __strtoul_internal rather than strtoul.
21196 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21198         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21199         and reject them.
21201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21203         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21204         which preserves existing values.
21205         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21207 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21209         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21210         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21211         greater than FD_SETSIZE.
21213 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21215         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21216         allocated, call __vm_protect to finish enabling the existing space, and
21217         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21218         allocate the remainder.
21220 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21222         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21223         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21227         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21228         sysdeps/mach/hurd/readlink.c.
21230         * posix/tst-sysconf.c (posix_options): Only use
21231         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21232         _POSIX_SYNCHRONIZED_IO when they are defined
21233         * sysdeps/mach/hurd/bits/posix_opt.h:
21234         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21235         (_XOPEN_REALTIME): Undefine macro.
21236         (_XOPEN_REALTIME_THREADS): Undefine macro.
21237         (_XOPEN_SHM): Undefine macro.
21238         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21239         macro to -1.
21240         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21241         macro to -1.
21242         (_POSIX_ASYNC_IO): Undefine macro.
21243         (_POSIX_PRIORITIZED_IO): Undefine macro.
21244         (_POSIX_SPIN_LOCKS): Define macro to -1.
21246         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21247         SA_NODEFER, SA_RESETHAND.
21248         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21249         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21250         F_DUPFD_CLOEXEC.
21252 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21254         * elf/Makefile (pldd-modules): Define unconditionally.
21256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21258         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21262         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21263         Return ENOENT when name is empty.
21264         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21266 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21268         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21270         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21274         Fix mlock in all cases except non-readable pages.
21275         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21276         instead of VM_PROT_ALL as parameter to __vm_wire function.
21278         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21279         (__mkdir): When path is `/', just fail with EEXIST.
21280         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21282 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21284         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21285         <sys/uio.h> (for writev).
21286         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21287         and <sys/param.h> (for MIN).
21289 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21291         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21292         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21293         if interrupted.
21295 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21297         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21298         Depend on against $(link-rpcuserlibs).
21300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21302         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21303         (__libc_stack_end): Do not use attribute_relro.
21304         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21305         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21306         to libthread-provided value.
21307         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21308         attribute_relro.
21310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21312         [BZ #3748]
21313         * bits/libc-lock.h (__libc_once_get): New macro.
21314         * sysdeps/mach/bits/libc-lock.h: Likewise.
21315         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21316         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21317         instead of using implementation details.
21319         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21320         * libio/freopen.c: Likewise.
21321         * libio/freopen64.c: Likewise.
21322         * misc/syslog.c: Likewise.
21323         * nscd/connections.c: Likewise.
21324         * nscd/netgroupcache.c: Likewise.
21325         * sysdeps/posix/getcwd.c: Likewise.
21327 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21329         * math/w_ilogbf.c: Add #include <limits.h>.
21331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21333         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21334         path instead of returning without unlocking.
21336         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21337         immediate-write ioctls.
21338         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21340 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21342         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21343         __builtin_frame_address instead of making assumptions about the
21344         location of the return address relative to DATA.  Force early load of
21345         the return address.
21346         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21347         __builtin_frame_address.
21349         dup3 for GNU Hurd.
21350         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21351         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21352         implement dup3 and do some further code clean-ups.
21353         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21354         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21358         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21360         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21361         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21362         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21363         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21364         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21365         d->port.lock.
21367         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21368         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21369         when handler == SIG_ERR, not when handler != SIG_ERR.
21371 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21373         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21374         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21375         definitions.
21377         accept4 for GNU Hurd.
21378         * include/sys/socket.h (__libc_accept4): New prototype.
21379         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21380         to implement __libc_accept4.
21381         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21382         __libc_accept4.
21383         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21385         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21386         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21387         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21388         signal-defines.sym.
21390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21392         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21396         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21397         assertion on O_CLOEXEC flag.
21398         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21399         * hurd/intern-fd.c: Likewise.
21400         * hurd/port2fd.c: Likewise.
21402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21404         [BZ #3906]
21405         * bits/in.h (IPV6_PKTINFO): Define new macro.
21406         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21408 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21410         [BZ #13954]
21411         [BZ #13955]
21412         [BZ #13956]
21413         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21414         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21415         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21416         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21417         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21418         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21419         * math/libm-test.inc (logb_test) : Additional logb tests.
21421 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21422             Andreas Jaeger  <aj@suse.de>
21424         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21425         * configure: Regenerated.
21426         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21427         * config.make.in (link-obsolete-rpc): New substituted variable.
21428         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21429         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21430         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21431         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21432         so that libc.a contains the symbols.
21433         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21434         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21435         * sunrpc/auth_none.c: Likewise.
21436         * sunrpc/auth_unix.c: Likewise.
21437         * sunrpc/authdes_prot.c: Likewise.
21438         * sunrpc/authuxprot.c: Likewise.
21439         * sunrpc/clnt_gen.c: Likewise.
21440         * sunrpc/clnt_perr.c: Likewise.
21441         * sunrpc/clnt_raw.c: Likewise.
21442         * sunrpc/clnt_simp.c: Likewise.
21443         * sunrpc/clnt_tcp.c: Likewise.
21444         * sunrpc/clnt_udp.c: Likewise.
21445         * sunrpc/clnt_unix.c: Likewise.
21446         * sunrpc/des_crypt.c: Likewise.
21447         * sunrpc/des_soft.c: Likewise.
21448         * sunrpc/get_myaddr.c: Likewise.
21449         * sunrpc/key_call.c: Likewise.
21450         * sunrpc/key_prot.c: Likewise.
21451         * sunrpc/netname.c: Likewise.
21452         * sunrpc/pm_getmaps.c: Likewise.
21453         * sunrpc/pm_getport.c: Likewise.
21454         * sunrpc/pmap_clnt.c: Likewise.
21455         * sunrpc/pmap_prot.c: Likewise.
21456         * sunrpc/pmap_prot2.c: Likewise.
21457         * sunrpc/pmap_rmt.c: Likewise.
21458         * sunrpc/publickey.c: Likewise.
21459         * sunrpc/rpc_cmsg.c: Likewise.
21460         * sunrpc/rpc_common.c: Likewise.
21461         * sunrpc/rpc_dtable.c: Likewise.
21462         * sunrpc/rpc_prot.c: Likewise.
21463         * sunrpc/rpc_thread.c: Likewise.
21464         * sunrpc/rtime.c: Likewise.
21465         * sunrpc/svc.c: Likewise.
21466         * sunrpc/svc_auth.c: Likewise.
21467         * sunrpc/svc_raw.c: Likewise.
21468         * sunrpc/svc_run.c: Likewise.
21469         * sunrpc/svc_tcp.c: Likewise.
21470         * sunrpc/svc_udp.c: Likewise.
21471         * sunrpc/svc_unix.c: Likewise.
21472         * sunrpc/svcauth_des.c: Likewise.
21473         * sunrpc/xcrypt.c: Likewise.
21474         * sunrpc/xdr.c: Likewise.
21475         * sunrpc/xdr_array.c: Likewise.
21476         * sunrpc/xdr_float.c: Likewise.
21477         * sunrpc/xdr_intXX_t.c: Likewise.
21478         * sunrpc/xdr_mem.c: Likewise.
21479         * sunrpc/xdr_rec.c: Likewise.
21480         * sunrpc/xdr_ref.c: Likewise.
21481         * sunrpc/xdr_sizeof.c: Likewise.
21482         * sunrpc/xdr_stdio.c: Likewise.
21484 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21486         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21487         change.  Update copyright years.
21489 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21491         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21493 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21494             Joseph Myers  <joseph@codesourcery.com>
21495             Paul Pluzhnikov  <ppluzhnikov@google.com>
21497         [BZ #14012]
21498         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21499         requiring rpcgen.
21500         [cross-compiling] (extra-libs): Likewise.
21501         [cross-compiling] (extra-libs-others): Likewise.
21502         [cross-compiling] (librpcsvc-routines): Likewise.
21503         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21504         [cross-compiling] (omit-deps): Likewise.
21505         (sunrpc-CPPFLAGS): New variable.
21506         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21507         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21508         (cross-rpcgen-objs): New variable.
21509         (extra-objs): Append $(cross-rpcgen-objs).
21510         ($(cross-rpcgen-objs)): New rule.
21511         ($(objpfx)cross-rpcgen): Likewise.
21512         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21513         comment.
21514         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21515         ($(objpfx)x%.stmp): Likewise.
21516         * sunrpc/proto.h [IS_IN_build] (_): Define.
21517         [IS_IN_build] (_libc_intl_domainname): Likewise.
21519 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21521         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21522         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21523         and R_X86_64_TPOFF64.
21525 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21527         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21528         sysdeps/unix/sysv/syscalls.list.
21529         (stime): Likewise.
21530         (utime): Likewise.
21531         * sysdeps/unix/sysv/syscalls.list: Remove file.
21533 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21535         [BZ #3440]
21536         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21537         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21538         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21539         (__LC_IDENTIFICATION): Make these macros useful in #if
21540         expressions, as required by C99.
21542 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21544         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21545         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21546         after this.
21548 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21550         * stdlib/longlong.h: Updated from GCC.
21552 2012-05-09  Andreas Jaeger  <aj@suse.de>
21554         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21555         default is first entry.
21556         (run_mode): Set type.
21557         (main): Remove informal message about syslog.
21558         (options): Fix typo.
21560         [BZ #14053]
21561         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21562         to asm.
21563         (lrint): Likewise.
21564         (llrintf): Likewise.
21565         (llrint): Likewise.
21566         (rint): Likewise.
21567         (rintf): Likewise.
21568         (nearbyint): Likewise.
21569         (nearbyintf): Likewise.
21571 2012-05-09  Andreas Jaeger  <aj@suse.de>
21572             Pedro Alves  <palves@redhat.com>
21574         * nscd/nscd.c (run_mode): Use enum.
21575         (main): Cleanup coding style issue.
21577 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21578             Andreas Jaeger  <aj@suse.de>
21580         * nscd/nscd.c (go_background): Replaced with...
21581         (run_mode): ... this.
21582         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21583         (options): Add -F --foreground.
21584         (main): Implement it.
21585         (parse_opt): Parse it.
21587 2012-05-09  Andreas Jaeger  <aj@suse.de>
21589         [BZ #14083]
21590         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21591         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21592         -Wconversion warning.
21593         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21594         Likewise.
21596 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21598         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21599         == 0.
21600         (LC_ALL): Use macro-int-constant.
21601         (LC_COLLATE): Likewise.
21602         (LC_CTYPE): Likewise.
21603         (LC_MESSAGES): Likewise.
21604         (LC_MONETARY): Likewise.
21605         (LC_NUMERIC): Likewise.
21606         (LC_TIME): Likewise.
21607         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21608         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21609         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21610         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21611         Specify type.
21612         [C99-based standards] (float_t): Expect type.
21613         [C99-based standards] (double_t): Expect type.
21614         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21615         type.
21616         [C99-based standards] (HUGE_VALL): Likewise.
21617         [C99-based standards] (INFINITY): Likewise.
21618         [C99-based standards] (NAN): Likewise.
21619         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21620         [C99-based standards] (FP_NAN): Likewise.
21621         [C99-based standards] (FP_NORMAL): Likewise.
21622         [C99-based standards] (FP_SUBNORMAL): Likewise.
21623         [C99-based standards] (FP_ZERO): Likewise.
21624         [C99-based standards] (FP_FAST_FMA): Use
21625         optional-macro-int-constant.  Specify type.  Require == 1.
21626         [C99-based standards] (FP_FAST_FMAF): Likewise.
21627         [C99-based standards] (FP_FAST_FMAL): Likewise.
21628         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21629         [C99-based standards] (FP_ILOGBNAN): Likewise.
21630         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21631         Specify type.
21632         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21633         [C99-based standards] (math_errhandling): Specify type.
21634         [ISO99 || ISO11] (signgam): Do not allow.
21635         [non-C99-based standards] (copysignf): Do not allow.
21636         [non-C99-based standards] (exp2f): Likewise.
21637         [non-C99-based standards] (log2f): Likewise.
21638         [non-C99-based standards] (modff): Allow.
21639         [non-C99-based standards] (erff): Do not allow.
21640         [non-C99-based standards] (erfcf): Likewise.
21641         [non-C99-based standards] (gammaf): Likewise.
21642         [non-C99-based standards] (hypotf): Likewise.
21643         [non-C99-based standards] (j0f): Likewise.
21644         [non-C99-based standards] (j1f): Likewise.
21645         [non-C99-based standards] (jnf): Likewise.
21646         [non-C99-based standards] (lgammaf): Likewise.
21647         [non-C99-based standards] (tgammaf): Likewise.
21648         [non-C99-based standards] (y0f): Likewise.
21649         [non-C99-based standards] (y1f): Likewise.
21650         [non-C99-based standards] (ynf): Likewise.
21651         [non-C99-based standards] (isnanf): Likewise.
21652         [non-C99-based standards] (acoshf): Likewise.
21653         [non-C99-based standards] (asinhf): Likewise.
21654         [non-C99-based standards] (atanhf): Likewise.
21655         [non-C99-based standards] (cbrtf): Likewise.
21656         [non-C99-based standards] (expm1f): Likewise.
21657         [non-C99-based standards] (ilogbf): Likewise.
21658         [non-C99-based standards] (log1pf): Likewise.
21659         [non-C99-based standards] (logbf): Likewise.
21660         [non-C99-based standards] (nextafterf): Likewise.
21661         [non-C99-based standards] (remainderf): Likewise.
21662         [non-C99-based standards] (rintf): Likewise.
21663         [non-C99-based standards] (scalbf): Likewise.
21664         [non-C99-based standards] (copysignl): Likewise.
21665         [non-C99-based standards] (exp2l): Likewise.
21666         [non-C99-based standards] (log2l): Likewise.
21667         [non-C99-based standards] (modfl): Allow.
21668         [non-C99-based standards] (erfl): Do not allow.
21669         [non-C99-based standards] (erfcl): Likewise.
21670         [non-C99-based standards] (gammal): Likewise.
21671         [non-C99-based standards] (hypotl): Likewise.
21672         [non-C99-based standards] (j0l): Likewise.
21673         [non-C99-based standards] (j1l): Likewise.
21674         [non-C99-based standards] (jnl): Likewise.
21675         [non-C99-based standards] (lgammal): Likewise.
21676         [non-C99-based standards] (tgammal): Likewise.
21677         [non-C99-based standards] (y0l): Likewise.
21678         [non-C99-based standards] (y1l): Likewise.
21679         [non-C99-based standards] (ynl): Likewise.
21680         [non-C99-based standards] (isnanl): Likewise.
21681         [non-C99-based standards] (acoshl): Likewise.
21682         [non-C99-based standards] (asinhl): Likewise.
21683         [non-C99-based standards] (atanhl): Likewise.
21684         [non-C99-based standards] (cbrtl): Likewise.
21685         [non-C99-based standards] (expm1l): Likewise.
21686         [non-C99-based standards] (ilogbl): Likewise.
21687         [non-C99-based standards] (log1pl): Likewise.
21688         [non-C99-based standards] (logbl): Likewise.
21689         [non-C99-based standards] (nextafterl): Likewise.
21690         [non-C99-based standards] (remainderl): Likewise.
21691         [non-C99-based standards] (rintl): Likewise.
21692         [non-C99-based standards] (scalbl): Likewise.
21693         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21694         [non-C99-based standards] (FP_*): Do not allow.
21695         [C99-based standards] (FP_*): Change to
21696         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21697         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21698         allow.
21699         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21700         (SIG_ERR): Likewise.
21701         [X/Open-based standards] (SIG_HOLD): Likewise.
21702         (SIG_IGN): Likewise.
21703         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21704         positive value.
21705         (SIGFPE): Likewise.
21706         (SIGILL): Likewise.
21707         (SIGINT): Likewise.
21708         (SIGSEGV): Likewise.
21709         (SIGTER): Likewise.
21710         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21711         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21712         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21713         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21714         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21715         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21716         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21717         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21718         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21719         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21720         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21721         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21722         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21723         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21724         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21725         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21726         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21727         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21728         [X/Open-based standards] (SIGTRAP): Likewise.
21729         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21730         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21731         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21732         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21733         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21734         allow.
21736 2012-05-08  Ian Wienand  <ianw@vmware.com>
21738         [BZ #14080]
21739         * time/tzset.c (__tzset_parse_tz): Update default rules for
21740         daylight time changes in the Energy Policy Act of 2005.
21742 2012-05-09  Andreas Jaeger  <aj@suse.de>
21744         [BZ #13983]
21745         * elf/ldconfig.c (parse_conf): Change string to make clear that
21746         ldconfig only issued a warning if ld.so.conf does not exist.
21748 2012-05-08  David S. Miller  <davem@davemloft.net>
21750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21751         movxtod instead of popping the value on the stack.
21753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21755 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21757         * config.h.in: Add HAVE_ARM_PCS_VFP.
21759 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21761         [BZ #13979]
21762         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21763         checking but the checks are disabled for any reason.
21765 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21767         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21768         and ELF64_R_TYPE with ELFW(R_TYPE).
21770 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21772         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21773         (ulimit): Likewise.
21775         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21776         (settimeofday): Likewise.
21778 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21780         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21781         a struct th_u2 inside the union, and move tu_block/tu_code into
21782         a new th_u3 union of tu_block/tu_code inside of that.  Move
21783         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21784         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21785         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21786         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21787         (th_stuff): Change to th_u1.tu_stuff.
21788         (th_data): Define.
21789         (th_msg): Change to th_u1.th_u2.tu_data.
21791 2012-05-07  David S. Miller  <davem@davemloft.net>
21793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21795         [BZ #14074]
21796         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21797         (SETUP_PIC_REG): Use it.
21798         (SETUP_PIC_REG_LEAF): Use it.
21800 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21802         [BZ #13885]
21803         [BZ #13923]
21804         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21805         USE_AS_EXPM1L.
21806         (EXPL_FINITE): Likewise.
21807         (FLDLOG): Likewise.
21808         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21809         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21810         e_expl.S.
21811         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21812         USE_AS_EXPM1L.
21813         (EXPL_FINITE): Likewise.
21814         (FLDLOG): Likewise.
21815         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21816         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21817         e_expl.S.
21818         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21819         test of -max_value argument for long double.
21820         * sysdeps/i386/fpu/libm-test-ulps: Update.
21821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21823 2012-05-06  David S. Miller  <davem@davemloft.net>
21825         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21826         quad soft-float symbols whose references which are compiler
21827         generated.
21828         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21830 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21832         [BZ #13884]
21833         [BZ #13914]
21834         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21835         USE_AS_EXP10L.
21836         (EXPL_FINITE): Likewise.
21837         (FLDLOG): Likewise.
21838         (c0): Likewise.
21839         (c1): Likewise.
21840         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21841         Adjust comments for base varying.
21842         (__expl_finite): Change alias to EXPL_FINITE.
21843         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21844         e_expl.S.
21845         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21846         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21847         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21848         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21849         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21850         USE_AS_EXP10L.
21851         (EXPL_FINITE): Likewise.
21852         (FLDLOG): Likewise.
21853         (c0): Likewise.
21854         (c1): Likewise.
21855         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21856         Adjust comments for base varying.
21857         (__expl_finite): Change alias to EXPL_FINITE.
21858         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21859         tests for bugs.
21860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21862         [BZ #14064]
21863         * math/libm-test.inc (check_float_internal): Correct ulp
21864         calculation for subnormal expected results.
21866 2012-05-06  Andreas Jaeger  <aj@suse.de>
21868         * Makeconfig (+math-flags): New, set to -frounding-math.
21869         (+cflags): Add +math-flags so that all of glibc gets compiled with
21870         it.
21872         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21874 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21876         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21877         Disable one test.
21879         [BZ #13787]
21880         [BZ #13922]
21881         [BZ #14036]
21882         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21883         (__ieee754_expl): Allow for and saturate large arguments.
21884         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21885         (u_threshold): Likewise.
21886         (__exp): Call __ieee754_exp before checking for overflow and
21887         underflow.
21888         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21889         (u_threshold): Likewise.
21890         (__expf): Call __ieee754_expf before checking for overflow and
21891         underflow.
21892         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21893         (u_threshold): Likewise.
21894         (__expl): Call __ieee754_expl before checking for overflow and
21895         underflow.
21896         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21897         (__ieee754_expl): Allow for and saturate large arguments.
21898         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21899         missing overflow exception on overflow.
21900         (expm1_test): Do not allow missing overflow exception on overflow.
21902         * sysdeps/i386/fpu/e_expl.c: Move to ...
21903         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21904         rather than using inline asm.
21905         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21906         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21907         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21909         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21910         (nice): Likewise.
21911         (poll): Likewise.
21912         (signal): Likewise.
21913         (time): Likewise.
21914         (times): Likewise.
21916 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21918         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21919         sysdeps/unix/common/syscalls.list.
21920         (fchmod): Likewise.
21921         (fchown): Likewise.
21922         (ftruncate): Likewise.
21923         (getrusage): Likewise.
21924         (gettimeofday): Likewise.
21925         (setpgid): Likewise.
21926         (setregid): Likewise.
21927         (setreuid): Likewise.
21928         (sigaction): Likewise.
21929         (truncate): Likewise.
21930         (vhangup): Likewise.
21931         * sysdeps/unix/common/syscalls.list: Remove file.
21932         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21933         * sysdeps/unix/sysv/linux/Implies: Likewise.
21935 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21937         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21939         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21940         Moved to ...
21941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21942         Here.
21943         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21944         to ...
21945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21946         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21947         to ...
21948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21949         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21950         to ...
21951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21952         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21953         to ...
21954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21955         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21956         to ...
21957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21958         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21959         to ...
21960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21961         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21962         to ...
21963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21964         Here.
21965         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21966         to ...
21967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21968         Here.
21969         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21970         to ...
21971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21972         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21973         Moved to ...
21974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21975         Here.
21976         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21977         to ...
21978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21980 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21982         * sysdeps/unix/common/bits/dirent.h: Remove file.
21983         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21985         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21986         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21987         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21988         * sysdeps/unix/bsd/isatty.c: Likewise.
21989         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21990         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21991         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21993 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21995         [BZ #13563]
21996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21997         long double comparison inaccuracies.
21998         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22001 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22003         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22004         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22006 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22008         [BZ #14049]
22009         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22010         nonzero digits before rounding a hex value.
22011         * stdlib/tst-strtod.c (tests): Add another test.
22013 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22015         * sysdeps/s390/fpu/libm-test-ulps: Update.
22017 2012-05-03  Andreas Jaeger  <aj@suse.de>
22019         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22020         does not get optimized out.
22021         (malloc_opt_barrier): New.
22023 2012-05-03  Andreas Jaeger  <aj@suse.de>
22024             Roland McGrath  <roland@hack.frob.com>
22026         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22027         intermediate file deletion.
22028         (generated): Add .symlist files.
22030 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22032         [BZ #13775]
22033         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22034         Redirect under this condition.
22035         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22036         [__USE_GNU] (__dprintf_chk): Not under this condition.
22037         [__USE_GNU] (__vdprintf_chk): Likewise.
22038         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22039         under this condition.
22040         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22041         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22042         [__USE_XOPEN2K8] (vdprintf): Likewise.
22043         [__USE_GNU] (__dprintf_chk): Not under this condition.
22044         [__USE_GNU] (__vdprintf_chk): Likewise.
22045         [__USE_GNU] (dprintf): Likewise.
22046         [__USE_GNU] (vdprintf): Likewise.
22048 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22050         * elf/Makefile (common-generated): Set this instead of generated for
22051         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22052         $(all-built-dso)-derived lists.
22054 2012-05-03  Andreas Jaeger  <aj@suse.de>
22056         * sysdeps/i386/fpu/libm-test-ulps: Update.
22058         * FAQ: Removed.
22059         * FAQ.in: Likewise.
22060         * scripts/gen-FAQ.pl: Likewise.
22061         * manual/install.texi (Installation): Point to online location of
22062         FAQ.
22063         * Makefile (files-for-dist): Remove FAQ.
22064         (FAQ): Remove.
22066 2012-05-02  Allan McRae  <allan@archlinux.org>
22068         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22069         (LDFLAGS-reldepmod5.so): Likewise.
22070         (LDFLAGS-reldep6mod1.so): Likewise.
22071         (LDFLAGS-reldep6mod4.so): Likewise.
22072         (LDFLAGS-reldep8mod3.so): Likewise.
22073         (LDFLAGS-unload4mod1.so): Likewise.
22074         (LDFLAGS-unload4mod2.so): Likewise.
22075         (LDFLAGS-tst-initorder): Likewise.
22076         (LDFLAGS-tst-initordera2.so): Likewise.
22077         (LDFLAGS-tst-initordera3.so): Likewise.
22078         (LDFLAGS-tst-initordera4.so): Likewise.
22079         (LDFLAGS-tst-initorderb2.so): Likewise.
22080         (LDFLAGS-noload): Likewise.
22081         (LDFLAGS-next): Likewise.
22082         (LDFLAGS-order2mod1.so): Likewise.
22083         (LDFLAGS-order2mod2.so): Likewise.
22084         (LDFLAGS-tst-initorder2): Likewise.
22085         (LDFLAGS-tst-initorder2a.so): Likewise.
22086         (LDFLAGS-tst-initorder2b.so): Likewise.
22087         (LDFLAGS-tst-initorder2c.so): Likewise.
22088         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22090 2012-05-02  David S. Miller  <davem@davemloft.net>
22092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22094 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22096         [BZ #14055]
22097         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22099 2012-05-02  Andreas Jaeger  <aj@suse.de>
22101         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22102         since we manipulate rounding mode.
22103         (CPPFLAGS-test-idouble.c): Likewise.
22104         (CPPFLAGS-test-ifloat.c): Likewise.
22105         (CFLAGS-test-ldouble.c): Likewise.
22106         (CFLAGS-test-double.c): Likewise.
22107         (CFLAGS-test-float.c): Likewise.
22108         (CFLAGS-test-misc.c): Likewise.
22109         (CFLAGS-test-test-fenv.c): Likewise.
22111 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22113         [BZ #2550]
22114         [BZ #2570]
22115         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22116         comparisons to determine direction to adjust input.
22118 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22120         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22121         output to the target.
22123         * scripts/localplt.awk: New file.
22124         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22125         (check-localplt-CFLAGS): Variable removed.
22126         ($(all-built-dso:=.jmprel)): New static pattern rule.
22127         (generated): Add those targets.
22128         (localplt-built-dso): New variable.
22129         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22131         * elf/check-localplt.c: File removed.
22133         * scripts/check-execstack.awk: New file.
22134         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22135         (check-execstack-CFLAGS): Variable removed.
22136         ($(objpfx)check-execstack.h): Target removed.
22137         ($(objpfx)execstack-default): New target.
22138         (generated): Add that instead of check-execstack.h.
22139         ($(all-built-dso:=.phdr)): New static pattern rule.
22140         (generated): Add those targets.
22141         * elf/check-execstack.c: File removed.
22143         * scripts/check-textrel.awk: New file.
22144         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22145         (check-textrel-CFLAGS): Variable removed.
22146         (all-built-dso): Use := to define.o
22147         ($(all-built-dso:=.dyn)): New static pattern rule.
22148         (generated): Add those targets.
22149         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22150         * config.make.in (READELF): New substituted variable.
22151         * elf/check-textrel.c: File removed.
22153 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22155         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22156         allow.
22157         * conform/data/ctype.h-data [C99-based standards] (isblank):
22158         Expect function.
22159         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22160         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22161         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22162         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22163         Specify type.  Require positive value.
22164         (EILSEQ): Likewise.
22165         (ERANGE): Likewise.
22166         [ISO || POSIX] (EILSEQ): Do not expect.
22167         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22168         Specify type.  Require positive value.
22169         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22170         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22171         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22172         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22173         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22174         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22175         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22176         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22177         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22178         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22179         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22180         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22181         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22182         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22183         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22184         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22185         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22186         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22187         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22188         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22189         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22190         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22191         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22192         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22193         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22194         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22195         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22196         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22197         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22198         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22199         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22200         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22201         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22202         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22203         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22204         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22205         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22206         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22207         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22208         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22209         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22210         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22211         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22212         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22213         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22214         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22215         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22216         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22217         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22218         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22219         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22220         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22221         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22222         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22223         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22224         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22225         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22226         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22227         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22228         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22229         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22230         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22231         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22232         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22233         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22234         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22235         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22236         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22237         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22238         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22239         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22240         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22241         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22242         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22243         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22244         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22245         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22246         Require >= 2.
22247         (FLT_ROUNDS): Expect as macro, not constant.
22248         (FLT_MANT_DIG): Use macro-int-constant.
22249         (DBL_MANT_DIG): Likewise.
22250         (LDBL_MANT_DIG): Likewise.
22251         (FLT_DIG): Likewise.
22252         (DBL_DIG): Likewise.
22253         (LDBL_DIG): Likewise.
22254         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22255         (DBL_MIN_EXP): Likewise.
22256         (LDBL_MIN_EXP): Likewise.
22257         (FLT_MAX_EXP): Use macro-int-constant.
22258         (DBL_MAX_EXP): Likewise.
22259         (LDBL_MAX_EXP): Likewise.
22260         (FLT_MAX_10_EXP): Likewise.
22261         (DBL_MAX_10_EXP): Likewise.
22262         (LDBL_MAX_10_EXP): Likewise.
22263         (FLT_MAX): Use macro-constant.
22264         (DBL_MAX): Likewise.
22265         (LDBL_MAX): Likewise.
22266         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22267         (DBL_EPSILON): Likewise.
22268         (LDBL_EPSILON): Likewise.
22269         (FLT_MIN): Likewise.
22270         (DBL_MIN): Likewise.
22271         (LDBL_MIN): Likewise.
22272         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22273         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22274         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22275         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22276         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22277         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22278         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22279         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22280         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22281         [ISO11] (FLT_TRUE_MIN): Likewise.
22282         [ISO11] (LDBL_TRUE_MIN): Likewise.
22283         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22284         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22285         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22286         (SCHAR_MAX): Likewise.
22287         (UCHAR_MAX): Likewise.
22288         (CHAR_MIN): Likewise.
22289         (CHAR_MAX): Likewise.
22290         (MB_LEN_MAX): Use macro-int-constant.
22291         (SHRT_MIN): Use macro-int-constant.  Specify type.
22292         (SHRT_MAX): Likewise.
22293         (USHRT_MAX): Likewise.
22294         (INT_MAX): Likewise.
22295         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22296         bound negative.
22297         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22298         bound with "U".
22299         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22300         bound with "L".
22301         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22302         bound negative.  Suffix upper bound with "L".
22303         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22304         bound with "UL".
22305         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22306         Specify type.
22307         [C99-based standards] (LLONG_MAX): Likewise.
22308         [C99-based standards] (ULLONG_MAX): Likewise.
22309         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22310         == 0.
22311         [ISO11] (max_align_t): Require type.
22312         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22314         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22315         from $CFLAGS, without defining away __attribute__ calls.
22316         (checknamespace): Use $CFLAGS_namespace.
22318         * conform/conformtest.pl (@keywords): Only include C99 keywords
22319         for standards based on C99 or C11.
22321         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22322         Disable tests.
22323         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22324         UNIX98]: Likewise.
22326         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22327         usability of symbols in #if.
22329         * conform/conformtest.pl: If macro or constant types start
22330         "promoted:", expect the symbol to be of the following type
22331         promoted by the integer promotions.
22333         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22334         in one place.  Also handle "macro-constant".
22336         * conform/conformtest.pl: Only accept expected macro values with
22337         "==".  Parse all "macro" lines in one place.
22338         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22340         * conform/conformtest.pl: Handle braced types on "constant" lines
22341         instead of handling "typed-constant".
22342         * conform/data/signal.h-data: Use "constant" instead of
22343         "typed-constant".
22345         * conform/conformtest.pl: Handle "optional-" at start of lines in
22346         one place rather than duplicating several cases.  Handle each
22347         format of "macro" line with initial "optional-".
22349         * conform/conformtest.pl: Only accept expected constant or
22350         optional-constant values with "==".  Parse all "constant" lines in
22351         one place.  Parse all "optional-constant" lines in one place.
22352         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22353         * conform/data/fmtmsg.h-data: Likewise.
22354         * conform/data/netinet/in.h-data: Likewise.
22355         * conform/data/tar.h-data: Likewise.
22356         * conform/data/limits.h-data: Use "==" form on "constant" and
22357         "optional-constant" lines.
22359         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22360         Use -std=c99 for XOPEN2K.
22361         (@knownproblems): Remove.
22362         (newtoken): Don't check %isknown.
22364         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22365         Do not expect macro.
22366         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22367         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22368         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22369         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22370         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22371         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22372         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22373         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22374         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22375         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22376         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22377         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22378         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22379         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22380         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22381         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22382         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22383         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22384         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22385         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22386         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22387         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22388         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22389         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22390         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22391         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22392         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22393         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22394         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22395         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22396         [XPG3] (acosh): Likewise.
22397         [XPG3] (asinh): Likewise.
22398         [XPG3] (atanh): Likewise.
22399         [XPG3] (cbrt): Likewise.
22400         [XPG3] (expm1): Likewise.
22401         [XPG3] (ilogb): Likewise.
22402         [XPG3] (log1p): Likewise.
22403         [XPG3] (logb): Likewise.
22404         [XPG3] (nextafter): Likewise.
22405         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22406         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22407         [XPG3] (remainder): Likewise.
22408         [XPG3] (rint): Likewise.
22409         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22410         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22411         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22412         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22413         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22414         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22415         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22416         [UNIX98 || XOPEN2K] (scalb): Expect.
22417         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22418         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22419         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22420         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22421         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22422         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22423         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22424         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22425         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22426         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22427         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22428         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22429         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22430         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22431         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22432         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22433         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22434         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22435         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22436         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22437         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22438         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22439         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22440         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22441         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22442         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22443         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22444         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22445         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22446         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22447         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22448         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22449         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22450         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22451         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22452         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22453         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22454         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22455         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22456         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22457         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22458         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22459         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22460         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22461         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22462         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22463         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22464         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22465         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22466         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22467         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22468         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22469         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22470         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22471         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22472         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22473         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22474         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22475         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22476         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22477         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22478         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22479         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22480         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22481         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22482         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22483         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22484         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22485         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22486         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22487         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22488         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22489         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22490         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22491         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22492         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22493         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22494         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22495         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22496         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22497         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22498         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22499         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22500         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22501         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22502         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22503         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22504         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22505         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22506         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22507         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22508         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22509         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22510         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22511         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22512         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22513         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22514         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22515         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22516         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22517         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22518         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22519         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22520         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22521         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22522         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22523         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22524         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22525         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22526         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22527         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22528         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22529         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22530         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22531         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22532         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22533         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22534         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22535         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22536         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22537         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22538         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22539         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22540         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22541         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22542         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22543         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22544         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22545         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22546         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22547         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22548         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22549         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22550         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22551         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22552         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22553         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22555         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22556         _XOPEN_SOURCE_EXTENDED for XPG4.
22558         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22560         * Makeconfig (localtime): Remove variable.
22561         (inst_localtime-file): Likewise.
22563 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22566         Update.
22567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22568         Update.
22569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22570         Update.
22571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22572         Update.
22573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22574         Update.
22575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22576         Update.
22577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22578         Update.
22579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22580         Update.
22581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22582         Update.
22584 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22586         [BZ #2550]
22587         [BZ #2570]
22588         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22589         comparisons to determine direction to adjust input.
22590         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22591         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22592         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22593         Likewise.
22594         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22595         Likewise.
22596         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22597         Likewise.
22598         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22599         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22600         Likewise.
22601         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22602         Likewise.
22603         * math/libm-test.inc (nexttoward_test): Add more tests.
22605 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22607         [BZ #14040]
22608         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22609         in version GLIBC_2.1, not GLIBC_2.0.
22610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22611         Likewise.
22613 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22615         [BZ #13942]
22616         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22617         (1 - x) * (1 + x).
22618         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22619         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22620         * math/libm-test.inc (acos_test): Add more tests.
22621         (asin_test): Likewise.
22622         * sysdeps/i386/fpu/libm-test-ulps: Update.
22623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22625         [BZ #14034]
22626         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22627         of square root.
22628         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22629         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22630         * math/libm-test.inc (acos_test_tonearest): New function.
22631         (acos_test_towardzero): Likewise.
22632         (acos_test_downward): Likewise.
22633         (acos_test_upward): Likewise.
22634         (asin_test_tonearest): Likewise.
22635         (asin_test_towardzero): Likewise.
22636         (asin_test_downward): Likewise.
22637         (asin_test_upward): Likewise.
22638         (main): Call the new functions.
22639         * sysdeps/i386/fpu/libm-test-ulps: Update.
22640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22642         [BZ #13884]
22643         [BZ #13924]
22644         * math/e_exp10.c: Include <float.h>.
22645         (__ieee754_exp10): Handle underflow here rather than multiplying
22646         large negative argument by M_LN10.
22647         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22648         of __ieee754_expf.
22649         * math/e_exp10l.c: Include <float.h>.
22650         (__ieee754_exp10l): Handle underflow here rather than multiplying
22651         large negative argument by M_LN10l.
22652         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22653         spurious overflow exception on underflow.
22655 2012-04-29  Marek Polacek  <polacek@redhat.com>
22657         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22658         (__fortify_function): New macro.
22659         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22660         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22661         __extern_always_inline.
22662         * libio/bits/stdio2.h: Likewise.
22663         * libio/bits/stdio.h: Likewise.
22664         * string/string.h: Likewise.
22665         * string/bits/string3.h: Likewise.
22666         * include/stdio.h: Likewise.
22667         * stdlib/bits/stdlib.h: Likewise.
22668         * stdlib/stdlib.h: Likewise.
22669         * rt/bits/mqueue2.h: Likewise.
22670         * rt/mqueue.h: Likewise.
22671         * posix/bits/unistd.h: Likewise.
22672         * posix/unistd.h: Likewise.
22673         * io/bits/poll2.h: Likewise.
22674         * io/bits/fcntl2.h: Likewise.
22675         * io/fcntl.h: Likewise.
22676         * io/sys/poll.h: Likewise.
22677         * misc/bits/syslog.h: Likewise.
22678         * misc/bits/syslog-ldbl.h: Likewise.
22679         * misc/sys/syslog.h: Likewise.
22680         * socket/bits/socket2.h: Likewise.
22681         * socket/sys/socket.h: Likewise.
22682         * debug/tst-chk1.c: Likewise.
22683         * wcsmbs/bits/wchar2.h: Likewise.
22684         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22685         * wcsmbs/wchar.h: Likewise.
22687 2012-04-29  Andreas Jaeger  <aj@suse.de>
22689         * Makerules (tests): Remove enable-check-abi protection.
22690         (check-abi-warn): Remove.
22691         (check-abi-%): Remove check-abi-warn usage.
22693         * configure.in: Remove check-abi configure option.
22694         * configure: Regenerated.
22695         * config.make.in (enable-check-abi): Remove.
22697 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22699         [BZ #14033]
22700         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22701         double functions to double *_finite functions.
22703         [BZ #13941]
22704         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22705         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22706         LDBL_MIN_EXP.
22707         * stdio-common/Makefile (tests): Add tst-sprintf3.
22708         * stdio-common/tst-sprintf3.c: New file.
22710         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22711         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22713 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22715         * conform/conformtest.pl: Remove duplicate typed-constant
22716         handling.
22718 2012-04-28  David S. Miller  <davem@davemloft.net>
22720         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22721         (check-abi-%): Remove AWK script prerequisite and explicit
22722         abilist directory.
22723         (check-abi): Rewrite to just diff the symlist with the abilist.
22724         (config-tls, config-abi-config): Delete, no longer used.
22725         (update-abi-%): Remove AWK script and explicit abilist directory.
22726         (update-abi): Rewrite to simply compare and conditionally copy the
22727         symlist and the sysdep abilist file.  Remove update-abi-config
22728         checks.
22729         * abilist/ld.abilist: Remove.
22730         * abilist/libBrokenLocale.abilist: Remove.
22731         * abilist/libanl.abilist: Remove.
22732         * abilist/libcrypt.abilist: Remove.
22733         * abilist/libdl.abilist: Remove.
22734         * abilist/librt.abilist: Remove.
22735         * abilist/libthread_db.abilist: Remove.
22736         * abilist/libutil.abilist: Remove.
22737         * scripts/extract-abilist.awk: Remove.
22738         * scripts/merge-abilist.awk: Remove.
22739         * sysdeps/generic/libcidn.abilist: New file.
22740         * sysdeps/generic/libnss_compat.abilist: New file.
22741         * sysdeps/generic/libnss_db.abilist: New file.
22742         * sysdeps/generic/libnss_dns.abilist: New file.
22743         * sysdeps/generic/libnss_files.abilist: New file.
22744         * sysdeps/generic/libnss_hesiod.abilist: New file.
22745         * sysdeps/generic/libnss_nis.abilist: New file.
22746         * sysdeps/generic/libnss_nisplus.abilist: New file.
22747         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22748         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22749         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22750         file.
22751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22752         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22753         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22754         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22755         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22756         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22757         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22758         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22759         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22760         file.
22761         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22762         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22763         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22764         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22765         file.
22766         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22767         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22768         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22769         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22770         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22771         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22772         file.
22773         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22774         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22775         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22776         file.
22777         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22779         New file.
22780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22781         New file.
22782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22783         New file.
22784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22785         New file.
22786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22787         New file.
22788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22789         New file.
22790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22791         New file.
22792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22793         New file.
22794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22795         New file.
22796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22797         New file.
22798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22799         New file.
22800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22801         New file.
22802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22803         New file.
22804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22805         file.
22806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22807         New file.
22808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22809         New file.
22810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22811         file.
22812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22813         New file.
22814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22815         New file.
22816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22817         file.
22818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22819         New file.
22820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22821         New file.
22822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22823         New file.
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22825         New file.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22827         New file.
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22829         New file.
22830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22832         file.
22833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22834         New file.
22835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22836         file.
22837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22838         file.
22839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22840         file.
22841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22842         file.
22843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22844         file.
22845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22846         New file.
22847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22848         file.
22849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22850         file.
22851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22852         New file.
22853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22854         file.
22855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22857         file.
22858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22859         New file.
22860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22861         file.
22862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22863         file.
22864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22865         file.
22866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22867         file.
22868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22869         file.
22870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22871         New file.
22872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22873         file.
22874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22875         file.
22876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22877         New file.
22878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22879         file.
22880         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22881         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22882         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22883         file.
22884         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22885         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22886         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22887         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22888         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22889         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22890         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22891         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22892         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22893         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22896         file.
22897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22898         New file.
22899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22900         file.
22901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22902         file.
22903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22904         file.
22905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22906         file.
22907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22908         file.
22909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22910         New file.
22911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22912         New file.
22913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22914         file.
22915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22916         New file.
22917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22918         file.
22919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22921         file.
22922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22923         New file.
22924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22925         file.
22926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22927         file.
22928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22929         file.
22930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22931         file.
22932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22933         file.
22934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22935         New file.
22936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22937         New file.
22938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22939         file.
22940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22941         New file.
22942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22943         file.
22945 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22947         * conform/conformtest.pl: Fix typo in handling typed-constant from
22948         allow-header.
22950 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22952         * README: Cut down references to pre-2.6 Linux kernels and
22953         Linuxthreads.  Update lists of configurations in libc and ports
22954         and sort alphabetically.  Say "or newer" with Linux kernel version
22955         requirements.
22957         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22959 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22961         [BZ #887]
22962         * math/libm-test.inc (logb_test_downward): New test to expose
22963         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22964         rounding mode.
22966 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22968         [BZ #14027]
22969         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22970         to be done.
22971         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22972         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22974 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22976         * sysdeps/unix/i386/brk.S: Remove file.
22977         * sysdeps/unix/i386/dl-brk.S: Likewise.
22978         * sysdeps/unix/i386/pipe.S: Likewise.
22979         * sysdeps/unix/i386/sigreturn.S: Likewise.
22980         * sysdeps/unix/i386/syscall.S: Likewise.
22981         * sysdeps/unix/i386/vfork.S: Likewise.
22982         * sysdeps/unix/i386/wait.S: Likewise.
22984         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22985         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22987         * configure.in (arm*-none*): Do not allow without
22988         --enable-hacker-mode.
22989         (netbsd*): Remove case setting base_os.
22990         (386bsd*): Likewise.
22991         (freebsd*): Likewise.
22992         (bsdi*): Likewise.
22993         (osf*): Likewise.
22994         (sunos*): Likewise.
22995         (ultrix*): Likewise.
22996         (newsos*): Likewise.
22997         (dynix*): Likewise.
22998         (*bsd*): Likewise.
22999         (sysv*): Likewise.
23000         (isc*): Likewise.
23001         (esix*): Likewise.
23002         (sco*): Likewise.
23003         (minix*): Likewise.
23004         (irix4*): Likewise.
23005         (irix6*): Likewise.
23006         (solaris[2-9]*): Likewise.
23007         (none): Likewise.
23008         * configure: Regenerated.
23010 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23012         [BZ #11521]
23013         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23014         overflow or cancellation in calculating denominator.
23015         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23016         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23017         down expression to avoid unexpected rounding in newer GCCs.
23018         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23020 2012-04-26  David S. Miller  <davem@davemloft.net>
23022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23023         long-double compat symbols.
23024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23038 2012-04-25  David S. Miller  <davem@davemloft.net>
23040         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23041         HWCAP_* values only after the memory barriers have been defined.
23042         (atomic_full_barrier): Define.
23043         (atomic_read_barrier): Define.
23044         (atomic_write_barrier): Define.
23046 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23048         * shlib-versions: Add libgcc_s version information.
23049         * sysdeps/generic/libgcc_s.h: Remove.
23050         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23051         libgcc_s.h.
23052         * sysdeps/gnu/unwind-resume.c: Likewise.
23053         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23055 2012-04-25  David S. Miller  <davem@davemloft.net>
23057         * sysdeps/unix/sparc/brk.S: Delete.
23058         * sysdeps/unix/sparc/dl-brk.S: Delete.
23059         * sysdeps/unix/sparc/pipe.S: Delete.
23060         * sysdeps/unix/sparc/sysdep.S: Delete.
23061         * sysdeps/unix/sparc/sysdep.h: Delete.
23062         * sysdeps/unix/sparc/vfork.S: Delete.
23063         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23064         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23065         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23066         ret_ERRVAL, r0, r1, MOVE): Define.
23067         (JUMPTARGET): Remove.
23068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23069         sysdeps/unix/sparc/sysdep.h
23070         (ENTRY, END): Remove.
23071         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23073 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23075         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23076         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23077         -DIS_IN_build.
23079         * timezone/README: Update upstream location and email address for
23080         tzcode and tzdata.
23081         * timezone/zdump.c: Update from tzcode 2012b.
23082         * timezone/zic.c: Likewise.
23084         * configure.in (libc_cv_as_needed): Remove test.
23085         * configure: Regenerated.
23086         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23087         conditional definition.
23088         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23089         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23090         * config.make.in (have-as-needed): Remove variable.
23092 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23093             Paul Pluzhnikov  <ppluzhnikov@google.com>
23095         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23096         strings correctly.
23098 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23100         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23101         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23102         * sysdeps/sh/strlen.S: Likewise.
23104 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23106         * sysdeps/unix/fork.S: Remove file.
23107         * sysdeps/unix/i386/fork.S: Likewise.
23108         * sysdeps/unix/sparc/fork.S: Likewise.
23110         * sysdeps/unix/system.c: Remove file.
23111         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23113         * sysdeps/unix/getegid.S: Remove file.
23114         * sysdeps/unix/geteuid.S: Likewise.
23116 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23118         * scripts/check-localplt.awk: New file.
23119         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23120         of diff.
23121         * scripts/data/localplt-generic.data: Add a comment.
23123         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23124         NODE when __dir_mkfile failed.
23125         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23126         Reported by Ludovic Courtès <ludo@gnu.org>.
23128 2012-04-24  Andreas Jaeger  <aj@suse.de>
23130         * Makerules (common-clean): Also remove gen-as-const-headers
23131         files.
23133 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23135         * Makerules (native-compile): Do not change working directory for
23136         build.  Use $(OUTPUT_OPTION) in command.
23137         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23139 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23141         [BZ #13886]
23142         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23143         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23144         * math/libm-test.inc (floor_test): Add more tests.
23145         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23147 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23149         * sysdeps/unix/getdents.c: Remove file.
23150         * sysdeps/unix/sysv/getdents.c: Likewise.
23151         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23153         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23154         sysdeps/unix/mman/syscalls.list.
23155         (mmap): Likewise.
23156         (mprotect): Likewise.
23157         (msync): Likewise.
23158         (munmap): Likewise.
23159         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23160         * sysdeps/unix/mman/syscalls.list: Remove.
23161         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23163         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23164         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23165         * configure: Regenerated.
23166         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23167         $(libgcc_s_suffix).
23168         * config.make.in (libgcc_s_suffix): Remove variable.
23170 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23172         * sysdeps/unix/sysv/gethostname.c: Move to ...
23173         * sysdeps/posix/gethostname.c: ... here.
23175         * sysdeps/unix/execve.S: Remove file.
23177         * sysdeps/unix/_exit.S: Remove file.
23179 2012-04-23  Andreas Jaeger  <aj@suse.de>
23181         [BZ #13739]
23182         * manual/Makefile: Remove make dist support, there's no
23183         need for a stand-alone documentation tar ball.
23184         (TEXI2DVI): Define always, it's not in Makeconfig.
23185         (dist): Removed.
23186         (tar-it): Removed.
23187         (edition): Removed.
23188         (glibc-doc-$(edition).tar): Removed
23189         (%.Z): Removed.
23190         (%.gz): Removed.
23191         (%.uu): Removed.
23192         (ETAGS): Remove, it's in Makeconfig.
23193         (move-if-change): Remove, it's in Makeconfig.
23195 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23197         [BZ #13970]
23198         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23199         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23200         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23201         (strtod_l, strtof_l, strtold_l): Remove __wur.
23202         It is not necessarily an error to ignore strtol's return value.
23203         One can reliably look at the stored endptr to decide whether
23204         the number had valid syntax.
23206 2012-04-21  Andreas Jaeger  <aj@suse.de>
23208         [BZ #13739]
23209         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23211 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23213         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23214         * sysdeps/unix/sysv/Versions: Remove file.
23216 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23218         [BZ #13927]
23219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23221 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23223         [BZ #7064]
23224         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23225         version from __vm86.
23227 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23229         * sysdeps/unix/common/lxstat.c: Remove file.
23230         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23232         * sysdeps/unix/sysv/Makefile: Remove file.
23234         * sysdeps/unix/sysv/direct.h: Remove file.
23236         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23237         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23238         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23239         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23240         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23241         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23242         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23244         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23246         * sysdeps/unix/xmknod.c: Remove file.
23247         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23249         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23251         * sysdeps/unix/sysv/i386/time.S: Remove file.
23253         * sysdeps/unix/fxstat.c: Remove file.
23254         * sysdeps/unix/xstat.c: Likewise.
23255         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23257         * sysdeps/unix/sysv/sigaction.c: Remove file.
23259         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23260         (sysdep_headers): Remove variable.
23261         [termio.h not in sysdep_headers] (generated): Likewise.
23262         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23263         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23264         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23265         * sysdeps/unix/sysv/tcflow.c: Likewise.
23266         * sysdeps/unix/sysv/tcflush.c: Likewise.
23267         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23268         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23269         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23270         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23271         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23273         * sysdeps/unix/siglist.c: Remove file.
23275         * sysdeps/unix/getppid.S: Remove file.
23277         * sysdeps/unix/mkdir.c: Remove file.
23278         * sysdeps/unix/rmdir.c: Likewise.
23280 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23282         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23283         ERR_MAX value.
23284         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23285         errlist-compat value.
23287 2012-04-18  David S. Miller  <davem@davemloft.net>
23289         * sysdeps/generic/memcopy.h (reg_char): Delete.
23290         * debug/strcat_chk.c: Use char, not reg_char.
23291         * debug/strcpy_chk.c: Likewise.
23292         * debug/strncat_chk.c: Likewise.
23293         * debug/strncpy_chk.c: Likewise.
23294         * string/memchr.c: Likewise.
23295         * string/memrchr.c: Likewise.
23296         * string/rawmemchr.c: Likewise.
23297         * string/strcat.c: Likewise.
23298         * string/strchr.c: Likewise.
23299         * string/strchrnul.c: Likewise.
23300         * string/strcmp.c: Likewise.
23301         * string/strcpy.c: Likewise.
23302         * string/strncat.c: Likewise.
23303         * string/strncmp.c: Likewise.
23304         * string/strncpy.c: Likewise.
23306 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23308         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23309         __builtin_memcopy is called when src and dest ranges are known to not
23310         overlap.
23312 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23314         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23315         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23316         fwd_align_merge macro call.
23317         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23318         bwd_align_merge macro call.
23319         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23321 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23323         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23324         bwd_align_merge macros.
23325         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23326         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23329 2012-04-18  David S. Miller  <davem@davemloft.net>
23331         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23333 2012-04-18  Andreas Jaeger  <aj@suse.de>
23335         [BZ# 6794]
23336         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23337         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23338         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23340         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23341         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23342         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23344         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23345         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23346         Adjust for changed ldbl-128 files.
23348         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23349         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23350         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23352 2012-04-17  David S. Miller  <davem@davemloft.net>
23354         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23356 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23358         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23359         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23360         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23361         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23362         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23363         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23365 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23367         [BZ #6794]
23368         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23369         * math/libm-test.inc: Add ilogb errno and exception tests.
23370         * math/w_ilogb.c: New file: ilogb wrapper.
23371         * math/w_ilogbf.c: New file: ilogbf wrapper.
23372         * math/w_ilogbl.c: New file: ilogbl wrapper.
23373         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23374         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23375         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23376         exception being thrown with 0.0 as argument.
23377         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23378         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23379         exception being thrown with 0.0 as argument.
23380         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23381         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23382         exception being thrown with 0.0 as argument.
23383         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23384         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23385         exception being thrown with 0.0 as argument.
23386         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23387         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23388         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23389         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23390         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23391         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23392         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23393         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23394         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23396 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23398         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23399         with altivec.
23401 2012-04-16  Marek Polacek  <polacek@redhat.com>
23403         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23405 2012-04-16  Marek Polacek  <polacek@redhat.com>
23407         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23408         operands of fdivp instruction.
23410 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23412         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23413         * elf/tst-auditmod3b.c: Likewise.
23414         * elf/tst-auditmod4b.c: Likewise.
23415         * elf/tst-auditmod5b.c: Likewise.
23416         * elf/tst-auditmod6b.c: Likewise.
23417         * elf/tst-auditmod6c.c: Likewise.
23418         * elf/tst-auditmod7b.c: Likewise.
23419         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23420         * sysdeps/x86_64/preconfigure.in: Likewise.
23421         * sysdeps/x86_64/preconfigure: Regenerated.
23423 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23425         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23426         __ILP32__.
23428 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23430         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23431         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23433 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23435         [BZ #13973]
23436         * locale/iso-639.def: Fix gl language name. Spotted by
23437         Yaron Shahrabani.
23439 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23441         [BZ #2074]
23442         * libio/libio.h (__io_write_fn): Update comment.
23444 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23446         [BZ #2074]
23447         * stdio.texi (Hook Functions): The user provided writer function
23448         is not allowed to return -1.
23450 2012-04-11  David S. Miller  <davem@davemloft.net>
23452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23454 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23456         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23457         Add a leading slash to rtkaio.
23459 2012-04-11  Jim Meyering  <meyering@redhat.com>
23461         [BZ #11959]
23462         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23463         It is not necessarily an error to ignore fwrite's return
23464         value.  One can reliably use ferror to test for errors after
23465         the fact.
23467 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23469         * bits/types.h (__snseconds_t): New type.
23470         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23472         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23474         (__SNSECONDS_T_TYPE): Likewise.
23475         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23476         (__SNSECONDS_T_TYPE): Likewise.
23477         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23478         (__SNSECONDS_T_TYPE): Likewise.
23480 2012-04-10  Andreas Jaeger  <aj@suse.de>
23482         [BZ #2636]
23483         * manual/time.texi (Processor Time): Return type of times is
23484         elapsed real time since an arbitrary point in the past.
23485         (CPU Time): Move CLK_TCK from here...
23486         (Processor Time): ...to here.  Correct description.
23487         * manual/conf.texi (Constants for Sysconf): Correct description of
23488         _SC_CLK_TCK.
23490 2012-04-10  David S. Miller  <davem@davemloft.net>
23492         [BZ #13967]
23493         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23494         where the is a gap between DT_REL(A) and DT_JMPREL.
23496 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23498         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23499         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23500         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23502 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23504         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23505         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23506         (dl_main): Handle --inhibit-cache.
23507         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23508         _dl_inhibit_cache.
23509         * elf/dl-load.c (_dl_map_object): Use it.
23510         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23512 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23514         [BZ #13872]
23515         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23516         (__ieee754_powl): Saturate large exponents rather than testing for
23517         overflow of y*log2(x).
23518         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23519         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23520         exceptions.
23522         [BZ #11521]
23523         * math/s_ctan.c: Include <float.h>.
23524         (__ctan): Avoid internal overflow or cancellation in calculating
23525         denominator.
23526         * math/s_ctanf.c: Likewise.
23527         * math/s_ctanl.c: Likewise.
23528         * math/s_ctanh.c: Likewise.
23529         * math/s_ctanhf.c: Likewise.
23530         * math/s_ctanhl.c: Likewise.
23531         * math/libm-test.inc (ctan_test): Add more tests.
23532         (ctanh_test): Likewise.
23533         * sysdeps/i386/fpu/libm-test-ulps: Update.
23534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23536 2012-04-09  Andreas Jaeger  <aj@suse.de>
23538         [BZ #6894]
23539         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23540         is an optional BSD extension.
23542         [BZ #10254]
23543         * manual/stdio.texi (Opening Streams): Document additional fopen
23544         parameters.
23546 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23548         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23549         %eax without telling the compiler.
23551 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23553         [BZ # 13963]
23554         * manual/install.texi: Use sourceware.org.
23556 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23558         [BZ #13873]
23559         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23560         (__ieee754_pow): Generate overflow and underflow using huge*huge
23561         and tiny*tiny rather than just returning constant infinity or zero
23562         for large exponents.
23563         * math/libm-test.inc (pow_test): Require overflow exceptions for
23564         applicable cases of large exponents.
23566         [BZ #706]
23567         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23568         (__ieee754_pow): Use iterative multiplication algorithm only for
23569         integer exponents with absolute value below 1024.  Check for odd
23570         integer exponents when using algorithm for real exponents.
23571         * math/libm-test.inc (pow_test): Add more tests.
23572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23574 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23576         [BZ #13705]
23577         * math/libm-test.inc (exp_test): Do not allow overflow exception
23578         on underflow test.
23580 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23582         [BZ #13705]
23583         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23584         instead of __kernel_standard_f.
23586 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23588         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23589         * sysdeps/x86_64/memset_chk.S: Likewise.
23591 2012-04-08  Andreas Jaeger  <aj@suse.de>
23593         [BZ #10153]
23594         * manual/startup.texi (Environment Access): Describe return value
23595         for putenv and setenv.
23597         [BZ #6895]
23598         * manual/filesys.texi (Directory Entries): Add description for
23599         DT_LNK.
23601         [BZ #6890]
23602         * manual/filesys.texi (Directory Entries): Clarify that it's file
23603         system not operating system in the description of DT_UNKNOWN.
23605         [BZ #6578]
23606         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23608 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23610         [BZ #6649]
23611         * manual/llio.texi (Opening and Closing Files): Add cross
23612         reference to explain mode argument.
23614 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23616         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23617         * sysdeps/x86_64/memset_chk.S: Likewise.
23619 2012-04-07  David S. Miller  <davem@davemloft.net>
23621         * elf/elf.h (R_SPARC_WDISP10): Define.
23622         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23623         R_SPARC_SIZE32.
23624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23625         R_SPARC_SIZE64 and R_SPARC_H34.
23627 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23629         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23630         conditions and remove no longer applicable assertion.
23632 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23634         * bits/byteswap.h: Include <features.h>.
23635         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23636         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23638 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23640         * bits/byteswap.h (__bswap_16): Removed.
23641         Include <bits/byteswap-16.h> to get __bswap_16.
23642         * sysdeps/i386/bits/byteswap.h: Likewise.
23643         * sysdeps/s390/bits/byteswap.h: Likewise.
23644         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23645         * bits/byteswap-16.h: New file.
23646         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23647         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23648         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23649         * string/Makefile (headers): Add bits/byteswap-16.h.
23651 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23653         [BZ #13895]
23654         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23655         extra indirection.
23656         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23657         * nss/tst-nss-static.c: New.
23659 2012-04-06  Robert Millan  <rmh@gnu.org>
23661         [BZ #6486]
23662         * manual/llio.texi (File Position Primitive): lseek
23663         refers to WHENCE when it really means OFFSET.
23665 2012-04-06  Andreas Jaeger  <aj@suse.de>
23667         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23668         strncmp declarations.
23670         * abilist/libc.abilist: Add __poll and __ppoll.
23672 2012-04-05  David S. Miller  <davem@davemloft.net>
23674         * scripts/check-local-headers.sh: Accept a host triplet in the
23675         path matched by the exclude regexp.
23677         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23678         definition.
23679         * sysdeps/powerpc/powerpc32/dl-machine.h
23680         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23681         * sysdeps/s390/s390-32/dl-machine.h
23682         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23683         * sysdeps/sparc/sparc32/dl-machine.h
23684         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23685         * sysdeps/sparc/sparc64/dl-machine.h
23686         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23688         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23689         lazy binding.
23690         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23691         undefined symbol errors.
23693         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23694         DT_NEEDED entries.
23696 2012-04-05  Michael Matz  <matz@suse.de>
23698         [BZ #13592]
23699         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23701 2012-04-05  Andreas Jaeger  <aj@suse.de>
23703         [BZ #13908]
23704         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23705         comment.
23707 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23709         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23710         which ROUND is no valid rounding mode.
23712 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23715         read again.
23716         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23718 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23720         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23721         an exception using FPU order intentionally.
23723 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23725         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23726         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23727         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23728         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23730 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23732         [BZ #12340]
23733         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23734         EINVAL when BUFLEN is too smal.
23736 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23738         [BZ #13553]
23739         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23740         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23742 2012-04-03  Andreas Jaeger  <aj@suse.de>
23744         [BZ #13938]
23745         * manual/setjmp.texi (System V contexts): Fix sentence.
23747         [BZ #13926]
23748         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23749         New macro for this case.
23750         [!__GNUC__] (__bswap_64): New inline function for this case.
23751         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23752         * bits/byteswap.h: Likewise.
23753         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23754         ull, guard with __GLIBC_HAVE_LONG_LONG.
23756         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23757         __GLIBC_HAVE_LONG_LONG.
23759         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23760         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23762 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23764         [BZ #13691]
23765         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23766         inptr and inend, rather than using last_ch.
23768 2012-04-02  David S. Miller  <davem@davemloft.net>
23770         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23771         * stdio-common/printf-parse.h (read_int): Change return type to
23772         'int', return -1 on INT_MAX overflow.
23773         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23774         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23775         overflows INT_MAX.  Check for overflow of in-format-string precision
23776         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23777         SIZE_MAX not INT_MAX for integer overflow test.
23778         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23779         skip the construct in the format string but do not record anything.
23780         * stdio-common/bug22.c: Adjust to test both width/prevision
23781         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23782         explicitly for proper errno values.
23784 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23786         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23787         CHAR_MAX.
23788         * string/test-strcmp.c [! WIDE]: Likewise.
23789         * time/tst-mktime2.c: Likewise for INT_MAX.
23790         * string/test-string.h: #include <sys/param.h> for MIN.
23792         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23793         * sysdeps/i386/init-first.c (init): Likewise.
23794         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23795         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23796         * sysdeps/sh/init-first.c (init): Likewise.
23798 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23800         * po/ru.po: Update from translation team.
23801         * po/vi.po: Likewise.
23803 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23805         * resolv/nss_dns/dns-host.c: Merge copyright years.
23807 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23809         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23810         Optimize memcpy with prefetch if
23811         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23812         src, dst pointers have unequal 16 byte alignments.
23814 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23816         [BZ #13928]
23817         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23818         from a CNAME entry and return the minimum ttl for the query.
23819         (gaih_getanswer_slice): Likewise.
23821 2012-03-30  Jeff Law  <law@redhat.com>
23823         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23824         due to long keys.
23825         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23826         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23828         * resolv/nss_dns/dns-host.c: Update copyright year.
23830 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23832         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23833         requests to save a system call.  Fix check that all bytes are sent.
23835         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23836         comments for sendmmsg.
23838 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23840         [BZ #13691]
23841         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23842         with only 1 character between 0x0041 and 0x01b0.
23843         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23844         * wcsmbs/tst-mbsnrtowcs.c: New file.
23846 2012-03-29  David S. Miller  <davem@davemloft.net>
23848         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23849         small copies by hand.
23851 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23853         [BZ #13761]
23854         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23855         _nss_compat_initgroups_dyn): Fall back to malloc/free
23856         for large group memberships.
23858 2012-03-28  David S. Miller  <davem@davemloft.net>
23860         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23861         that branches into memcpy.
23862         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23863         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23865         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23867         bits.
23868         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23869         implementation too.
23870         * sysdeps/sparc/mempcpy.S: New file.
23872         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23873         the IFUNC routine in the libc case.
23874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23876         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23877         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23878         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23879         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23880         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23881         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23882         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23883         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23885         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23886         loop to 256 bytes instead of 64 bytes and fix test signedness.
23888         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23889         * sysdeps/sparc/sparc32/Makefile: rather than here...
23890         * sysdeps/sparc/sparc64/Makefile: and here.
23892 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23894         * malloc/mallocbug.c: Avoid warnings about unused variables.
23896 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23898         [BZ #13760]
23899         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23900         in the right place. Discard and retry query if response is
23901         larger than input buffer size.
23903 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23905         [BZ #369]
23906         [BZ #2678]
23907         [BZ #3866]
23908         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23909         x for large integer exponent.
23910         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23911         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23912         sign of result as needed afterwards.
23913         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23914         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23915         result for underflowing pow the same as for overflow.
23916         (__kernel_standard_l): Handle powl overflow and underflow here
23917         rather than calling __kernel_standard.
23918         * math/libm-test.inc (pow_test): Add more tests.
23920         [BZ #3868]
23921         [BZ #13879]
23922         [BZ #13910]
23923         [BZ #13911]
23924         [BZ #13912]
23925         [BZ #13913]
23926         [BZ #13915]
23927         [BZ #13916]
23928         [BZ #13917]
23929         [BZ #13918]
23930         [BZ #13919]
23931         [BZ #13920]
23932         [BZ #13921]
23933         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23934         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23935         (__kernel_standard_l): New function.
23936         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23937         __kernel_standard.
23938         * math/w_acosl.c (__acosl): Likewise.
23939         * math/w_asinl.c (__asinl): Likewise.
23940         * math/w_atan2l.c (__atan2l): Likewise.
23941         * math/w_atanhl.c (__atanhl): Likewise.
23942         * math/w_coshl.c (__coshl): Likewise.
23943         * math/w_exp10l.c (__exp10l): Likewise.
23944         * math/w_exp2l.c (__exp2l): Likewise.
23945         * math/w_fmodl.c (__fmodl): Likewise.
23946         * math/w_hypotl.c (__hypotl): Likewise.
23947         * math/w_j0l.c (__j0l, __y0l): Likewise.
23948         * math/w_j1l.c (__j1l, __y1l): Likewise.
23949         * math/w_jnl.c (__jnl, __ynl): Likewise.
23950         * math/w_lgammal.c (__lgammal): Likewise.
23951         * math/w_log10l.c (__log10l): Likewise.
23952         * math/w_log2l.c (__log2l): Likewise.
23953         * math/w_logl.c (__logl): Likewise.
23954         * math/w_powl.c (__powl): Likewise.
23955         * math/w_remainderl.c (__remainderl): Likewise.
23956         * math/w_scalbl.c (sysv_scalbl): Likewise.
23957         * math/w_sinhl.c (__sinhl): Likewise.
23958         * math/w_sqrtl.c (__sqrtl): Likewise.
23959         * math/w_tgammal.c (__tgammal): Likewise.
23960         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23961         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23962         * math/libm-test.inc (acos_test): Add more tests.
23963         (acosh_test): Likewise.
23964         (asin_test): Likewise.
23965         (atanh_test): Likewise.
23966         (exp_test): Likewise.
23967         (exp10_test): Likewise.
23968         (exp2_test): Likewise.
23969         (expm1_test): Likewise.
23970         (lgamma_test): Likewise.
23971         (log_test): Likewise.
23972         (log10_test): Likewise.
23973         (log1p_test): Likewise.
23974         (log2_test): Likewise.
23975         (pow_test): Do not allow some spurious overflow exceptions.
23976         (sqrt_test): Add more tests.
23977         (tgamma_test): Likewise.
23978         (y0_test): Likewise.
23979         (y1_test): Likewise.
23980         (yn_test): Likewise.
23982 2012-03-27  Anton Blanchard  <anton@samba.org>
23984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23985         MAP_HUGETLB.
23986         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23987         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23988         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23990 2012-03-27  David S. Miller  <davem@davemloft.net>
23992         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23994         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23995         have-as-vis3 check.
23997 2012-03-27  Andreas Jaeger  <aj@suse.de>
23999         * sysdeps/x86_64/elf/configure.in: Moved to ...
24000         * sysdeps/x86_64/configure.in: ... here.
24001         * sysdeps/x86_64/elf/start.S: Moved to ...
24002         * sysdeps/x86_64/start.S: ... here.
24003         * sysdeps/x86_64/elf/configure: Delete.
24005         * sysdeps/x86_64/configure.in: Merge contents from
24006         sysdeps/i386/configure.in (without i686 check).
24008         * sysdeps/i386/elf/Versions: Merge into ...
24009         * sysdeps/i386/Versions: ... this.
24010         * sysdeps/i386/elf/Versions: Delete file.
24011         * sysdeps/i386/elf/start.S: Moved to ...
24012         * sysdeps/i386/start.S: ...here.
24013         * sysdeps/i386/elf/configure.in: Merge into...
24014         * sysdeps/i386/configure.in: ...here.
24015         * sysdeps/i386/elf/configure.in: Delete file.
24016         * sysdeps/i386/elf/configure: Delete file.
24018         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24019         * debug/backtracesyms.c: ... here.
24020         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24021         * debug/backtracesymsfd.c: ... here.
24022         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24023         * sysdeps/generic/ifunc-sel.h: ... here.
24025         * sysdeps/unix/i386/start.c: Delete file.
24026         * sysdeps/unix/sparc/start.c: Delete file.
24027         * sysdeps/unix/start.c: Delete file.
24029         * sysdeps/sh/elf/configure.in: Moved to ...
24030         * sysdeps/sh/configure.in: ... here.
24031         * sysdeps/sh/elf/start.S: Moved to ...
24032         * sysdeps/sh/start.S: ... here.
24033         * sysdeps/sh/elf/configure: Delete file.
24035         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24036         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24037         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24038         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24039         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24040         * sysdeps/powerpc/powerpc64/start.S: here.
24041         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24042         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24043         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24044         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24045         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24047         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24048         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24049         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24050         * sysdeps/powerpc/powerpc32/start.S: ... here.
24051         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24052         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24053         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24055         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24056         * sysdeps/powerpc/ifunc-sel.h: ... here.
24057         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24058         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24060         * sysdeps/sparc/elf/configure.in: Moved to ...
24061         * sysdeps/sparc/configure.in: ... here.
24062         * sysdeps/sparc/elf/configure: Delete file.
24063         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24064         * sysdeps/sparc/sparc32/start.S: ... here.
24065         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24066         * sysdeps/sparc/sparc64/start.S: ... here.
24067         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24068         * sysdeps/sparc/sparc32/Makefile: ... this.
24069         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24070         * sysdeps/sparc/sparc64/Makefile: ... this.
24072         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24073         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24074         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24075         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24076         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24077         * sysdeps/s390/s390-32/setjmp.S: ... here.
24078         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24079         * sysdeps/s390/s390-32/configure.in: ... here.
24080         * sysdeps/s390/s390-32/elf/configure: Delete file.
24081         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24082         * sysdeps/s390/s390-32/start.S: ... here.
24084         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24085         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24086         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24087         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24088         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24089         * sysdeps/s390/s390-64/setjmp.S: ... here.
24090         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24091         * sysdeps/s390/s390-64/configure.in: ... here
24092         * sysdeps/s390/s390-64/elf/configure: Delete file.
24093         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24094         * sysdeps/s390/s390-64/start.S: ... here.
24095         * sysdeps/s390/s390-64/elf/configure: Delete.
24097         * configure.in: Remove support for elf directories in sysdeps.
24099         * configure: Regenerated.
24100         * sysdeps/i386/configure: Regenerated.
24101         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24102         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24103         * sysdeps/s390/s390-32/configure: Regenerated.
24104         * sysdeps/s390/s390-64/configure: Regenerated.
24105         * sysdeps/sh/configure: Regenerated.
24106         * sysdeps/sparc/configure: Regenerated.
24107         * sysdeps/x86_64/configure: Regenerated.
24109 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24113         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24114         denormal result into account.
24116 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24118         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24119         Reported by Allan McRae <allan@archlinux.org>.
24121 2012-03-23  Jeff Law  <law@redhat.com>
24123         * nss/getnssent.c (__nss_getent): Fix typo.
24125 2012-03-23  David S. Miller  <davem@davemloft.net>
24127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24129 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24131         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24132         to pad to uint64_t for each field.
24133         (dl_tls_index): Replace unsigned long with uint64_t.
24135 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24136         Paul Pluzhnikov  <ppluzhnikov@google.com>
24138         [BZ #6528]
24139         * grp/Makefile (otherlibs): Don't set it.
24140         * inet/Makefile (otherlibs): Likewise.
24141         * login/Makefile (otherlibs): Likewise.
24142         * nscd/Makefile (otherlibs): Likewise.
24143         * posix/Makefile (otherlibs): Likewise.
24144         * pwd/Makefile (otherlibs): Likewise.
24145         * rt/Makefile (otherlibs): Likewise.
24146         * sunrpc/Makefile (otherlibs): Likewise.
24147         * nss/Makefile (otherlibs): Likewise.
24148         Add libnss_files to routines and static-only-routines.
24149         ($(objpfx)getent): Remove rule.
24150         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24151         static-only-routines.
24153 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24155         [BZ #13892]
24156         * math/s_cexp.c: Include <float.h>.
24157         (__cexp): Handle exp result overflowing not necessarily
24158         overflowing both real and imaginary parts of result.
24159         * math/s_cexpf.c: Likewise.
24160         * math/s_cexpl.c: Likewise.
24161         * math/libm-test.inc (cexp_test): Add more tests.
24162         * sysdeps/i386/fpu/libm-test-ulps: Update.
24163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24165 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24167         * include/link.h (ELFW): New macro.
24168         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24169         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24171 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24173         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24174         with uint64_t.
24176 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24178         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24179         declaration.
24180         (struct La_x32_retval): Likewise.
24182 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24184         * sysdeps/x86_64/preconfigure.in: New file.
24185         * sysdeps/x86_64/preconfigure: New generated file.
24187 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24189         [BZ #13824]
24190         * math/e_exp2l.c: Include <float.h>.
24191         (__ieee754_exp2l): Handle overflow and underflow cases
24192         separately.  Only pass fractional part of argument to
24193         __ieee754_expl.
24194         * math/libm-test.inc (exp2_test): Add more tests.
24196         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24197         negating x to take absolute value.
24198         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24199         Likewise.
24200         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24201         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24202         Likewise.
24203         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24204         computing low part if x was negated.
24205         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24207 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24209         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24210         la_x32_gnu_pltexit.
24211         (pltexit): Cast int_retval to ptrdiff_t.
24212         * elf/tst-auditmod3b.c: Likewise.
24213         * elf/tst-auditmod4b.c: Likewise.
24214         * elf/tst-auditmod5b.c: Likewise.
24215         * elf/tst-auditmod6b.c: Likewise.
24216         * elf/tst-auditmod6c.c: Likewise.
24217         * elf/tst-auditmod7b.c: Likewise.
24219         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24220         and x32_gnu_pltexit.
24222         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24223         __ELF_NATIVE_CLASS.
24224         (La_x32_regs): New macro.
24225         (La_x32_retval): Likewise.
24226         (la_x32_gnu_pltenter): New function prototype.
24227         (la_x32_gnu_pltexit): Likewise.
24229 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24232         exponent.
24234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24236         * configure.in (libc_cv_cc_nofma): Check for option to disable
24237         generation of FMA instructions.
24238         * configure: Regenerate.
24239         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24240         * sysdeps/ieee754/dbl-64/Makefile: New file.
24241         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24242         Remove brandred-fma4.
24243         (CFLAGS-brandred-fma4.c): Remove.
24244         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24245         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24246         define.
24247         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24248         define.
24250 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24252         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24253         LLONG_MAX != LONG_MAX.
24254         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24255         (_fitoa_word): Likewise.
24256         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24257         LLONG_MAX != LONG_MAX.
24258         * stdio-common/_itowa.h: Include <_itoa.h>.
24259         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24260         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24261         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24262         only if not defined.
24263         (_ITOA_WORD_TYPE): Likewise.
24264         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24265         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24267 2012-03-21  David S. Miller  <davem@davemloft.net>
24269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24271 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24273         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24274         of x86_64 when setting libc_cv_slibdir, libdir and
24275         libc_cv_localedir.
24276         * sysdeps/unix/sysv/linux/configure: Regenerated.
24278 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24280         * manual/lang.texi (Old Varargs): Remove section.
24281         (How Variadic): Update menu.
24282         (va_start): Do not mention varargs.h.
24284 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24285             Joseph Myers  <joseph@codesourcery.com>
24287         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24288         link test.
24289         * configure: Regenerated.
24291 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24293         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24294         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24295         conformtest.pl
24297 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24299         * NOTES: Remove.
24300         * Makefile (files-for-dist): Remove NOTES.
24301         (NOTES): Remove rule.
24302         * README: Don't refer to NOTES.
24303         * manual/creature.texi: Don't include macros.texi.
24304         * manual/intro.texi (creature.texi): Remove comment referring to
24305         NOTES.
24307         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24308         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24309         * configure: Regenerated.
24310         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24311         LIBC_TRY_CC_OPTION.
24312         (libc_cv_as_i686): Likewise.
24313         (libc_cv_cc_avx): Likewise.
24314         (libc_cv_cc_sse2avx): Likewise.
24315         (libc_cv_cc_fma4): Likewise.
24316         (libc_cv_cc_novzeroupper): Likewise.
24317         * sysdeps/i386/configure: Regenerated.
24319         [BZ #13883]
24320         * sysdeps/i386/fpu/s_cexp.S: Remove.
24321         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24322         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24323         * math/libm-test.inc (cexp_test): Add more tests.
24324         * sysdeps/i386/fpu/libm-test-ulps: Update.
24325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24327 2012-03-21  Allan McRae  <allan@archlinux.org>
24329         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24331 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24333         [BZ #13871]
24334         * math/w_exp2.c: Do not include <float.h>.
24335         (o_threshold, u_threshold): Remove.
24336         (__exp2): Calculate result before checking finiteness and calling
24337         __kernel_standard.
24338         * math/w_exp2f.c: Likewise.
24339         * math/w_exp2l.c: Likewise.
24340         * math/libm-test.inc (exp2_test): Require overflow exception for
24341         1e6 input.
24343         [BZ #3866]
24344         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24345         range of signed 64-bit integers before using fistpll.  Remove
24346         checks for whether integers fit in mantissa bits.
24347         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24348         the range of signed 32-bit integers before using fistpl.  Remove
24349         checks for whether integers fit in mantissa bits.
24350         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24351         (__ieee754_powl): Test for y outside the range of signed 64-bit
24352         integers before using fistpll.  Reduce 64-bit values to 63-bit
24353         ones as needed.
24354         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24355         divide-by-zero is raised for zero to large negative powers.
24356         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24357         (__ieee754_powl): Test for y outside the range of signed 64-bit
24358         integers before using fistpll.  Reduce 64-bit values to 63-bit
24359         ones as needed.
24360         * math/libm-test.inc (pow_test): Add more tests.
24362 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24364         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24365         <stdio-common/_itoa.h>.
24366         * debug/segfault.c: Likewise.
24367         * elf/dl-cache.c: Likewise.
24368         * elf/dl-minimal.c: Likewise.
24369         * elf/dl-misc.c: Likewise.
24370         * elf/dl-sysdep.c: Likewise.
24371         * elf/dl-version.c: Likewise.
24372         * elf/rtld.c: Likewise.
24373         * hurd/hurdsock.c: Likewise.
24374         * hurd/lookup-retry.c: Likewise.
24375         * malloc/malloc.c: Likewise.
24376         * malloc/mtrace.c: Likewise.
24377         * nscd/nscd_getgr_r.c: Likewise.
24378         * nscd/nscd_getpw_r.c: Likewise.
24379         * nscd/nscd_getserv_r.c: Likewise.
24380         * posix/getopt_init.c: Likewise.
24381         * posix/wordexp.c: Likewise.
24382         * stdio-common/_itoa.c: Likewise.
24383         * stdio-common/printf_fphex.c: Likewise.
24384         * stdio-common/vfprintf.c: Likewise.
24385         * string/_strerror.c: Likewise.
24386         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24387         * sysdeps/i386/i686/hp-timing.h: Likewise.
24388         * sysdeps/mach/_strerror.c: Likewise.
24389         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24390         * sysdeps/mach/hurd/sethostid.c: Likewise.
24391         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24392         * sysdeps/mach/xpg-strerror.c: Likewise.
24393         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24394         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24395         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24396         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24397         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24398         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24400         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24401         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24402         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24403         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24404         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24405         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24406         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24407         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24408         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24409         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24410         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24411         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24412         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24413         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24415         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24417         * stdio-common/_itoa.h: Moved to ...
24418         * sysdeps/generic/_itoa.h: Here.
24420         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24422         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24423         instead of "_itoa.h" and "_itowa.h".
24424         * stdio-common/vfprintf.: Likewise.
24426 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24428         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24429         <bits/wordsize.h>.
24430         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24431         (__signbit): Likwise.
24432         (llrintf): Likwise.
24433         (llrint): Likwise.
24435 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24437         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24438         __WORDSIZE != 64.
24440 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24442         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24443         OVERFLOW_EXCEPTION_OK.
24444         * math/libm-test.inc ("Philosophy"): Update comment about
24445         exception testing.
24446         (OVERFLOW_EXCEPTION): Define.
24447         (OVERFLOW_EXCEPTION_OK): Likewise.
24448         (INVALID_EXCEPTION_OK): Renumber.
24449         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24450         (IGNORE_ZERO_INF_SIGN): Likewise.
24451         (test_exceptions): Handle FE_OVERFLOW.
24452         (exp10_test): Expect overflow exceptions.
24453         (exp2_test): Likewise.
24454         (expm1_test): Likewise.
24455         (nextafter_test): Likewise.
24456         (pow_test): Likewise.
24457         (scalbn_test): Likewise.
24458         (scalbln_test): Likewise.
24460 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24462         * sysdeps/x86_64/bits/atomic.h
24463         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24464         64bit integer.
24465         (atomic_exchange_acq): Likewise.
24466         (__arch_exchange_and_add_body): Likewise.
24467         (__arch_add_body): Likewise.
24468         (atomic_add_negative): Likewise.
24469         (atomic_add_zero): Likewise.
24471 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24473         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24474         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24476 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24478         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24479         Check __x86_64__ instead of __WORDSIZE.
24481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24483         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24485 2012-03-19  David S. Miller  <davem@davemloft.net>
24487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24489         * sysdeps/sparc/fpu/fenv_private.h: New file.
24490         * sysdeps/sparc/fpu/math_private.h: Use it.
24491         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24492         Remove.
24493         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24494         (libc_feholdexcept_setroundl): Remove.
24495         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24496         Remove.
24497         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24498         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24500 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24502         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24503         int64_t instead of long int.
24504         (INSERT_WORDS64): Likwise.
24506 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24508         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24509         _Unwind_GetCFA return to _Unwind_Ptr first.
24511 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24513         [BZ #13629]
24514         * math/s_clog.c: Include <float.h>.
24515         (__clog): Scale large or subnormal inputs.
24516         * math/s_clogf.c: Likewise.
24517         * math/s_clogl.c: Likewise.
24518         * math/s_clog10.c: Include <float.h>.
24519         (M_LOG10_2): Define.
24520         (__clog10): Scale large or subnormal inputs.
24521         * math/s_clog10f.c: Likewise.
24522         * math/s_clog10l.c: Likewise.
24523         * math/libm-test.inc (clog_test): Add more tests.
24524         (clog10_test): Likewise.
24525         * sysdeps/i386/fpu/libm-test-ulps: Update.
24526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24528         [BZ #11451]
24529         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24530         x and y.
24531         * math/libm-test.inc (atan2_test): Add another test.
24533         * Makerules (common-objdir-compile): Remove.
24534         * sysdeps/unix/Makefile (config-generated): Do not add
24535         $(unix-generated) to variable.
24536         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24537         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24538         Remove rule.
24539         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24540         Likewise.
24541         [generic bits/local_lim.h] (before-compile): Do not append to
24542         variable.
24543         [generic bits/local_lim.h] (common-generated): Likewise.
24544         [generic sys/param.h] (before-compile): Do not append to variable.
24545         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24546         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24547         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24548         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24549         include.
24550         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24551         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24552         [generic sys/param.h] ($(addprefix
24553         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24554         [generic sys/param.h] (common-generated): Do not append to
24555         variable.
24556         [generic sys/param.h] (sysdep_headers): Likewise.
24557         [generic bits/errno.h] (before-compile): Do not append to
24558         variable.
24559         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24560         rule.
24561         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24562         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24563         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24564         [generic bits/errno.h] (common-generated): Do not append to
24565         variable.
24566         [generic bits/ioctls.h] (before-compile): Do not append to
24567         variable.
24568         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24569         rule.
24570         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24571         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24572         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24573         rule.
24574         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24575         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24576         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24577         [generic bits/ioctls.h] (common-generated): Do not append to
24578         variable.
24579         [generic sys/syscall.h] (syscall.h): Remove variable.
24580         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24581         rule.
24582         [generic sys/syscall.h] (before-compile): Do not append to
24583         variable.
24584         [generic sys/syscall.h] (common-generated): Likewise.
24585         * sysdeps/unix/errnos-tmpl.c: Remove file.
24586         * sysdeps/unix/errnos.awk: Likewise.
24587         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24588         * sysdeps/unix/ioctls.awk: Likewise.
24589         * sysdeps/unix/mk-local_lim.c: Likewise.
24590         * sysdeps/unix/snarf-ioctls: Likewise.
24592 2012-03-19  Richard Henderson  <rth@twiddle.net>
24594         * sysdeps/i386/fpu/fenv_private.h: New file.
24595         * sysdeps/i386/fpu/math_private.h: Use it.
24596         (math_opt_barrier, math_force_eval): Remove.
24597         (libc_feholdexcept_setround_53bit): Remove.
24598         (libc_feupdateenv_53bit): Remove.
24599         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24600         (math_opt_barrier, math_force_eval): Remove.
24601         (libc_feholdexcept): Remove.
24602         (libc_feholdexcept_setround): Remove.
24603         (libc_fetestexcept, libc_fesetenv): Remove.
24604         (libc_feupdateenv_test): Remove.
24605         (libc_feupdateenv, libc_feholdsetround): Remove.
24606         (libc_feresetround): Remove.
24608         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24609         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24611         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24612         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24613         (libc_feupdateenv_testl): New.
24614         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24615         (libc_feupdateenv_testf): New.
24616         (libc_feupdateenv): Use libc_feupdateenv_test.
24617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24618         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24620         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24621         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24622         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24623         (libc_feresetround_noex): New.
24624         (libc_feresetround_noexf): New.
24625         (libc_feresetround_noexl): New.
24626         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24627         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24628         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24629         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24630         SET_RESTORE_ROUND.
24631         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24632         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24633         (__cos): Likewise.
24634         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24635         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24636         SET_RESTORE_ROUND_NOEX.
24637         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24638         SET_RESTORE_ROUND_NOEXF.
24639         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24640         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24641         (libc_feholdsetroundf): New.
24642         (libc_feresetround, libc_feresetroundf): New.
24644         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24645         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24646         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24648         * sysdeps/generic/math_private.h: Include <fenv.h>.
24649         (default_libc_feholdexcept): New.
24650         (default_libc_feholdexcept_setround): New.
24651         (default_libc_fesetenv, default_libc_feupdateenv): New.
24652         (libc_feholdexcept): Only define if undefined.
24653         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24654         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24655         (libc_feholdexcept_setroundl): Likewise.
24656         (libc_feholdexcept_setround_53bit): Likewise.
24657         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24658         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24659         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24660         (libc_feupdateenv_53bit): Likewise.
24661         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24662         (libc_feholdexcept): Convert from macro to inline function.
24663         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24664         (libc_fesetenv, libc_feupdateenv): Likewise.
24666         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24667         not previously defined.
24668         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24669         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24670         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24671         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24672         * sysdeps/ieee754/flt-32/math_private.h: New file.
24673         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24674         math_private.h below SET_FLOAT_WORD.
24675         (__isnan, __isinf_ns, __finite): Remove.
24676         (__isnanf, __isinf_nsf, __finitef): Remove.
24678 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24682 2012-03-17  David S. Miller  <davem@davemloft.net>
24684         [BZ #6471]
24685         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24686         for 2.16.
24688 2012-03-16  David S. Miller  <davem@davemloft.net>
24690         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24691         warnings.
24693         [BZ #6471]
24694         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24695         properly.
24696         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24697         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24698         sysdep_routines when subdir is sysvipc.
24699         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24700         __getshmlba helper.
24702         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24704 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24706         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24707         [__LP64__].
24709 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24712         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24713         (__lround): Renamed to ...
24714         (__llround): This.  Replace long int with long long int.
24715         Define lround functions as aliases of llround functions.
24716         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24718 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24720         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24721         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24722         adresses to uintptr_t.  Replace "long int" and "unsigned long
24723         int" with "greg_t" on va_arg.
24725 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24727         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24728         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24730         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24731         Move e_machine check before EI_CLASS check.  Handle x32
24732         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24733         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24734         SKIP_EM_IA_64 and include
24735         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24737         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24738         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24739         (add_system_dir): New macro.
24741         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24742         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24744 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24746         [BZ #2551]
24747         [BZ #2552]
24748         [BZ #2553]
24749         [BZ #2554]
24750         [BZ #2562]
24751         [BZ #2563]
24752         [BZ #2565]
24753         [BZ #2566]
24754         [BZ #2576]
24755         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24756         (y0): Likewise.
24757         * math/w_j0f.c (j0f): Likewise.
24758         (y0f): Likewise.
24759         * math/w_j0l.c (__j0l): Likewise.
24760         (__y0l): Likewise.
24761         * math/w_j1.c (j1): Likewise.
24762         (y1): Likewise.
24763         * math/w_j1f.c (j1f): Likewise.
24764         (y1f): Likewise.
24765         * math/w_j1l.c (__j1l): Likewise.
24766         (__y1l): Likewise.
24767         * math/w_jn.c (jn): Likewise.
24768         (yn): Likewise.
24769         * math/w_jnf.c (jnf): Likewise.
24770         (ynf): Likewise.
24771         * math/w_jnl.c (__jnl): Likewise.
24772         (__ynl): Likewise.
24773         * math/libm-test.inc (j0_test): Add more tests.
24774         (j1_test): Likewise.
24775         (jn_test): Likewise.  Add trailing semicolon to existing test.
24776         (y0_test): Likewise.
24777         (y1_test): Likewise.
24778         * sysdeps/i386/fpu/libm-test-ulps: Update.
24779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24781         [BZ #13851]
24782         [BZ #13854]
24783         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24784         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24785         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24786         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24787         (__tanl): Set errno for infinite argument.
24788         * sysdeps/i386/fpu/mptan.c: Remove.
24789         * sysdeps/i386/fpu/s_tan.S: Likewise.
24790         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24791         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24792         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24793         * math/libm-test.inc (tan_test): Add more tests and enable more
24794         tests for double and long double.
24795         * sysdeps/i386/fpu/libm-test-ulps: Update.
24796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24798 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24800         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24801         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24803 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24805         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24806         * configure.in: Use it for both main tree and add-ons.
24807         * configure: Regenerated.
24809 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24811         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24813 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24815         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24816         in comment.
24818         [BZ #13851]
24819         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24820         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24821         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24822         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24823         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24824         infinite argument.
24825         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24826         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24827         != 0 for prec == 2.
24828         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24829         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24830         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24831         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24832         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24833         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24834         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24835         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24836         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24837         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24838         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24839         * math/libm-test.inc (cos_test): Add more tests and enable more
24840         tests for long double.
24841         (sin_test): Likewise.
24842         (sincos_test): Likewise.
24843         * sysdeps/i386/fpu/libm-test-ulps: Update.
24844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24846 2012-03-16  David S. Miller  <davem@davemloft.net>
24848         * sysdeps/sparc/fpu/math_private.h: New file.
24850 2012-03-15  David S. Miller  <davem@davemloft.net>
24852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24853         file.
24854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24856         file.
24857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24858         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24862         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24863         sysdep routines.
24864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24866         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24867         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24869         * sysdeps/sparc/sparc-ifunc.h: New file.
24870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24871         sparc-ifunc.h
24872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24874         Likewise.
24875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24876         Likewise.
24877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24881         Likewise.
24882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24887         Likewise.
24888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24889         Likewise.
24890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24896         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24897         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24908         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24909         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24910         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24912         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24915 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24917         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24918         scaling.
24919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24921 2012-03-15  Andreas Jaeger  <aj@suse.de>
24923         [BZ #13852]
24924         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24925         ieee754/flt-32 implementation for sin, cos and sincos.
24926         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24927         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24928         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24929         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24930         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24931         ieee754/flt-32 implementation for tan.
24933         * math/libm-test.inc (cos_test): Enable some large input tests for
24934         float as well
24935         (sin_test): Likewise.
24936         (sincos_test): Likewise.
24937         (tan_test): Add tests for large input.
24939         * sysdeps/i386/fpu/libm-test-ulps: Update.
24941 2012-03-15  Andreas Jaeger  <aj@suse.de>
24943         [BZ #13658]
24944         * math/libm-test.inc (cos_test): Add more test cases.
24945         (sin_test): Likewise.
24946         (sincos_test): Likewise.
24948 2012-03-15  Andreas Jaeger  <aj@suse.de>
24950         [BZ #13837]
24951         * math/libm-test.inc (cos_test): Add a test case for large input
24952         value.
24953         (sin_test): Likewise.
24954         (sincos_test): Likewise.
24956 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24957         Joseph Myers  <joseph@codesourcery.com>
24959         [BZ #13658]
24960         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24961         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24962         * sysdeps/i386/fpu/branred.c: Likewise.
24963         * sysdeps/i386/fpu/dosincos.c: Likewise.
24964         * sysdeps/i386/fpu/mpa.c: Likewise.
24965         * sysdeps/i386/fpu/s_cos.S: Likewise.
24966         * sysdeps/i386/fpu/s_sin.S: Likewise.
24967         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24968         * sysdeps/i386/fpu/sincos32.c: Likewise.
24970         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24971         Define.
24972         (libc_feupdateenv_53bit): Define.
24973         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24974         Define.
24975         (libc_feupdateenv_53bit): Define.
24977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24978         53 bit (without extend i386 double precision).
24980         * math/libm-test.inc (sincos_test): Add tests for large input.
24981         (sin): Likewise.
24982         (cos): Likewise.
24984         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24986 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24990 2012-03-15  David S. Miller  <davem@davemloft.net>
24992         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24993         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24994         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24995         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25008         file.
25009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25011         file.
25012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25014         file.
25015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25017         file.
25018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25020         fmin/fmax sysdep routines.
25021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25023 2012-03-14  David S. Miller  <davem@davemloft.net>
25025         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25029         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25031         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25032         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25037         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25045         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25047         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25048         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25049         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25050         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25051         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25052         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25053         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25054         routines.
25055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25056         file.
25057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25059         file.
25060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25062         file.
25063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25065         file.
25066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25068         file.
25069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25071         file.
25072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25073         file.
25074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25075         file.
25076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25077         file.
25078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25079         New file.
25080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25081         file.
25082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25083         file.
25084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25086         file.
25087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25089         file.
25090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25092         file.
25093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25095         VIS3 routines.
25097         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25098         New file.
25100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25102         * sysdeps/sparc/configure.in: New file.
25103         * sysdeps/sparc/configure: Generate.
25104         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25105         * configure: Regenerate.
25106         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25107         * config.make.in (have-as-vis3): New.
25108         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25109         available use -Av9d instead of -Av9a.
25110         * sysdeps/sparc/sparc64/Makefile: Likewise.
25111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25113         New file.
25114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25115         file.
25116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25117         New file.
25118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25119         file.
25120         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25121         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25123         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25124         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25126         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25127         fzeros/fnegs to load 0x80000000 into a float register instead of
25128         using the stack.
25129         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25131 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25134         bits/syscall.h.
25135         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25136         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25137         ($(inst_includedir)/bits/syscall.h): Remove rule.
25138         ($(objpfx)bits/syscall.d): Include instead of
25139         $(objpfx)syscall-list.d.
25140         (generated): Change syscall-list.h and syscall-list.d to
25141         bits/syscall.h and bits/syscall.d.
25143 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25145         [BZ #13846]
25146         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25148 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25150         [BZ #13841]
25151         * math/s_csqrt.c: Include <float.h>.
25152         (__csqrt): Scale large or subnormal inputs.
25153         * math/s_csqrtf.c: Likewise.
25154         * math/s_csqrtl.c: Likewise.
25155         * math/libm-test.inc (csqrt_test): Add more tests.
25156         * sysdeps/i386/fpu/libm-test-ulps: Update.
25157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25159         [BZ #13840]
25160         * math/libm-test.inc (hypot_test): Add more tests.
25162 2012-03-13  David S. Miller  <davem@davemloft.net>
25164         [BZ #13840]
25165         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25166         double-precision for the calculation instead of scaling.
25168 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25170         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25171         manipulate bits before adding and subtracting TWO52[sx].
25172         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25173         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25174         Likewise.
25175         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25177 2012-03-13  David S. Miller  <davem@davemloft.net>
25179         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25180         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25181         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25182         rtld-global-offsets.h
25183         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25185         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25186         large parameters.
25188         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25190         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25191         'err' in the ifdef scope in which it is actually used.
25193         * nss/nss_db/db-init.c: Include string.h
25195 2012-03-12  David S. Miller  <davem@davemloft.net>
25197         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25198         masking out of the most significant byte of random value used.
25199         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25200         Fix coding style in previous change.
25202         * sysdeps/unix/sysv/linux/kernel-features.h
25203         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25204         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25205         expression.
25206         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25207         later.
25209 2012-03-11  David S. Miller  <davem@davemloft.net>
25211         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25212         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25213         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25214         for 'resultvar' otherwise things get truncated on 64-bit.
25216         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25217         Fix masking out of the most significant byte of random value used.
25219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25221 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25225 2012-03-09  David S. Miller  <davem@davemloft.net>
25227         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25228         variables with appropriate CPP guards.
25229         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25230         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25231         on resulting framesize and the management of the outregs buffer for pltexit.
25232         Preserve floating point return values across _dl_call_pltexit call.
25233         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25234         framesize and the management of the outregs buffer for pltexit.
25235         Preserve floating point return values across _dl_call_pltexit
25236         call.
25237         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25238         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25239         (print_exit): Fix format string for return register value.
25241 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25243         * sunrpc/Makefile (others): Add rpcgen.
25244         ($(objpfx)rpcgen): Remove special build rule and dependency on
25245         libc.
25246         * sunrpc/rpcgen.c: New file.
25248 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25250         [BZ #13673]
25251         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25252         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25253         * sysdeps/i386/crti.S: Likewise.
25254         * sysdeps/i386/crtn.S: Likewise.
25255         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25256         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25257         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25258         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25259         * sysdeps/sh/crti.S: Likewise.
25260         * sysdeps/sh/crtn.S: Likewise.
25261         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25263         [BZ #13673]
25264         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25265         with URL.
25266         * locale/programs/locfile-kw.gperf: Likewise.
25267         * locale/programs/charmap-kw.h: Regenerated.
25268         * locale/programs/locfile-kw.h: Likewise.
25270         [BZ #13673]
25271         * intl/plural.y: Replace FSF snail mail address with URL.
25272         * intl/plural.c: Regenerated.
25274 2012-03-09  Richard Henderson  <rth@twiddle.net>
25276         * include/math_private.h: Remove file.
25277         * math/math_private.h: Move file ...
25278         * sysdeps/generic/math_private.h: ... here.
25280         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25281         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25282         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25284         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25285         and <math_private.h>.
25286         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25287         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25288         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25289         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25290         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25291         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25292         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25293         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25294         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25295         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25297         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25298         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25299         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25300         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25301         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25302         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25303         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25304         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25305         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25307         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25308         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25309         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25310         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25312         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25313         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25315         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25316         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25317         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25318         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25319         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25320         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25321         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25322         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25323         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25324         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25325         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25326         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25327         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25328         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25329         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25330         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25331         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25332         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25333         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25334         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25335         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25336         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25337         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25338         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25339         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25340         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25341         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25342         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25343         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25344         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25345         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25346         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25347         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25348         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25349         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25350         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25351         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25352         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25353         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25354         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25355         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25356         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25357         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25358         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25359         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25360         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25361         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25365         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25366         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25367         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25368         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25369         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25370         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25371         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25373         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25374         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25375         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25376         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25377         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25378         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25379         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25380         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25381         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25382         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25383         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25384         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25385         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25386         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25387         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25388         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25389         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25390         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25391         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25392         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25393         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25394         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25395         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25396         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25397         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25398         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25399         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25400         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25401         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25402         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25403         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25404         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25405         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25406         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25407         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25408         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25409         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25410         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25411         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25412         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25413         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25414         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25415         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25416         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25417         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25418         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25419         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25420         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25421         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25422         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25423         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25424         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25425         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25426         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25427         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25428         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25429         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25430         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25431         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25432         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25433         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25434         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25435         * sysdeps/ieee754/k_standard.c: Likewise.
25436         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25437         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25438         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25439         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25440         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25441         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25442         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25443         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25444         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25445         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25446         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25447         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25448         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25449         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25450         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25451         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25452         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25453         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25454         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25455         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25457         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25458         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25459         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25460         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25461         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25462         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25463         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25464         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25465         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25466         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25467         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25468         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25469         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25470         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25471         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25472         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25473         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25474         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25475         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25476         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25477         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25478         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25479         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25480         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25483         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25484         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25486         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25487         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25488         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25489         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25490         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25491         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25492         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25493         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25494         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25495         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25496         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25497         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25498         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25499         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25500         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25501         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25502         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25503         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25504         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25505         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25506         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25508         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25509         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25510         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25511         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25512         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25513         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25514         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25515         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25516         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25517         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25518         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25519         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25520         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25521         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25522         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25523         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25524         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25525         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25526         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25527         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25528         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25529         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25530         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25531         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25532         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25533         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25534         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25535         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25537         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25538         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25539         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25540         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25541         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25542         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25543         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25544         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25545         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25546         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25547         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25548         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25549         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25550         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25551         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25552         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25553         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25554         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25555         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25556         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25557         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25558         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25559         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25560         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25561         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25562         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25563         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25564         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25565         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25566         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25567         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25568         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25569         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25570         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25571         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25572         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25573         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25574         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25575         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25576         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25577         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25578         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25579         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25580         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25581         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25582         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25583         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25584         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25585         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25586         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25587         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25588         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25589         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25590         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25591         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25592         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25593         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25594         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25595         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25596         * sysdeps/ieee754/s_lib_version.c: Likewise.
25597         * sysdeps/ieee754/s_matherr.c: Likewise.
25598         * sysdeps/ieee754/s_signgam.c: Likewise.
25599         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25600         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25601         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25602         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25603         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25604         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25605         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25606         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25607         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25608         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25609         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25610         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25611         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25612         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25613         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25614         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25615         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25616         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25617         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25618         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25619         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25621 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25623         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25624         * sunrpc/rpc_main.c: Likewise.
25625         * sunrpc/rpc_svcout.c: Likewise.
25627 2012-03-09  David S. Miller  <davem@davemloft.net>
25629         * include/math_private.h: New file.
25631 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25633         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25634         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25635         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25636         from <bits/socket_type.h>.
25637         (enum __socket_type): Don't define here.
25638         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25640         bits/socket_type.h.
25642         [BZ #13566]
25643         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25644         checking __USE_GNU.
25646         * Makerules ($(inst_includedir)/%.h): New rule.
25647         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25648         (install-others): Remove variable setting.
25649         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25651 2012-03-08  Richard Henderson  <rth@twiddle.net>
25653         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25654         from macro to inline function; merge with the
25655         !__LIBC_INTERNAL_MATH_INLINES version.
25656         (__ieee754_sqrtf): Likewise.
25658         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25659         to inline function.
25660         (__rintf, __floor, __floorf): Likewise.
25662         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25663         macro to inline function.
25664         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25666         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25667         not <math/math_private.h>.
25669 2012-03-08  David S. Miller  <davem@davemloft.net>
25671         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25672         copyright year.
25673         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25675 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25677         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25678         normalization.
25679         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25680         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25682 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25684         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25685         be defined individually, they must be defined as a block.  Define
25686         S for printing a string instead of hidint the different by using a
25687         macro for adding the 'l'.
25688         * stdio-common/tst-fphex-wide.c: Adjust.
25690 2012-03-07  Marek Polacek  <polacek@redhat.com>
25692         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25694 2012-03-08  Marek Polacek  <polacek@redhat.com>
25696         [BZ #13806]
25697         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25698         * stdio-common/tst-fphex.c: Define a few macros to make the
25699         test reusable.  Use them.
25700         * stdio-common/tst-fphex-wide.c: New file.
25702 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25704         [BZ #6911]
25705         * manual/macros.texi (gnusystems): New macro.
25706         (nongnusystems): Likewise.
25707         (gnulinuxhurdsystems): Likewise.
25708         (gnuhurdsystems): Likewise..
25709         (gnulinuxsystems): Likewise.
25710         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25711         variants of the GNU system, not "GNU system".
25712         * manual/conf.texi: Likewise.
25713         * manual/errno.texi: Likewise.  Update example of errno macro
25714         expansion.
25715         * manual/filesys.texi: Likewise.
25716         (getumask): Document as specific to GNU/Hurd.
25717         * manual/install.texi: Likewise.  Reword some references to
25718         GNU/Linux.
25719         * manual/intro.texi: Likewise.
25720         * manual/io.texi: Likewise.
25721         (File Name Portability): Detail which constraints are inapplicable
25722         to all GNU systems and which are only inapplicable to GNU/Hurd.
25723         * manual/job.texi: Likewise.
25724         * manual/llio.texi: Likewise.
25725         (O_NOCTTY): Document as present on GNU/Linux.
25726         * manual/maint.texi: Likewise.
25727         * manual/memory.texi: Likewise.
25728         * manual/pattern.texi: Likewise.
25729         * manual/pipe.texi: Likewise.
25730         * manual/process.texi: Likewise.
25731         * manual/resource.texi: Likewise.
25732         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25733         child on GNU/Hurd.
25734         * manual/setjmp.texi: Likewise.
25735         * manual/signal.texi: Likewise.
25736         * manual/startup.texi: Likewise.
25737         * manual/stdio.texi: Likewise.
25738         * manual/terminal.texi: Likewise.
25739         (ONLCR): Document as POSIX.
25740         (OXTABS): Document availability on GNU/Linux as XTABS.
25741         (ONOEOT): Document availability separately from other bits.
25742         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25743         * manual/time.texi: Likewise.
25744         * manual/users.texi: Likewise.
25745         * INSTALL: Regenerated.
25746         * sysdeps/gnu/errlist.c: Regenerated.
25748         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25749         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25750         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25751         puts.
25752         * configure: Regenerated.
25754 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25756         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25757         default includes instead of AC_HEADER_CHECK.
25758         * sysdeps/i386/configure: Regenerated.
25760         [BZ #10716]
25761         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25762         * math/s_cacoshf.c (__cacoshf): Likewise.
25763         * math/s_cacoshl.c (__cacoshl): Likewise.
25764         * math/s_casinh.c (__casinh): Set signs of result from argument.
25765         * math/s_casinhf.c (__casinhf): Likewise.
25766         * math/s_casinhl.c (__casinhl): Likewise.
25767         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25768         (casinh_test): Add more tests.
25769         * sysdeps/i386/fpu/libm-test-ulps: Update.
25770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25772 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25774         * po/zh_TW.po: Update from translation team.
25776         * login/Makefile (distribute): Remove variable.
25777         * catgets/Makefile: Likewise.
25778         * mach/Makefile: Likewise.
25779         * malloc/Makefile: Likewise.
25780         * misc/Makefile: Likewise.
25781         * iconv/Makefile: Likewise.
25782         * nscd/Makefile: Likewise.
25783         * hurd/Makefile: Likewise.
25784         * manual/Makefile: Likewise.
25785         * locale/Makefile: Likewise.
25786         * intl/Makefile: Likewise.
25787         * conform/Makefile: Likewise.
25788         * nss/Makefile: Likewise.
25789         * time/Makefile: Likewise.
25790         * soft-fp/Makefile: Likewise.
25791         * dirent/Makefile: Likewise.
25792         * gmon/Makefile: Likewise.
25793         * po/Makefile: Likewise.
25794         * rt/Makefile: Likewise.
25795         * socket/Makefile: Likewise.
25796         * math/Makefile: Likewise.
25797         * signal/Makefile: Likewise.
25798         * debug/Makefile: Likewise.
25799         * elf/Makefile: Likewise.
25800         * timezone/Makefile: Likewise.
25801         * stdlib/Makefile: Likewise.
25802         * iconvdata/Makefile: Likewise.
25803         * sunrpc/Makefile: Likewise.
25804         * io/Makefile: Likewise.
25805         * argp/Makefile: Likewise.
25806         * inet/Makefile: Likewise.
25807         * hesiod/Makefile: Likewise.
25808         * grp/Makefile: Likewise.
25809         * csu/Makefile: Likewise.
25810         * wctype/Makefile: Likewise.
25811         * crypt/Makefile: Likewise.
25812         * libio/Makefile: Likewise.
25813         * string/Makefile: Likewise.
25814         * nis/Makefile: Likewise.
25815         * resolv/Makefile: Likewise.
25816         * stdio-common/Makefile: Likewise.
25817         * wcsmbs/Makefile: Likewise.
25818         * dlfcn/Makefile: Likewise.
25819         * posix/Makefile: Likewise.
25821         [BZ #6959]
25822         * timezone/Makefile: Don't install timezone files, just the programs
25823         and scripts.
25825 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25827         * nss/databases.def: Add missing gshadow entry.
25829         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25831 2012-03-06  Marek Polacek  <polacek@redhat.com>
25833         [BZ #13726]
25834         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25835         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25836         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25837         * stdio-common/tst-long-dbl-fphex.c: New file.
25839 2012-03-06  David S. Miller  <davem@davemloft.net>
25841         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25842         (set_obp_int): New function.
25843         (get_obp_int): New function.
25844         (__get_clockfreq_via_dev_openprom): Likewise.
25845         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25846         Avoid unused variable warnings on 'val' and use builtin_expect.
25847         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25848         __builtin_expect.
25849         (INLINE_CLONE_SYSCALL): Likewise.
25851 2012-03-05  David S. Miller  <davem@davemloft.net>
25853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25855 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25859         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25860         only for |x| >= 40.
25861         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25863 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25865         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25866         Replace gettimeofday with __vdso_gettimeofday.
25868         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25869         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25870         __vdso_clock_gettime and __vdso_getcpu.
25872         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25873         time with __vdso_time.
25875 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25877         * manual/lang.texi (size_t): Note types to which size_t may be
25878         equivalent with the GNU C Library, but do not describe when
25879         differences between them are significant.
25881 2012-03-05  Andreas Jaeger  <aj@suse.de>
25883         * sysdeps/i386/fpu/libm-test-ulps: Update.
25885 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25887         [BZ #3976]
25888         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25889         (__ieee754_pow): Save and restore rounding mode and use
25890         round-to-nearest for main computations.
25891         * math/libm-test.inc (pow_test_tonearest): New function.
25892         (pow_test_towardzero): Likewise.
25893         (pow_test_downward): Likewise.
25894         (pow_test_upward): Likewise.
25895         (main): Call the new functions.
25896         * sysdeps/i386/fpu/libm-test-ulps: Update.
25897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899         [BZ #3976]
25900         * math/libm-test.inc (cosh_test_tonearest): New function.
25901         (cosh_test_towardzero): Likewise.
25902         (cosh_test_downward): Likewise.
25903         (cosh_test_upward): Likewise.
25904         (sinh_test_tonearest): Likewise.
25905         (sinh_test_towardzero): Likewise.
25906         (sinh_test_downward): Likewise.
25907         (sinh_test_upward): Likewise.
25908         (main): Call the new functions.
25909         * sysdeps/i386/fpu/libm-test-ulps: Update.
25910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25912 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25914         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25915         default stack guard is set in last bytes.
25916         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25918 2012-03-05  Kees Cook  <keescook@chromium.org>
25920         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25922         [BZ #13656]
25923         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25924         possibly allocate from heap instead of stack.
25925         * stdio-common/bug-vfprintf-nargs.c: New file.
25926         * stdio-common/Makefile (tests): Add nargs overflow test.
25928 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25932 2012-03-03  Marek Polacek  <polacek@redhat.com>
25934         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25935         * math/math_private.h: Likewise.
25936         * stdlib/tst-strtod.c: Likewise.
25937         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25938         * sysdeps/x86_64/bits/atomic.h: Likewise.
25940 2012-03-02  David S. Miller  <davem@davemloft.net>
25942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25946         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25947         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25948         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25949         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25951 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25953         [BZ #13792]
25954         * manual/examples/README: New file, says the example source files
25955         can be used under GPL>=2.
25956         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25957         line containing just "*/".
25958         * manual/examples/add.c: Add copyright header (GPL>=2).
25959         * manual/examples/argp-ex1.c: Likewise.
25960         * manual/examples/argp-ex2.c: Likewise.
25961         * manual/examples/argp-ex3.c: Likewise.
25962         * manual/examples/argp-ex4.c: Likewise.
25963         * manual/examples/atexit.c: Likewise.
25964         * manual/examples/db.c: Likewise.
25965         * manual/examples/dir.c: Likewise.
25966         * manual/examples/dir2.c: Likewise.
25967         * manual/examples/execinfo.c: Likewise.
25968         * manual/examples/filecli.c: Likewise.
25969         * manual/examples/filesrv.c: Likewise.
25970         * manual/examples/fmtmsgexpl.c: Likewise.
25971         * manual/examples/genpass.c: Likewise.
25972         * manual/examples/inetcli.c: Likewise.
25973         * manual/examples/inetsrv.c: Likewise.
25974         * manual/examples/isockad.c: Likewise.
25975         * manual/examples/longopt.c: Likewise.
25976         * manual/examples/memopen.c: Likewise.
25977         * manual/examples/memstrm.c: Likewise.
25978         * manual/examples/mkfsock.c: Likewise.
25979         * manual/examples/mkisock.c: Likewise.
25980         * manual/examples/mygetpass.c: Likewise.
25981         * manual/examples/pipe.c: Likewise.
25982         * manual/examples/popen.c: Likewise.
25983         * manual/examples/rprintf.c: Likewise.
25984         * manual/examples/search.c: Likewise.
25985         * manual/examples/select.c: Likewise.
25986         * manual/examples/setjmp.c: Likewise.
25987         * manual/examples/sigh1.c: Likewise.
25988         * manual/examples/sigusr.c: Likewise.
25989         * manual/examples/stpcpy.c: Likewise.
25990         * manual/examples/strdupa.c: Likewise.
25991         * manual/examples/strftim.c: Likewise.
25992         * manual/examples/strncat.c: Likewise.
25993         * manual/examples/subopt.c: Likewise.
25994         * manual/examples/swapcontext.c: Likewise.
25995         * manual/examples/termios.c: Likewise.
25996         * manual/examples/testopt.c: Likewise.
25997         * manual/examples/testpass.c: Likewise.
25998         * manual/examples/timeval_subtract.c: Likewise.
26000         [BZ #13792]
26001         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26002         function to ...
26003         * manual/timeval_subtract.c.texi: ... here, new file.
26005 2012-03-02  David S. Miller  <davem@davemloft.net>
26007         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26009 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26011         [BZ #3976]
26012         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26013         (__sin): Save and restore rounding mode and use round-to-nearest
26014         for all computations.
26015         (__cos): Save and restore rounding mode and use round-to-nearest
26016         for all computations.
26017         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26018         <fenv.h>.
26019         (tan): Save and restore rounding mode and use round-to-nearest for
26020         all computations.
26021         * math/libm-test.inc (cos_test_tonearest): New function.
26022         (cos_test_towardzero): Likewise.
26023         (cos_test_downward): Likewise.
26024         (cos_test_upward): Likewise.
26025         (sin_test_tonearest): Likewise.
26026         (sin_test_towardzero): Likewise.
26027         (sin_test_downward): Likewise.
26028         (sin_test_upward): Likewise.
26029         (tan_test_tonearest): Likewise.
26030         (tan_test_towardzero): Likewise.
26031         (tan_test_downward): Likewise.
26032         (tan_test_upward): Likewise.
26033         (main): Call the new functions.
26034         * sysdeps/i386/fpu/libm-test-ulps: Update.
26035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26037         [BZ #10135]
26038         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26039         small n, then large n, before computing and testing k+n.
26040         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26041         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26042         Likewise.
26043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26044         Likewise.
26045         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26046         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26047         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26048         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26049         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26050         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26051         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26052         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26053         * math/libm-test.inc (scalbn_test): Add more tests.
26054         (scalbln_test): Likewise.
26056         * manual/filesys.texi (mode_t): Describe constraints on size and
26057         signedness, not exact equivalence to a particular type.
26058         (ino_t): Likewise.
26059         (ino64_t): Likewise.
26060         (dev_t): Likewise.
26061         (nlink_t): Likewise.
26062         (blkcnt_t): Likewise.
26063         (blkcnt64_t): Likewise.
26064         * manual/llio.texi (off_t): Likewise.
26066         [BZ #3976]
26067         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26068         (__ieee754_exp): Save and restore rounding mode and use
26069         round-to-nearest for all computations.
26070         * math/libm-test.inc (exp_test_tonearest): New function.
26071         (exp_test_towardzero): Likewise.
26072         (exp_test_downward): Likewise.
26073         (exp_test_upward): Likewise.
26074         (main): Call the new functions.
26075         * sysdeps/i386/fpu/libm-test-ulps: Update.
26076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26078 2012-03-01  Chris Demetriou  <cgd@google.com>
26080         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26081         have predictable order.
26083 2012-03-01  David S. Miller  <davem@davemloft.net>
26085         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26087         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26088         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26089         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26090         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26092         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26093         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26094         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26096         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26097         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26098         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26099         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26100         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26104         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26105         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26106         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26108         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26109         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26110         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26111         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26112         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26113         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26114         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26115         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26116         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26117         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26118         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26119         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26121         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26122         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26123         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26124         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26125         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26126         * sysdeps/sparc/elf/configure: Regenerated.
26128 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26130         * configure.in (AS, LD): Require binutils 2.20 or later.
26131         * configure: Regenerated.
26132         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26133         as required minimum version.
26134         * INSTALL: Regenerated.
26136         [BZ #2541]
26137         [BZ #4108]
26138         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26139         before squaring exponent.
26140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26141         bottom long double and 27 bits of top long double before squaring
26142         exponent.
26143         * math/libm-test.inc (erfc_test): Add more tests.
26144         * sysdeps/i386/fpu/libm-test-ulps: Update.
26145         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26148 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26150         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26151         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26152         containing bit-fields.
26153         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26154         * soft-fp/single.h (_FP_UNION_S): Likewise.
26155         * soft-fp/double.h (_FP_UNION_D): Likewise.
26157 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26159         [BZ #13786]
26160         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26161         not include ../strcmp.S.
26162         [USE_AS_STRNCASECMP_L]: Likewise.
26163         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26164         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26165         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26166         (__strncasecmp_l_ia32): Define as alias to
26167         __strncasecmp_l_nonascii.
26169         [BZ #5794]
26170         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26171         * sysdeps/i386/fpu/libm-test-ulps: Update.
26172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26174         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26177 2012-02-29  Jeff Law  <law@redhat.com>
26179         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26180         out of bounds read.
26182 2012-02-29  Marek Polacek  <polacek@redhat.com>
26184         [BZ #13706]
26185         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26186         * elf/Makefile: Add rules to run tst-unused-dep.out.
26188 2012-02-28  David S. Miller  <davem@davemloft.net>
26190         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26191         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26192         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26193         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26194         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26195         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26197 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26199         * math/libm-test.inc (llround_test): Move one test from
26200         lround_test.  Use TEST_f_L in moved test.
26201         (lround_test): Move misplaced test to llround_test.  Add testcase
26202         from bug 2561.
26204 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26206         * sysdeps/x86_64/fpu/e_expf.S: New file.
26207         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26209 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26211         [BZ #13637]
26212         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26213         of remain_len that may cause incomplete multi-byte character and
26214         false match.
26215         * posix/bug-regex33.c: New file.
26216         * posix/Makefile (tests): Add bug-regex33.
26218 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26220         * manual/macros.texi: New file.
26221         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26222         * manual/libc.texinfo: Include macros.texi.
26223         * manual/creatute.texi: Likewise.
26224         * manual/install.texi: Likewise.
26225         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26226         @glibcadj{} in references to the GNU C Library.
26227         * manual/charset.texi: Likewise.
26228         * manual/conf.texi: Likewise.
26229         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26230         when not using those macros.
26231         * manual/creature.texi: Likewise.
26232         * manual/crypt.texi: Likewise.
26233         * manual/errno.texi: Likewise.
26234         * manual/filesys.texi: Likewise.
26235         * manual/header.texi: Likewise.
26236         * manual/install.texi: Likewise.
26237         * manual/intro.texi: Likewise.
26238         * manual/io.texi: Likewise.
26239         * manual/job.texi: Likewise.
26240         * manual/lang.texi: Likewise.
26241         * manual/libc.texiinfo: Likewise.
26242         * manual/llio.texi: Likewise.
26243         * manual/locale.texi: Likewise.
26244         * manual/maint.texi: Likewise.
26245         * manual/math.texi: Likewise.
26246         * manual/memory.texi: Likewise.
26247         * manual/message.texi: Likewise.
26248         * manual/nss.texi: Likewise.
26249         * manual/pattern.texi: Likewise.
26250         * manual/process.texi: Likewise.
26251         * manual/resource.texi: Likewise.
26252         * manual/search.texi: Likewise.
26253         * manual/setjmp.texi: Likewise.
26254         * manual/signal.texi: Likewise.
26255         * manual/socket.texi: Likewise.
26256         * manual/startup.texi: Likewise.
26257         * manual/stdio.texi: Likewise.
26258         * manual/string.texi: Likewise.
26259         * manual/sysinfo.texi: Likewise.
26260         * manual/syslog.texi: Likewise.
26261         * manual/terminal.texi: Likewise.
26262         * manual/time.texi: Likewise.
26263         * manual/users.texi: Likewise.
26264         * INSTALL: Regenerated.
26265         * NOTES: Regenerated.
26266         * sysdeps/gnu/errlist.c: Regenerated.
26268 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26270         * include/dirent.h: Include <dirstream.h> before
26271         <dirent/dirent.h>.
26273 2012-02-28  David S. Miller  <davem@davemloft.net>
26275         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26276         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26277         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26278         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26280 2012-02-27  David S. Miller  <davem@davemloft.net>
26282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26284         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26285         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26288         frame pointer instead of stack pointer relative arg slot.
26289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26290         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26291         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26293 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26295         [BZ #3992]
26296         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26298 2012-02-27  David S. Miller  <davem@davemloft.net>
26300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26304         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26305         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26306         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26307         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26309 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26311         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26312         later.  Allow versions 5-9.
26313         * configure: Regenerated.
26314         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26315         required minimum version and 4.6 as recommended version.  Do not
26316         mention bugs in GCC 2.7 and 2.8.
26317         * INSTALL: Regenerated.
26319 2012-02-27  David S. Miller  <davem@davemloft.net>
26321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26325         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26326         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26327         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26328         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26330         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26331         manipulate bits before adding and subtracting TWO112[sx].
26332         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26334 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26336         [BZ #13775]
26337         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26338         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26339         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26340         being in POSIX, because they are in 1003.1-2008.
26342         * rt/tst-aio.c: Include <fcntl.h>.
26343         * rt/tst-aio7.c: Likewise.
26344         * rt/tst-aio64.c: Likewise.
26346         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26348 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26350         * manual/install.texi (--with-headers): Describe headers as
26351         interface headers, not private headers.
26352         (Specific advice for GNU/Linux systems): Describe use of headers
26353         from "make headers_install", not private headers from older
26354         kernels.
26355         * INSTALL: Regenerated.
26356         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26357         Change to 2.6.19.
26358         * sysdeps/unix/sysv/linux/configure: Regenerated.
26360         * manual/llio.texi (fclean): Remove documentation.
26362         * manual/Makefile (libc-texi-generated): New variable.  Include
26363         version.texi.
26364         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26365         $(libc-texi-generated), not duplicated list of files.
26366         (version.texi, stamp-version): New rules.
26367         (realclean): Remove $(libc-texi-generated), not individual files
26368         from that list.  Do not remove dir-add.texinfo.
26369         * manual/libc.texinfo: Comment out uses of edition numbers and
26370         references to printed manual.  Remove last-updated dates.
26371         (EDITION): Comment out.
26372         (ISBN): Likewise.
26373         (VERSION, UPDATED): Remove.
26374         (version.texi): Include.
26376 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26378         * sysdeps/posix/spawni.c: Include <signal.h>.
26379         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26380         * sysdeps/pthread/aio_fsync.c: Likewise.
26382 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26384         * conform/Makefile (tests): Run only when not cross-compiling and
26385         when fast-check is not defined.
26387         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26388         * conform/data/limits.h-data: Fixes for POSIX2008.
26389         * conform/run-conformtest.sh: Run all tests.
26390         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26391         headers.
26392         * include/bits/dlfcn.h: Likewise.
26393         * include/langinfo.h: Likewise.
26394         * include/monetary.h: Likewise.
26395         * include/sys/poll.h: Likewise.
26397         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26398         for __USE_GNU.
26399         * posix/spawn.h: Define __need_sigset_t.
26400         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26401         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26402         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26403         to get sigevent_t only.
26404         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26405         only for __USE_GNU.
26406         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26407         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26408         process_vm_writev only for __USE_GNU.
26409         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26411         * conform/Makefile: For now ignore errors from run-conformtest.
26412         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26413         POSIX to avoid namespace pollution.  Don't prepend headers.
26414         * conform/data/aio.h-data: Fixes for POSIX testing.
26415         * conform/data/fcntl.h-data: Likewise.
26416         * conform/data/glob.h-data: Likewise.
26417         * conform/data/grp.h-data: Likewise.
26418         * conform/data/pthread.h-data: Likewise.
26419         * conform/data/pwd.h-data: Likewise.
26420         * conform/data/signal.h-data: Likewise.
26421         * conform/data/spawn.h-data: Likewise.
26422         * conform/data/stdio.h-data: Likewise.
26423         * conform/data/stdlib.h-data: Likewise.
26424         * conform/data/stropts.h-data: Likewise.
26425         * conform/data/sys/mman.h-data: Likewise.
26426         * conform/data/sys/stat.h-data: Likewise.
26427         * conform/data/sys/types.h-data: Likewise.
26428         * conform/data/sys/wait.h-data: Likewise.
26429         * conform/data/time.h-data: Likewise.
26430         * conform/data/unistd.h-data: Likewise.
26431         * conform/data/utime.h-data: Likewise.
26433         * io/sys/stat.h: fchmod was always in POSIX.
26434         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26435         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26436         * rt/aio.h: Define __need_timespec before including <time.h>.
26437         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26438         struct.  Add forward declaration of pthread_attr_t and use it in
26439         sigevent.
26440         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26441         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26442         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26443         always remove CLK_TCK definition.
26445 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26447         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26449 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26451         * conform/run-conformtest.sh: New file.
26452         * conform/Makefile: Run run-conformtest for tests.
26453         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26454         support.
26456         * conform/data/uchar.h-data: New file.
26457         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26458         * conform/data/arpa/inet.h-data: Likewise.
26459         * conform/data/assert.h-data: Likewise.
26460         * conform/data/complex.h-data: Likewise.
26461         * conform/data/cpio.h-data: Likewise.
26462         * conform/data/ctype.h-data: Likewise.
26463         * conform/data/dirent.h-data: Likewise.
26464         * conform/data/dlfcn.h-data: Likewise.
26465         * conform/data/errno.h-data: Likewise.
26466         * conform/data/fcntl.h-data: Likewise.
26467         * conform/data/float.h-data: Likewise.
26468         * conform/data/fmtmsg.h-data: Likewise.
26469         * conform/data/fnmatch.h-data: Likewise.
26470         * conform/data/ftw.h-data: Likewise.
26471         * conform/data/glob.h-data: Likewise.
26472         * conform/data/grp.h-data: Likewise.
26473         * conform/data/iconv.h-data: Likewise.
26474         * conform/data/inttypes.h-data: Likewise.
26475         * conform/data/langinfo.h-data: Likewise.
26476         * conform/data/libgen.h-data: Likewise.
26477         * conform/data/limits.h-data: Likewise.
26478         * conform/data/locale.h-data: Likewise.
26479         * conform/data/math.h-data: Likewise.
26480         * conform/data/monetary.h-data: Likewise.
26481         * conform/data/mqueue.h-data: Likewise.
26482         * conform/data/ndbm.h-data: Likewise.
26483         * conform/data/net/if.h-data: Likewise.
26484         * conform/data/netdb.h-data: Likewise.
26485         * conform/data/netinet/in.h-data: Likewise.
26486         * conform/data/nl_types.h-data: Likewise.
26487         * conform/data/poll.h-data: Likewise.
26488         * conform/data/pthread.h-data: Likewise.
26489         * conform/data/pwd.h-data: Likewise.
26490         * conform/data/regex.h-data: Likewise.
26491         * conform/data/sched.h-data: Likewise.
26492         * conform/data/search.h-data: Likewise.
26493         * conform/data/semaphore.h-data: Likewise.
26494         * conform/data/setjmp.h-data: Likewise.
26495         * conform/data/signal.h-data: Likewise.
26496         * conform/data/spawn.h-data: Likewise.
26497         * conform/data/stdarg.h-data: Likewise.
26498         * conform/data/stdio.h-data: Likewise.
26499         * conform/data/stdlib.h-data: Likewise.
26500         * conform/data/string.h-data: Likewise.
26501         * conform/data/strings.h-data: Likewise.
26502         * conform/data/stropts.h-data: Likewise.
26503         * conform/data/sys/ipc.h-data: Likewise.
26504         * conform/data/sys/mman.h-data: Likewise.
26505         * conform/data/sys/msg.h-data: Likewise.
26506         * conform/data/sys/resource.h-data: Likewise.
26507         * conform/data/sys/select.h-data: Likewise.
26508         * conform/data/sys/sem.h-data: Likewise.
26509         * conform/data/sys/shm.h-data: Likewise.
26510         * conform/data/sys/socket.h-data: Likewise.
26511         * conform/data/sys/stat.h-data: Likewise.
26512         * conform/data/sys/statvfs.h-data: Likewise.
26513         * conform/data/sys/time.h-data: Likewise.
26514         * conform/data/sys/timeb.h-data: Likewise.
26515         * conform/data/sys/times.h-data: Likewise.
26516         * conform/data/sys/types.h-data: Likewise.
26517         * conform/data/sys/uio.h-data: Likewise.
26518         * conform/data/sys/un.h-data: Likewise.
26519         * conform/data/sys/utsname.h-data: Likewise.
26520         * conform/data/sys/wait.h-data: Likewise.
26521         * conform/data/syslog.h-data: Likewise.
26522         * conform/data/tar.h-data: Likewise.
26523         * conform/data/termios.h-data: Likewise.
26524         * conform/data/utime.h-data: Likewise.
26525         * conform/data/utmpx.h-data: Likewise.
26526         * conform/data/varargs.h-data: Likewise.
26527         * conform/data/wchar.h-data: Likewise.
26528         * conform/data/wctype.h-data: Likewise.
26529         * conform/data/wordexp.h-data: Likewise.
26531         * include/stropts.h: New file.
26532         * include/uchar.h: New file.
26533         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26534         * include/assert.h: Likewise.
26535         * include/ctype.h: Likewise.
26536         * include/dirent.h: Likewise.
26537         * include/dlfcn.h: Likewise.
26538         * include/fcntl.h: Likewise.
26539         * include/fnmatch.h: Likewise.
26540         * include/glob.h: Likewise.
26541         * include/grp.h: Likewise.
26542         * include/libio.h: Likewise.
26543         * include/locale.h: Likewise.
26544         * include/math.h: Likewise.
26545         * include/net/if.h: Likewise.
26546         * include/netdb.h: Likewise.
26547         * include/netinet/in.h: Likewise.
26548         * include/pthread.h: Likewise.
26549         * include/pwd.h: Likewise.
26550         * include/regex.h: Likewise.
26551         * include/sched.h: Likewise.
26552         * include/search.h: Likewise.
26553         * include/setjmp.h: Likewise.
26554         * include/signal.h: Likewise.
26555         * include/stdio.h: Likewise.
26556         * include/stdlib.h: Likewise.
26557         * include/string.h: Likewise.
26558         * include/sys/cdefs.h: Likewise.
26559         * include/sys/mman.h: Likewise.
26560         * include/sys/msg.h: Likewise.
26561         * include/sys/resource.h: Likewise.
26562         * include/sys/select.h: Likewise.
26563         * include/sys/socket.h: Likewise.
26564         * include/sys/stat.h: Likewise.
26565         * include/sys/statvfs.h: Likewise.
26566         * include/sys/time.h: Likewise.
26567         * include/sys/times.h: Likewise.
26568         * include/sys/uio.h: Likewise.
26569         * include/sys/utsname.h: Likewise.
26570         * include/sys/wait.h: Likewise.
26571         * include/termios.h: Likewise.
26572         * include/time.h: Likewise.
26573         * include/ulimit.h: Likewise.
26574         * include/unistd.h: Likewise.
26575         * include/utime.h: Likewise.
26576         * include/wchar.h: Likewise.
26577         * include/wctype.h: Likewise.
26578         * include/wordexp.h: Likewise.
26580         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26582         * time/time.h: TIME_UTC must be a macro.
26583         Make timespec_get available for ISO C11 only as well.
26585 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26587         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26588         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26590 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26592         * configure.in: Use -o not -a in test for unsupported multi-arch.
26594 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26596         * manual/texinfo.tex: Update to version 2012-01-19.16.
26598 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26600         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26602 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26604         [BZ #13738]
26605         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26606         * manual/fdl-1.3.texi: New file.
26607         * manual/fdl-1.1.texi: File removed.
26609         [BZ #13738]
26610         * manual/libc.texinfo (FDL_VERSION): New @set.
26611         Use it for mention of FDL in cover text.
26612         (Documentation License): Use it in @include file name.
26614 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26615             Roland McGrath  <roland@hack.frob.com>
26617         [BZ #5461]
26618         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26619         not LONG_LONG_MAX and LONG_LONG_MIN.
26620         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26621         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26622         name.
26623         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26625 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26627         [BZ #2547]
26628         [BZ #11365]
26629         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26630         manipulate bits before adding and subtracting TWO23[sx].
26631         * math/libm-test.inc (nearbyint_test): Add more tests.
26633 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26635         [BZ #2548]
26636         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26637         bits before adding and subtracting TWO23[sx].
26638         * math/libm-test.inc (rint_test): Add more tests.
26639         (rint_test_tonearest): Likewise.
26640         (rint_test_towardzero): Likewise.
26641         (rint_test_downward): Likewise.
26642         (rint_test_upward: Likewise.
26644 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26646         [BZ #10110]
26647         * include/stdc-predef.h: New file.  Extracted from features.h.
26648         * include/features.h: Include stdc-predef.h.
26649         * Makefile (headers): Add stdc-predef.h.
26650         * CONFORMANCE (Compiler limitations): Update.
26652 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26654         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26656 2012-02-21  David S. Miller  <davem@davemloft.net>
26658         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26659         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26661 2012-02-20  David S. Miller  <davem@davemloft.net>
26663         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26664         using a normal save/restore sequence, rather than allocating a
26665         dummy stack frame just to store a frame pointer and restore.
26666         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26668 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26670         * manual/install.texi: Fix stray word in line-wrapped comment.
26672 2012-02-20  David S. Miller  <davem@davemloft.net>
26674         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26675         both binutils and gcc support GOTDATA.
26677         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26678         "rd %pc" in the PIC register setup sequences.
26680         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26681         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26682         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26683         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26684         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26685         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26686         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26687         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26689         (SYSCALL_ERROR_HANDLER): Likewise.
26690         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26691         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26692         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26693         (SYSCALL_ERROR_HANDLER): Likewise.
26695         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26696         (HAVE_GCC_GOTDATA): New.
26697         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26698         relocation support in both binutils and gcc.
26699         * sysdeps/sparc/elf/configure: Regenerate.
26701         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26702         * sysdeps/sparc/sparc32/elf/configure: Delete.
26703         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26704         * sysdeps/sparc/sparc64/elf/configure: Delete.
26705         * sysdeps/sparc/elf/configure.in: New file.
26706         * sysdeps/sparc/elf/configure: Generate.
26708         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26709         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26710         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26711         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26712         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26714 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26716         * manual/install.texi: Do not mention specific glibc version
26717         numbers.
26718         * manual/libc.texinfo (VERSION, UPDATED): Update.
26719         (@copying): Use @copyright{} and range of years.
26721 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26723         [BZ #13695]
26724         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26725         [crti.S not in sysdirs] (generated): Do not append.
26726         [crti.S not in sysdirs] (omit-deps): Likewise.
26727         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26728         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26729         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26730         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26731         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26732         Likewise.
26733         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26734         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26735         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26736         * csu/defs.awk: Remove file.
26737         * sysdeps/generic/initfini.c: Likewise.
26738         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26739         variable.
26740         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26741         Likewise.
26743 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26745         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26746         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26747         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26748         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26749         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26750         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26751         <bits/epoll.h>.
26752         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26753         (__EPOLL_PACKED): Define to empty if not defined by
26754         <bits/epoll.h>.
26755         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26757         bits/epoll.h.
26759 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26761         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26762         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26763         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26764         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26765         <bits/timerfd.h>.
26766         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26768         bits/timerfd.h.
26770 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26772         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26773         in C locale.
26774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26775         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26776         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26779 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26781         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26782         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26784 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26786         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26787         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26788         defined.
26789         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26790         Likewise.
26791         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26792         entry for 2.16.
26794 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26796         * math/w_acos.c: Use non-signaling floating-point comparisons.
26797         * math/w_acosf.c: Likewise.
26798         * math/w_acosh.c: Likewise.
26799         * math/w_acoshf.c: Likewise.
26800         * math/w_acoshl.c: Likewise.
26801         * math/w_acosl.c: Likewise.
26802         * math/w_asin.c: Likewise.
26803         * math/w_asinf.c: Likewise.
26804         * math/w_asinl.c: Likewise.
26805         * math/w_atanh.c: Likewise.
26806         * math/w_atanhf.c: Likewise.
26807         * math/w_atanhl.c: Likewise.
26808         * math/w_exp2.c: Likewise.
26809         * math/w_exp2f.c: Likewise.
26810         * math/w_exp2l.c: Likewise.
26811         * math/w_j0.c: Likewise.
26812         * math/w_j0f.c: Likewise.
26813         * math/w_j0l.c: Likewise.
26814         * math/w_j1.c: Likewise.
26815         * math/w_j1f.c: Likewise.
26816         * math/w_j1l.c: Likewise.
26817         * math/w_jn.c: Likewise.
26818         * math/w_jnf.c: Likewise.
26819         * math/w_log.c: Likewise.
26820         * math/w_log10.c: Likewise.
26821         * math/w_log10f.c: Likewise.
26822         * math/w_log10l.c: Likewise.
26823         * math/w_log2.c: Likewise.
26824         * math/w_log2f.c: Likewise.
26825         * math/w_log2l.c: Likewise.
26826         * math/w_logf.c: Likewise.
26827         * math/w_logl.c: Likewise.
26828         * math/w_sqrt.c: Likewise.
26829         * math/w_sqrtf.c: Likewise.
26830         * math/w_sqrtl.c: Likewise.
26831         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26832         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26833         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26834         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26835         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26837 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26839         [BZ #9739]
26840         * manual/string.texi (strnlen): Use correct parameter name in
26841         equivalent expression.
26843 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26845         [BZ #11174]
26846         * manual/users.texi (seteuid): Consistently use neweuid for
26847         argument name.
26849 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #13704]
26852         * manual/nss.texi (Services in the NSS configuration): Correct
26853         list of services in example configuration file.
26855 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26857         [BZ #11322]
26858         * manual/arith.texi: Remove statements about negative zero
26859         behaving identically to zero.
26861 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26863         [BZ #5993]
26864         * manual/install.texi: Do not document upgrading from libc5.
26866 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26868         [BZ #4596]
26869         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26871 2012-02-18  David S. Miller  <davem@davemloft.net>
26873         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26874         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26875         %o7 across the call.
26876         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26877         instead.
26878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26879         SETUP_PIC_REG_LEAF.
26880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26881         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26882         * sysdeps/sparc/crtn.S: Likewise.
26884 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26886         * aout/Makefile: Remove.
26888 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26890         [BZ #13058]
26891         * manual/examples/argp-ex1.c (main): Format definition in GNU
26892         style.
26893         * manual/examples/argp-ex2.c (main): Likewise.
26894         * manual/examples/argp-ex3.c (main): Likewise.
26895         * manual/examples/argp-ex4.c (main): Likewise.
26896         * manual/examples/longopt.c (main): Use new-style prototype
26897         definition.
26898         * manual/examples/strncat.c (main): Specify return type and use
26899         (void) for arguments.
26900         * manual/examples/subopt.c (main): Use char **argv argument.
26902 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26904         [BZ #5077]
26905         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26906         rounding modes.
26908 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26910         [BZ #6907]
26911         * manual/string.texi (strchr): Change when strchrnul is
26912         recommended.
26914 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26916         [BZ #174]
26917         * manual/locale.texi (setlocale): Document LOCPATH.
26919 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26921         [BZ #10210]
26922         * manual/process.texi (execle): Move @dots{} before last argument.
26924 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26926         [BZ #12047]
26927         * manual/charset.texi (Generic Charset Conversion): Fix typo
26928         (LC_TYPE -> LC_CTYPE).
26930 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26932         [BZ #5805]
26933         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26934         (scalbnf): Likewise.
26935         (scalbnl): Likewise.
26936         (scalbln): Likewise.
26937         (scalblnf): Likewise.
26938         (scalblnl): Likewise.
26939         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26940         (vwarnx): Likewise.
26941         (verr): Likewise.
26942         (verrx): Likewise.
26943         * manual/filesys.texi (telldir): Use braces around return type.
26944         * manual/llio.texi (mmap): Add space after comma.
26945         (mmap64): Likewise.
26946         * manual/math.texi (jn): Use @var{} on parameter names.
26947         (jnf): Likewise.
26948         (jnl): Likewise.
26949         (yn): Likewise.
26950         (ynf): Likewise.
26951         (ynl): Likewise.
26952         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26953         line.
26954         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26955         "...".
26956         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26957         (sched_get_priority_max): Likewise.
26958         * manual/signal.texi (sigvec): Add space after comma.
26959         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26960         names.
26961         (if_indextoname): Likewise.
26962         (if_freenameindex): Likewise.
26963         (sendto): Use ',' instead of '.' in prototype.
26964         * manual/startup.texi (syscall): Use @dots{} instead of literal
26965         "...".
26966         * manual/stdio.texi (__fpending): Separate initial words of
26967         paragraph from @deftypefun line.
26968         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26969         "...".
26970         (vsyslog): Use @var{} on parameter names.
26971         * manual/terminal.texi (stty): Use @var{} on parameter names.
26972         * manual/users.texi (getutmp): Use @var{} on parameter names.
26973         (getutmpx): Likewise.
26975 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26977         [BZ #6884]
26978         * manual/stdio.texi (fopen): Fix typos in description of
26979         ",ccs=STRING".
26981 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26983         [BZ #4026]
26984         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26985         get clock_id definition.
26987 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26989         [BZ #4822]
26990         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26991         (madvise): Cast every argument to void on its own.
26993 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26995         [BZ #9902]
26996         * manual/startup.texi (Exit Status): Fix typo.
26998 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27000         [BZ #10140]
27001         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27002         * manual/examples/argp-ex2.c: Likewise.
27003         * manual/examples/argp-ex3.c: Likewise.
27005 2012-02-16  Richard Henderson  <rth@redhat.com>
27007         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27008         * sysdeps/s390/s390-32/initfini.c: Remove.
27009         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27010         * sysdeps/s390/s390-64/initfini.c: Remove.
27012 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27014         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27015         compiler output for sysdeps/generic/initfini.c.
27016         * sysdeps/sh/elf/initfini.c: Remove file.
27018 2012-02-16  David S. Miller  <davem@davemloft.net>
27020         [BZ #11494]
27021         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27023         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27024         * sysdeps/sparc/crti.S: New file.
27025         * sysdeps/sparc/crtn.S: New file.
27026         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27027         * sysdeps/sparc/sparc64/Makefile: Likewise.
27029 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27031         [BZ #3335]
27032         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27034 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27036         [BZ #4822]
27037         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27039         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27040         (write, read, close): Likewise.
27041         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27043 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27045         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27046         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27047         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27048         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27049         <bits/signalfd.h>.
27050         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27051         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27052         bits/signalfd.h.
27054 2012-02-14  Marek Polacek  <polacek@redhat.com>
27056         * sysdeps/x86_64/crti.S: New file.
27057         * sysdeps/x86_64/crtn.S: New file.
27058         * sysdeps/x86_64/elf/initfini.c: Remove file.
27060 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27062         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27063         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27064         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27065         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27066         <bits/inotify.h>.
27067         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27069         bits/inotify.h.
27071 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27073         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27074         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27075         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27076         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27077         <bits/eventfd.h>.
27078         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27080         bits/eventfd.h.
27082 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27084         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27085         __feraiseexcept instead of feraiseexcept.
27087         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27088         nanosleep invocations.
27089         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27090         strings, and add error checking for a nanosleep invocations.
27092 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27094         Replace FSF snail mail address with URLs, as per GNU coding standards.
27095         Most of the snail mail addresses were wrong anyway, and omitting
27096         them makes the source code easier to maintain.  Almost all of the
27097         changes are to license notices and to locale LC_IDENTIFICATION
27098         addresses, except for this one:
27099         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27100         not its snail mail address.
27102 2012-02-09  Richard Henderson  <rth@twiddle.net>
27104         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27105         of kernel-features.h.
27107         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27109 2012-02-08  Marek Polacek  <polacek@redhat.com>
27111         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27112         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27113         * sysdeps/gnu/_G_config.h: Likewise.
27114         * sysdeps/generic/_G_config.h: Likewise.
27116 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27118         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27119         tests.
27120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27122         * sysdeps/powerpc/powerpc32/crti.S: New file.
27123         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27124         * sysdeps/powerpc/powerpc64/crti.S: New file.
27125         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27127         * Makeconfig (have-initfini): Don't set.
27128         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27129         * configure.in (nopic_initfini): Don't substitute.
27130         * config.h.in (HAVE_INITFINI): Don't #undef.
27131         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27132         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27134 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27136         Support crti.S and crtn.S provided directly by architectures.
27137         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27138         [crti.S in sysdirs] (omit-deps): Likewise.
27139         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27140         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27141         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27142         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27143         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27144         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27145         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27146         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27147         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27148         compiler output for sysdeps/generic/initfini.c.
27149         * sysdeps/i386/elf/Makefile: Remove file.
27150         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27152 2012-02-07  Marek Polacek  <polacek@redhat.com>
27154         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27155         * sysdeps/gnu/_G_config.h: Likewise.
27156         * sysdeps/mach/hurd/_G_config.h: Likewise.
27158 2012-02-07  Marek Polacek  <polacek@redhat.com>
27160         * math/Makefile (tests): Add tst-CMPLX2.
27161         * math/tst-CMPLX2.c: New file.
27163 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27165         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27167         * math/libm-test.inc (jn_test): Add missing L suffix.
27169 2012-02-06  Marek Polacek  <polacek@redhat.com>
27171         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27172         * sysdeps/i386/fpu/e_powf.S: Likewise.
27173         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27174         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27175         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27176         * sysdeps/i386/fpu/e_pow.S: Likewise.
27177         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27178         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27179         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27180         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27181         * sysdeps/i386/fpu/e_log2.S: Likewise.
27182         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27183         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27184         * sysdeps/i386/fpu/e_powl.S: Likewise.
27185         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27186         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27187         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27188         * sysdeps/i386/fpu/e_logl.S: Likewise.
27189         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27190         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27191         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27192         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27193         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27194         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27195         * sysdeps/i386/fpu/e_log.S: Likewise.
27196         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27197         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27198         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27199         * sysdeps/i386/fpu/e_logf.S: Likewise.
27200         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27201         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27202         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27203         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27204         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27205         * sysdeps/i386/fpu/e_log10.S: Likewise.
27206         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27207         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27208         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27209         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27210         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27211         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27212         * sysdeps/i386/asm-syntax.h: Likewise.
27213         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27214         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27215         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27216         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27217         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27218         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27219         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27220         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27221         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27222         * sysdeps/powerpc/sysdep.h: Likewise.
27223         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27224         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27226 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27228         [BZ #411]
27229         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27231 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27233         * sysdeps/i386/sysdep.h: Include <features.h>.
27234         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27235         version.
27237 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27239         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27240         Define.
27241         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27242         LOAD_PIC_REG_STR.
27244 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27246         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27247         (SETUP_PIC_REG): Use GET_PC_THUNK.
27248         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27249         macro.
27251 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27253         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27254         for non-PIC compilation.
27255         (SETUP_PIC_REG): Add .p2align directive.
27256         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27257         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27258         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27259         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27260         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27261         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27262         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27263         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27264         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27265         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27266         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27267         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27268         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27269         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27270         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27271         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27272         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27273         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27274         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27275         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27276         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27277         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27278         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27279         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27280         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27281         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27282         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27283         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27284         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27285         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27286         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27287         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27288         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27289         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27290         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27291         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27292         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27293         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27294         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27295         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27296         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27298 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27300         * math/tst-CMPLX.c: Include <stdio.h>.
27302 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27304         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27305         float.
27306         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27307         * sysdeps/sparc/bits/mathdef.h: Likewise.
27309 2012-01-31  Marek Polacek  <polacek@redhat.com>
27311         * libio/libio.h: Don't define _PARAMS.
27312         * locale/programs/config.h: Don't define PARAMS.
27313         * stdlib/strtol_l.c: Likewise.
27314         (__strtol_l): Remove PARAMS from the prototype.
27316 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27318         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27319         names.  Just use the correct names.  Remove unnecessary wrapper
27320         functions.
27321         * malloc/arena.c: Likewise.
27322         * malloc/hooks.c: Likewise.
27324         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27325         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27326         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27328 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27330         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27331         into tail calls.
27332         (update_get_addr): New function.
27333         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27334         GET_ADDR_MODULE parameter.
27336 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27338         * crypt/cert.c: Remove __STDC__ conditionals.
27339         * crypt/crypt-entry.c: Likewise.
27340         * crypt/crypt_util.c: Likewise.
27341         * libio/filedoalloc.c: Likewise.
27342         * libio/fileops.c: Likewise.
27343         * libio/genops.c: Likewise.
27344         * libio/iofclose.c: Likewise.
27345         * libio/iofdopen.c: Likewise.
27346         * libio/iofopen.c: Likewise.
27347         * libio/iofopen64.c: Likewise.
27348         * libio/iogetdelim.c: Likewise.
27349         * libio/iopopen.c: Likewise.
27350         * libio/obprintf.c: Likewise.
27351         * libio/oldfileops.c: Likewise.
27352         * libio/oldiofclose.c: Likewise.
27353         * libio/oldiofdopen.c: Likewise.
27354         * libio/oldiofopen.c: Likewise.
27355         * libio/oldiopopen.c: Likewise.
27356         * libio/wfiledoalloc.c: Likewise.
27357         * libio/wgenops.c: Likewise.
27358         * locale/programs/xmalloc.c: Likewise.
27359         * misc/syslog.c: Likewise.
27360         * stdio-common/xbug.c: Likewise.
27361         * string/memchr.c: Likewise.
27362         * string/memcmp.c: Likewise.
27363         * string/memrchr.c: Likewise.
27364         * string/rawmemchr.c: Likewise.
27365         * sysdeps/posix/getcwd.c: Likewise.
27366         * time/strftime_l.c: Likewise.
27368 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27370         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27371         * config.make.in (config-cflags-sse2avx): Define.
27372         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27373         Fix typo.
27375 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27377         * scripts/config.guess: Update from upstream config git repository.
27378         * scripts/config.sub: Likewise.
27380 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27382         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27383         (EM_NUM): Update.
27384         (R_TILEPRO_*, R_TILEGX_*): New macros.
27386         * scripts/firstversions.awk: Fix bug in version range handling.
27388         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27390         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27392         * include/sys/epoll.h: New file.
27393         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27394         libc_hidden_def.
27396 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27398         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27399         Avoid unnecessary __WORDSIZE == 64 test.
27400         (fmaxf): Use VEX format if possible.
27401         (fmax): Likewise.
27402         (fminf): Likewise.
27403         (fmin): Likewise.
27405         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27406         * math/math_private.h: Remove libc_fegetround* and
27407         libc_fesetround*.
27408         * sysdeps/i386/configure.in: Check for -msse2avx.
27409         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27410         also if SSE2AVX is defined.
27411         Remove libc_fegetround* and libc_fesetround*.
27412         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27413         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27414         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27415         of HAS_YMM_USABLE.
27416         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27417         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27418         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27419         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27420         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27422         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27424 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27426         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27427         size is not set.
27428         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27430 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27432         [BZ #13618]
27433         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27434         relocation.
27435         * Makeconfig (libm): Define.
27436         * elf/Makefile: Add rules to build and run tst-relsort1.
27437         * elf/tst-relsort1.c: New file.
27438         * elf/tst-relsort1mod1.c: New file.
27439         * elf/tst-relsort1mod2.c: New file.
27441 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27443         * math/s_ldexp.c: Remove __STDC__ conditionals.
27444         * math/s_ldexpf.c: Likewise.
27445         * math/s_ldexpl.c: Likewise.
27446         * math/s_nextafter.c: Likewise.
27447         * math/s_nexttowardf.c: Likewise.
27448         * math/s_significand.c: Likewise.
27449         * math/s_significandf.c: Likewise.
27450         * math/s_significandl.c: Likewise.
27451         * math/w_jnl.c: Likewise.
27452         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27453         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27454         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27455         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27456         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27457         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27458         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27459         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27460         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27461         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27462         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27463         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27464         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27465         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27466         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27467         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27468         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27469         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27470         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27471         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27472         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27473         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27474         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27475         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27476         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27477         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27478         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27479         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27480         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27481         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27482         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27483         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27484         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27485         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27486         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27487         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27488         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27489         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27490         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27491         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27492         * sysdeps/ieee754/k_standard.c: Likewise.
27493         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27494         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27495         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27496         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27497         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27498         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27499         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27500         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27501         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27502         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27503         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27504         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27505         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27506         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27507         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27508         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27509         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27510         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27511         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27512         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27513         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27514         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27515         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27516         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27517         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27518         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27519         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27521         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27522         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27523         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27524         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27525         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27526         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27527         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27528         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27529         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27530         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27531         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27532         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27533         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27535         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27536         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27537         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27538         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27539         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27540         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27541         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27542         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27543         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27544         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27545         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27546         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27547         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27548         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27549         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27550         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27551         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27552         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27553         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27554         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27555         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27556         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27557         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27558         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27559         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27560         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27561         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27562         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27563         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27564         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27565         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27566         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27567         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27568         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27569         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27570         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27571         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27572         * sysdeps/ieee754/s_matherr.c: Likewise.
27573         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27574         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27575         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27576         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27578 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27580         * crypt/md5.h: Remove __STDC__ conditionals.
27581         * libio/libioP.h: Likewise.
27582         * locale/programs/config.h: Likewise.
27583         * sysdeps/generic/sysdep.h: Likewise.
27584         * sysdeps/i386/asm-syntax.h: Likewise.
27585         * sysdeps/s390/asm-syntax.h: Likewise.
27586         * sysdeps/unix/sysdep.h: Likewise.
27587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27590 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27592         * libio/libio.h: Remove __STDC__ conditionals.
27593         * malloc/obstack.h: Likewise.
27594         * math/complex.h: Likewise.
27595         * math/math.h: Likewise.
27596         * sysdeps/generic/_G_config.h: Likewise.
27597         * sysdeps/gnu/_G_config.h: Likewise.
27598         * sysdeps/mach/hurd/_G_config.h: Likewise.
27599         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27600         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27601         * sysdeps/sparc/bits/mathdef.h: Likewise.
27603 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27605         [BZ #13583]
27606         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27607         Clean up HAS_* macros.
27608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27609         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27610         possible.
27611         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27612         HAS_AVX.
27613         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27614         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27615         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27616         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27617         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27619 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27621         * elf/tst-unique3.cc (gets): Remove declaration.
27622         * elf/tst-unique3lib.cc (gets): Likewise.
27623         * elf/tst-unique3lib2.cc (gets): Likewise.
27624         * elf/tst-unique4.cc (gets): Likewise.
27626 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27628         * include/stdio.h: Add C++ protection.  Add gets declarations and
27629         definitions.
27630         * debug/tst-chk1.c: Don't declare gets here.
27631         * stdio-common/tst-gets.c: Likewise.
27633 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27635         * posix/glob: Remove directory.
27637 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27639         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27641 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27643         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27644         of the non-standard EPFNOSUPPORT.
27646 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27648         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27649         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27650         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27652 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27654         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27656 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27658         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27659         transient errors.
27660         * nscd/grpcache.c (cache_addgr): Likewise.
27661         * nscd/hstcache.c (cache_addhst): Likewise.
27662         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27663         * nscd/pwdcache.c (cache_addpw): Likewise.
27664         * nscd/servicescache.c (cache_addserv): Likewise.
27666 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27668         * malloc/malloc.c: Various cleanups.
27669         * malloc/hooks.c: Likewise.
27671         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27672         * stdlib/bug-fmtmsg1.c: New file.
27674         * stdlib/fmtmsg.c (init): Add missing unlock.
27675         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27677 2012-01-12  Marek Polacek  <polacek@redhat.com>
27679         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27680         and _GNU_SOURCE.
27682 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27684         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27685         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27686         macro to ensure uniqueness of label name.
27687         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27688         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27690 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27692         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27694         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27695         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27696         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27699 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27701         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27703         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27704         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27705         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27707         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27709         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27710         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27711         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27712         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27714         * math/bits/math-finite.h: Add ldexp support.
27716 2012-01-10  Marek Polacek  <polacek@redhat.com>
27718         * locale/programs/localedef.h (show_archive_content): Add noreturn
27719         attribute.
27721 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27723         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27725 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27727         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27729         * io/Makefile (headers): Add bits/poll2.h.
27731 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27734         typo #include statement.
27736 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27738         * include/sys/cdefs.h: Define __attribute_alloc_size.
27739         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27740         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27741         * elf/pldd.c: Likewise.
27742         * iconv/iconv_charmap.c: Likewise.
27743         * iconv/iconvconfig.c: Likewise.
27744         * iconv/strtab.c: Likewise.
27745         * locale/programs/locale.c: Likewise.
27746         * locale/programs/localedef.h: Likewise.
27747         * locale/programs/simple-hash.c: Likewise.
27748         * nscd/nscd.h: Likewise.
27749         * nss/makedb.c: Likewise.
27750         * sysdeps/generic/ldconfig.h: Likewise.
27751         * locale/programs/localedef.c: Remove xmalloc prototype.
27752         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27754 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27756         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27757         appropriate.
27759 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27761         * math/Makefile (tests): Add tst-CMPLX.
27762         * math/tst-CMPLX.c: New file.
27764         * math/complex.h (CMPLXL): Fix typo.
27766         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27767         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27768         GLIBC_2.16.
27769         * debug/tst-chk1.c: Add poll and ppoll tests.
27770         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27771         * include/sys/poll.h: Add hidden proto for ppoll.
27772         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27773         * sysdeps/mach/hurd/ppoll.c: Likewise.
27774         * io/ppoll.c: Likewise.
27775         * debug/poll_chk.c: New file.
27776         * debug/ppoll_chk.c: New file.
27777         * include/bits/poll2.h: New file.
27778         * io/bits/poll2.h: New file.
27780         [BZ #1350]
27781         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27783         * configure.in: static is always set to yes.  Remove.
27784         * config.make.in: Don't set build-static.
27785         * Makeconfig: Remove use of build-static.
27786         * dlfcn/Makefile: Likewise.
27787         * elf/Makefile: Likewise.
27788         * math/Makefile: Likewise.
27789         * misc/Makefile: Likewise.
27790         * nptl/Makefile: Likewise.
27791         * sysdeps/mach/hurd/Makefile: Likewise.
27793         * configure.in: PWD_P is not used anymore.
27794         * config.make.in: Remove PWD_P entry.
27796         * configure.in: Remove last remnants of RANLIB.
27797         No need to check for signed size_t anymore.
27798         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27799         and IA-64.
27800         Remove __builtin_expect test because we require at least gcc 3.4.
27801         * aclocal.m4: Likewise.
27803         * wcsmbs/mbrtoc16.c: Implement using towc function.
27804         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27805         * wcsmbs/wcsmbsload.c: Likewise.
27806         * iconv/gconv_simple.c: Likewise.
27807         * iconv/gconv_int.h: Likewise.
27808         * iconv/gconv_builtin.h: Likewise.
27809         * iconv/iconv_prog.c: Remove CHAR16 handling.
27811         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27813         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27815         * configure.in: Remove --with-elf and --enable-bounded options.
27816         Dont set base_machine for ia64.  More non-ELF conditions removed.
27817         Remove testing and setting of leading underscore information.
27818         * config.make.in (build-bounded): Set to no.
27819         * config.h.in: Remove NO_UNDERSCORES entry.
27820         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27821         them.
27822         * csu/start.c: Remove !NO_UNDERSCORE code.
27823         * locale/localeinfo.h: Likewise.
27824         * sysdeps/generic/machine-gmon.h: Likewise.
27825         * sysdeps/generic/sysdep.h: Likewise.
27826         * sysdeps/i386/sysdep.h: Likewise.
27827         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27828         * sysdeps/mach/sysdep.h: Likewise.
27829         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27830         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27831         * sysdeps/sh/sysdep.h: Likewise.
27832         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27833         * sysdeps/unix/i386/sysdep.S: Likewise.
27834         * sysdeps/unix/sparc/start.c: Likewise.
27835         * sysdeps/unix/sparc/sysdep.S: Likewise.
27836         * sysdeps/unix/sparc/sysdep.h: Likewise.
27837         * sysdeps/unix/start.c: Likewise.
27838         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27839         * sysdeps/x86_64/sysdep.h: Likewise.
27841 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27843         [BZ #13553]
27844         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27845         for non-gcc.
27846         * argp/argp-fmtstream.h: Use const instead __const.
27847         * argp/argp.h: Likewise.
27848         * assert/assert.h: Likewise.
27849         * bits/fenv.h: Likewise.
27850         * bits/sched.h: Likewise.
27851         * bits/sigset.h: Likewise.
27852         * bits/sigthread.h: Likewise.
27853         * catgets/nl_types.h: Likewise.
27854         * conform/data/pthread.h-data: Likewise.
27855         * crypt/crypt-private.h: Likewise.
27856         * crypt/crypt.h: Likewise.
27857         * crypt/crypt_util.c: Likewise.
27858         * ctype/ctype.h: Likewise.
27859         * debug/execinfo.h: Likewise.
27860         * debug/mbsnrtowcs_chk.c: Likewise.
27861         * debug/mbsrtowcs_chk.c: Likewise.
27862         * debug/wcsnrtombs_chk.c: Likewise.
27863         * debug/wcsrtombs_chk.c: Likewise.
27864         * debug/wcstombs_chk.c: Likewise.
27865         * dirent/dirent.h: Likewise.
27866         * dlfcn/dlfcn.h: Likewise.
27867         * elf/neededtest4.c: Likewise.
27868         * grp/grp.h: Likewise.
27869         * gshadow/gshadow.h: Likewise.
27870         * iconv/gconv.h: Likewise.
27871         * iconv/gconv_int.h: Likewise.
27872         * iconv/gconv_simple.c: Likewise.
27873         * iconv/iconv.h: Likewise.
27874         * iconv/loop.c: Likewise.
27875         * iconv/skeleton.c: Likewise.
27876         * include/aio.h: Likewise.
27877         * include/aliases.h: Likewise.
27878         * include/argz.h: Likewise.
27879         * include/arpa/inet.h: Likewise.
27880         * include/assert.h: Likewise.
27881         * include/dirent.h: Likewise.
27882         * include/dlfcn.h: Likewise.
27883         * include/execinfo.h: Likewise.
27884         * include/fcntl.h: Likewise.
27885         * include/fenv.h: Likewise.
27886         * include/glob.h: Likewise.
27887         * include/grp.h: Likewise.
27888         * include/libintl.h: Likewise.
27889         * include/mntent.h: Likewise.
27890         * include/netdb.h: Likewise.
27891         * include/pwd.h: Likewise.
27892         * include/rpc/netdb.h: Likewise.
27893         * include/sched.h: Likewise.
27894         * include/search.h: Likewise.
27895         * include/shadow.h: Likewise.
27896         * include/signal.h: Likewise.
27897         * include/stdio.h: Likewise.
27898         * include/stdlib.h: Likewise.
27899         * include/string.h: Likewise.
27900         * include/sys/socket.h: Likewise.
27901         * include/sys/stat.h: Likewise.
27902         * include/sys/statfs.h: Likewise.
27903         * include/sys/statvfs.h: Likewise.
27904         * include/sys/syslog.h: Likewise.
27905         * include/sys/time.h: Likewise.
27906         * include/sys/uio.h: Likewise.
27907         * include/time.h: Likewise.
27908         * include/unistd.h: Likewise.
27909         * include/utmp.h: Likewise.
27910         * include/wchar.h: Likewise.
27911         * include/wctype.h: Likewise.
27912         * inet/aliases.h: Likewise.
27913         * inet/arpa/inet.h: Likewise.
27914         * inet/netinet/ether.h: Likewise.
27915         * inet/netinet/in.h: Likewise.
27916         * intl/libintl.h: Likewise.
27917         * io/bits/fcntl2.h: Likewise.
27918         * io/fcntl.h: Likewise.
27919         * io/ftw.h: Likewise.
27920         * io/sys/poll.h: Likewise.
27921         * io/sys/stat.h: Likewise.
27922         * io/sys/statfs.h: Likewise.
27923         * io/sys/statvfs.h: Likewise.
27924         * io/utime.h: Likewise.
27925         * libio/bits/stdio.h: Likewise.
27926         * libio/bits/stdio2.h: Likewise.
27927         * libio/libio.h: Likewise.
27928         * libio/libioP.h: Likewise.
27929         * libio/stdio.h: Likewise.
27930         * locale/lc-ctype.c: Likewise.
27931         * locale/locale.h: Likewise.
27932         * login/utmp.h: Likewise.
27933         * malloc/arena.c: Likewise.
27934         * malloc/malloc.c: Likewise.
27935         * malloc/malloc.h: Likewise.
27936         * malloc/mcheck.c: Likewise.
27937         * malloc/mtrace.c: Likewise.
27938         * math/bits/mathcalls.h: Likewise.
27939         * math/fenv.h: Likewise.
27940         * math/math_private.h: Likewise.
27941         * misc/bits/error.h: Likewise.
27942         * misc/bits/syslog.h: Likewise.
27943         * misc/err.h: Likewise.
27944         * misc/error.h: Likewise.
27945         * misc/fstab.h: Likewise.
27946         * misc/mntent.h: Likewise.
27947         * misc/regexp.h: Likewise.
27948         * misc/search.h: Likewise.
27949         * misc/sgtty.h: Likewise.
27950         * misc/sys/mman.h: Likewise.
27951         * misc/sys/syslog.h: Likewise.
27952         * misc/sys/uio.h: Likewise.
27953         * misc/sys/xattr.h: Likewise.
27954         * misc/ttyent.h: Likewise.
27955         * nis/rpcsvc/ypclnt.h: Likewise.
27956         * nss/nss.h: Likewise.
27957         * posix/bits/unistd.h: Likewise.
27958         * posix/fnmatch.h: Likewise.
27959         * posix/glob.h: Likewise.
27960         * posix/sched.h: Likewise.
27961         * posix/spawn.h: Likewise.
27962         * posix/sys/wait.h: Likewise.
27963         * posix/unistd.h: Likewise.
27964         * posix/wordexp.h: Likewise.
27965         * pwd/pwd.h: Likewise.
27966         * resolv/netdb.h: Likewise.
27967         * resource/sys/resource.h: Likewise.
27968         * rt/aio.h: Likewise.
27969         * rt/bits/mqueue2.h: Likewise.
27970         * rt/mqueue.h: Likewise.
27971         * shadow/shadow.h: Likewise.
27972         * signal/signal.h: Likewise.
27973         * socket/send.c: Likewise.
27974         * socket/sendto.c: Likewise.
27975         * socket/sys/socket.h: Likewise.
27976         * stdio-common/printf.h: Likewise.
27977         * stdlib/bits/stdlib.h: Likewise.
27978         * stdlib/fmtmsg.h: Likewise.
27979         * stdlib/monetary.h: Likewise.
27980         * stdlib/stdlib.h: Likewise.
27981         * stdlib/ucontext.h: Likewise.
27982         * streams/stropts.h: Likewise.
27983         * string/argz.h: Likewise.
27984         * string/bits/string2.h: Likewise.
27985         * string/string.h: Likewise.
27986         * string/strings.h: Likewise.
27987         * sunrpc/rpc/auth.h: Likewise.
27988         * sunrpc/rpc/auth_des.h: Likewise.
27989         * sunrpc/rpc/clnt.h: Likewise.
27990         * sunrpc/rpc/netdb.h: Likewise.
27991         * sunrpc/rpc/pmap_clnt.h: Likewise.
27992         * sunrpc/rpc/xdr.h: Likewise.
27993         * sysdeps/generic/inttypes.h: Likewise.
27994         * sysdeps/generic/net/if.h: Likewise.
27995         * sysdeps/generic/sys/swap.h: Likewise.
27996         * sysdeps/gnu/net/if.h: Likewise.
27997         * sysdeps/gnu/utmpx.h: Likewise.
27998         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27999         * sysdeps/i386/i486/bits/string.h: Likewise.
28000         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28001         * sysdeps/s390/bits/string.h: Likewise.
28002         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28003         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28004         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28005         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28006         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28007         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28008         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28009         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28010         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28011         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28012         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28013         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28014         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28015         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28016         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28017         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28018         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28019         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28020         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28021         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28022         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28023         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28024         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28025         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28026         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28027         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28028         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28029         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28030         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28031         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28032         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28033         * sysvipc/sys/ipc.h: Likewise.
28034         * sysvipc/sys/msg.h: Likewise.
28035         * sysvipc/sys/sem.h: Likewise.
28036         * sysvipc/sys/shm.h: Likewise.
28037         * termios/termios.h: Likewise.
28038         * time/sys/time.h: Likewise.
28039         * time/time.h: Likewise.
28040         * wcsmbs/bits/wchar2.h: Likewise.
28041         * wcsmbs/uchar.h: Likewise.
28042         * wcsmbs/wchar.h: Likewise.
28043         * wctype/wctype.h: Likewise.
28045         [BZ #13551]
28046         * Makeconfig: Remove all but ELF support including AIX support.
28047         * Makerules: Likewise.
28048         * config.h.in: Likewise.
28049         * config.make.in: Likewise.
28050         * configure: Likewise.
28051         * configure.in: Likewise.
28052         * csu/Makefile: Likewise.
28053         * csu/version.c: Likewise.
28054         * debug/Makefile: Likewise.
28055         * dlfcn/Makefile: Likewise.
28056         * elf/Makefile: Likewise.
28057         * extra-lib.mk: Likewise.
28058         * iconv/Makefile: Likewise.
28059         * include/libc-symbols.h: Likewise.
28060         * include/shlib-compat.h: Likewise.
28061         * resolv/Makefile: Likewise.
28062         * resolv/res_libc.c: Likewise.
28063         * rt/Makefile: Likewise.
28064         * sysdeps/i386/asm-syntax.h: Likewise.
28065         * sysdeps/i386/sysdep.h: Likewise.
28066         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28067         * sysdeps/mach/sysdep.h: Likewise.
28068         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28069         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28070         * sysdeps/s390/asm-syntax.h: Likewise.
28071         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28073         * sysdeps/sh/sysdep.h: Likewise.
28074         * sysdeps/unix/sparc/sysdep.h: Likewise.
28075         * sysdeps/wordsize-32/divdi3.c: Likewise.
28076         * sysdeps/x86_64/sysdep.h: Likewise.
28078         * argp/Versions: Remove _argp_unlock_xxx.
28080         [BZ #13559]
28081         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28082         * abilist/libBrokenLocale.abilist: Likewise.
28083         * abilist/libanl.abilist: Likewise.
28084         * abilist/libc.abilist: Likewise.
28085         * abilist/libcrypt.abilist: Likewise.
28086         * abilist/libdl.abilist: Likewise.
28087         * abilist/libm.abilist: Likewise.
28088         * abilist/libnsl.abilist: Likewise.
28089         * abilist/libpthread.abilist: Likewise.
28090         * abilist/libresolv.abilist: Likewise.
28091         * abilist/librt.abilist: Likewise.
28092         * abilist/libthread_db.abilist: Likewise.
28093         * abilist/libutil.abilist: Likewise.
28094         * abilist/libnss_db.abilist: New file.
28096         * scripts/abilist.awk: Add support for indirect functions.
28098         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28100         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28102         * shlib-versions: Remove entries for ports architectures.
28104         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28105         files in ports.
28106         * elf/stackguard-macros.h: Remove support for IA-64.
28107         * elf/tst-auditmod1.c: Likewise.
28108         * sysdeps/generic/ldsodefs.h: Likewise.
28110         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28111         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28112         configure files.
28114         [BZ #13552]
28115         * configure.in: Remove --enable-omitfp support.
28116         * FAQ.in: Adjust.
28117         * config.make.in: Likewise.
28118         * Makeconfig: Likewise.
28119         * manual/install.texi: Likewise.
28121         In case anyone cares, the IA-64 architecture could move to ports.
28122         * sysdeps/ia64/*: Removed.
28123         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28124         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28126         [BZ #13555]
28127         * configure.in: Remove entries for unsupported architectures.
28129         [BZ #13533]
28130         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28131         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28132         routines.
28133         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28134         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28135         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28136         fall back to using wcrtomb.
28137         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28138         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28139         renaming.
28140         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28141         * wcsmbs/tst-c16c32-1.c: New file.
28143         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28144         local variable.
28146         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28148         * elf/tst-unique3.cc: Add explicit declaration of gets.
28149         * elf/tst-unique3lib.cc: Likewise.
28150         * elf/tst-unique3lib2.cc: Likewise.
28151         * elf/tst-unique4.cc: Likewise.
28153         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28155 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28157         [BZ #13566]
28158         * assert/assert.h (static_assert): Don't define for C++.
28159         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28160         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28162 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28164         * iconv/loop.c (single loop): Fix assertion in storing of
28165         remaining bytes.
28167         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28169 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28171         * posix/getconf.c: Update copyright year.
28172         * nss/getent.c: Likewise.
28173         * nss/makedb.c: Likewise.
28174         * iconv/iconvconfig.c: Likewise.
28175         * iconv/iconv_prog.c: Likewise.
28176         * elf/ldconfig.c: Likewise.
28177         * elf/pldd.c: Likewise.
28178         * elf/sotruss.ksh: Likewise.
28179         * catgets/gencat.c: Likewise.
28180         * csu/version.c: Likewise.
28181         * elf/ldd.bash.in: Likewise.
28182         * elf/sprof.c (print_version): Likewise.
28183         * locale/programs/locale.c: Likewise.
28184         * locale/programs/localedef.c: Likewise.
28185         * login/programs/pt_chown.c: Likewise.
28186         * nscd/nscd.c (print_version): Likewise.
28187         * debug/xtrace.sh: Likewise.
28188         * malloc/memusage.sh: Likewise.
28189         * malloc/mtrace.pl: Likewise.
28190         * debug/catchsegv.sh: Likewise.
28192 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28194         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28195         pure attribute.
28197 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28199         [BZ #13533]
28200         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28201         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28202         transformations.
28203         * iconv/gconv_int.h: Likewise.
28204         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28205         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28206         from libc for GLIBC_2.16.
28207         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28208         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28209         * wcsmbs/uchar.h: Really define mbstate_t.
28210         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28211         * wcsmbs/c16rtomb.c: New file.
28212         * wcsmbs/mbrtoc16.c: New file.
28213         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28214         for C/POSIX locale.
28215         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28216         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28218         * wcsmbs/wchar.h: Add missing __restrict.
28220 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28222         [BZ #13532]
28223         * time/Makefile (routines): Add timespec_get.
28224         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28225         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28226         timespec for ISO C11.
28227         * time/timespec_get.c: New file.
28228         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28229         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28231         [BZ #13531]
28232         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28233         * stdlib/stdlib.h: Declare aligned_alloc.
28234         * Versions.def: Add GLIBC_2.16 for libc.
28235         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28237         [BZ 13527]
28238         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28239         ISO C11.
28241         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28242         code.
28244         [BZ #13528]
28245         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28247         [BZ #13529]
28248         * assert/assert.h (static_assert): Define.
28250         * version.h: Update for 2.16 development version.
28252         [BZ #13526]
28253         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28254         _ISOC11_SOURCE.
28256         * version.h (RELEASE): Bump for 2.15 release.
28257         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28259         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28260         Patch by Marek Polacek <mpolacek@redhat.com>.
28262         * bits/byteswap.h: Protect long long constants with __extension__.
28263         * sysdeps/i386/bits/byteswap.h: Likewise.
28264         * sysdeps/ia64/bits/byteswap.h: Likewise.
28265         * sysdeps/s390/bits/byteswap.h: Likewise.
28266         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28268 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28270         [BZ #13540]
28271         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28272         destination buffer.
28273         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28275 2011-12-23  Marek Polacek  <polacek@redhat.com>
28277         * elf/dl-addr.c (determine_info): Add inline keyword.
28278         * elf/tst-auditmod4b.c (check_avx): Likewise.
28279         * elf/tst-auditmod6b.c (check_avx): Likewise.
28280         * elf/tst-auditmod6c.c (check_avx): Likewise.
28281         * elf/tst-auditmod7b.c (check_avx): Likewise.
28283 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28285         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28286         !__SSE_MATH__.
28288 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28290         [BZ #13540]
28291         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28292         processing for last bytes.
28294 2011-08-06  Bruno Haible  <bruno@clisp.org>
28296         [BZ #13061]
28297         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28298         U+0385, not to U+1FEE.
28300         [BZ #13062]
28301         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28302         entry for U+00A5 U+0301.
28304 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28306         [BZ #13166]
28307         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28308         buffer for the output is too small.
28310         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28311         optimization.
28313         [BZ #13185]
28314         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28315         SSE flags if possible.
28317 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28319         [BZ #13540]
28320         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28321         processing for last bytes.
28323 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28325         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28326         (syscall-list-default-options, syscall-list-default-condition)
28327         (syscall-list-includes): Define.
28328         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28329         list of ABIs and options and #if conditions for each ABI.  Do not
28330         handle common syscalls between ABIs specially.
28331         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28332         Remove.
28333         (syscall-list-variants, syscall-list-32bit-options)
28334         (syscall-list-32bit-condition, syscall-list-64bit-options)
28335         (syscall-list-64bit-condition): Define.
28336         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28337         (syscall-list-variants, syscall-list-32bit-options)
28338         (syscall-list-32bit-condition, syscall-list-64bit-options)
28339         (syscall-list-64bit-condition): Define.
28340         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28341         Remove.
28342         (syscall-list-variants, syscall-list-32bit-options)
28343         (syscall-list-32bit-condition, syscall-list-64bit-options)
28344         (syscall-list-64bit-condition): Define.
28345         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28346         Remove.
28347         (syscall-list-variants, syscall-list-32bit-options)
28348         (syscall-list-32bit-condition, syscall-list-64bit-options)
28349         (syscall-list-64bit-condition): Define.
28351 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28353         * locale/iso-639.def: Add brx entry.
28355         [BZ #13328]
28356         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28357         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28359         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28360         __feraiseexcept_renamed.
28362 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28364         [BZ #13538]
28365         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28366         EPOLLET with unsigned values.
28367         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28368         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28370         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28371         to large cancellation.
28372         * math/s_cacoshf.c: Likewise.
28373         * math/s_cacoshl.c: Likewise.
28375 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28377         [BZ #13305]
28378         [BZ #12786]
28379         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28380         * math/s_cacoshf.c: Likewise.
28381         * math/s_cacoshl.c: Likewise.
28383 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28385         [BZ #13439]
28386         * iconv/gconv.h: Define __GCONV_SWAP.
28387         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28388         * iconvdata/utf-16.c: Likewise.
28389         * iconvdata/utf-32.c: Likewise.
28391 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28393         [BZ #13524]
28394         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28395         numerator after shifting it by one limb.
28397 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28399         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28400         under [__USE_EXTERN_INLINES].
28402 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28404         [BZ #13446]
28405         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28407 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28409         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28410         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28411         optimized code.
28412         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28413         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28414         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28415         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28416         for strncasecmp/strncasecmp_l compilation.
28417         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28418         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28420 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28422         [BZ #13484]
28423         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28424         of __asm__.
28426 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28428         [BZ #13506]
28429         * time/tzfile.c (__tzfile_read): Check values from file header.
28431 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28433         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28434         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28435         * powerpc/powerpc32/dl-start.S: Likewise.
28436         * powerpc/powerpc32/elf/start.S: Likewise.
28437         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28438         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28439         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28440         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28441         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28442         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28443         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28444         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28445         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28446         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28447         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28448         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28449         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28450         * powerpc/powerpc32/memset.S: Likewise.
28451         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28452         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28453         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28454         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28455         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28456         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28457         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28458         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28459         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28460         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28461         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28462         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28463         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28465 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28467         * math/libm-test.inc: Added more nearbyint tests.
28468         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28469         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28470         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28471         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28473 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28475         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28476         FD_CLOEXEC.
28478 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28480         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28481         Add wcscpy-ssse3 wcscpy-c.
28482         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28483         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28484         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28485         * sysdeps/x86_64/wcschr.S: New file.
28486         * sysdeps/x86_64/wcsrchr.S: New file.
28487         * string/test-strcmp.c: Remove checking of wcscmp function for
28488         wrong alignments.
28489         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28490         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28491         wcsrchr-sse2 wcsrchr-c.
28492         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28493         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28494         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28495         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28496         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28497         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28498         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28499         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28500         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28501         * wcsmbc/wcschr.c (WCSCHR): New macro.
28503 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28505         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28506         * wcsmbs/test-wcsrchr.c: New file.
28507         * string/test-strrchr.c: Add wcsrchr support.
28508         (WIDE): New macro.
28509         * wcsmbs/test-wcscpy.c: New file.
28510         * string/test-strcpy.c: Add wcscpy support.
28511         (WIDE): New macro.
28513 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28515         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28516         the inner loop.
28518 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28520         [BZ #13472]
28521         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28523 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28525         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28526         Minor optimizations.
28528         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28529         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28530         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28532 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28534         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28535         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28536         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28537         for gcc to avoid warnings.
28538         * inet/Makefile (tests): Add tst-checks.
28539         * inet/tst-checks.c: New file.
28541         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28542         warning.
28544         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28545         __wmemcmp_sse2.
28547         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28548         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28550         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28552 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28554         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28555         problem.
28557         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28559 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28561         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28562         conditional on GCC version.
28563         (__arch_compare_and_exchange_val_8_acq)
28564         (__arch_compare_and_exchange_val_16_acq)
28565         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28566         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28567         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28569 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28571         * sysdeps/sh/backtrace.c: New file.
28573 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28575         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28576         parenthesis.
28578 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28580         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28581         falling back to utime.
28583 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28585         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28586         expectations for float.
28588 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28590         * locale/weight.h (findidx): Add parameter len.
28591         * locale/weightwc.h (findidx): Likewise.
28592         * posix/fnmatch_loop.c (FCT): Adjust caller.
28593         * posix/regcomp.c (build_equiv_class): Likewise.
28594         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28595         * posix/regexec.c (check_node_accept_bytes): Likewise.
28596         * string/strcoll_l.c (STRCOLL): Likewise.
28597         * string/strxfrm_l.c (STRXFRM): Likewise.
28599 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28601         * Makefile.in: Remove CVSOPT handling.
28602         * configure.in: Remove use of AC_REVISION.
28603         * iconvdata/Makefile (distribute): No need to filter out CVS.
28604         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28605         handling.
28607 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28609         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28610         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28611         [USE_AS_STRNCASECMP_L]: Likewise.
28612         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28613         NO_TLS_DIRECT_SEG_REFS.
28614         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28615         Fix argument offsets for non-PIC.
28616         [USE_AS_STRNCASECMP_L]: Likewise.
28617         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28618         NO_TLS_DIRECT_SEG_REFS.
28620 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28622         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28623         O_CLOEXEC.
28624         * locale/loadlocale.c (_nl_load_locale): Likewise.
28626 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28628         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28629         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28630         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28631         (SYSCALL_GETTIME): Set errno on error.
28633         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28634         count references to noai6ai_cached.
28636 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28638         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28640         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28641         FD_CLOEXEC for /proc/self/maps.
28643         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28644         FD_CLOEXEC for /proc/meminfo.
28646         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28647         gai.conf.
28649         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28650         FD_CLOEXEC for given file.
28652         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28654         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28655         FD_CLOEXEC for /etc/hosts.
28656         (_gethtent): Likewise.
28658         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28660         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28661         cancellation and set FD_CLOEXEC for /etc/netgroup.
28663         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28664         reading /etc/publickey.
28666         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28667         allow cancellation when reading /etc/group.
28669         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28670         cancellation.
28671         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28673         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28674         when using data file.
28676         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28678         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28679         (write_nis_obj): Use "c" and "e" in fopen.
28681         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28683         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28685         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28687         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28689         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28690         locale.alias.
28692         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28694         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28696         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28698         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28699         file parsing and set FD_CLOEXEC.
28701 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28703         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28705 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28707         * malloc/arena.c (arena_get2): Don't call reused_arena when
28708         _int_new_arena failed.
28710 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28712         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28713         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28714         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28715         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28716         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28717         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28718         to compile strcasecmp and strncasecmp.
28719         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28720         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28724 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28726         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28727         locale-defines.sym to gen-as-const-headers.
28728         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28729         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28730         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28731         to compile strcasecmp and strncasecmp.
28732         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28733         strcasecmp_l and strncasecmp_l.
28734         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28735         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28736         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28737         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28738         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28739         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28740         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28741         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28742         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28743         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28744         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28746 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28748         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28749         result of SYSDEP_GETTIME_CPU to retval.
28750         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28751         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28753         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28754         variable.
28756         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28757         mantissa words.
28758         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28760         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28761         from unused variable.
28763         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28764         DWARF definitions.
28765         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28766         for assembling.
28768         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28769         over namespaces.
28771         * sunrpc/rpc_prot.c (rejected): Fix case value.
28773         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28774         unsigned long long int to avoid warnings in shift.
28776         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28777         of use of trans.
28778         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28779         variable tmp.
28781         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28782         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28783         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28785         * nis/nis_table.c (nis_list): Use variable of correct type for
28786         result of __follow_path call.
28788 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28790         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28791         of math functions ceil, trunc, floor, round, and sqrt, when
28792         avaliable on the platform.
28793         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28794         name clash.
28795         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28796         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28797         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28799 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28801         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28802         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28804 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28806         * include/unistd.h: Fix __readlink return type.
28807         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28809 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28811         * stdlib/ucontext.h: Undo last change for makecontext.
28813 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28815         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28817         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28818         * setjmp/setjmp.h: Mark functions as non-leaf.
28819         * setjmp/bits/setjmp2.h: Likewise.
28820         * stdlib/ucontext.h: Likewise.
28822 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28824         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28825         (reused_arena): Don't check arena limit.
28826         (arena_get2): Atomically check arena limit.
28828 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28830         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28831         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28833         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28834         instructions.
28836 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28838         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28839         handler when locking.
28841         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28842         Fix size of allocated buffer.
28844 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28846         [BZ #10103]
28847         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28848         declarations for long double functions.
28849         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28851         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28853 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28855         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28856         installed.
28858         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28859         is disabled.
28861 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28863         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28865 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28867         * include/alloca.h (stackinfo_alloca_round): Define.
28868         (extend_alloca): Use it.
28869         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28870         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28871         here.
28873         * scripts/check-local-headers.sh: Ignore libaudit.h.
28875         * nscd/Makefile (extra-objs): Make recursively expanded.
28877 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28879         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28880         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28882         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28883         * posix/tst-rfc3484-2.c: Likewise.
28884         * posix/tst-rfc3484-3.c: Likewise.
28886         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28887         process_vm_writev.
28888         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28889         process_vm_writev.
28890         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28891         process_vm_writev from libc using GLIBC_2.15 version.
28893         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28895 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28897         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28898         stack usage.
28900 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28902         [BZ #13367]
28903         * nss/getent.c (initgroups_keys): Show error message in case no group
28904         names are given.
28906         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28907         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28908         __bump_nl_timestamp.
28909         * nscd/connections (nscd_init): When host database is served open
28910         netlink socket and request notification about configuration changes.
28911         (main_loop_poll): Track netlink file descriptor and bump timestamp
28912         in case data becomes available.
28913         (main_loop_epoll): Likewise.
28914         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28915         (database_pers_head): Add extra_data fileds.
28916         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28917         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28918         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28919         Adjust caller.
28920         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28921         in6ai data, call __free_in6ai.
28922         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28923         Add -DHAVE_NETLINK.
28924         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28925         interface information.  Reuse previous data if netlink timestamp
28926         is not changed.
28927         (__bump_nl_timestamp): New function.
28928         (__free_in6ai): New function.
28930 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28932         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28933         close_not_cancel_no_status here.
28934         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28936 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28938         [BZ #13276]
28939         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28940         return value.
28942         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28943         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28944         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28946 2011-07-03  Andreas Jaeger  <aj@suse.de>
28948         [BZ #10709]
28949         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28950         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28951         * math/libm-test.inc (sin_test): Add test case.
28953 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28955         [BZ #13337]
28956         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28957         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28959         * elf/chroot_canon.c (chroot_canon): Cleanups.
28961         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28963         [BZ #13335]
28964         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28965         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28967         * string/test-strchr.c: Make usable for strchrnul testing.
28968         * string/test-strchrnul.c: New file.
28969         * string/Makefile (strop-tests): Add strchrnul.
28971         * po/it.po: Update from translation team.
28972         * po/es.po: Likewise.
28974 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28976         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28977         the three constants needed as parameters.  Drop the others.
28978         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28979         __m128i_strloadu_tolower.
28980         Create and initialize variable zero and use it in all the places
28981         where _mm_setzero_si128 was used.
28983         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28984         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28985         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28986         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28987         anymore.
28988         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28989         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28990         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28991         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28992         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28993         __mpranred, __mptan.
28994         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28995         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28996         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28997         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28998         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28999         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29000         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29001         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29002         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29004 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29006         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29007         redefine if SHARED.
29008         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29010         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29011         wide char related routines to wcsmbs subdir.
29013 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29015         [BZ #13344]
29016         * misc/sys/cdefs.h (__THROWNL): Define.
29017         * posix/unistd.h: Use __THREADNL instead of __THREAD
29018         for memory synchronization functions.
29020 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29022         [BZ #13349]
29023         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29024         doesn't exist.
29025         * manual/stdio.texi (Obstack Streams): Node removed.
29027 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29029         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29030         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29031         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29033         * math/math_private.h (math_force_eval): Allow non-addressable
29034         arguments.
29035         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29037 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29039         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29040         file is not needed.
29042         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29043         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29044         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29045         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29046         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29047         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29048         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29049         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29050         Add AVX variants.
29051         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29052         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29053         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29054         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29055         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29056         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29057         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29058         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29059         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29060         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29061         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29062         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29063         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29064         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29065         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29066         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29067         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29068         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29069         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29071         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29072         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29074         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29075         place.  Use VEX encoding when compiling for AVX.
29077 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29079         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29080         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29082         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29084 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29086         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29087         useless if() expression.
29088         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29089         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29090         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29091         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29092         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29093         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29094         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29095         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29096         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29097         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29098         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29099         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29100         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29101         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29102         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29103         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29104         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29105         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29106         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29108         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29110 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29112         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29113         condition.
29114         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29116 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29118         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29119         .text section.  Avoid duplicate constants.
29120         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29121         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29122         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29123         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29124         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29125         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29126         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29127         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29128         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29129         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29130         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29131         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29132         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29133         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29134         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29135         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29136         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29137         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29138         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29139         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29140         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29141         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29142         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29143         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29144         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29145         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29146         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29147         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29148         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29149         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29150         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29151         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29152         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29153         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29154         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29155         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29156         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29157         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29158         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29159         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29160         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29161         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29162         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29163         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29164         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29166 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29168         * sysdeps/x86_64/dla.h: Move to ...
29169         * sysdeps/x86_64/fpu/dla.h: ...here.
29170         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29171         situations.  Use __builtin_fma only for gcc 4.6 and up.
29173         * config.make.in: Add have-mfma4 entry.
29174         * configure.in: Substitute libc_cv_cc_fma4.
29175         * math/Makefile (dbl-only-routines): Add sincostab.
29176         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29177         Use __sincostab not sincos.
29178         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29179         name is a macro.
29180         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29181         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29182         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29183         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29184         using __copysign.
29185         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29186         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29187         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29188         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29189         and __inv.
29190         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29191         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29192         __copysign.
29193         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29194         define aliases when function name is a macro.
29195         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29196         sysdeps/ieee754/dbl-64/sincos.tbl.
29197         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29198         fma4-enabled routines.
29199         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29200         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29201         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29202         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29203         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29204         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29205         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29206         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29207         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29208         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29209         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29210         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29211         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29212         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29213         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29214         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29215         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29216         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29217         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29218         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29219         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29220         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29221         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29222         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29223         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29224         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29225         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29226         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29227         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29228         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29230         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29231         rename.
29232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29238         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29241 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29243         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29245 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29247         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29249         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29250         prediction.
29251         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29253         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29254         Remove unused variable magic_bits.
29255         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29257         * string/strnlen.c: Define and use STRNLEN macro.
29258         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29259         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29260         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29261         * wcsmbs/wcslen.c: Define and use WCSLEN.
29262         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29263         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29264         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29265         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29266         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29267         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29268         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29270 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29273         strnlen-sse2-no-bsf.
29274         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29275         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29276         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29277         Add strnlen support.
29278         (USE_AS_STRNLEN): New macro.
29279         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29280         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29281         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29282         * sysdeps/x86_64/wcslen.S: New file.
29284 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29286         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29287         XMM-moves are used for copying on small sizes.
29289 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29291         * wcsmbs/Makefile (strop-tests): Add wcschr.
29292         * wcsmbs/test-wcschr.c: New file.
29293         * string/test-strchr.c: Update.
29294         Add wcschr support.
29295         (WIDE): New macro.
29297 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29299         * wcsmbs/Makefile (strop-tests): Add wcslen.
29300         * wcsmbs/test-wcslen.c: New file.
29301         * string/test-strlen.c: Update.
29302         Add wcslen support.
29303         (WIDE): New macro.
29305 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29307         * po/it.po: Update from translation team.
29309 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29311         * sysdeps/x86_64/wcscmp.S: Update.
29312         Fix wrong comparison semantics.
29313         wcscmp shall use signed comparison not unsigned.
29314         Don't use substraction to avoid overflow bug.
29315         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29316         * wcsmbc/wcscmp.c: Likewise.
29317         * string/test-strcmp.c: Likewise.
29318         Add new tests to check cases with negative values.
29320 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29322         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29323         * sysdeps/x86_64/dla.h: ...here.  New file.
29324         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29325         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29326         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29327         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29328         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29329         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29330         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29331         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29332         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29334 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29336         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29337         __ynl_finite aliases.
29339 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29343         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29344         define DLA_FMA.
29345         [DLA_FMA] (EMULV): Use DLA_FMA.
29346         [DLA_FMA] (MUL12): Use EMULV.
29347         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29348         that are not needed.
29349         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29350         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29353         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29354         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29355         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29357 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29359         * math/s_nan.c: Undef __nan.
29360         * math/s_nanf.c: Undef __nanf.
29361         * math/s_nanl.c: Undef __nanl.
29362         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29363         "math_private.h".
29365 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29367         * math/s_catan.c: Add branch predictions.
29368         * math/s_catanf.c: Likewise.
29369         * math/s_catanh.c: Likewise.
29370         * math/s_catanhf.c: Likewise.
29371         * math/s_catanhl.c: Likewise.
29372         * math/s_catanl.c: Likewise.
29373         * math/s_cexp.c: Likewise.
29374         * math/s_cexpf.c: Likewise.
29375         * math/s_cexpl.c: Likewise.
29376         * math/s_clog.c: Likewise.
29377         * math/s_clog10.c: Likewise.
29378         * math/s_clog10f.c: Likewise.
29379         * math/s_clog10l.c: Likewise.
29380         * math/s_clogf.c: Likewise.
29381         * math/s_clogl.c: Likewise.
29382         * math/s_csqrt.c: Likewise.
29383         * math/s_csqrtf.c: Likewise.
29384         * math/s_csqrtl.c: Likewise.
29385         * math/s_ctanf.c: Likewise.
29386         * math/s_ctanh.c: Likewise.
29387         * math/s_ctanhf.c: Likewise.
29388         * math/s_ctanhl.c: Likewise.
29389         * math/s_ctanl.c: Likewise.
29391         * math/math_private.h: Define __nan, __nanf, __nanl.
29392         * math/s_cacosh.c: Include <math_private.h>.
29393         * math/s_cacoshl.c: Likewise.
29394         * math/s_casinh.c: Likewise.
29395         * math/s_casinhf.c: Likewise.
29396         * math/s_casinhl.c: Likewise.
29397         * math/s_ccos.c: Rely entire on ccosh.
29398         * math/s_ccosf.c: Rely entire on ccoshf.
29399         * math/s_ccosl.c: Rely entirely on ccoshl.
29400         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29401         Remove tests for FE_INVALID.
29402         * math/s_ccoshf.c: Likewise.
29403         * math/s_ccoshl.c: Likewise.
29404         * math/s_csin.c: Likewise.
29405         * math/s_csinf.c: Likewise.
29406         * math/s_csinh.c Likewise.
29407         * math/s_csinhf.c: Likewise.
29408         * math/s_csinhl.c: Likewise.
29409         * math/s_csinl.c: Likewise.
29410         * math/s_ctan.c: Likewise.
29411         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29412         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29413         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29415 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29418         compilation problems.
29420         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29421         __builtin_expect.
29423 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29425         * sysdeps/i386/configure.in: Test for -mfma4 option.
29426         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29427         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29428         COMMON_CPUID_INDEX_80000001.
29429         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29430         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29431         use it if FMA3 is not supported.
29432         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29434         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29435         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29437 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29439         [BZ #12892]
29440         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29441         it would create a cycle with a link time dependency.
29443 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29445         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29446         instruction.
29447         * string/Makefile (strop-tests): Add rawmemchr.
29448         * string/test-rawmemchr.c: New file.
29450         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29451         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29452         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29453         when compiling str{,n}casecmp and when AVX is available.  Hook up
29454         new optimized code in initializers.
29456 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29458         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29459         __feraiseexcept instead of feraiseexcept.
29461 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29463         * math/math_private.h: Define defaults for libc_fetestexcept and
29464         libc_feupdateenv.
29465         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29466         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29467         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29468         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29469         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29470         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29471         libc_fetestexcept and libc_feupdateenv.
29473         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29474         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29475         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29476         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29477         libc_feholdexcept_setround.
29479         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29480         Add s_nearbyint-c and s_nearbyintf-c.
29481         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29482         nearbyintf inlines.
29483         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29484         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29485         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29486         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29488         * math/math_private.h: Define defaults for libc_fegetround,
29489         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29490         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29491         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29492         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29493         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29494         standard functions.
29495         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29496         Remove comments and hacks for old compiler versions.
29497         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29498         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29499         libc_feholdexceptl.
29501 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29503         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29504         (__feraiseexcept_renamed): Add __NTH.
29505         (feraiseexcept): Add __NTH.  Rename local variables to fix
29506         namespace violations.
29508 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29510         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29512         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29514         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29515         recently added interfaces.
29516         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29518         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29519         about macro parameter expansion.
29521         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29522         __NO_MATH_INLINES is defined.  Cleanups.
29524         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29525         and __floorf is target has SSE4.1.
29526         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29527         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29528         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29529         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29531         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29532         name.
29533         (floorf): Likewise.
29535         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29537 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29539         * misc/sys/cdefs.h: Fix last change.
29541         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29542         database lookup.
29544 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29546         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29548         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29549         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29550         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29551         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29552         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29553         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29554         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29555         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29556         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29557         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29558         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29559         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29560         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29561         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29562         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29563         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29564         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29565         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29566         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29567         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29568         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29569         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29571         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29572         ceil, ceilf, floor, floorf.
29574         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29575         Perform IRELATIVE relocations last.
29577         * elf/do-rel.h: Add another parameter nrelative, replacing the
29578         local variable with the same name.  Change name of the function
29579         to end in Rel or Rela (uppercase).
29580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29581         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29582         elf_dynamic_do_##reloc function.
29584 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29586         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29587         is sufficient, at least on modern CPUs.
29589         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29591         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29592         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29594         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29595         __expl_finite.
29596         * math/bits/math-finite.h: Add entries for exp.
29597         * math/e_expl.c: Add __*_finite alias.
29598         * sysdeps/i386/fpu/e_exp.S: Likewise.
29599         * sysdeps/i386/fpu/e_expf.S: Likewise.
29600         * sysdeps/i386/fpu/e_expl.c: Likewise.
29601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29602         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29603         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29605         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29606         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29607         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29609         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29610         is sufficient, at least on modern CPUs.
29612         * ctype/ctype-info.c (__ctype_init): Define.
29613         * include/ctype.h (__ctype_init): Declare.
29614         (__ctype_b_loc): The variable is always initialized.
29615         (__ctype_toupper_loc): Likewise.
29616         (__ctype_tolower_loc): Likewise.
29617         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29618         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29620 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29622         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29624         * configure.in: Also look in $cxxmachine/include for C++ system
29625         headers.
29627 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29629         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29630         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29631         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29632         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29633         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29634         (USE_AS_WMEMCMP): New macro.
29635         Fixing indents.
29636         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29637         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29638         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29639         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29641         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29642         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29643         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29644         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29645         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29646         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29647         (USE_AS_WMEMCMP): New macro.
29648         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29649         * sysdeps/string/test-memcmp.c: Update.
29650         Fix simple_wmemcmp.
29651         Add new tests.
29652         * wcsmbs/wmemcmp.c: Update.
29653         (WMEMCMP): New macro.
29654         Fix overflow bug.
29656 2011-10-12  Andreas Jaeger  <aj@suse.de>
29658         [BZ #13268]
29659         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29661 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29663         * libio/iofwide.c (do_length): Avoid warning.
29665         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29667 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29669         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29671         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29672         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29673         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29674         * sysdeps/i386/i686/fpu/e_log.S: New file.
29675         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29676         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29678         * ctype/ctype.h: Add support for inlined isXXX functions when
29679         compiling C++ code.
29681 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29683         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29685         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29687 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29689         [BZ #13291]
29690         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29692 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29694         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29695         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29696         feraiseexcept.
29698         * sysdeps/x86_64/memrchr.S: Check for zero size.
29700         * string/stratcliff.c: Add memrchr tests.
29702 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29705         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29706         rawmemchr-sse2 rawmemchr-sse2-bsf.
29707         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29708         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29709         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29710         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29711         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29712         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29713         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29714         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29715         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29716         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29717         * string/memrchr.c (MEMRCHR): New macro.
29719 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29721         Add integration with gcc's -ffinite-math-only and optimize wrapper
29722         functions in libm.
29723         * Versions.def: Define GLIBC_2.15 version for libm.
29724         * math/Makefile (headers): Add bits/math-finite.h.
29725         * math/bits/math-finite.h: New file.
29726         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29727         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29728         * math/e_acoshl.c: Add __*_finite alias.
29729         * math/e_acosl.c: Likewise.
29730         * math/e_asinl.c: Likewise.
29731         * math/e_atan2l.c: Likewise.
29732         * math/e_atanhl.c: Likewise.
29733         * math/e_coshl.c: Likewise.
29734         * math/e_exp10.c: Likewise.
29735         * math/e_exp10f.c: Likewise.
29736         * math/e_exp10l.c: Likewise.
29737         * math/e_exp2l.c: Likewise.
29738         * math/e_fmodl.c: Likewise.
29739         * math/e_gammal_r.c: Likewise.
29740         * math/e_hypotl.c: Likewise.
29741         * math/e_j0l.c: Likewise.
29742         * math/e_j1l.c: Likewise.
29743         * math/e_jnl.c: Likewise.
29744         * math/e_lgammal_r.c: Likewise.
29745         * math/e_log10l.c: Likewise.
29746         * math/e_log2l.c: Likewise.
29747         * math/e_logl.c: Likewise.
29748         * math/e_powl.c: Likewise.
29749         * math/e_sinhl.c: Likewise.
29750         * math/e_sqrtl.c: Likewise.
29751         * math/e_scalb.c: Completely rewritten and optimized.
29752         * math/e_scalbf.c: Likewise.
29753         * math/e_scalbl.c: Likewise.
29754         * math/w_acos.c: Likewise.
29755         * math/w_acosf.c: Likewise.
29756         * math/w_acosl.c: Likewise.
29757         * math/w_acosh.c: Likewise.
29758         * math/w_acoshf.c: Likewise.
29759         * math/w_acoshl.c: Likewise.
29760         * math/w_asin.c: Likewise.
29761         * math/w_asinf.c: Likewise.
29762         * math/w_asinl.c: Likewise.
29763         * math/w_atan2.c: Likewise.
29764         * math/w_atan2f.c: Likewise.
29765         * math/w_atan2l.c: Likewise.
29766         * math/w_atanh.c: Likewise.
29767         * math/w_atanhf.c: Likewise.
29768         * math/w_atanhl.c: Likewise.
29769         * math/w_exp10.c: Likewise.
29770         * math/w_exp10f.c: Likewise.
29771         * math/w_exp10l.c: Likewise.
29772         * math/w_fmod.c: Likewise.
29773         * math/w_fmodf.c: Likewise.
29774         * math/w_fmodl.c: Likewise.
29775         * math/w_j0.c: Likewise.
29776         * math/w_j0f.c: Likewise.
29777         * math/w_j0l.c: Likewise.
29778         * math/w_j1.c: Likewise.
29779         * math/w_j1f.c: Likewise.
29780         * math/w_j1l.c: Likewise.
29781         * math/w_jn.c: Likewise.
29782         * math/w_jnf.c: Likewise.
29783         * math/w_log.c: Likewise.
29784         * math/w_logf.c: Likewise.
29785         * math/w_logl.c: Likewise.
29786         * math/w_log10.c: Likewise.
29787         * math/w_log10f.c: Likewise.
29788         * math/w_log10l.c: Likewise.
29789         * math/w_log2.c: Likewise.
29790         * math/w_log2f.c: Likewise.
29791         * math/w_log2l.c: Likewise.
29792         * math/w_pow.c: Likewise.
29793         * math/w_powf.c: Likewise.
29794         * math/w_powl.c: Likewise.
29795         * math/w_remainder.c: Likewise.
29796         * math/w_remainderf.c: Likewise.
29797         * math/w_remainderl.c: Likewise.
29798         * math/w_scalb.c: Likewise.
29799         * math/w_scalbf.c: Likewise.
29800         * math/w_scalbl.c: Likewise.
29801         * math/w_sqrt.c: Likewise.
29802         * math/w_sqrtf.c: Likewise.
29803         * math/w_sqrtl.c: Likewise.
29804         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29805         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29806         used.
29807         * math/math_private.h: Declare __kernel_standard_f.
29808         * math/w_cosh.c: Remove cruft and optimize a bit.
29809         * math/w_coshf.c: Likewise.
29810         * math/w_coshl.c: Likewise.
29811         * math/w_exp2.c: Likewise.
29812         * math/w_exp2f.c: Likewise.
29813         * math/w_exp2l.c: Likewise.
29814         * math/w_hypot.c: Likewise.
29815         * math/w_hypotf.c: Likewise.
29816         * math/w_hypotl.c: Likewise.
29817         * math/w_lgamma.c: Likewise.
29818         * math/w_lgamma_r.c: Likewise.
29819         * math/w_lgammaf.c: Likewise.
29820         * math/w_lgammaf_r.c: Likewise.
29821         * math/w_lgammal.c: Likewise.
29822         * math/w_lgammal_r.c: Likewise.
29823         * math/w_sinh.c: Likewise.
29824         * math/w_sinhf.c: Likewise.
29825         * math/w_sinhl.c: Likewise.
29826         * math/w_tgamma.c: Likewise.
29827         * math/w_tgammaf.c: Likewise.
29828         * math/w_tgammal.c: Likewise.
29829         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29830         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29831         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29832         Minor optimizations.  Pretty printing.  Remove cruft.
29833         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29834         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29835         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29836         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29837         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29838         * sysdeps/i386/fpu/e_asin.S: Likewise.
29839         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29840         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29841         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29842         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29843         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29844         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29845         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29846         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29847         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29848         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29849         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29850         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29851         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29852         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29853         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29854         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29855         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29856         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29857         * sysdeps/i386/fpu/e_log.S: Likewise.
29858         * sysdeps/i386/fpu/e_log10.S: Likewise.
29859         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29860         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29861         * sysdeps/i386/fpu/e_log2.S: Likewise.
29862         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29863         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29864         * sysdeps/i386/fpu/e_logf.S: Likewise.
29865         * sysdeps/i386/fpu/e_logl.S: Likewise.
29866         * sysdeps/i386/fpu/e_pow.S: Likewise.
29867         * sysdeps/i386/fpu/e_powf.S: Likewise.
29868         * sysdeps/i386/fpu/e_powl.S: Likewise.
29869         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29870         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29871         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29872         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29873         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29874         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29875         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29876         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29877         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29899         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29900         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29901         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29902         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29903         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29904         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29905         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29906         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29907         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29908         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29909         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29910         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29911         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29912         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29913         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29914         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29915         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29916         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29917         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29918         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29919         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29920         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29921         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29922         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29923         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29924         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29925         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29926         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29927         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29928         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29929         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29930         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29931         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29932         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29933         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29934         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29936         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29937         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29938         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29939         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29940         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29942         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29943         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29944         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29945         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29946         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29947         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29948         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29949         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29950         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29951         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29952         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29953         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29954         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29955         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29956         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29957         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29958         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29959         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29960         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29961         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29962         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29963         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29964         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29965         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29966         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29967         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29968         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29969         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29970         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29971         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29972         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29973         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29974         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29975         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29976         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29977         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29978         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29979         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29980         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29981         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29982         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29983         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29984         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29985         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29986         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29987         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29988         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29989         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29990         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29991         (__isnanf): Likewise.
29992         (__isinf_ns): Likewise.
29993         (__isinf_nsf): Likewise.
29994         (__finite): Likewise.
29995         (__finitef): Likewise.
29996         (__ieee754_sqrt): Define as macro.
29997         (__ieee754_sqrtf): Define as macro.
29998         (__ieee754_sqrtl): Define as macro.
29999         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30000         inlined copy.
30001         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30002         __FINITE_MATH_ONLY__ consistent.
30003         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30005 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30007         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30008         of rawmemchr.
30010         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30012 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30014         * po/ja.po: Update from translation team.
30016 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30018         * locale/programs/locarchive.c (prepare_address_space): New function.
30019         (create_archive, enlarge_archive, open_archive): Use it.
30021         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30022         inside [SHARED], where it is used.
30024         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30026         * nss/getent.c (netgroup_keys): Remove unused variable.
30027         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30029 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30031         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30032         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30033         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30034         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30035         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30036         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30037         * math/Makefile (libm-calls): Add s_isinf_ns.
30038         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30039         * math/multc3.c: Likewise.
30040         * math/s_casin.c: Likewise.
30041         * math/s_casinf.c: Likewise.
30042         * math/s_casinl.c: Likewise.
30043         * math/s_ccos.c: Likewise.
30044         * math/s_ccosf.c: Likewise.
30045         * math/s_ccosl.c: Likewise.
30046         * math/s_ctan.c: Likewise.
30047         * math/s_ctanf.c: Likewise.
30048         * math/s_ctanh.c: Likewise.
30049         * math/s_ctanhf.c: Likewise.
30050         * math/s_ctanhl.c: Likewise.
30051         * math/s_ctanl.c: Likewise.
30052         * math/w_fmod.c: Likewise.
30053         * math/w_fmodf.c: Likewise.
30054         * math/w_fmodl.c: Likewise.
30055         * math/w_remainder.c: Likewise.
30056         * math/w_remainderf.c: Likewise.
30057         * math/w_remainderl.c: Likewise.
30058         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30059         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30060         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30061         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30062         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30063         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30064         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30065         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30067         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30068         of the number.
30069         * stdio-common/printf_fphex.c: Likewise.
30070         * stdio-common/printf_size.c: Likewise.
30072         * math/e_exp10.c: Include math_private.h using <...> not "...".
30073         * math/e_exp10f.c: Likewise.
30074         * math/e_exp10l.c: Likewise.
30075         * math/e_exp2l.c: Likewise.
30076         * math/e_j0l.c: Likewise.
30077         * math/e_j1l.c: Likewise.
30078         * math/e_jnl.c: Likewise.
30079         * math/e_lgammal_r.c: Likewise.
30080         * math/e_rem_pio2l.c: Likewise.
30081         * math/e_scalb.c: Likewise.
30082         * math/e_scalbf.c: Likewise.
30083         * math/e_scalbl.c: Likewise.
30084         * math/k_cosl.c: Likewise.
30085         * math/k_sinl.c: Likewise.
30086         * math/k_tanl.c: Likewise.
30087         * math/s_cacoshf.c: Likewise.
30088         * math/s_catan.c: Likewise.
30089         * math/s_catanf.c: Likewise.
30090         * math/s_catanh.c: Likewise.
30091         * math/s_catanhf.c: Likewise.
30092         * math/s_catanhl.c: Likewise.
30093         * math/s_catanl.c: Likewise.
30094         * math/s_ccosh.c: Likewise.
30095         * math/s_ccoshf.c: Likewise.
30096         * math/s_ccoshl.c: Likewise.
30097         * math/s_cexp.c: Likewise.
30098         * math/s_cexpf.c: Likewise.
30099         * math/s_cexpl.c: Likewise.
30100         * math/s_clog.c: Likewise.
30101         * math/s_clog10.c: Likewise.
30102         * math/s_clog10f.c: Likewise.
30103         * math/s_clog10l.c: Likewise.
30104         * math/s_clogf.c: Likewise.
30105         * math/s_clogl.c: Likewise.
30106         * math/s_csin.c: Likewise.
30107         * math/s_csinf.c: Likewise.
30108         * math/s_csinh.c: Likewise.
30109         * math/s_csinhf.c: Likewise.
30110         * math/s_csinhl.c: Likewise.
30111         * math/s_csinl.c: Likewise.
30112         * math/s_csqrt.c: Likewise.
30113         * math/s_csqrtf.c: Likewise.
30114         * math/s_csqrtl.c: Likewise.
30115         * math/s_ctan.c: Likewise.
30116         * math/s_ctanf.c: Likewise.
30117         * math/s_ctanh.c: Likewise.
30118         * math/s_ctanhf.c: Likewise.
30119         * math/s_ctanhl.c: Likewise.
30120         * math/s_ctanl.c: Likewise.
30121         * math/s_ldexp.c: Likewise.
30122         * math/s_ldexpf.c: Likewise.
30123         * math/s_ldexpl.c: Likewise.
30124         * math/s_significand.c: Likewise.
30125         * math/s_significandf.c: Likewise.
30126         * math/s_significandl.c: Likewise.
30127         * math/w_acos.c: Likewise.
30128         * math/w_acosf.c: Likewise.
30129         * math/w_acosh.c: Likewise.
30130         * math/w_acoshf.c: Likewise.
30131         * math/w_acoshl.c: Likewise.
30132         * math/w_acosl.c: Likewise.
30133         * math/w_asin.c: Likewise.
30134         * math/w_asinf.c: Likewise.
30135         * math/w_asinl.c: Likewise.
30136         * math/w_atan2.c: Likewise.
30137         * math/w_atan2f.c: Likewise.
30138         * math/w_atan2l.c: Likewise.
30139         * math/w_atanh.c: Likewise.
30140         * math/w_atanhf.c: Likewise.
30141         * math/w_atanhl.c: Likewise.
30142         * math/w_cosh.c: Likewise.
30143         * math/w_coshf.c: Likewise.
30144         * math/w_coshl.c: Likewise.
30145         * math/w_dremf.c: Likewise.
30146         * math/w_exp10.c: Likewise.
30147         * math/w_exp10f.c: Likewise.
30148         * math/w_exp10l.c: Likewise.
30149         * math/w_exp2.c: Likewise.
30150         * math/w_exp2f.c: Likewise.
30151         * math/w_fmod.c: Likewise.
30152         * math/w_fmodf.c: Likewise.
30153         * math/w_fmodl.c: Likewise.
30154         * math/w_hypot.c: Likewise.
30155         * math/w_hypotf.c: Likewise.
30156         * math/w_hypotl.c: Likewise.
30157         * math/w_j0.c: Likewise.
30158         * math/w_j0f.c: Likewise.
30159         * math/w_j0l.c: Likewise.
30160         * math/w_j1.c: Likewise.
30161         * math/w_j1f.c: Likewise.
30162         * math/w_j1l.c: Likewise.
30163         * math/w_jn.c: Likewise.
30164         * math/w_jnf.c: Likewise.
30165         * math/w_jnl.c: Likewise.
30166         * math/w_lgamma.c: Likewise.
30167         * math/w_lgamma_r.c: Likewise.
30168         * math/w_lgammaf.c: Likewise.
30169         * math/w_lgammaf_r.c: Likewise.
30170         * math/w_lgammal.c: Likewise.
30171         * math/w_lgammal_r.c: Likewise.
30172         * math/w_log.c: Likewise.
30173         * math/w_log10.c: Likewise.
30174         * math/w_log10f.c: Likewise.
30175         * math/w_log10l.c: Likewise.
30176         * math/w_log2.c: Likewise.
30177         * math/w_log2f.c: Likewise.
30178         * math/w_log2l.c: Likewise.
30179         * math/w_logf.c: Likewise.
30180         * math/w_logl.c: Likewise.
30181         * math/w_pow.c: Likewise.
30182         * math/w_powf.c: Likewise.
30183         * math/w_powl.c: Likewise.
30184         * math/w_remainder.c: Likewise.
30185         * math/w_remainderf.c: Likewise.
30186         * math/w_remainderl.c: Likewise.
30187         * math/w_scalb.c: Likewise.
30188         * math/w_scalbf.c: Likewise.
30189         * math/w_scalbl.c: Likewise.
30190         * math/w_sinh.c: Likewise.
30191         * math/w_sinhf.c: Likewise.
30192         * math/w_sinhl.c: Likewise.
30193         * math/w_sqrt.c: Likewise.
30194         * math/w_sqrtf.c: Likewise.
30195         * math/w_sqrtl.c: Likewise.
30196         * math/w_tgamma.c: Likewise.
30197         * math/w_tgammaf.c: Likewise.
30198         * math/w_tgammal.c: Likewise.
30200         * po/ja.po: Update from translation team.
30202 2011-09-29  Andreas Jaeger  <aj@suse.de>
30204         [BZ #13179]
30205         * sunrpc/netname.c (netname2host): Fix logic.
30207         [BZ #6779]
30208         [BZ #6783]
30209         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30210         correctly.
30211         * math/w_remainder.c (__remainder): Likewise.
30212         * math/w_remainderf.c (__remainderf): Likewise.
30213         * math/libm-test.inc (remainder_test): Add test cases.
30215 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30217         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30218         sdiv_qrnnd.
30220 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30222         * string/test-memcmp.c: Avoid unncessary #defines.
30223         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30225 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30227         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30228         Use new sse2 version for core i3 - i7 as it's faster
30229         than sse42 version.
30230         (bit_Prefer_PMINUB_for_stringop): New.
30231         * sysdeps/x86_64/rawmemchr.S: Update.
30232         Replace with faster SSE2 version.
30233         * sysdeps/x86_64/memrchr.S: New file.
30234         * sysdeps/x86_64/memchr.S: Update.
30235         Replace with faster SSE2 version.
30237 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30239         * elf/dl-load.c (lose): Add cast to avoid warning.
30241 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30243         * po/ca.po: Update from translation team.
30245         * inet/getnetgrent_r.c: Hook up nscd.
30246         * nscd/Makefile (routines): Add nscd_netgroup.
30247         (nscd-modules): Add netgroupcache.
30248         (CFLAGS-netgroupcache.c): Define.
30249         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30250         (cache_search): Add const to second parameter.
30251         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30252         INNETGR.
30253         (dbs): Add netgrdb entry.
30254         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30255         (verify_persistent_db): Handle netgrdb.
30256         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30257         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30258         GETFDNETGR.
30259         (netgroup_response_header): Define.
30260         (innetgroup_response_header): Define.
30261         (datahead): Add netgroup_response_header and innetgroup_response_header
30262         elements.
30263         * nscd/nscd.conf: Add entries for netgroup cache.
30264         * nscd/nscd.h (dbtype): Add netgrdb.
30265         (_PATH_NSCD_NETGROUP_DB): Define.
30266         (netgroup_iov_disabled): Declare.
30267         (xmalloc, xcalloc, xrealloc): Move declarations here.
30268         (cache_search): Adjust prototype.
30269         Add netgroup-related prototypes.
30270         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30271         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30272         (__nscd_innetgr): Declare.
30273         * nscd/selinux.c (perms): Use access_vector_t as element type and
30274         add netgroup-related initializers.
30275         * nscd/netgroupcache.c: New file.
30276         * nscd/nscd_netgroup.c: New file.
30277         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30278         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30279         For four parameters use innetgr.
30280         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30281         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30282         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30283         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30285         * nscd/connections.c (register_traced_file): Don't register file
30286         for disabled databases.
30288 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30290         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30292         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30293         from tree and freeing node.
30295 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30297         * nss/nsswitch.c (__nss_database_lookup): Handle
30298         nss_parse_service_list out of memory case.
30300 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30302         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30303         out of memory case.
30305 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30307         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30308         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30309         pass it down.
30310         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30311         elf_machine_rela, elf_machine_lazy_rel.
30312         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30313         (ELF_DYNAMIC_DO_REL): Likewise.
30314         (ELF_DYNAMIC_DO_RELA): Likewise.
30315         (ELF_DYNAMIC_RELOCATE): Likewise.
30316         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30317         to ELF_DYNAMIC_DO_REL.
30318         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30319         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30320         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30321         elf_machine_rela.
30322         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30323         skip_ifunc, don't call ifunc function if non-zero.
30324         (elf_machine_rela): Likewise.
30325         (elf_machine_lazy_rel): Likewise.
30326         (elf_machine_lazy_rela): Likewise.
30327         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30328         (elf_machine_lazy_rel): Likewise.
30329         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30330         Likewise.
30331         (elf_machine_lazy_rel): Likewise.
30332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30333         Likewise.
30334         (elf_machine_lazy_rel): Likewise.
30335         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30336         (elf_machine_lazy_rel): Likewise.
30337         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30338         (elf_machine_lazy_rel): Likewise.
30339         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30340         (elf_machine_lazy_rel): Likewise.
30341         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30342         (elf_machine_lazy_rel): Likewise.
30343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30344         (elf_machine_lazy_rel): Likewise.
30345         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30346         (elf_machine_lazy_rel): Likewise.
30348 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30350         * nss/nss_files/files-init.c (_nss_files_init): Use static
30351         initialization for all the *_traced_file variables.
30353 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30355         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30357 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30359         [BZ #13226]
30360         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30362 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30364         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30365         Reread the line before reparsing it.
30367 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30369         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30371 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30372             Maxim Kuvyrkov  <maxim@codesourcery.com>
30373             Joseph Myers  <joseph@codesourcery.com>
30375         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30376         if needed for __stack_chk_guard.
30378 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30380         * sysdeps/posix/spawni.c (script_execute): Always define it.
30381         It will be optimized away if unused.
30382         (maybe_script_execute): New function.
30383         (__spawni): Call it.
30385         * Makerules: Don't include tls.make.
30386         (config-tls): Always set to thread.
30387         * tls.make.c: File removed.
30389 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30391         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30392         * config.make.in (CPPFLAGS-config): New substituted variable.
30394 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30396         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30398         [BZ #13192]
30399         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30400         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30402 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30404         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30405         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30406         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30407         (CALL_FAIL): Likewise.
30408         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30409         (CALL_FAIL): Macro removed.
30410         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30412 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30414         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30415         for __FINITE_MATH_ONLY__ == 1.
30417 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30419         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30420         __ieee754_sqrt instead of sqrt.
30421         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30422         __ieee754_sqrtf instead of sqrtf.
30423         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30424         __floorf instead of floorf.
30425         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30426         __floorf, __truncf instead of floorf, truncf.
30428 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30430         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30432         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30433         __extern_always_inline.
30434         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30435         32-bit.
30437 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30439         * elf/rtld.c (dl_main): Also relocate in dependency order when
30440         doing symbol dependency testing.
30442 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30445         Always define `refsym'.
30447 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30449         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30450         (__FD_ELT): Renamed from __FDELT.
30451         * misc/bits/select2.h (__FD_ELT): Likewise.
30452         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30453         __FD_MASK instead of __FDELT, __FDMASK.
30454         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30455         Likewise.
30456         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30457         Likewise.
30459         * elf/Makefile (gen-ldd): Fix pattern.
30461         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30462         (init_tls): Likewise.
30464 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30466         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30468 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30470         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30471         `struct cmsghdr *' instead of `void *'.
30472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30473         Likewise.
30475 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30477         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30478         if non-absolute.
30479         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30480         ldd_rewrite_script.
30482 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30484         * configure.in: Remove --with-tls option.
30485         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30486         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30487         out in case it is missing.
30488         * sysdeps/ia64/elf/configure.in: Likewise.
30489         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30490         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30491         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30492         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30493         * sysdeps/sh/elf/configure.in: Likewise.
30494         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30495         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30496         * sysdeps/x86_64/elf/configure.in: Likewise.
30497         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30498         * sysdeps/mach/hurd/tls.h: Likewise.
30500         [BZ #13067]
30501         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30503         [BZ #13090]
30504         * configure.in: Fix use of AC_INIT.
30506         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30508 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30510         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30511         __set_errno.
30512         * malloc/hooks.c: Likewise.
30514         [BZ #11929]
30515         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30516         variables statically.
30517         (narenas): Initialize.
30518         (list_lock): Initialize.
30519         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30520         initializtion of main_arena and list_lock.  Small cleanups.
30521         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30522         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30523         Add initializers to main_arena and mp_.
30524         (malloc_state): Remove pagesize member.  Change all users to use
30525         GLRO(dl_pagesize).
30527         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30528         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30529         is always initialized.
30531         * malloc/malloc.c: Removed unused configurations and dead code.
30532         * malloc/arena.c: Likewise.
30533         * malloc/hooks.c: Likewise.
30534         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30536         * include/tls.h: Removed.  USE___THREAD must always be defined.
30537         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30538         * elf/dl-libc.c: Likewise.
30539         * elf/dl-tsd.c: Likewise.
30540         * include/errno.h: Likewise.
30541         * include/netdb.h: Likewise.
30542         * include/resolv.h: Likewise.
30543         * inet/herrno-loc.c: Likewise.
30544         * inet/herrno.c: Likewise.
30545         * malloc/arena.c: Likewise.
30546         * malloc/hooks.c: Likewise.
30547         * malloc/malloc.c: Likewise.
30548         * resolv/res-state.c: Likewise.
30549         * resolv/res_libc.c: Likewise.
30550         * sysdeps/i386/dl-machine.h: Likewise.
30551         * sysdeps/ia64/dl-machine.h: Likewise.
30552         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30553         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30554         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30555         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30556         * sysdeps/sh/dl-machine.h: Likewise.
30557         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30558         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30559         * sysdeps/unix/i386/sysdep.S: Likewise.
30560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30561         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30562         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30564         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30566         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30570         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30571         * sysdeps/x86_64/dl-machine.h: Likewise.
30572         * tls.make.c: Likewise.
30574         * configure.in: Remove --with-__thread option.  Make tests for
30575         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30576         tls_model attribute fail if no support is available.  Remove
30577         USE_IN_LIBIO.
30578         * Makeconfig: Adjust for dropped configure option.  All features are
30579         now mandatory.
30580         * Makerules: Likewise.
30581         * Versions.def: Likewise.
30582         * argp/argp-fmtstream.c: Likewise.
30583         * argp/argp-fmtstream.h: Likewise.
30584         * argp/argp-help.c: Likewise.
30585         * assert/assert.c: Likewise.
30586         * config.h.in: Likewise.
30587         * config.make.in: Likewise.
30588         * configure: Likewise.
30589         * configure.in: Likewise.
30590         * csu/Versions: Likewise.
30591         * csu/init.c: Likewise.
30592         * elf/tst-audit2.c: Likewise.
30593         * elf/tst-tls10.c: Likewise.
30594         * elf/tst-tls10.h: Likewise.
30595         * elf/tst-tls11.c: Likewise.
30596         * elf/tst-tls12.c: Likewise.
30597         * elf/tst-tls14.c: Likewise.
30598         * elf/tst-tlsmod11.c: Likewise.
30599         * elf/tst-tlsmod12.c: Likewise.
30600         * elf/tst-tlsmod13.c: Likewise.
30601         * elf/tst-tlsmod13a.c: Likewise.
30602         * elf/tst-tlsmod14a.c: Likewise.
30603         * elf/tst-tlsmod15b.c: Likewise.
30604         * elf/tst-tlsmod16a.c: Likewise.
30605         * elf/tst-tlsmod16b.c: Likewise.
30606         * elf/tst-tlsmod7.c: Likewise.
30607         * elf/tst-tlsmod8.c: Likewise.
30608         * elf/tst-tlsmod9.c: Likewise.
30609         * gmon/gmon.c: Likewise.
30610         * grp/fgetgrent_r.c: Likewise.
30611         * grp/putgrent.c: Likewise.
30612         * hurd/fopenport.c: Likewise.
30613         * include/libc-symbols.h: Likewise.
30614         * include/tls.h: Likewise.
30615         * intl/gettextP.h: Likewise.
30616         * intl/loadinfo.h: Likewise.
30617         * locale/global-locale.c: Likewise.
30618         * locale/localeinfo.h: Likewise.
30619         * mach/devstream.c: Likewise.
30620         * malloc/arena.c: Likewise.
30621         * malloc/set-freeres.c: Likewise.
30622         * misc/err.c: Likewise.
30623         * misc/getttyent.c: Likewise.
30624         * misc/mntent_r.c: Likewise.
30625         * posix/getopt.c: Likewise.
30626         * posix/wordexp.c: Likewise.
30627         * pwd/fgetpwent_r.c: Likewise.
30628         * resolv/Versions: Likewise.
30629         * resolv/res_hconf.c: Likewise.
30630         * shadow/fgetspent_r.c: Likewise.
30631         * shadow/putspent.c: Likewise.
30632         * stdio-common/printf_fphex.c: Likewise.
30633         * stdio-common/tmpfile.c: Likewise.
30634         * stdlib/abort.c: Likewise.
30635         * stdlib/fmtmsg.c: Likewise.
30636         * sunrpc/auth_unix.c: Likewise.
30637         * sunrpc/clnt_perr.c: Likewise.
30638         * sunrpc/clnt_tcp.c: Likewise.
30639         * sunrpc/clnt_udp.c: Likewise.
30640         * sunrpc/clnt_unix.c: Likewise.
30641         * sunrpc/openchild.c: Likewise.
30642         * sunrpc/svc_simple.c: Likewise.
30643         * sunrpc/svc_tcp.c: Likewise.
30644         * sunrpc/svc_udp.c: Likewise.
30645         * sunrpc/svc_unix.c: Likewise.
30646         * sunrpc/xdr.c: Likewise.
30647         * sunrpc/xdr_array.c: Likewise.
30648         * sunrpc/xdr_rec.c: Likewise.
30649         * sunrpc/xdr_ref.c: Likewise.
30650         * sunrpc/xdr_stdio.c: Likewise.
30652 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30654         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30656 2011-07-03  Andreas Jaeger  <aj@suse.de>
30658         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30659         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30660         regenerate with gen-libm-tests.pl.
30662 2010-05-12  Petr Baudis  <pasky@suse.cz>
30664         [BZ #11589]
30665         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30666         around j0() zero points by switching to j1().
30667         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30668         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30672 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30674         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30675         instead of 0.
30676         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30677         instead of 0.
30678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30679         Patch in part by Pavel Roskin <proski@gnu.org>.
30681         [BZ #13138]
30682         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30683         realloc.
30684         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30685         Free memory block if necessary.
30687         [BZ #12847]
30688         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30689         be NULL.  Don't lock in this case.
30691 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30693         * elf/elf.h (ELFOSABI_GNU): New macro.
30694         (ELFOSABI_LINUX): Define to that.
30696 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30698         * string/strncat.c (strncat): Undef the symbol in case it has been
30699         defined in bits/string.h.
30701 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30703         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30705         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30706         link map.
30708 2011-08-17  Andreas Jaeger  <aj@suse.de>
30710         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30712 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30713             Ian Lance Taylor  <iant@google.com>
30715         * math/libm-test.inc (lround_test): New testcase.
30716         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30718 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30720         * Makefile: Remove support for automatic cvs check-ins.
30721         * Makerules: Likewise.
30722         * config.make.in: Likewise.
30723         * configure.in: Likewise.
30724         * intl/Makefile: Likewise.
30725         * locale/Makefile: Likewise.
30726         * po/Makefile: Likewise.
30727         * posix/Makefile: Likewise.
30728         * sysdeps/gnu/Makefile: Likewise.
30729         * sysdeps/mach/hurd/Makefile: Likewise.
30730         * sysdeps/sparc/sparc32/Makefile: Likewise.
30732         [BZ #13118]
30733         * posix/Makefile (bug-regex32-ENV): Define.
30734         Patch by John Stanley <jpsinthemix@verizon.net>.
30736         * misc/Makefile (headers): Add bits/select2.h.
30737         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30738         * misc/bits/select2.h: New file.
30739         * include/bits/select2.h: New file.
30740         * debug/Makefile (routines): Add fdelt_chk.
30741         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30742         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30743         FD_ISSET.
30744         * debug/fdelt_chk.c: New file.
30746         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30747         * wcsmbs/test-wmemcmp.c: Likewise.
30748         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30749         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30751 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30753         * string/Makefile (strop-tests): Add memcmp.
30754         * string/test-wmemcmp.c: New file.
30755         * string/test-memcmp.c: Add wmemcmp support.
30757 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30759         [BZ #13153]
30760         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30761         2011-07-19 change.
30763         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30764         garbage value in a __mach_port_mod_refs call in the cases of the
30765         task-self and thread-self ports.
30767 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30769         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30771 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30773         * elf/dl-load.c (lose): Check for non-null L.
30775 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30777         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30779         * elf/dl-libc.c (dlerror_run): Pass back error code from
30780         dl_catch_error.
30782         [BZ #13123]
30783         * elf/dl-load.c (lose): Free l_origin if it is valid.
30785         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30786         names.
30787         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30788         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30789         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30790         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30791         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30792         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30794 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30796         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30797         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30798         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30799         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30800         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30801         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30802         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30803         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30804         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30805         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30807 2011-08-15  Alan Modra  <amodra@gmail.com>
30809         [BZ #13092]
30810         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30811         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30812         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30813         ppc_mcount to static-only-routines.
30814         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30815         __mcount_internal.
30816         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30817         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30819 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30821         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30822         for finite and infinity parameters.
30824 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30826         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30827         and add nop instructions for throughput optimization.
30828         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30830 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30832         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30833         aligned copy for power7 with vector-scalar instructions.
30834         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30836 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30838         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30839         AVX check.
30841 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30843         [BZ #13144]
30844         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30845         last change.
30847 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30849         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30850         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30851         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30852         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30853         clock_gettime.
30855 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30857         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30858         Forgot to demangle the pointer.
30860         * sysdeps/i386/sysdep.h: Define atom_text_section.
30861         * sysdeps/x86_64/sysdep.h: Likewise.
30862         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30863         section with atom_text_section.
30864         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30865         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30866         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30867         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30868         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30870         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30871         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30872         already be defined.  Change to take two parameters and don't assign
30873         result to variable.  Adjust all users.
30874         Define INTERNAL_GETTIME if not already defined.
30875         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30876         call.
30877         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30878         HAVE_CLOCK_GETTIME_VSYSCALL.
30879         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30881         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30882         gettimeofday vsyscall, just use time.
30884 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30886         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30887         <errno.h>.
30889 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30891         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30892         syscall on x86-64.
30893         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30894         syscall.
30895         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30896         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30897         syscall if possible.
30899 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30901         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30902         e_ident.  Don't pass to find_mapsXX.
30903         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30905 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30908         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30909         * sysdeps/x86_64/multiarch/strchr.S: Update.
30910         Check bit_slow_BSF bit.
30911         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30912         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30913         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30915 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30917         [BZ #13134]
30918         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30919         before glibc 2.15.
30920         (tryshell): Define.
30921         (__spawni): Change last parameter to be flag.  Test
30922         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30923         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30924         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30925         * posix/spawni.c: Likewise.
30926         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30927         * posix/spawnp.c: Likewise.  Change normal version to use
30928         SPAWN_XFLAGS_USE_PATH.
30929         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30930         SPAWN_XFLAGS_TRY_SHELL.
30932         [BZ #13150]
30933         * posix/glob.h: Remove gcc 1.x support.
30935         [BZ #13068]
30936         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30938 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30940         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30941         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30942         strrchr-sse2-bsf
30943         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30944         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30945         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30946         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30947         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30948         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30950 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30952         * sysdeps/x86_64/wcscmp.S: New file.
30954         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30955         wcscmp-c wcscmp-sse2
30956         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30957         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30958         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30959         * wcsmbs/wcscmp.c: Allow renaming.
30961 2011-09-05  David S. Miller  <davem@davemloft.net>
30963         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30964         stack slot, rather than the struct return pointer slot.
30965         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30966         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30968         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30970 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30972         * po/ja.po: Update from translation team.
30974         [BZ #13144]
30975         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30976         kernel in 64-bit binaries.
30978 2011-09-01  David S. Miller  <davem@davemloft.net>
30980         * elf/elf.h (HWCAP_SPARC_*): Move to..
30981         * sysdeps/sparc/sysdep.h: this new file and add new values.
30982         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30983         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30984         _DL_HWCAP_COUNT to 24.
30985         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30986         entries.
30987         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30988         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30989         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30990         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30991         instead of magic constants.
30992         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30994 2011-08-31  David S. Miller  <davem@davemloft.net>
30996         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30997         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30998         Reimplement to do errno handling inline.
30999         (SYSCALL_ERROR_HANDLER): New macro.
31000         (__SYSCALL_STRING): Do not do errno handling in asm.
31001         (__CLONE_SYSCALL_STRING): Delete.
31002         (__INTERNAL_SYSCALL_STRING): Delete.
31003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31004         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31005         (PSEUDO): Reimplement to do errno handling inline.
31006         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31007         (SYSCALL_ERROR_HANDLER): New macro.
31008         (__SYSCALL_STRING): Do not do errno handling in asm.
31009         (__CLONE_SYSCALL_STRING): Delete.
31010         (__INTERNAL_SYSCALL_STRING): Delete.
31011         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31012         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31013         i386.
31014         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31015         (inline_syscall*): Add 'err' argument.
31016         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31017         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31018         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31019         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31021         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31022         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31024 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31026         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31028 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31030         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31031         directive.
31033 2011-08-24  David S. Miller  <davem@davemloft.net>
31035         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31037 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31039         * elf/Makefile: Add rules to build and run unload8 test.
31040         * elf/unload8.c: New file.
31041         * elf/unload8mod1.c: New file.
31042         * elf/unload8mod1x.c: New file.
31043         * elf/unload8mod2.c: New file.
31044         * elf/unload8mod3.c: New file.
31046         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31047         it wasn't used.
31049 2011-08-23  David S. Miller  <davem@davemloft.net>
31051         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31052         subtract stack bias.
31053         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31054         %sp not %fp in calculations.
31055         (_JMPBUF_UNWINDS_ADJ): Likewise.
31057         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31058         (aio_suspend): Call it to force an exception region around the
31059         AIO_MISC_WAIT() invocation.
31061 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31063         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31064         backslash.
31066 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31068         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31069         protection macro.
31070         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31071         and <dl-machine.h>.
31072         (Elf64_FuncDesc): Remove.
31074 2011-08-22  David S. Miller  <davem@davemloft.net>
31076         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31077         sigaltstack check, add missing cfi directives.
31078         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31079         missing cfi directives, and sigaltstack handling.
31081 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31083         [BZ #11724]
31084         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31085         object is seen twice.
31086         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31088         * elf/Makefile (distribute): Add tst-initorder2.c.
31089         (tests): Add tst-initorder2.
31090         (modules-names): Add tst-initorder2a tst-initorder2b
31091         tst-initorder2c tst-initorder2d.  Add rules to build them.
31092         ($(objpfx)tst-initorder2.out): New rule.
31093         * elf/tst-initorder2.c: New file.
31094         * elf/tst-initorder2.exp: New file.
31096 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31098         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31100         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31101         dependencies back to end of function.
31103         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31104         $(elfobjdir)/ld.so.
31106 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31108         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31109         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31110         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31111         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31112         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31113         of __vdso_gettimeofday.
31114         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31115         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31116         attribute_hidden.
31117         (_libc_vdso_platform_setup): Remove initialization of
31118         __vdso_gettimeofday and __vdso_time.
31120 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31122         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31123         and fgetc_unlocked.
31124         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31125         getc_unlocked.
31127         * elf/dl-open.c (add_to_global): Report additions to the global scope
31128         for LD_DEBUG=scopes.
31129         (dl_open_worker): Also print scope of newly loaded dependencies.
31130         (_dl_show_scope): Indicate if there is no scope.
31132         [BZ #13114]
31133         * stdio-common/Makefile (tests): Add bug24.
31134         * stdio-common/bug24.c: New file.
31136 2011-08-19  Andreas Jaeger  <aj@suse.de>
31138         [BZ #13114]
31139         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31140         non-existant file when using close-on-exec mode.
31142 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31144         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31145         the very first instruction.
31147         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31148         the CFI state in the end.
31149         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31150         inclusion of dl-trampoline.h.
31151         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31153 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31155         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31156         expectations for long double.
31158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31159         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31161 2011-08-14  David S. Miller  <davem@davemloft.net>
31163         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31164         artificual limit depends upon the system page size.
31166 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31168         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31169         * resolv/Makefile: Define CFLAGS-libresolv.
31171 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31173         * nss/makedb.c (compute_tables): Make variables used in nested
31174         function static.
31176 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31178         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31179         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31180         if buffer was too small.
31182         * elf/pldd.c (main): Attach to all threads in the process.
31183         Rewrite /proc handling to use *at functions.
31185 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31187         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31188         specifies first scope to show.
31189         (dl_open_worker): Update callers.  Move printing scope of new
31190         object to before the relocation.
31191         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31192         * sysdeps/generic/ldsodefs.h: Update declaration.
31194         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31195         string for the scope number.
31197 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31199         * nscd/servicescache.c (cache_addserv): Make sure written is always
31200         initialized.
31202 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31204         * sysdeps/i386/i486/bits/atomic.h
31205         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31206         statement expression, so as to suppress "set but not used" warning.
31207         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31209         * string/strncat.c (STRNCAT): Use prototype definition.
31211         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31212         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31213         -Iprograms here.
31214         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31215         (localedef-modules): Add localedef.
31216         (locale-modules): Add locale.
31218         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31219         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31220         to avoid a warning.
31222 2011-08-14  David S. Miller  <davem@davemloft.net>
31224         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31225         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31227 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31229         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31230         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31231         * elf/rtld.c (dl_main): Set l_name of vDSO.
31232         Call _dl_show_scope when DL_DEBUG_SCOPES.
31233         (process_dl_debug): Recognize scopes flag and also set it for all.
31234         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31235         Declare _dl_show_scope.
31237         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31238         (do_dlopen): Pass caller_dlopen to dl_open.
31239         (__libc_dlopen_mode): Initialize caller_dlopen.
31241         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31242         of libc.  Make tolower call locale-independent.  Optimize a bit by
31243         using isdigit instead of isalnum.
31244         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31246 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31248         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31249         was a dependency or dynamically loaded.
31251 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31253         * intl/l10nflist.c: Allow architecture-specific pop function.
31254         * sysdeps/x86_64/l10nflist.c: New file.
31256         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31257         classification.
31259 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31261         * include/dirent.h: Add libc_hidden_proto for scandirat and
31262         scandirat64.  Don't declare __scandirat64.
31263         * dirent/scandirat.c: Add libc_hidden_def.
31264         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31265         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31267 2011-08-10  David S. Miller  <davem@davemloft.net>
31269         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31270         enum.
31271         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31273         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31275 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31277         * Versions.def [libc]: Add GLIBC_2.15.
31278         * dirent/Makefile (routines): Add scandirat and scandirat64.
31279         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31280         GLIBC_2.15.
31281         * dirent/dirent.h: Declare scandirat and scandirat64.
31282         * dirent/scandirat.c: New file.
31283         * dirent/scandirat64.c: New file.
31284         * sysdeps/wordsize-64/scandirat.c: New file.
31285         * sysdeps/wordsize-64/scandirat64.c: New file.
31286         * dirent/opendir.c: Define opendirat.
31287         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31288         using scandirat.
31289         * dirent/scandir64.c: Adjust for scandir.c change.
31290         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31291         __scandirat64, and __scandir_cancel_handler.
31292         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31293         additional parameter and use openat instead of open (outside of ld.so).
31294         Add new __opendir as wrapper around __opendirat.
31295         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31296         here without requiring old scandirat implementation.
31298 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31300         * dirent/scandir.c (cancel_handler): Renamed to
31301         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31302         defined.  Adjust users.
31303         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31304         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31306 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31308         * string/test-string.h (IMPL): Use __STRING to expand name and then
31309         stringify it.
31311         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31312         of cleanups.
31314 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31316         * string/Makefile: Update.
31317         (strop-tests): Append strncat.
31318         * string/test-wcscmp.c: New file.
31319         New comprehensive test for wcscmp.
31320         * string/test-strcmp.c: Update.
31321         (WIDE): New define.
31323 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31325         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31326         line.
31328 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31331         encoding to ACE if AI_IDN.
31333 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31335         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31336         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31338 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31340         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31341         Fix overflow bug in strncat.
31342         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31344         * string/test-strncat.c: Update.
31345         Add new tests for checking overflow bugs.
31347 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31350         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31351         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31352         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31353         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31354         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31355         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31356         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31357         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31359         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31360         (USE_AS_STRCAT): Define.
31361         Add strcat and strncat support.
31362         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31364 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31366         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31367         __n bigger than INT_MAX+1.
31368         (__strncmp_g): Likewise.
31370 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31372         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31373         * libio/stido.h: Likewise.
31375         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31376         (AF_NFC): Define.
31377         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31378         (AF_NFC): Define.
31380         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31381         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31382         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31383         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31386         [BZ #13021]
31387         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31388         installed.
31390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31391         typo.
31392         (_dl_x86_64_save_sse): Likewise.
31394 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31397         OSXSAVE.
31398         (_dl_x86_64_save_sse): Likewise.
31400         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31402         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31404 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31407         change.
31408         (_dl_x86_64_save_sse): Use correct AVX check.
31410 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31412         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31413         bug in strncpy/strncat.
31414         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31416 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31418         * string/tester.c (test_strcat): Add tests for different alignments
31419         of source and destination.
31420         (test_strncat): Likewise.
31422 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31424         [BZ #12852]
31425         * posix/glob.c (glob): Check passed in values before using them in
31426         expressions to avoid some overflows.
31427         (glob_in_dir): Likewise.
31429         [BZ #13007]
31430         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31431         check for AVX enablement so that we don't crash with old kernels and
31432         new hardware.
31433         * elf/tst-audit4.c: Add same checks here.
31434         * elf/tst-audit6.c: Likewise.
31436         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31438 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31440         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31442 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31444         * po/cs.po: Update from translation team.
31445         * po/bg.po: Likewise.
31447 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31449         * misc/sys/cdefs.h: Add support for const attribute.
31450         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31451         to gnu_dev_{major,minor,makedev} functions.
31453 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31455         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31457 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31459         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31460         strlen results.
31462 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31465         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31466         register in order to avoid conflicts with the soft frame pointer
31467         being held in r11 when necessary.
31468         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31469         (INTERNAL_VSYSCALL_NCS): Likewise.
31471 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31473         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31474         * elf/dl-fini.c (_dl_fini): Adjust caller.
31475         * elf/dl-close.c (_dl_close_worker): Likewise.
31476         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31478 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31480         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31481         "aux_cache->nlibs < 0".
31483         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31484         in the reload-count case.
31486 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31489         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31490         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31491         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31492         * sysdeps/x86_64/multiarch/strcat.S: New file.
31493         * sysdeps/x86_64/multiarch/strncat.S: New file.
31494         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31495         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31496         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31497         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31498         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31499         (USE_AS_STRCAT): Define.
31500         Add strcat and strncat support.
31501         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31502         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31503         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31504         * string/strncat.c: Update.
31505         (USE_AS_STRNCAT): Define.
31506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31507         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31508         and i7.
31509         * sysdeps/x86_64/multiarch/init-arch.h
31510         (bit_Prefer_PMINUB_for_stringop): New.
31511         (index_Prefer_PMINUB_for_stringop): Likewise.
31512         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31513         bit_Prefer_PMINUB_for_stringop.
31515 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31517         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31518         buffer64.
31519         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31520         of casting of buffer.
31521         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31522         buffer32 and buffer64.
31523         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31524         writes instead of casting of buffer.
31525         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31526         buffer32.
31527         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31528         casting of buffer.
31530 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31532         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31534 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31536         * nscd/nscd.c (termination_handler): Don't do anything for a database
31537         if it has not yet been initialized.
31539 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31541         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31543 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31545         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31547 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31549         * po/nl.po: Update from translation team.
31550         * po/sv.po: Likewise.
31552 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31554         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31555         now disallowed by GCC.
31557         * configure.in (use-default-link): Default to yes if a test -shared
31558         link meets our qualifications.
31559         * configure: Regenerated.
31561         * config.make.in (output-format): New variable.
31562         * configure.in: Check for ld --print-output-format support.
31563         * configure: Regenerated.
31564         * Makerules ($(common-objpfx)format.lds)
31565         [$(output-format) != unknown]: Just use $(output-format),
31566         instead of the linker-script munging.
31568 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31570         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31571         of $(common-objpfx)shlib.lds.
31572         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31574         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31575         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31577         * configure.in (-z relro check): Adjust test code to add a large
31578         writable data section after it.
31579         * configure: Regenerated.
31581 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31583         * configure.in (-z relro check): Fix test code to make the variable
31584         truly const.
31585         * configure: Regenerated.
31587 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31589         * nscd/nscd.h (struct traced_file): Define.
31590         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31591         elements.  Add traced_files.
31592         (inotify_fd): Declare.
31593         (register_traced_file): Declare.
31594         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31595         (inotify_fd): Export.
31596         (resolv_conf_descr): Remove.
31597         (nscd_init): Move inotify descriptor creation to main.
31598         Don't register files for notification here.
31599         (register_traced_file): New function.
31600         (invalidate_cache): Don't use reset_res to determine whether to call
31601         res_init, go through the list of registered files.
31602         (main_loop_poll): The inotify descriptors are now stored in the
31603         structures for the traced files.
31604         (main_loop_epoll): Likewise
31605         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31606         to __nss_disable_nscd.
31607         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31608         for a database anymore.  Check the records for all the registered
31609         files instead.
31610         * nss/Makefile (libnss_files-routines): Add files-init.
31611         (libnss_db-routines): Add db-init.
31612         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31613         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31614         * nss/nss_db/db-init.c: New file.
31615         * nss/nss_files/files-init.c: New file.
31616         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31617         __nss_lookup_function.
31618         (__nss_lookup_function): Call nss_load_library.
31619         (nss_load_all_libraries): New function.
31620         (__nss_disable_nscd): Take parameter with callback function for files
31621         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31622         used for the cached services.
31623         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31624         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31625         options for features to all the files in nscd.
31627         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31629 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31631         * csu/elf-init.c (__libc_csu_init): Comment typo.
31633 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31635         * po/pl.po: Update from translation team.
31636         * po/ja.po: Likewise.
31637         * po/ru.po: Likewise.
31638         * po/ko.po: Likewise.
31639         * po/fr.po: Likewise.
31641 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31643         * configure.in (.ctors/.dtors header and trailer check):
31644         Use an empirical test on a built program.
31645         * configure: Regenerated.
31647         * configure.in (-z relro check): Use an empirical test on a built DSO.
31648         Detect, but do not require, on ia64.
31649         * configure: Regenerated.
31651         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31652         Update tests that use readelf to use $READELF instead.
31653         * configure: Regenerated.
31655 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31657         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31658         if the result is not used.
31660 2011-07-05  Andreas Jaeger  <aj@suse.de>
31662         [BZ#9696]
31663         * stdlib/tst-strtod.c: Add testcase.
31665 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31667         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31668         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31669         The latter has a higher limit.  Take additional parameter to pass to
31670         the new function.
31671         (__pathconf): Pass file to __statfs_link_max.
31672         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31673         __statfs_link_max.
31674         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31675         __statfs_link_max.
31677         [BZ #12868]
31678         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31679         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31680         Handle Lustre.
31681         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31682         (__statfs_filesize_max): Likewise.
31683         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31685 2011-07-05  Andreas Jaeger  <aj@suse.de>
31687         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31689 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31691         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31692         `status' variable.
31693         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31694         Likewise.
31696 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31698         * Makefile (strop-tests): Add strncat.
31699         * string/test-strncat.c: New file.
31701 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31703         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31705 2011-06-21  Andreas Jaeger  <aj@suse.de>
31707         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31708         Copy rule from iconvdata/Makefile.
31710 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31712         [BZ #12922]
31713         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31714         but no long options are defined, just return 'W'.
31716 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31718         [BZ #9696]
31719         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31721 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31723         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31724         netgroups to read.
31725         (innetgr): Likewise.
31727 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31729         * config.make.in (install_root): Default to $(DESTDIR).
31731 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31733         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31735 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31737         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31739         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31740         containing directory rather than embedding absolute directory names.
31742         * scripts/check-local-headers.sh: Rewritten using awk.
31743         Match by word, not by line.  Print error messages for matches.
31744         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31746         * Makerules [shlib-lds-flags empty]:
31747         ($(common-objpfx)libc_pic.opts): New target.
31748         ($(common-objpfx)libc_pic.os.clean): New target.
31749         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31751         * config.make.in (OBJCOPY): New variable.
31752         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31753         * configure: Regenerated.
31755         * config.make.in (use-default-link): New variable.
31756         * configure.in (use_default_link): Grok --with-default-link to set it.
31757         * configure: Regenerated.
31758         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31759         (shlib-lds, shlib-lds-flags): Define to empty.
31761         * Makerules (shlib-lds): New variable.
31762         (shlib-lds-flags): New variable.
31763         (build-shlib, build-moduile, build-module-asneeded): Use it.
31764         ($(common-objpfx)libc.so): Use $(shlib-lds).
31765         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31766         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31768         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31769         DT_FLAGS/DT_FLAGS_1 with zero flags.
31771         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31772         linker script munging.
31774 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31776         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31777         as 128-bit value.
31778         * crypt/sha512.c (sha512_process_block): Perform total addition using
31779         128-bit if possible.
31780         (__sha512_finish_ctx): Likewise.
31781         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31782         as 64-bit value.
31783         * crypt/sha256.c (SWAP64): Define.
31784         (sha256_process_block): Perform total addition using 64-bit if
31785         possible.
31786         (__sha256_finish_ctx): Likewise.
31788 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31790         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31791         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31792         * nscd/hstcache.c (cache_addhst): Likewise.
31793         * nscd/grpcache.c (cache_addgr): Likewise.
31794         * nscd/aicache.c (addhstaiX): Likewise
31795         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31797 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31799         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31800         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31801         * nscd/hstcache.c (cache_addhst): Likewise.
31802         * nscd/grpcache.c (cache_addgr): Likewise.
31803         * nscd/aicache.c (addhstaiX): Likewise
31805 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31807         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31808         domain only when needed.
31810 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31813         is always restored.
31815 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31817         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31818         are re-adding the entry.
31819         * nscd/servicescache.c (cache_addserv): Likewise.
31821 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31823         * sysdeps/generic/dl-irel.h: fix protection against multiple
31824         inclusions.
31825         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31827 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31829         [BZ #12935]
31830         * malloc/memusage.sh: Fix quoting in message.
31831         * debug/xtrace.sh: Likewise.
31833         * configure.in: Remove support for --experimental-malloc option, make
31834         it the default.
31835         * config.make.in: Likewise.
31836         * malloc/Makefile: Likewise.
31838 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31840         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31841         two-byte characters.
31843 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31845         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31846         AC_CACHE_CHECK invocation.
31847         * configure: Regenerated.
31849         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31851 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31853         [BZ #12350]
31854         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31855         bit from old_res_options.
31857         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31859         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31860         value type for setfct.
31862 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31864         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31865         __gettimeofday instead of gettimeofday.
31867 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31869         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31871 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31873         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31875         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31876         info.
31878 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31881         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31882         strcpy-sse2-unaligned strncpy-sse2-unaligned
31883         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31884         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31885         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31886         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31887         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31888         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31889         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31890         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31891         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31892         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31893         (STRCPY): Support SSE2 and SSSE3 versions.
31895 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31897         [BZ #12874]
31898         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31899         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31900         kernels which artificially limit size of requests.
31902 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31904         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31905         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31906         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31907         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31908         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31909         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31910         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31911         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31912         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31913         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31914         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31915         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31916         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31917         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31918         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31920         Enable unaligned load optimization for Intel Core i3, i5 and i7
31921         processors.
31922         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31923         Define.
31924         (index_Fast_Unaligned_Load): Define.
31925         (HAS_FAST_UNALIGNED_LOAD): Define.
31927 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31929         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31931 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31933         [BZ #12907]
31934         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31935         until it is clear that the information is realy needed.
31936         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31938 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31942 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31944         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31945         /sys/devices/system/cpu/online if it is usable.
31947         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31948         reading the information from the /proc filesystem to once a second.
31950 2011-06-21  Andreas Jaeger  <aj@suse.de>
31952         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31953         NULL after inclusion of kernel headers.
31955 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31957         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31958         calls to internal_setent.
31960         [BZ #12885]
31961         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31962         addresses using gethostbyname4_r ignore IPv4 addresses.
31964         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31965         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31967         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31969 2011-06-20  David S. Miller  <davem@davemloft.net>
31971         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31972         inclusions.
31973         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31975         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31976         (elf_irel): Use it.
31977         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31978         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31979         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31980         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31981         * sysdeps/x86_64/dl-irel.h: Likewise.
31983         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31984         * elf/dl-sym.c: Likewise.
31986 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31988         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31989         need to dereference resplen2.
31991 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31993         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31995 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31997         * Makeconfig: Define vardbdir and inst_vardbdir.
31998         * nss/Makefile: Add rules to install db-Makefile.
32000         * nss/nss_db/db-XXX.c: Cleanup.
32002         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32003         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32004         GLIBC_PRIVATE.
32005         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32006         * nss/makedb.c: Implement -g option to specify that value strings
32007         are generated and should not be added to table iterated over for
32008         get*ent calls.
32009         * nss/nss_db/db-initgroups.c: New file.
32011         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32012         interface.
32014         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32015         (internal_getgrouplist): Adjust to name change.
32016         Update use_initgroups_entry if this is not the first call.
32017         * nss/databases.def: Add initgroups entry.
32019         * nss/makedb.c (compute_tables): Check result of multiple hash table
32020         sizes to minimize maximum chain length.
32022 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32024         * Versions.def: Add entry for libnss_db.
32025         * shlib-versions: Likewise.
32026         * nss/Makefile: Add rules to build libnss_db.
32027         * nss/Versions: Add libnss_db information.  Organize libnss_files
32028         entries better.
32029         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32030         makedb progra.  Some minor improvements to generate smaller files.
32031         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32032         here from...
32033         * nss/makedb.c: ...here.
32034         Improve database format to be smaller and require less memory at
32035         runtime.
32036         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32037         db anymore.
32038         * nss/nss_db/db-netgrp.c: Likewise.
32039         * nss/nss_db/db-open.c: Likewise.
32040         * nss/nss_files/flies-XXX.x: Adjust comments.
32041         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32042         * nss/nss_files/files-grp.c: Likewise.
32043         * nss/nss_files/files-hosts.c: Likewise.
32044         * nss/nss_files/files-network.c: Likewise.
32045         * nss/nss_files/files-proto.c: Likewise.
32046         * nss/nss_files/files-pwd.c: Likewise.
32047         * nss/nss_files/files-rpc.c: Likewise.
32048         * nss/nss_files/files-service.c: Likewise.
32049         * nss/nss_files/files-sgrp.c: Likewise.
32050         * nss/nss_files/files-spwd.c: Likewise.
32051         * nss/nss_db/db-alias.c: Removed.
32052         * nss/nss_db/dummy-db.h: Removed.
32054 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32056         * nss/makedb.c: Rewritten to not use database library.
32057         * nss/Makefile: Update to build new makedb program.
32059 2011-06-14  Andreas Jaeger  <aj@suse.de>
32061         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32062         memset declaration.
32064 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32067         tmpbuf.
32069 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32071         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32072         * elf/Makefile ($(objpfx)ld.so): Likewise.
32074         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32075         Don't list ld.so twice in dependencies.
32077         * posix/bug-regex31.c: Include <stdlib.h>.
32079         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32081         * nis/nss_compat/compat-spwd.c
32082         (getspent_next_nss_netgr): Remove unused variable.
32083         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32085         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32086         nonmembers" output to use the right array.
32088         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32090         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32092         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32093         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32094         * catgets/gencat.c (read_input_file): Likewise.
32095         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32097         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32098         variable definition inside #if's controlling its use.
32100         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32102         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32104         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32106         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32107         unreachable code.
32109         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32111         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32112         * configure: Regenerated.
32114         * Makerules: Revert last change.
32115         * elf/Makefile: Likewise.
32117 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32119         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32120         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32121         (reloc-link): Likewise.
32123 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32125         * elf/Makefile: Add rules to build pldd.
32126         * elf/pldd.c: New file.
32127         * elf/pldd-xx.c: New file.
32129 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32131         * version.h: Update for 2.15 development version.
32133 2011-06-07  David S. Miller  <davem@davemloft.net>
32135         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32136         ifuncs.
32137         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32138         elf_machine_lazy_rel): Likewise.
32139         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32140         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32141         elf_machine_lazy_rel): Likewise.
32142         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32143         dl_hwcap via passed in argument.
32144         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32145         Likewise.
32147 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32149         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32151 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32153         [BZ #12849]
32154         * manual/fdl-1.1.texi: New file, verbatim from:
32155         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32156         * manual/lgpl-2.1.texi: New file, verbatim from:
32157         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32158         * manual/Makefile (licenses): New variable, list those new file names.
32159         (texis): Use it.
32160         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32162         * manual/fdl.texi: File removed.
32163         * manual/lesser.texi: File removed.
32164         * manual/libc.texinfo (Copying, Documentation License):
32165         Use new @include file names, put @appendix directive before @include.
32167 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32169         [BZ #12841]
32170         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32171         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32172         (mq_open): Add __NTH.
32174 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32177         Assume Intel Core i3/i5/i7 processor if AVX is available.
32179 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32181         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32182         typo.
32184 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32186         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32187         memory.  Use alloca_account.  Fix memory leak when retrying.
32189 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32191         * version.h (RELEASE): Bump for 2.14 release.
32192         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32194         * config.make.in (RANLIB): Remove entry.
32196 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32198         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32199         (libc.pot): Work around missing support for .ksh extension in xgettext.
32201         [BZ #12684]
32202         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32203         if both request failed.
32204         (send_dg): In case of server errors clear resplen or *resplen2.
32206         [BZ #12454]
32207         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32208         when there are multiple maps.
32209         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32210         (_dl_fini): Remove test here.
32212         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32214 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32216         [BZ #12350]
32217         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32218         bit from old_res_options.
32219         (gaih_inet): Likewise.
32221         [BZ #11099]
32222         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32223         as signed.
32225         * resolv/res_init.c (res_setoptions): Make the code more compact.
32227         [BZ #11558]
32228         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32229         set RES_USEVC.
32231         [BZ #11634]
32232         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32234         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32236         [BZ #11781]
32237         * malloc/malloc.h: Declare malloc hook variables as volatile.
32239         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32240         in last patch.
32242         [BZ #11799]
32243         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32244         raise in the comment.
32245         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32247         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32249 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32251         [BZ #12811]
32252         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32253         grow the buffers more if it already has to be sufficient.
32254         (build_wcs_upper_buffer): Likewise.
32255         * posix/regexec.c (check_matching): Likewise.
32256         (clean_state_log_if_needed): Likewise.
32257         (extend_buffers): Don't enlarge buffers beyond size of the input
32258         buffer.
32259         Patches mostly by Emil Wojak <emil@wojak.eu>.
32260         * posix/bug-regex32.c: New file.
32261         * posix/Makefile (tests): Add bug-regex32.
32263         * locale/findlocale.c (_nl_find_locale): Return right away if
32264         _nl_explode_name failed.
32265         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32267         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32269         * debug/xtrace.sh: Unify messages.
32270         * malloc/memusage.sh: Likewise.
32272         [BZ #12813]
32273         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32274         time symbol from vDSO.  Substitute with vsyscall if not available.
32275         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32276         __vdso_time.
32278         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32279         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32280         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32281         Add sendmmsg and internal_sendmmsg.
32282         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32283         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32284         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32286         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32287         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32288         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32290 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32292         [BZ #12813]
32293         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32294         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32295         available.
32296         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32297         __vdso_getcpu.
32299         [BZ #12814]
32300         * iconvdata/Makefile (tests): Add bug-iconv9.
32301         * iconvdata/bug-iconv9.c: New file.
32303 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32305         [BZ #12814]
32306         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32308 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32310         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32311         (struct user_regs_struct): Change intcs field back to cs.
32313 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32315         * po/ja.po: Update from translation team.
32317 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32319         [BZ #12795]
32320         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32321         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32323 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32325         * stdlib/longlong.h: Update from GCC.
32327 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32329         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32330         parameter name.
32331         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32332         Add parameter name.
32333         (__sysconf): Pass it down.
32335 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32337         [BZ #12671]
32338         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32339         some situations.
32340         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32341         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32342         add in in __libc_use_alloca calls.  Adjust callers.
32343         (glob): Use malloc in some situations.
32345         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32346         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32347         pltexit.
32349 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32351         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32352         and CLOCK_BOOTTIME_ALARM.
32354         [BZ #12782]
32355         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32356         is returned.
32358         * string/_strerror.c (__strerror_r): Print negative errors as signed
32359         numbers.
32361         [BZ #12777]
32362         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32363         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32364         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32366         * configure.in: Fix typo in redirection and correct removal of test
32367         files in two cases.
32369         [BZ #12788]
32370         * locale/setlocale.c (new_composite_name): Fix test to check for
32371         identical name of all categories.
32373         [BZ #12792]
32374         * libio/filedoalloc.c (local_isatty): New function.
32375         (_IO_file_doallocate): Use local_isatty.
32376         * stdio-common/perror.c (perror): In case a new stream is used
32377         forward the stream error.
32378         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32379         error flag.
32381 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32383         [BZ #11869]
32384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32385         alloca.
32386         * include/alloca.h (extend_alloca_account): Define.
32388         [BZ #11857]
32389         * posix/regex.h: Fix comments with documentation of user-accessible
32390         fields after compilation and describe correct free'ing of pattern
32391         after re_compile_pattern.
32392         Patch by Reuben Thomas <rrt@sc3d.org>.
32394 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32396         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32397         and -mno-altivec to prevent the compiler from using Altivec and/or
32398         VSX instructions when the corresponding registers are not available.
32400 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32402         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32404 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32406         * libio/freopen.c (freopen): Use __dup2, not dup2.
32407         * libio/freopen64.c (freopen64): Likewise.
32409 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32411         [BZ #12775]
32412         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32413         * math/Makefile (tests): Add test-powl.
32414         (CFLAGS-test-powl.c): Define.
32415         * math/test-powl.c: New file.
32417 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32419         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32421 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32423         [BZ #11837]
32424         * iconvdata/gb18030.c: Update to GB18020-2005.
32426 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32428         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32429         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32430         Patch by Aharon Robbins <arnold@skeeve.com>.
32432         [BZ #11892]
32433         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32434         on the stack.
32436         [BZ #11895]
32437         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32438         through underflows.
32440         [BZ #12766]
32441         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32442         point to strings before performing equality test for error_one_per_line
32443         mode.
32445         [BZ #11697]
32446         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32448         [BZ #11820]
32449         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32450         (struct user_fpregs_struct): Avoid __uint*_t types.
32452         [BZ #6420]
32453         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32454         symbol info.  Use it instead of calling _dl_addr locally.
32455         (lock_and_info): New function.
32456         (tr_freehook): Call lock_and_info and pass symbol info as additional
32457         parameter to tr_where.
32458         (tr_mallochook): Likewise.
32459         (tr_reallochook): Likewise.
32460         (tr_memalignhook): Likewise.
32462         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32463         used and couldn't be at all thread-safe.
32465 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32467         * libio/freopen.c (freopen): Don't close old file descriptor
32468         before the new one is opened.  Instead dup the new file descriptor
32469         to the old one after the new stream is created.
32470         * libio/freopen64.c (freopen64): Likewise.
32471         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32472         * libio/fileops.c (_IO_new_file_close_it): Handle new
32473         _IO_FLAGS2_NOCLOSE flag.
32474         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32475         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32476         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32477         _IO_FLAGS2_NOCLOSE flag.
32478         * include/unistd.h: Add hidden_proto for dup3.
32479         Define __have_dup3.
32480         * io/dup3.c: Define hidden symbol.
32481         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32483         [BZ #7101]
32484         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32485         when an incomplete long option is used.
32486         * posix/tst-getopt_long1.c: New file.
32487         * posix/Makefile (tests): Add tst-getopt_long1.
32489         [BZ #10138]
32490         * scripts/config.guess: Update from autoconf-2.68.
32491         * scripts/config.sub: Likewise.
32493         [BZ #10157]
32494         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32495         tests into ...
32496         (has_cpuclock): ...this.  New function.
32497         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32498         macro here based on has_cpuclock code.
32500         [BZ #10149]
32501         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32502         First byte (not low byte) is now always NUL.
32503         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32506         Use non-cancelable interfaces.
32508         [BZ #9809]
32509         * locale/iso-639.def: Add entry for Sorani.
32511         [BZ #11901]
32512         * include/stdlib.h: Move include protection to the right place.
32513         Define abort_msg_s.  Declare __abort_msg with it.
32514         * stdlib/abort.c (__abort_msg): Adjust type.
32515         * assert/assert.c (__assert_fail_base): New function.  Majority
32516         of code from __assert_fail.  Allocate memory for __abort_msg with
32517         mmap.
32518         (__assert_fail): Now call __assert_fail_base.
32519         * assert/assert-perr.c: Remove bulk of implementation.  Use
32520         __assert_fail_base.
32521         * include/assert.hL Declare __assert_fail_base.
32522         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32523         mmap.
32524         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32526 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32528         [BZ #11952]
32529         [BZ #12453]
32530         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32531         until all modules are registered in the DTV.
32532         * elf/Makefile: Add rules to build and run tst-tls19.
32533         * elf/tst-tls19.c: New file.
32534         * elf/tst-tls19mod1.c: New file.
32535         * elf/tst-tls19mod2.c: New file.
32536         * elf/tst-tls19mod3.c: New file.
32537         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32539         [BZ #12083]
32540         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32541         correctly.
32543         [BZ #12601]
32544         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32545         two-byte sequence errors.
32546         * iconvdata/Makefile (tests): Add bug-iconv8.
32547         * iconvdata/bug-iconv8.c: New file.
32549         [BZ #12626]
32550         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32551         buf2 definition.
32553         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32555         [BZ #12432]
32556         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32557         (dummy_getcfa): New function.
32558         (init): Get _Unwind_GetCFA address, use dummy if not found.
32559         (backtrace_helper): In recursion check, also check whether CFA changes.
32560         (__backtrace): Completely initialize arg.
32562         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32563         storing incomplete byte sequence in state object.  Avoid testing for
32564         guaranteed too small input if we know there is enough data available.
32566 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32568         * Makeconfig (+link-pie): Indent.
32569         * Rules (binaries-pie): Define if $(have-fpie) and
32570         $(build-shared).
32571         (binaries-shared): Also filter out $(binaries-pie).
32572         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32573         * nscd/Makefile (others-pie): Add nscd.
32574         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32575         ($(objpfx)nscd): Remove command override.
32576         * login/Makefile (others-pie): Add pt_chown.
32577         ($(objpfx)pt_chown): Remove command override.
32578         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32579         remove command overrides.
32581 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32583         * libio/tst_putwc.c: Fix error messages.
32585         [BZ #12724]
32586         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32587         currently writing and seek to current position when not.
32588         * libio/Makefile (tests): Add bug-fclose1.
32589         * libio/bug-fclose1.c: New file.
32591 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32593         [BZ #12511]
32594         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32595         don't set DF_1_NODELETE here.
32596         (do_lookup_x): When entering new entry test for copy relocation
32597         and if necessary set DF_1_NODELETE flag.
32598         * elf/tst-unique4.cc: New file.
32599         * elf/tst-unique4.h: New file.
32600         * elf/tst-unique4lib.cc: New file.
32601         * elf/Makefile: Add rules to build and run tst-unique4.
32602         Patch by Piotr Bury <pbury@goahead.com>.
32604 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32606         [BZ #12052]
32607         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32609         [BZ #12625]
32610         * misc/mntent_r.c (addmntent): Flush the stream after the output
32612         [BZ #12393]
32613         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32614         (is_trusted_path_normalize): Skip initial colon.  Append slash
32615         to empty buffer.  Duplicate is_trusted_path code but allow
32616         constructed patch to be prefix.
32617         (is_dst): Allow $ORIGIN followed by /.
32618         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32619         Correct testing of result of is_trusted_path_normalize
32620         (decompose_rpath): Fix warning.
32622 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32624         [BZ #11257]
32625         * grp/initgroups.c (internal_getgrouplist): When we found the service
32626         list through the initgroups entry in nsswitch.conf do not always
32627         continue on a successful lookup.  Don't always use the
32628         __nss_group_database value if it is set.
32629         * nss/nsswitch.conf (initgroups): Change action for successful db
32630         lookup to continue for compatibility.
32632 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32634         [BZ #11532]
32635         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32636         and CP774 modules.
32637         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32638         and CP774 modules.
32639         * iconvdata/tst-tables.sh: Likewise.
32640         * iconvdata/cp770.c: New file.
32641         * iconvdata/cp771.c: New file.
32642         * iconvdata/cp772.c: New file.
32643         * iconvdata/cp773.c: New file.
32644         * iconvdata/cp774.c: New file.
32645         * iconvdata/testdata/CP770: New file.
32646         * iconvdata/testdata/CP770..UTF8: New file.
32647         * iconvdata/testdata/CP771: New file.
32648         * iconvdata/testdata/CP771..UTF8: New file.
32649         * iconvdata/testdata/CP772: New file.
32650         * iconvdata/testdata/CP772..UTF8: New file.
32651         * iconvdata/testdata/CP773: New file.
32652         * iconvdata/testdata/CP773..UTF8: New file.
32653         * iconvdata/testdata/CP774: New file.
32654         * iconvdata/testdata/CP774..UTF8: New file.
32656         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32657         END CHARMAP line.
32658         * iconvdata/gen-8bit-gap.sh: Likewise.
32659         * iconvdata/gen-8bit.sh: Likewise.
32661         * locale/iso-639.def: Add ary entry.
32663         [BZ #11258]
32664         * locale/C-translit.h.in: Add U20A1 transliteration.
32666         [BZ #12178]
32667         * locale/iso-639.def: Add wae entry.
32668         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32670         [BZ #12545]
32671         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32672         for n.
32674         [BZ #12711]
32675         * locale/C-translit.h.in: Add entry for U20B9.
32676         Patch by pravin.d.s@gmail.com.
32678 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32680         [BZ #12713]
32681         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32682         ENAMETOOLONG use generic getcwd.
32683         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32684         in rtld.  Use *stat64.
32685         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32686         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32687         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32688         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32689         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32690         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32691         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32692         __fstatat64 macros.
32693         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32694         * dirent/rewinddir.c: Add libc_hidden_def.
32695         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32696         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32698         * include/dirent.h (__alloc_dir): Add flags parameter.
32699         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32700         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32701         __alloc_dir.
32702         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32703         from fdopendir if O_CLOEXEC is already set.
32705 2011-03-15  Alan Modra  <amodra@gmail.com>
32707         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32708         l_tls_firstbyte_offset non-zero.  Save padding offset in
32709         l_tls_firstbyte_offset for later use.
32710         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32711         freeing static tls block.
32713 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32715         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32716         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32717         being defined by the kernel headers.
32719 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32721         [BZ #12734]
32722         * resolv/resolv.h: Define RES_NOTLDQUERY.
32723         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32724         no-tld-query and set RES_NOTLDQUERY.
32725         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32726         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32727         modern BIND to search name as TLD unless forbidden.
32729 2011-05-07  Petr Baudis  <pasky@suse.cz>
32730             Ulrich Drepper  <drepper@gmail.com>
32732         [BZ #12393]
32733         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32734         (is_trusted_path): ...to here.
32735         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32736         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32737         using is_trusted_path_normalize() in setuid scripts.
32739 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32741         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32742         __BEGIN/__END_DECLS.
32744 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32746         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32747         NSS_STATUS_NOTFOUND if no record was found.
32749 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32751         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32752         (headers-not-in-tirpc): Remove rpc/netdb.h
32753         * resolv/netdb.h: Revert last change.
32755 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32757         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32758         circular dependency between libgcc.a and libc.a.
32760 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32762         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32763         * nis/Makefile: Don't install rpcsvc/*.
32764         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32765         instead of <rpc/types.h>.
32766         (MAXHOSTNAMELEN): Define.
32768 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32770         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32772 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32774         [BZ #12714]
32775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32776         gethostbyname4_r when IPv6 results are possible.
32778 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32780         [BZ #12723]
32781         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32782         _PC_PIPE_BUF handling.
32784 2011-04-30  Bruno Haible  <bruno@clisp.org>
32786         [BZ #12717]
32787         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32788         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32789         to 'int'.
32790         * inet/getnameinfo.c (getnameinfo): Likewise.
32792 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32794         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32795         to groups setting in database lookup.
32796         * nss/nsswitch.conf: Add initgroups entry.
32798 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32800         [BZ #12685]
32801         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32802         mode string.
32803         Patch by Eric Blake <eblake@redhat.com>.
32805 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32807         * sunrpc/Makefile (need-export-routines): Add svc_run.
32808         (routines): Remove svc_run.
32809         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32810         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32811         * sunrpc/svc_run.c (svc_run): Likewise.
32812         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32814 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32816         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32817         problem in reallocation in last patch.
32819 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32821         * sunrpc/Makefile: Move inclusion of Rules.
32823 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32825         * nss/nss_files/files-initgroups.c: New file.
32826         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32827         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32828         _nss_files_initgroups_dyn.
32830 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32832         * elf/elf.h (R_ARM_IRELATIVE): Define.
32834 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32836         * po/ru.po: Update from translation team.
32838 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32840         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32841         dependencies.
32843 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32845         [BZ #12653]
32846         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32847         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32848         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32849         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32850         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32852 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32854         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32855         differing bytes.
32856         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32857         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32858         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32860 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32862         [BZ #12420]
32863         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32864         storing it.
32865         * stdlib/bug-getcontext.c: New file.
32866         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32868 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32870         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32871         instructions into .machine "z9-109".
32872         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32873         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32875 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32877         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32878         between environment variables and auxiliary vector.
32880 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32882         * Makefile: Add rules to build linkobj/libc.so.
32883         * include/libc-symbols.h: Define libc_hidden_nolink.
32884         * include/rpc/auth.h: Mark functions which are to be hidden.
32885         * include/rpc/auth_des.h: Likewise.
32886         * include/rpc/auth_unix.h: Likewise.
32887         * include/rpc/clnt.h: Likewise.
32888         * include/rpc/des_crypt.h: Likewise.
32889         * include/rpc/key_prot.h: Likewise.
32890         * include/rpc/pmap_clnt.h: Likewise.
32891         * include/rpc/pmap_prot.h: Likewise.
32892         * include/rpc/pmap_rmt.h: Likewise.
32893         * include/rpc/rpc_msg.h: Likewise.
32894         * include/rpc/svc.h: Likewise.
32895         * include/rpc/svc_auth.h: Likewise.
32896         * include/rpc/xdr.h: Likewise.
32897         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32898         * nss/Makefile: Likewise.
32899         * sunrpc/Makefile: Don't install headers.  Build library with normal
32900         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32901         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32902         for the compat linking library.  Remove use of INTDEF/INTUSE.
32903         * sunrpc/auth_none.c: Likewise.
32904         * sunrpc/auth_unix.c: Likewise.
32905         * sunrpc/authdes_prot.c: Likewise.
32906         * sunrpc/authuxprot.c: Likewise.
32907         * sunrpc/clnt_gen.c: Likewise.
32908         * sunrpc/clnt_perr.c: Likewise.
32909         * sunrpc/clnt_raw.c: Likewise.
32910         * sunrpc/clnt_simp.c: Likewise.
32911         * sunrpc/clnt_tcp.c: Likewise.
32912         * sunrpc/clnt_udp.c: Likewise.
32913         * sunrpc/clnt_unix.c: Likewise.
32914         * sunrpc/des_crypt.c: Likewise.
32915         * sunrpc/des_soft.c: Likewise.
32916         * sunrpc/get_myaddr.c: Likewise.
32917         * sunrpc/key_call.c: Likewise.
32918         * sunrpc/key_prot.c: Likewise.
32919         * sunrpc/netname.c: Likewise.
32920         * sunrpc/pm_getmaps.c: Likewise.
32921         * sunrpc/pm_getport.c: Likewise.
32922         * sunrpc/pmap_clnt.c: Likewise.
32923         * sunrpc/pmap_prot.c: Likewise.
32924         * sunrpc/pmap_prot2.c: Likewise.
32925         * sunrpc/pmap_rmt.c: Likewise.
32926         * sunrpc/publickey.c: Likewise.
32927         * sunrpc/rpc_cmsg.c: Likewise.
32928         * sunrpc/rpc_common.c: Likewise.
32929         * sunrpc/rpc_dtable.c: Likewise.
32930         * sunrpc/rpc_prot.c: Likewise.
32931         * sunrpc/rpc_thread.c: Likewise.
32932         * sunrpc/rtime.c: Likewise.
32933         * sunrpc/svc.c: Likewise.
32934         * sunrpc/svc_auth.c: Likewise.
32935         * sunrpc/svc_authux.c: Likewise.
32936         * sunrpc/svc_raw.c: Likewise.
32937         * sunrpc/svc_run.c: Likewise.
32938         * sunrpc/svc_simple.c: Likewise.
32939         * sunrpc/svc_tcp.c: Likewise.
32940         * sunrpc/svc_udp.c: Likewise.
32941         * sunrpc/svc_unix.c: Likewise.
32942         * sunrpc/svcauth_des.c: Likewise.
32943         * sunrpc/xcrypt.c: Likewise.
32944         * sunrpc/xdr.c: Likewise.
32945         * sunrpc/xdr_array.c: Likewise.
32946         * sunrpc/xdr_float.c: Likewise.
32947         * sunrpc/xdr_intXX_t.c: Likewise.
32948         * sunrpc/xdr_mem.c: Likewise.
32949         * sunrpc/xdr_rec.c: Likewise.
32950         * sunrpc/xdr_ref.c: Likewise.
32951         * sunrpc/xdr_sizeof.c: Likewise.
32952         * sunrpc/xdr_stdio.c: Likewise.
32954 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32956         [BZ #12650]
32957         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32958         * sysdeps/ia64/dl-tls.h: Likewise.
32959         * sysdeps/powerpc/dl-tls.h: Likewise.
32960         * sysdeps/s390/dl-tls.h: Likewise.
32961         * sysdeps/sh/dl-tls.h: Likewise.
32962         * sysdeps/sparc/dl-tls.h: Likewise.
32963         * sysdeps/x86_64/dl-tls.h: Likewise.
32964         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32966 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32968         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32969         rpath element also skip the following colon.
32970         (expand_dynamic_string_token): Add is_path parameter and pass
32971         down to DL_DST_REQUIRED and _dl_dst_substitute.
32972         (decompose_rpath): Call expand_dynamic_string_token with
32973         non-zero is_path.  Ignore empty rpaths.
32974         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32975         with zero is_path.
32977 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32980         Make cancelable.
32982 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32984         [BZ #12655]
32985         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32986         Patch by Filipe David Manana <fdmanana@apache.org>.
32988 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32990         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32991         Maintain aligned stack.
32992         (CHECK_RSP): Remove unused macro.
32994 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32996         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32997         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32999 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33001         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33003         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33005 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33007         [BZ #12518]
33008         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33009         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33010         * sysdeps/x86_64/memmove.c: New file.
33011         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33012         (memcpy): Renamed to ...
33013         (__new_memcpy): This.
33014         (memcpy): Provide GLIBC_2_14 memcpy.
33015         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33016         (memcpy): Provide GLIBC_2_2_5 memcpy.
33018 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33020         [BZ #12631]
33021         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33023 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33025         * misc/syncfs.c: New file.
33026         * misc/Makefile (routines): Add syncfs.
33027         * posix/unistd.h: Declare syncfs.
33028         * sysdeps/unix/syscalls.list: Add syncfs.
33030 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33032         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33033         open_by_handle_at.
33034         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33035         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33036         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33037         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33038         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33039         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33040         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33042 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33046         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33047         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33048         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33049         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33052         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33053         sync_file_range.c with -fexceptions.
33054         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33055         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33056         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33057         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33058         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33059         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33060         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33061         sync_file_range as cancellation point
33062         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33063         now a wrapper around __call_sync_file_range with cancellation handling.
33064         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33065         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33066         function name to __call_sync_file_range.
33067         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33068         Add call_sync_file_range.
33070 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33072         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33073         bits/timex.h.
33075 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33077         * iconv/iconv.h: Fix typo in comment.
33078         * io/fcntl.h: Likewise.
33079         * libio/stdio.h: Likewise.
33080         * posix/spawn.h: Likewise.
33081         * posix/unistd.h: Likewise.
33082         * stdlib/stdlib.h: Likewise.
33083         * time/time.h: Likewise.
33084         * wcsmbs/wchar.h: Likewise.
33086         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33087         open_by_handle): Add.
33088         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33089         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33090         Augment a few comments.
33091         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33092         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33093         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33094         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33095         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33096         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33097         open_by_handle.
33099         * io/fcntl.h (AT_EMPTY_PATH): Define.
33101 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33103         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33104         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33105         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33106         to...
33107         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33108         * Versions.def: Add GLIBC_2.14.
33109         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33110         Export.
33112 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33114         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33115         round counter.
33116         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33118 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33120         [BZ #12597]
33121         * string/test-strncmp.c (do_page_test): New function.
33122         (check2): Likewise.
33123         (test_main): Call check2.
33124         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33126 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33128         [BZ #12587]
33129         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33130         Handle cache information in CPU leaf 4.
33131         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33133 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33135         [BZ #12583]
33136         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33137         character representation.
33138         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33140 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33142         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33143         END(__isnan) to END(__isnanf) to match function entry point/label
33144         EALIGN(__isnanf,...).
33146 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33148         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33150 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33152         [BZ #12510]
33153         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33154         copy from the symbol referenced in the relocation to initialize the
33155         used variable.
33156         Patch by Piotr Bury <pbury@goahead.com>.
33157         * elf/Makefile: Add rules to build and tst-unique3.
33158         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33159         * elf/tst-unique3.cc: New file.
33160         * elf/tst-unique3.h: New file.
33161         * elf/tst-unique3lib.cc: New file.
33162         * elf/tst-unique3lib2.cc: New file.
33164         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33166 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33168         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33169         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33170         to _start.
33172 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33174         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33175         to-be-loaded object along a path to loader is ld.so.
33177 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33178             Ulrich Drepper  <drepper@gmail.com>
33180         * sysdeps/x86_64/memset.S: After aligning destination, code
33181         branches to different locations depending on the value of
33182         misalignment, when multiarch is enabled. Fix this.
33184 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33186         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33187         Set _x86_64_preferred_memory_instruction for AMD processsors.
33188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33189         Set bit_Prefer_SSE_for_memop for AMD processors.
33191 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33193         * libio/fmemopen.c (fmemopen): Optimize a bit.
33195 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33197         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33199 2011-03-03  Roland McGrath  <roland@redhat.com>
33201         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33203 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33205         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33206         __bzero_ultra1 instead of __memset_ultra1.
33208 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33209             Ulrich Drepper  <drepper@gmail.com>
33211         [BZ #12509]
33212         * include/link.h (struct link_map): Add l_orig_initfini.
33213         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33214         returning unsuccessfully.
33215         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33216         close of a file loaded at startup, restore the original l_initfini
33217         list.
33218         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33219         list, store the pointer.
33220         * elf/Makefile ($(objpfx)noload-mem): New rule.
33221         (noload-ENV): Define.
33222         (tests): Add $(objpfx)noload-mem.
33223         * elf/noload.c: Include <memcheck.h>.
33224         (main): Call mtrace.  Close all opened handles.
33226 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33228         [BZ #12454]
33229         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33230         dependencies are missing.
33232 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33234         Fix __if_freereq crash: Unlike the generic version which uses free,
33235         Hurd needs munmap.
33236         * sysdeps/mach/hurd/ifreq.h: New file.
33238 2011-01-27  Petr Baudis  <pasky@suse.cz>
33239             Ulrich Drepper  <drepper@gmail.com>
33241         [BZ 12445]#
33242         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33243         to extend_alloca().
33244         * stdio-common/bug23.c: New file.
33245         * stdio-common/Makefile (tests): Add bug23.
33247 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33248             Ulrich Drepper  <drepper@gmail.com>
33250         [BZ #12489]
33251         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33252         before performing relro protection.  At old place add assertion
33253         to make sure nothing changed.
33255 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33256             Glauber de Oliveira Costa  <glommer@gmail.com>
33258         * elf/elf.h: Add new ARM TLS relocs.
33260 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33263         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33264         cast from r3.
33265         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33266         'tests' variable.
33267         * sysdeps/wordsize-64/tst-writev.c: New file.
33269 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33271         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33272         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33273         insns in _dl_start to prevent a TOC reference before relocs are
33274         resolved.
33276 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33278         [BZ #12469]
33279         * Makeconfig: Remove RANLIB definition.
33280         * Makerules: Don't use RANLIB.
33281         * aclocal.m4: Remove ranlib test.
33282         * configure.in: No need to check for ranlib.
33283         * elf/rtld-Rules: Don't use RANLIB.
33285 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33287         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33288         protection macro.
33289         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33290         inclusion protection macro.
33292         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33293         SIGRTMIN and SIGRTMAX and print information in that case only when
33294         SIGRTMIN is defined.
33296 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33298         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33299         arginfo fn returning -1.
33301         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33302         and thousands string is zero terminated.
33304 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33306         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33307         sysdeps/unix/sysv/linux/bits/socket.h.
33309 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33311         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33312         (__CPU_COUNT): Remove old macros.
33313         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33314         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33315         (__CPU_ALLOC, __CPU_FREE): Add macros.
33316         (__sched_cpualloc, __sched_cpufree): Add declarations.
33318 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33320         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33321         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33322         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33323         (readdhstai): Return value of addhstaiX call.
33324         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33325         (addgrbyX): Return value returned by cache_addgr.
33326         (readdgrbyname): Return value returned by addgrbyX.
33327         (readdgrbygid): Likewise.
33328         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33329         (addpwbyX): Return value returned by cache_addpw.
33330         (readdpwbyname): Return value returned by addhstbyX.
33331         (readdpwbyuid): Likewise.
33332         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33333         (addservbyX): Return value returned by cache_addserv.
33334         (readdservbyname): Return value returned by addservbyX:
33335         (readdservbyport): Likewise.
33336         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33337         (addhstbyX): Return value returned by cache_addhst.
33338         (readdhstbyname): Return value returned by addhstbyX.
33339         (readdhstbyaddr): Likewise.
33340         (readdhstbynamev6): Likewise.
33341         (readdhstbyaddrv6): Likewise.
33342         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33343         (readdinitgroups): Return value returned by addinitgroupsX.
33344         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33345         (prune_cache): Keep track of timeout value of re-added entries.
33346         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33347         * nscd/nscd.h: Adjust prototypes of readd* functions.
33349 2011-02-04  Roland McGrath  <roland@redhat.com>
33351         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33352         (nis_stats): Likewise.
33353         * nis/nis_modify.c (nis_modify): Likewise.
33354         * nis/nis_remove.c (nis_remove): Likewise.
33355         * nis/nis_add.c (nis_add): Likewise.
33357         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33359         * posix/fnmatch_loop.c: Add some consts.
33361         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33363 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33365         [BZ #12460]
33366         * config.make.in (config-cflags-novzeroupper): Define.
33367         * configure.in: Substitute libc_cv_cc_novzeroupper.
33368         * elf/Makefile (AVX-CFLAGS): Define.
33369         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33370         (CFLAGS-tst-auditmod4a.c): Likewise.
33371         (CFLAGS-tst-auditmod4b.c): Likewise.
33372         (CFLAGS-tst-auditmod6b.c): Likewise.
33373         (CFLAGS-tst-auditmod6c.c): Likewise.
33374         (CFLAGS-tst-auditmod7b.c): Likewise.
33375         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33377 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33379         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33380         function to the callback.
33381         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33383 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33385         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33386         of errno.
33388 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33390         [BZ #11724]
33391         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33392         of constructors.
33393         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33394         of destructors.
33395         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33397         [BZ #11724]
33398         * elf/Makefile: Add rules to build and run new test.
33399         * elf/tst-initorder.c: New file.
33400         * elf/tst-initorder.exp: New file.
33401         * elf/tst-initordera1.c: New file.
33402         * elf/tst-initordera2.c: New file.
33403         * elf/tst-initordera3.c: New file.
33404         * elf/tst-initordera4.c: New file.
33405         * elf/tst-initorderb1.c: New file.
33406         * elf/tst-initorderb2.c: New file.
33407         * elf/tst-order-a1.c: New file.
33408         * elf/tst-order-a2.c: New file.
33409         * elf/tst-order-a3.c: New file.
33410         * elf/tst-order-a4.c: New file.
33411         * elf/tst-order-b1.c: New file.
33412         * elf/tst-order-b2.c: New file.
33413         * elf/tst-order-main.c: New file.
33414         New test case by George Gensure <werkt0@gmail.com>.
33416 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33419         decoding ACE if AI_CANONIDN.
33421 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33423         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33425 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33427         * version.h (RELEASE): Bump for 2.13 release.
33428         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33430         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33432         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33433         MADV_NOHUGEPAGE.
33434         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33435         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33436         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33437         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33438         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33439         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33441         * posix/getconf.c: Update copyright year.
33442         * catgets/gencat.c: Likewise.
33443         * csu/version.c: Likewise.
33444         * debug/catchsegv.sh: Likewise.
33445         * debug/xtrace.sh: Likewise.
33446         * elf/ldconfig.c: Likewise.
33447         * elf/ldd.bash.in: Likewise.
33448         * elf/sprof.c (print_version): Likewise.
33449         * iconv/iconv_prog.c: Likewise.
33450         * iconv/iconvconfig.c: Likewise.
33451         * locale/programs/locale.c: Likewise.
33452         * locale/programs/localedef.c: Likewise.
33453         * malloc/memusage.sh: Likewise.
33454         * malloc/mtrace.pl: Likewise.
33455         * nscd/nscd.c (print_version): Likewise.
33456         * nss/getent.c: Likewise.
33458         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33459         PF_CAIF, and PF_ALG.
33460         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33462 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33464         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33465         (modules-names): Use them.
33466         (ifunc-test-modules, ifunc-pie-tests): Define.
33467         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33468         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33469         (test-extras): Likewise.
33470         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33471         $(compile-command.c).
33472         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33473         (all-built-dso): Define.
33474         (check-textrel.out, check-execstack.out): Depend on it.
33476         * configure.in: Don't override --enable-multi-arch.
33478 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33480         [BZ #6812]
33481         * nscd/hstcache.c (tryagain): Define.
33482         (cache_addhst): Return tryagain not notfound for temporary errors.
33483         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33484         failed.
33486 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33488         [BZ #10563]
33489         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33490         to make the syscall.
33491         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33493         [BZ #12378]
33494         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33495         and fall back to matching as normal character if the string ends before
33496         the matching ']' is found.  This is what POSIX requires.
33497         * posix/testfnm.c: Adjust test result.
33498         * posix/globtest.sh: Adjust test result.  Add new test.
33499         * posix/tst-fnmatch.input: Likewise.
33500         * posix/tst-fnmatch2.c: Add new test.
33502 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33504         * elf/Makefile (check-execstack): Revert last change.  Depend on
33505         check-execstack.h.
33506         (check-execstack.h): New target.
33507         (generated): Add check-execstack.h.
33508         * elf/check-execstack.c: Include "check-execstack.h".
33509         (main): Revert last change.
33510         (handle_file): Return zero if GNU_STACK is absent and
33511         DEFAULT_STACK_PERMS doesn't include PF_X.
33513 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33515         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33516         in child fails because the descriptor is already closed.
33517         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33518         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33519         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33521         [BZ #12397]
33522         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33523         syscall.
33525         [BZ #10484]
33526         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33527         temporary buffer used to handle multi lookups locally.
33528         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33530 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33532         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33533         loader is ld.so.
33535 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33537         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33538         alignment for SSE2.
33540 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33542         [BZ #12394]
33543         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33544         characters.  When rounding increased number of integer digits recompute
33545         number of groups.
33546         * stdio-common/tst-grouping.c: New file.
33547         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33549 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33551         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33552         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33554         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33555         void.
33556         * bits/select.h: Likewise.
33558 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33560         * po/ja.po: Update from translation team.
33562 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33564         [BZ #11155]
33565         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33566         implementation just like for lxstat, fxstatat, et al.
33568 2010-12-27  Jim Meyering  <meyering@redhat.com>
33570         [BZ #12348]
33571         * posix/regexec.c (build_trtable): Return failure indication upon
33572         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33574 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33576         [BZ #12201]
33577         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33578         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33579         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33580         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33582         [BZ #12207]
33583         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33585         [BZ #12204]
33586         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33587         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33589 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33591         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33592         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33593         script has SORT_BY_INIT_PRIORITY.
33594         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33595         NO_CTORS_DTORS_SECTIONS is defined.
33596         * elf/soinit.c: Likewise.
33597         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33598         NO_CTORS_DTORS_SECTIONS is defined.
33599         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33600         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33601         * sysdeps/sh/init-first.c: Likewise.
33602         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33604 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33606         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33607         always use the slow path.
33609 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33611         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33612         similar rule which adds the sysdep directories to the header search in
33613         order to pick up the correct platform stackinfo.h.
33614         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33615         perform test if it is, otherwise return successfully without testing.
33616         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33617         DEFAULT_STACK_PERMS define in stackinfo.h.
33618         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33619         defined in stackinfo.h.
33620         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33621         DEFAULT_STACK_PERMS defined in stackinfo.h.
33622         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33623         * sysdeps/ia64/stackinfo.h: Likewise.
33624         * sysdeps/s390/stackinfo.h: Likewise.
33625         * sysdeps/sh/stackinfo.h: Likewise.
33626         * sysdeps/sparc/stackinfo.h: Likewise.
33627         * sysdeps/x86_64/stackinfo.h: Likewise.
33628         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33629         PF_X for powerpc64.  Retain PF_X for powerpc32.
33631 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33633         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33634         accurately.
33635         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33636         GETDENTS_64BIT_ALIGNED.
33638 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33640         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33642 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33644         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33645         _GNU_SOURCE.
33647         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33648         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33649         Remove __restrict.
33650         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33651         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33653 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33655         [BZ #11655]
33656         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33657         are initialized.
33659 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33661         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33663 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33665         * po/it.po: Update from translation team.
33667 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33669         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33670         unused codes.
33672 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33674         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33676 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33678         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33679         specially.
33680         (gaih_getanswer_slice): Likewise.
33682 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33686 2010-05-31  Petr Baudis  <pasky@suse.cz>
33688         [BZ #11149]
33689         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33690         silently even in the chroot mode.
33692 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33694         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33695         last patch a bit.  Pretty printing
33697 2010-05-31  Petr Baudis <pasky@suse.cz>
33699         [BZ #10085]
33700         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33701         initialization of skip_initgroups_dyn.
33703 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33705         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33706         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33708 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33710         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33712 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33714         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33715         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33716         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33717         ($(objpfx)tst-fnmatch-mem): New rule.
33718         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33719         * posix/tst-fnmatch.c (main): Call mtrace.
33721 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33724         Support Intel processor model 6 and model 0x2c.
33726 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33728         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33729           signed comparison.
33731 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33733         [BZ #12205]
33734         * string/test-strncasecmp.c (check_result): New function.
33735         (do_one_test): Use it.
33736         (check1): New function.
33737         (test_main): Use it.
33738         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33739         Support strcasecmp and strncasecmp.
33741 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33743         [BZ #12194]
33744         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33745         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33747 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33749         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33750         IFUNC support.
33751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33752         memset-x86-64.
33753         * sysdeps/x86_64/multiarch/bzero.S: New file.
33754         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33755         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33756         * sysdeps/x86_64/multiarch/memset.S: New file.
33757         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33759         Set bit_Prefer_SSE_for_memop for Intel processors.
33760         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33761         Define.
33762         (index_Prefer_SSE_for_memop): Define.
33763         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33765 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33767         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33768         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33770 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33772         [BZ #12191]
33773         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33774         (__x86_64_raw_data_cache_size_half): Likewise.
33775         (__x86_64_raw_shared_cache_size): Likewise.
33776         (__x86_64_raw_shared_cache_size_half): Likewise.
33778         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33779         (__x86_64_raw_data_cache_size_half): Likewise.
33780         (__x86_64_raw_shared_cache_size): Likewise.
33781         (__x86_64_raw_shared_cache_size_half): Likewise.
33782         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33783         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33784         and __x86_64_raw_shared_cache_size_half.  Round
33785         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33786         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33787         to multiple of 256 bytes.
33789 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33791         [BZ #12167]
33792         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33793         of inacessible symlinks.  Verify result of symlink before returning it.
33794         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33795         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33797 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33799         * math/math.h (isinf): Fix typo in comment.
33801 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33803         * po/da.po: Update from translation team.
33805 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33807         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33808         is added to the list.
33810 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33811             Ulrich Drepper  <drepper@gmail.com>
33813         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33814         the global list here.  Move code to...
33815         (_dl_add_to_namespace_list): ...here.  New function.
33816         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33817         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33818         * elf/dl-load.c (lose): Don't remove the element from the list.
33819         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33820         (_dl_map_object): Likewise.
33822 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33824         [BZ #12159]
33825         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33826         into all bytes of SSE register.
33827         Patch by Richard Li <richardpku@gmail.com>.
33829 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33831         [BZ #12140]
33832         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33833         perturbing.
33835 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33837         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33838         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33839         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33840         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33842         submachine.
33843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33845 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33847         * include/dlfcn.h (__RTLD_SECURE): Define.
33848         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33849         mode & __RTLD_SECURE instead.
33850         (open_path): Rename preloaded parameter to secure.
33851         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33852         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33853         * elf/dl-deps.c (openaux): Likewise.
33854         * elf/rtld.c (struct map_args): Remove is_preloaded.
33855         (map_doit): Don't use it.
33856         (dl_main): Likewise.
33857         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33858         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33860 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33862         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33863         (sysd-rules-targets): Remove duplicates.
33864         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33865         rtld-%.$o dependency.
33867 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33869         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33870         _dl_map_object do it.
33872 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33874         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33875         fast fma builtins, define the macros in the C99 standard.
33876         (FP_FAST_FMAF): Likewise.
33877         (FP_FAST_FMAL): Likewise.
33878         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33880         * bits/mathdef.h: Update copyright year.
33881         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33883 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33885         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33886         builtins, define the macros in the C99 standard.
33887         (FP_FAST_FMAF): Likewise.
33888         (FP_FAST_FMAL): Likewise.
33889         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33890         multiply/add.
33891         (FP_FAST_FMAF): Likewise.
33893 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33895         [BZ #3268]
33896         * math/libm-test.inc (fma_test): Some new testcases.
33897         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33898         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33899         y and infinite z.  Do multiplication by C already in long double.
33900         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33901         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33902         y and infinite z.  Do bitwise or of inexact bit into u.d.
33903         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33904         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33905         * sysdeps/i386/fpu/s_fma.S: Removed.
33906         * sysdeps/i386/fpu/s_fmal.S: Removed.
33908 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33910         [BZ #3268]
33911         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33912         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33913         computation is not scheduled after fetestexcept.  Fix value
33914         of minimum denormal long double.
33916 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33918         [BZ #3268]
33919         * math/libm-test.inc (fma_test): Add some more tests.
33920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33921         correctly.
33923 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33925         * scripts/data/localplt-s390-linux-gnu.data: New file.
33926         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33928 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33930         [BZ #3268]
33931         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33932         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33933         instead of dbl-64.
33934         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33935         inlines.
33936         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33938         if one of x and y is very large and the other is subnormal.
33939         * sysdeps/s390/fpu/s_fmaf.c: New file.
33940         * sysdeps/s390/fpu/s_fma.c: New file.
33941         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33942         * sysdeps/powerpc/fpu/s_fma.S: New file.
33943         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33944         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33945         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33947 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33949         [BZ #3268]
33950         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33951         fma tests.
33952         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33953         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33954         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33955         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33956         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33957         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33958         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33960 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33962         [BZ #12078]
33963         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33964         * posix/bug-regex31.input: Add test case.
33966 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33968         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33969         * posix/bug-regex31.input: New file.
33971         [BZ #12078]
33972         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33973         (parse_sub_exp): Fix last change, use postorder.
33975         * posix/bug-regex31.c: New file.
33976         * posix/Makefile: Add rules to build and run bug-regex31.
33978         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33980         [BZ #12078]
33981         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33983         [BZ #12108]
33984         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33985         to have entries in sys_siglist.
33987         [BZ #12093]
33988         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33989         be NULL.
33991 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33993         [BZ #3268]
33994         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33995         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33996         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33997         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33998         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33999         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34000         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34001         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34002         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34003         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34004         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34005         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34006         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34007         * math/ftestexcept.c (fetestexcept): Likewise.
34008         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34009         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34010         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34011         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34012         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34013         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34014         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34016 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34018         [BZ #12107]
34019         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34020         newline.
34022 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34024         * string/bug-strstr1.c: New file.
34025         * string/Makefile: Add rules to build and run bug-strstr1.
34027 2010-10-05  Eric Blake  <eblake@redhat.com>
34029         [BZ #12092]
34030         * string/str-two-way.h (two_way_long_needle): Always clear memory
34031         when skipping input due to the shift table.
34033 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34035         [BZ #12005]
34036         * malloc/mcheck.c: Handle large requests.
34038         [BZ #12077]
34039         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34040         for strncmp and strncasecmp.
34041         * string/stratcliff.c: Add tests for strcmp and strncmp.
34042         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34044 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34046         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34047         __set_fpscr.
34049 2010-09-30  Andreas Jaeger  <aj@suse.de>
34051         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34052         (CGROUP_SUPER_MAGIC): Define.
34053         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34054         Handle btrfs and cgroup file systems.
34055         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34056         Likewise.
34058 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34060         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34061         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34063 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34065         [BZ #12067]
34066         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34067         trying to locate the ELF header.
34069 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34071         [BZ #11611]
34072         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34073         Mask out sign-bit copies when constructing f_fsid.
34075 2010-09-24  Petr Baudis <pasky@suse.cz>
34077         * debug/stack_chk_fail_local.c: Add missing licence exception.
34078         * debug/warning-nop.c: Likewise.
34080 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34082         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34083         implementing getdents64 using getdents syscall, set d_type if
34084         __ASSUME_GETDENTS32_D_TYPE.
34086 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34088         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34089         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34091 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34093         [BZ #12037]
34094         * posix/unistd.h: Undo change of feature selection for ftruncate from
34095         2010-01-11.
34097 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34099         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34100         detection.
34102 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34104         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34105         fanotify_mark.
34106         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34108 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34110         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34111         variables after CHECK_SP call.
34112         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34114 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34115             Ulrich Drepper  <drepper@redhat.com>
34117         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34118         re-relocationg ld.so.
34119         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34120         _dl_init_paths call.
34121         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34122         here anymore.
34124 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34126         * resolv/res_init.c (__res_vinit): Count the default server we added.
34128 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34129             Ulrich Drepper  <drepper@redhat.com>
34131         [BZ #11968]
34132         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34133         (____longjmp_chk): Use %ebx for saving value across system call.
34134         Add unwind info.
34136 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34138         * manual/Makefile: Don't mix pattern rules with normal rules.
34140 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34142         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34143         operation.
34144         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34145         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34146         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34147         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34149         Likewise.
34151 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34153         [BZ #11979]
34154         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34155         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34157 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34159         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34160         * sysdeps/x86_64/addmul_1.S: Likewise.
34161         * sysdeps/x86_64/lshift.S: Likewise.
34162         * sysdeps/x86_64/mul_1.S: Likewise.
34163         * sysdeps/x86_64/rshift.S: Likewise.
34164         * sysdeps/x86_64/sub_n.S: Likewise.
34165         * sysdeps/x86_64/submul_1.S: Likewise.
34167 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34169         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34170         Define __sched_param instead of SCHED_* and sched_param when
34171         <bits/sched.h> is included with __need_schedparam defined.
34172         * bits/sched.h [__need_schedparam]
34173         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34174         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34175         (__defined_schedparam): Define to 1.
34176         (__sched_param): New structure, identical to sched_param.
34177         (__need_schedparam): Undefine.
34179 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34181         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34182         (epoll_create1): Declare.
34184         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34186 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34188         [BZ #7066]
34189         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34190         shifting retval into place.
34192 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34194         * nis/rpcsvc/nis.h: Update copyright notice.
34195         * nis/rpcsvc/nis.x: Likewise.
34196         * nis/rpcsvc/nis_callback.h: Likewise.
34197         * nis/rpcsvc/nis_callback.x: Likewise.
34198         * nis/rpcsvc/nis_object.x: Likewise.
34199         * nis/rpcsvc/nis_tags.h: Likewise.
34200         * nis/rpcsvc/yp.h: Likewise.
34201         * nis/rpcsvc/yp.x: Likewise.
34202         * nis/rpcsvc/ypupd.h: Likewise.
34203         * nis/yp_xdr.c: Likewise.
34204         * nis/ypupdate_xdr.c: Likewise.
34206         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34207         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34208         (pmap_getport): Use __libc_rpc_getport.
34209         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34210         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34211         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34213 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34216         fanotify_mark.
34218 2010-08-27  Roland McGrath  <roland@redhat.com>
34220         * sysdeps/i386/i686/multiarch/Makefile
34221         (CFLAGS-varshift.c): New variable.
34223 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34225         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34226         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34228         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34230         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34232 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34234         * sysdeps/x86_64/strlen.S: Unroll the loop.
34235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34236         strlen-sse2 strlen-sse2-bsf.
34237         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34238         __strlen_no_bsf if bit_Slow_BSF is set.
34239         (__strlen_sse42): Removed.
34240         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34241         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34243 2010-08-25  Roland McGrath  <roland@redhat.com>
34245         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34246         * sysdeps/x86_64/multiarch/varshift.c: New file.
34247         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34248         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34249         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34250         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34252 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34254         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34255         strlen-sse2 strlen-sse2-bsf.
34256         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34257         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34258         (__strlen_sse2): Removed.
34259         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34260         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34262         bit_Slow_BSF for Atom.
34263         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34264         (index_Slow_BSF): Define.
34265         (HAS_SLOW_BSF): Define.
34267 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34269         [BZ #10851]
34270         * resolv/res_init.c (__res_vinit): When no server address at all
34271         is given default to loopback.
34273 2010-08-24  Roland McGrath  <roland@redhat.com>
34275         * configure.in: Remove config-name.h generation.
34276         * configure: Regenerated.
34277         * config-name.in: File removed.
34278         * scripts/config-uname.sh: New file.
34279         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34280         ($(objdir)config-name.h): New target.
34282         * sunrpc/rpc_parse.h: Avoid nested comment.
34284 2010-08-24  Richard Henderson  <rth@redhat.com>
34285             Ulrich Drepper  <drepper@redhat.com>
34286             H.J. Lu  <hongjiu.lu@intel.com>
34288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34290         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34291         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34292         _mm_alignr_epi8 with _mm_loadu_si128.
34293         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34294         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34295         (__m128i_shift_right): Removed.
34296         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34297         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34298         * sysdeps/x86_64/multiarch/varshift.h: New file.
34299         * sysdeps/x86_64/multiarch/varshift.S: New file.
34301 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34303         * configure.in: Move assembler checks to before sysdep dir checking.
34305 2010-08-20  Petr Baudis  <pasky@suse.cz>
34307         * LICENSES: Sync the sunrpc license.
34309 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34311         * sunrpc/auth_des.c: Update copyright notice once again.
34312         * sunrpc/auth_none.c: Likewise.
34313         * sunrpc/auth_unix.c: Likewise.
34314         * sunrpc/authdes_prot.c: Likewise.
34315         * sunrpc/authuxprot.c: Likewise.
34316         * sunrpc/bindrsvprt.c: Likewise.
34317         * sunrpc/clnt_gen.c: Likewise.
34318         * sunrpc/clnt_perr.c: Likewise.
34319         * sunrpc/clnt_raw.c: Likewise.
34320         * sunrpc/clnt_simp.c: Likewise.
34321         * sunrpc/clnt_tcp.c: Likewise.
34322         * sunrpc/clnt_udp.c: Likewise.
34323         * sunrpc/clnt_unix.c: Likewise.
34324         * sunrpc/des_crypt.c: Likewise.
34325         * sunrpc/des_soft.c: Likewise.
34326         * sunrpc/get_myaddr.c: Likewise.
34327         * sunrpc/getrpcport.c: Likewise.
34328         * sunrpc/key_call.c: Likewise.
34329         * sunrpc/key_prot.c: Likewise.
34330         * sunrpc/openchild.c: Likewise.
34331         * sunrpc/pm_getmaps.c: Likewise.
34332         * sunrpc/pm_getport.c: Likewise.
34333         * sunrpc/pmap_clnt.c: Likewise.
34334         * sunrpc/pmap_prot.c: Likewise.
34335         * sunrpc/pmap_prot2.c: Likewise.
34336         * sunrpc/pmap_rmt.c: Likewise.
34337         * sunrpc/rpc/auth.h: Likewise.
34338         * sunrpc/rpc/auth_unix.h: Likewise.
34339         * sunrpc/rpc/clnt.h: Likewise.
34340         * sunrpc/rpc/des_crypt.h: Likewise.
34341         * sunrpc/rpc/key_prot.h: Likewise.
34342         * sunrpc/rpc/netdb.h: Likewise.
34343         * sunrpc/rpc/pmap_clnt.h: Likewise.
34344         * sunrpc/rpc/pmap_prot.h: Likewise.
34345         * sunrpc/rpc/pmap_rmt.h: Likewise.
34346         * sunrpc/rpc/rpc.h: Likewise.
34347         * sunrpc/rpc/rpc_des.h: Likewise.
34348         * sunrpc/rpc/rpc_msg.h: Likewise.
34349         * sunrpc/rpc/svc.h: Likewise.
34350         * sunrpc/rpc/svc_auth.h: Likewise.
34351         * sunrpc/rpc/types.h: Likewise.
34352         * sunrpc/rpc/xdr.h: Likewise.
34353         * sunrpc/rpc_clntout.c: Likewise.
34354         * sunrpc/rpc_cmsg.c: Likewise.
34355         * sunrpc/rpc_common.c: Likewise.
34356         * sunrpc/rpc_cout.c: Likewise.
34357         * sunrpc/rpc_dtable.c: Likewise.
34358         * sunrpc/rpc_hout.c: Likewise.
34359         * sunrpc/rpc_main.c: Likewise.
34360         * sunrpc/rpc_parse.c: Likewise.
34361         * sunrpc/rpc_parse.h: Likewise.
34362         * sunrpc/rpc_prot.c: Likewise.
34363         * sunrpc/rpc_sample.c: Likewise.
34364         * sunrpc/rpc_scan.c: Likewise.
34365         * sunrpc/rpc_scan.h: Likewise.
34366         * sunrpc/rpc_svcout.c: Likewise.
34367         * sunrpc/rpc_tblout.c: Likewise.
34368         * sunrpc/rpc_util.c: Likewise.
34369         * sunrpc/rpc_util.h: Likewise.
34370         * sunrpc/rpcinfo.c: Likewise.
34371         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34372         * sunrpc/rpcsvc/key_prot.x: Likewise.
34373         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34374         * sunrpc/rpcsvc/mount.x: Likewise.
34375         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34376         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34377         * sunrpc/rpcsvc/rex.x: Likewise.
34378         * sunrpc/rpcsvc/rstat.x: Likewise.
34379         * sunrpc/rpcsvc/rusers.x: Likewise.
34380         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34381         * sunrpc/rpcsvc/spray.x: Likewise.
34382         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34383         * sunrpc/rtime.c: Likewise.
34384         * sunrpc/svc.c: Likewise.
34385         * sunrpc/svc_auth.c: Likewise.
34386         * sunrpc/svc_authux.c: Likewise.
34387         * sunrpc/svc_raw.c: Likewise.
34388         * sunrpc/svc_run.c: Likewise.
34389         * sunrpc/svc_simple.c: Likewise.
34390         * sunrpc/svc_tcp.c: Likewise.
34391         * sunrpc/svc_udp.c: Likewise.
34392         * sunrpc/svc_unix.c: Likewise.
34393         * sunrpc/svcauth_des.c: Likewise.
34394         * sunrpc/xcrypt.c: Likewise.
34395         * sunrpc/xdr.c: Likewise.
34396         * sunrpc/xdr_array.c: Likewise.
34397         * sunrpc/xdr_float.c: Likewise.
34398         * sunrpc/xdr_mem.c: Likewise.
34399         * sunrpc/xdr_rec.c: Likewise.
34400         * sunrpc/xdr_ref.c: Likewise.
34401         * sunrpc/xdr_sizeof.c: Likewise.
34402         * sunrpc/xdr_stdio.c: Likewise.
34404         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34405         handling.
34407 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34409         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34411 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34413         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34414         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34415         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34416         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34417         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34418         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34419         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34420         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34421         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34422         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34423         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34424         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34425         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34426         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34428 2010-07-26  Anton Blanchard  <anton@samba.org>
34430         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34431         * malloc/arena.c (heap_trim): Likewise.
34433 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34435         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34436         here.  Not...
34437         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34438         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34440 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34442         * sysdeps/i386/elf/Makefile: New file.
34444 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34446         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34447         from fanotify_init.
34448         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34449         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34451 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34453         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34454         of strncasecmp_l.
34455         * sysdeps/multiarch/strcmp.S: Likewise.
34457 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34459         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34460         strncase_l-nonascii.
34461         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34462         Add strncase_l-ssse3.
34463         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34464         * sysdeps/x86_64/strcmp.S: Likewise.
34465         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34466         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34467         * sysdeps/x86_64/strncase.S: New file.
34468         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34469         * sysdeps/x86_64/strncase_l.S: New file.
34470         * string/Makefile (strop-tests): Add strncasecmp.
34471         * string/test-strncasecmp.c: New file.
34473         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34474         warning.
34476         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34477         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34479 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34481         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34483 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34485         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34486         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34487         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34489 2010-05-01  Alan Modra  <amodra@gmail.com>
34491         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34492         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34493         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34494         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34495         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34496         tidying.  Don't tail-call __sigjmp_save for static lib.
34497         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34498         save location.
34499         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34500         (CALL_MCOUNT): Add eh info, and nop after bl.
34501         (TAIL_CALL_SYSCALL_ERROR): New macro.
34502         (PSEUDO_RET): Use it.
34503         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34504         Correct save location of integer regs and cr.
34505         (_dl_profile_resolve): Correct cr save location.  Delete nops
34506         after bl when SHARED.  Reduce cfi size a little by better
34507         placement of cfi directives.
34508         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34509         make a stack frame.  Instead use parm save area as a temp.
34510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34511         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34513         Don't make a stack frame for parent, use parm save area.
34514         Increase child stack frame to 112 bytes.  Don't save unused reg,
34515         and adjust reg usage.  Set up cfi on error recovery and
34516         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34518         (__makecontext): Add dummy nop after jump to exit.
34519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34520         Use correct parm save area and cr save, reduce stack frame.
34521         Correct cfi for possible PSEUDO_RET frame setup.
34522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34523         Branch to local label emitted by PSEUDO_RET rather than
34524         __syscall_error.
34526 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34528         [BZ #11904]
34529         * locale/programs/locale.c (print_assignment): New function.
34530         (show_locale_vars): Use it.
34532 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34534         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34535         field.
34536         (struct statfs64): Likewise.
34537         (_STATFS_F_FLAGS): Define.
34538         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34539         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34540         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34541         (ST_VALID): Define locally.
34542         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34543         __statvfs_getflags, use the provided value.
34544         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34545         __ASSUME_STATFS_F_FLAGS.
34547         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34549         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34550         Add sys/fanotify.h.
34551         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34552         fanotify_mask for GLIBC_2.13.
34553         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34554         fanotify_init and fanotify_mark.
34555         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34556         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34558         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34559         Add prlimit.
34560         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34561         prlimit64 for GLIBC_2.13.
34562         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34563         prlimit64.
34564         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34565         syscall.
34566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34567         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34568         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34569         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34570         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34571         add prlimit alias.
34572         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34574         [BZ #11903]
34575         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34576         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34578         * nss/Makefile: Add rules to build and run tst-nss-test1.
34579         * shlib-versions: Add entry for libnss_test1.
34580         * nss/nss_test1.c: New file.
34581         * nss/tst-nss-test1.c: New file.
34583         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34584         (__nss_configure_lookup): Set appropriate entry in
34585         __nss_configure_lookup to true.
34586         * nss/nsswitch.h: Define enum with indeces of databases in
34587         databases and __nss_database_custom arrays.  Declare
34588         __nss_database_custom.
34589         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34590         to avoid using nscd when custom rules are installed.
34591         * nss/getXXbyYY_r.c: Likewise.
34592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34594         * nss/nss_files/files-parse.c: Whitespace fixes.
34596 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34598         [BZ #11883]
34599         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34600         * posix/fnmatch_loop.c: Likewise.
34602 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34604         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34605         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34606         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34607         * Versions.def [GLIBC_2.13]: Add.
34609 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34611         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34612         Also fail if tpwd after pwuid call is NULL.
34614 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34616         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34617         when converting to ms.
34619 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34621         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34622         EOPNOTSUPP errors with ENOTTY.
34623         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34624         EOPNOTSUPP errors with ENOTTY.
34626 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34628         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34629         Add strcasecmp_l-ssse3.
34630         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34631         strcasecmp.
34632         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34633         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34634         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34636 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34638         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34640         * string/Makefile (strop-tests): Add strcasecmp.
34641         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34642         strcasecmp_l-nonascii.
34643         (gen-as-const-headers): Add locale-defines.sym.
34644         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34645         * sysdeps/x86_64/strcasecmp.S: New file.
34646         * sysdeps/x86_64/strcasecmp_l.S: New file.
34647         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34648         * sysdeps/x86_64/locale-defines.sym: New file.
34649         * string/test-strcasecmp.c: New file.
34651         * string/test-strcasestr.c: Test both ends of the range of characters.
34652         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34654 2010-07-29  Roland McGrath  <roland@redhat.com>
34656         [BZ #11856]
34657         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34659 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34661         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34662         for ld.so.
34664 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34666         * manual/memory.texi (Malloc Tunable Parameters): Document
34667         M_PERTURB.
34669 2010-07-26  Roland McGrath  <roland@redhat.com>
34671         [BZ #11840]
34672         * configure.in (-fgnu89-inline check): Set and substitute
34673         gnu89_inline, not libc_cv_gnu89_inline.
34674         * configure: Regenerated.
34675         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34677 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34679         * string/test-strnlen.c: New file.
34680         * string/Makefile (strop-tests): Add strnlen.
34681         * string/tester.c (test_strnlen): Add a few more test cases.
34682         * string/tst-strlen.c: Better error reporting.
34684         * sysdeps/x86_64/strnlen.S: New file.
34686 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34688         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34689         lower-latency instructions.
34691 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34693         * string/test-strcasestr.c: New file.
34694         * string/test-strstr.c: New file.
34695         * string/Makefile (strop-tests): Add strstr and strcasestr.
34696         * string/str-two-way.h: Don't undefine MAX.
34697         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34699 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34701         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34702         strcasestr-nonascii.
34703         (CFLAGS-strcasestr-nonascii.c): Define.
34704         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34705         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34706         Remove unused attribute.
34708 2010-07-20  Roland McGrath  <roland@redhat.com>
34710         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34711         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34712         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34713         like LD_HWCAP_MASK can disable hwcaps.
34715 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34717         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34719 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34721         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34722         call in strcasestr.
34723         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34724         __strcasestr_sse42_nonascii.
34725         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34726         strcasestr-nonascii.c.
34727         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34729 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34731         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34732         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34733         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34734         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34736 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34738         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34739         fcntl.
34741 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34743         [BZ #11577]
34744         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34745         dl_signal_cerror.
34747 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34749         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34750         _PC_PIPE_BUF using F_GETPIPE_SZ.
34752 2010-07-05  Roland McGrath  <roland@redhat.com>
34754         * manual/arith.texi (Rounding Functions): Fix rint description
34755         implicit in round description.
34757 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34759         * elf/Makefile: Fix linking for a few tests to make recent linker
34760         happy.
34762 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34764         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34765         $(common-objpfx)libc_nonshared.a.
34767 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34769         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34770         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34771         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34772         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34773         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34774         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34775         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34776         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34791         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34792         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34793         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34794         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34795         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34796         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34797         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34798         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34799         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34800         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34801         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34802         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34818 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34820         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34821         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34822         * string/memmove.c (memmove): Renamed to ...
34823         (MEMMOVE): ...this.  Default to memmove.
34824         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34825         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34826         (END_CHK): Define.
34827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34828         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34829         mempcpy-ssse3-back memmove-ssse3-back.
34830         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34831         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34832         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34833         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34834         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34835         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34836         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34837         * sysdeps/x86_64/multiarch/memmove.c: New file.
34838         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34839         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34840         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34841         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34842         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34843         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34844         Define.
34845         (index_Fast_Copy_Backward): Define.
34846         (HAS_ARCH_FEATURE): Define.
34847         (HAS_FAST_REP_STRING): Define.
34848         (HAS_FAST_COPY_BACKWARD): Define.
34850 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34852         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34853         Restore proper fallback handling.
34855 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34857         [BZ #11701]
34858         * posix/group_member.c (__group_member): Correct checking loop.
34860         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34861         OOM in getpwuid_r correctly.  Return error number when the caller
34862         should return, otherwise -1.
34863         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34864         call returning > 0 value.
34865         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34867 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34869         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34870         libc_nonshared.a from targets in modules-names.
34872 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34874         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34875         requires it.
34877 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34879         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34881         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34882         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34884 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34886         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34888 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34890         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34891         and F_GETPIPE_SZ.
34892         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34893         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34894         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34895         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34896         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34897         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34899 2010-06-14  Roland McGrath  <roland@redhat.com>
34901         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34903 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34905         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34906         __REDIRECT followed by __THROW.
34907         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34908         * posix/getopt.h (getopt): Likewise.
34910 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34912         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34913         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34914         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34915         in AT_FLAGS.
34916         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34917         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34919 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34921         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34923 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34925         [BZ #11640]
34926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34927         Properly check family and model.
34929 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34931         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34933 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34935         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34937 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34939         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34940         symbol reference.
34942 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34944         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34945         symbol reference.
34947 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34949         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34950         and internal_recvmmsg.
34951         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34952         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34953         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34954         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34956         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34957         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34958         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34960 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34962         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34964 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34966         POWER7 optimizations.
34967         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34968         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34970 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34972         * version.h: Update for 2.13 development version.
34974 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34976         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34977         exceptions.  Return 0.
34979 2010-05-07  Roland McGrath  <roland@redhat.com>
34981         * elf/ldconfig.c (main): Add a const.
34983 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34985         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34986         (args_options): Add no-idn option.
34987         (ahosts_keys_int): Add idn_flags to ai_flags.
34988         (parse_option): Handle 'i' option to clear idn_flags.
34990         * malloc/malloc.c (_int_free): Possible race in the most recently
34991         added check.  Only act on the data if no current modification
34992         happened.
34994 See ChangeLog.17 for earlier changes.