Fix malloc_info statistic. Fixes bug 16112
[glibc.git] / ChangeLog
blob7629934aa70766f6eac5e1feba6bd162aad9c9dd
1 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3         [BZ #16112]
4         * malloc/malloc (malloc_info): Do not handle first bin as
5         special case.
7 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9         * locale/iso-639.def: Add Central Nahuatl (nhn).
11 2013-11-01  Bruno Haible  <bruno@clisp.org>
13         [BZ #7003]
14         * manual/math.texi (BSD Random): Specify range upper bound as
15         in POSIX.
17 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19         * locale/iso-639.def: Add Meadow Mari (mhr).
21 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23         [BZ #14752], [BZ #15763]
24         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25         Validate name.
26         * rt/tst_shm.c: Add test for escaping directory.
28 2013-10-31  Andreas Schwab  <schwab@suse.de>
30         [BZ #15917]
31         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
32         followed by 'x' as part of digit sequence.
33         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37         [BZ #16037]
38         * configure.ac: allow GNU Make 4.0 and greater.
39         * configure: Regenerated.
41 2013-10-30  Will Newton  <will.newton@linaro.org>
43         [BZ #16038]
44         * malloc/hooks.c (memalign_check): Limit alignment to the
45         maximum representable power of two.
46         * malloc/malloc.c (__libc_memalign): Likewise.
47         * malloc/tst-memalign.c (do_test): Add test for very
48         large alignment values.
49         * malloc/tst-posix_memalign.c (do_test): Likewise.
51 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53         [BZ #11087]
54         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55         (munmap_chunk): Likewise.
56         (mremap_chunk): Likewise.
58 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60         [BZ #15799]
61         * stdlib/div.c (div): Remove obsolete code.
62         * stdlib/ldiv.c (ldiv): Likewise.
63         * stdlib/lldiv.c (lldiv): Likewise.
65 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67         [BZ #16071]
68         * nss/nss_files/files-XXX.c (get_contents_ret): New
69         enumerator.
70         (get_contents): New function.
71         (internal_getent): Use it.  Expand size of LINEBUFLEN.
73 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
75         * configure.in: Moved to ...
76         * configure.ac: ... here. Change reference to configure.in
77         to configure.ac.
78         * sysdeps/arm/preconfigure.ac: ... here.
79         configure.in to configure.ac.
80         * sysdeps/gnu/configure.in: Moved to ...
81         * sysdeps/gnu/configure.ac: ... here.
82         * sysdeps/i386/configure.in: Moved to ...
83         * sysdeps/i386/configure.ac: ... here.
84         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
85         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
86         * sysdeps/mach/configure.in: Moved to ...
87         * sysdeps/mach/configure.ac: ... here.
88         * sysdeps/mach/hurd/configure.in: Moved to ...
89         * sysdeps/mach/hurd/configure.ac: ... here.
90         * sysdeps/powerpc/configure.in: Moved to ...
91         * sysdeps/powerpc/configure.ac: ... here.
92         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
93         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
94         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
95         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
96         * sysdeps/s390/s390-32/configure.in: Moved to ...
97         * sysdeps/s390/s390-32/configure.ac: ... here.
98         * sysdeps/s390/s390-64/configure.in: Moved to ...
99         * sysdeps/s390/s390-64/configure.ac: ... here.
100         * sysdeps/sh/configure.in: Moved to ...
101         * sysdeps/sh/configure.ac: ... here.
102         * sysdeps/sparc/configure.in: Moved to ...
103         * sysdeps/sparc/configure.ac: ... here.
104         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
105         * sysdeps/unix/sysv/linux/configure.ac: ... here.
106         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
107         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
108         * sysdeps/x86_64/configure.in: Moved to ...
109         * sysdeps/x86_64/configure.ac: ... here.
110         * sysdeps/x86_64/preconfigure.in: Moved to ...
111         * sysdeps/x86_64/preconfigure.ac: ... here.
112         * aclocal.m4: Change reference to configure.in to configure.ac.
113         * config.h.in: Likewise.
114         * manual/install.texi: Likewise.
115         * manual/maint.texi: Likewise.
116         * Makefile: Likewise.
117         * malloc/Makefile: Likewise.
118         * nscd/Makefile: Likewise.
119         * Makeconfig: Change reference to configure.in and
120         preconfigure.in to configure.ac and preconfigure.ac
121         respectively.
122         * INSTALL: Regenerated.
123         * configure: Likewise.
124         * sysdeps/gnu/configure: Likewise.
125         * sysdeps/i386/configure: Likewise.
126         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
127         * sysdeps/mach/configure: Likewise.
128         * sysdeps/mach/hurd/configure: Likewise.
129         * sysdeps/powerpc/configure: Likewise.
130         * sysdeps/powerpc/powerpc32/configure: Likewise.
131         * sysdeps/powerpc/powerpc64/configure: Likewise.
132         * sysdeps/s390/s390-32/configure: Likewise.
133         * sysdeps/s390/s390-64/configure: Likewise.
134         * sysdeps/sh/configure: Likewise.
135         * sysdeps/sparc/configure: Likewise.
136         * sysdeps/unix/sysv/linux/configure: Likewise.
137         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
138         * sysdeps/x86_64/configure: Likewise.
139         * sysdeps/x86_64/preconfigure: Likewise.
141 2013-10-29  Andreas Schwab  <schwab@suse.de>
143         * stdio-common/Makefile (tst-swscanf-ENV): Define.
145 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
147         * benchtests/pow-inputs: Add new inputs.
149         * benchtests/exp-inputs: Add new inputs.
151         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
152         conditional check for return value.
153         (__cos32): Likewise.
155 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
157         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
158         to provide a boost for large inputs with word alignment.
159         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
160         implementation based on optimized PPC64 strcpy.
161         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
162         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
163         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
164         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
166 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
168         [BZ #2801]
169         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
171 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
173         [BZ #14876]
174         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
175         * time/tst-strptime.c (day_tests): Add testcase.
177 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
179         [BZ #14029]
180         * manual/pattern.texi: Acknowledge that fnmatch can fail.
182 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
184         [BZ #16074]
185         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
186         MAP_FAILED on error.
188 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
190         [BZ #16072]
191         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
192         heap for large requests.
194 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
196         [BZ #9954]
197         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
198         result if the result has no associated interface.
199         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
200         interface for all 127.X.Y.Z addresses.
202 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
204         * locale/iso-639.def: Add Ligurian (lij)
206 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
208         [BZ #15825]
209         * sunrpc/rpc_main.c: Document rpcgen -5.
211 2013-10-19  Michael Stahl  <mstahl@redhat.com>
213         * elf/rtld.c (do_preload): Print the reason why preloading failed.
215 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
217         [BZ #10278]
218         * posix/glob.c: Match only directories when trailing slash is present.
219         * posix/tst-gnuglob.c (my_opendir): Do not open files.
220         (main): Add testcase.
222 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
224         [BZ #15670]
225         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
227 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
229         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
230         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
231         AUTH_DES and cindex for FIPS 140-2.
232         (DES Encryption): Add cindex FIPS 46-3.
234         * locale/locarchive.h (struct locarhandle): Add fname.
235         * locale/programs/localedef.c (main): Pass ARGV[remaining]
236         if an optional argument was specified to --list-archive,
237         otherwise NULL.
238         * locale/programs/locarchive.c (show_archive_content): Take new
239         argument fname and pass it via ah.fname to open_archive.
240         * locale/programs/localedef.h: Update decl.
241         (open_archive): If AH->fname is non-null, open that file
242         rather than the default file name, and don't ignore ENOENT.
243         (create_archive): Set AH.fname to NULL.
244         (delete_locales_from_archive): Likewise.
245         (add_locales_to_archive): Likewise.
246         * locale/programs/locfile.c (write_all_categories): Likewise.
248 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
249             Aldy Hernandez  <aldyh@redhat.com>
251         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
252         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
253         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
254         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
255         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
256         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
257         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
258         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
259         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
260         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
261         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
262         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
263         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
264         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
265         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
266         Likewise.
267         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
268         Likewise.
269         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
270         Likewise.
271         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
272         Likewise.
273         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
274         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
275         Likewise.
276         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
277         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
278         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
279         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
280         Likewise.
281         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
282         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
283         * sysdeps/powerpc/preconfigure: Likewise.
284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
285         Likewise.
286         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
287         Replace contents of file by #include of <fenv_libc.h>.
288         * sysdeps/powerpc/soft-fp/sfp-machine.h
289         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
290         and <sys/prctl.h>.
291         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
295         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
296         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
298         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
299         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
300         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
301         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
302         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
304         Allow copysignl PLT reference to be missing.
306 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
307             Joseph Myers  <joseph@codesourcery.com
309         [BZ #15948]
310         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
311         single character.
312         (add_to_tablewc): Assert sequence of wide characters is nonempty.
314 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
316         * elf/tst-tls-dlinfo.c: Don't include tls.h.
317         * elf/tst-tls1.c: Likewise.
318         * elf/tst-tls10.h: Likewise.
319         * elf/tst-tls14.c: Likewise.
320         * elf/tst-tls2.c: Likewise.
321         * elf/tst-tls3.c: Likewise.
322         * elf/tst-tls4.c: Likewise.
323         * elf/tst-tls5.c: Likewise.
324         * elf/tst-tls6.c: Likewise.
325         * elf/tst-tls7.c: Likewise.
326         * elf/tst-tls8.c: Likewise.
327         * elf/tst-tls9.c: Likewise.
328         * elf/tst-tlsmod1.c: Likewise.
329         * elf/tst-tlsmod13.c: Likewise.
330         * elf/tst-tlsmod13a.c: Likewise.
331         * elf/tst-tlsmod14a.c: Likewise.
332         * elf/tst-tlsmod16a.c: Likewise.
333         * elf/tst-tlsmod16b.c: Likewise.
334         * elf/tst-tlsmod2.c: Likewise.
335         * elf/tst-tlsmod3.c: Likewise.
336         * elf/tst-tlsmod4.c: Likewise.
337         * elf/tst-tlsmod5.c: Likewise.
338         * elf/tst-tlsmod6.c: Likewise.
340 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
342         [BZ #12486]
343         * malloc/malloc.c: remove checks for statistics.
345 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
347         [BZ #15277]
348         * inet/inet_net.c (inet_network): Detect additional invalid strings.
349         * inet/tst-network.c: Add testcase.
351 2013-10-17  Andreas Schwab  <schwab@suse.de>
353         [BZ #15218]
354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
355         to determine canonical name.
357 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
359         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
360         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
361         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
362         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
363         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
364         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
365         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
366         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
367         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
368         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
369         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
370         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
371         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
372         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
373         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
374         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
376         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
377         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
378         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
379         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
380         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
381         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
382         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
383         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
384         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
385         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
386         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
387         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
388         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
389         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
391         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
392         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
393         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
394         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
395         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
396         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
397         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
398         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
399         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
400         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
401         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
402         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
403         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
404         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
405         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
406         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
407         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
408         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
409         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
410         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
411         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
412         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
413         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
414         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
415         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
416         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
418 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
420         [BZ #16041]
421         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
422         make result into a quiet NaN.
424 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
426         * soft-fp/adddf3.c: Fix horizontal whitespace.
427         * soft-fp/addsf3.c: Likewise.
428         * soft-fp/addtf3.c: Likewise.
429         * soft-fp/divdf3.c: Likewise.
430         * soft-fp/divsf3.c: Likewise.
431         * soft-fp/divtf3.c: Likewise.
432         * soft-fp/double.h: Likewise.
433         * soft-fp/eqdf2.c: Likewise.
434         * soft-fp/eqsf2.c: Likewise.
435         * soft-fp/eqtf2.c: Likewise.
436         * soft-fp/extenddftf2.c: Likewise.
437         * soft-fp/extended.h: Likewise.
438         * soft-fp/extendsfdf2.c: Likewise.
439         * soft-fp/extendsftf2.c: Likewise.
440         * soft-fp/extendxftf2.c: Likewise.
441         * soft-fp/fixdfdi.c: Likewise.
442         * soft-fp/fixdfsi.c: Likewise.
443         * soft-fp/fixdfti.c: Likewise.
444         * soft-fp/fixsfdi.c: Likewise.
445         * soft-fp/fixsfsi.c: Likewise.
446         * soft-fp/fixsfti.c: Likewise.
447         * soft-fp/fixtfdi.c: Likewise.
448         * soft-fp/fixtfsi.c: Likewise.
449         * soft-fp/fixtfti.c: Likewise.
450         * soft-fp/fixunsdfdi.c: Likewise.
451         * soft-fp/fixunsdfsi.c: Likewise.
452         * soft-fp/fixunsdfti.c: Likewise.
453         * soft-fp/fixunssfdi.c: Likewise.
454         * soft-fp/fixunssfsi.c: Likewise.
455         * soft-fp/fixunssfti.c: Likewise.
456         * soft-fp/fixunstfdi.c: Likewise.
457         * soft-fp/fixunstfsi.c: Likewise.
458         * soft-fp/fixunstfti.c: Likewise.
459         * soft-fp/floatdidf.c: Likewise.
460         * soft-fp/floatdisf.c: Likewise.
461         * soft-fp/floatditf.c: Likewise.
462         * soft-fp/floatsidf.c: Likewise.
463         * soft-fp/floatsisf.c: Likewise.
464         * soft-fp/floatsitf.c: Likewise.
465         * soft-fp/floattidf.c: Likewise.
466         * soft-fp/floattisf.c: Likewise.
467         * soft-fp/floattitf.c: Likewise.
468         * soft-fp/floatundidf.c: Likewise.
469         * soft-fp/floatundisf.c: Likewise.
470         * soft-fp/floatunditf.c: Likewise.
471         * soft-fp/floatunsidf.c: Likewise.
472         * soft-fp/floatunsisf.c: Likewise.
473         * soft-fp/floatunsitf.c: Likewise.
474         * soft-fp/floatuntidf.c: Likewise.
475         * soft-fp/floatuntisf.c: Likewise.
476         * soft-fp/floatuntitf.c: Likewise.
477         * soft-fp/fmadf4.c: Likewise.
478         * soft-fp/fmasf4.c: Likewise.
479         * soft-fp/fmatf4.c: Likewise.
480         * soft-fp/gedf2.c: Likewise.
481         * soft-fp/gesf2.c: Likewise.
482         * soft-fp/getf2.c: Likewise.
483         * soft-fp/ledf2.c: Likewise.
484         * soft-fp/lesf2.c: Likewise.
485         * soft-fp/letf2.c: Likewise.
486         * soft-fp/muldf3.c: Likewise.
487         * soft-fp/mulsf3.c: Likewise.
488         * soft-fp/multf3.c: Likewise.
489         * soft-fp/negdf2.c: Likewise.
490         * soft-fp/negsf2.c: Likewise.
491         * soft-fp/negtf2.c: Likewise.
492         * soft-fp/op-1.h: Likewise.
493         * soft-fp/op-2.h: Likewise.
494         * soft-fp/op-4.h: Likewise.
495         * soft-fp/op-8.h: Likewise.
496         * soft-fp/op-common.h: Likewise.
497         * soft-fp/quad.h: Likewise.
498         * soft-fp/single.h: Likewise.
499         * soft-fp/soft-fp.h: Likewise.
500         * soft-fp/sqrtdf2.c: Likewise.
501         * soft-fp/sqrtsf2.c: Likewise.
502         * soft-fp/sqrttf2.c: Likewise.
503         * soft-fp/subdf3.c: Likewise.
504         * soft-fp/subsf3.c: Likewise.
505         * soft-fp/subtf3.c: Likewise.
506         * soft-fp/truncdfsf2.c: Likewise.
507         * soft-fp/trunctfdf2.c: Likewise.
508         * soft-fp/trunctfsf2.c: Likewise.
509         * soft-fp/trunctfxf2.c: Likewise.
510         * soft-fp/unorddf2.c: Likewise.
511         * soft-fp/unordsf2.c: Likewise.
512         * soft-fp/unordtf2.c: Likewise.
514 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
516         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
517         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
519 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
521         * elf/dl-libc.c: Clear initfini list after freeing.
523 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
525         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
526         * soft-fp/addsf3.c: Likewise.
527         * soft-fp/addtf3.c: Likewise.
528         * soft-fp/divdf3.c: Likewise.
529         * soft-fp/divsf3.c: Likewise.
530         * soft-fp/divtf3.c: Likewise.
531         * soft-fp/double.h: Likewise.
532         * soft-fp/eqdf2.c: Likewise.
533         * soft-fp/eqsf2.c: Likewise.
534         * soft-fp/eqtf2.c: Likewise.
535         * soft-fp/extenddftf2.c: Likewise.
536         * soft-fp/extended.h: Likewise.
537         * soft-fp/extendsfdf2.c: Likewise.
538         * soft-fp/extendsftf2.c: Likewise.
539         * soft-fp/extendxftf2.c: Likewise.
540         * soft-fp/fixdfdi.c: Likewise.
541         * soft-fp/fixdfsi.c: Likewise.
542         * soft-fp/fixdfti.c: Likewise.
543         * soft-fp/fixsfdi.c: Likewise.
544         * soft-fp/fixsfsi.c: Likewise.
545         * soft-fp/fixsfti.c: Likewise.
546         * soft-fp/fixtfdi.c: Likewise.
547         * soft-fp/fixtfsi.c: Likewise.
548         * soft-fp/fixtfti.c: Likewise.
549         * soft-fp/fixunsdfdi.c: Likewise.
550         * soft-fp/fixunsdfsi.c: Likewise.
551         * soft-fp/fixunsdfti.c: Likewise.
552         * soft-fp/fixunssfdi.c: Likewise.
553         * soft-fp/fixunssfsi.c: Likewise.
554         * soft-fp/fixunssfti.c: Likewise.
555         * soft-fp/fixunstfdi.c: Likewise.
556         * soft-fp/fixunstfsi.c: Likewise.
557         * soft-fp/fixunstfti.c: Likewise.
558         * soft-fp/floatdidf.c: Likewise.
559         * soft-fp/floatdisf.c: Likewise.
560         * soft-fp/floatditf.c: Likewise.
561         * soft-fp/floatsidf.c: Likewise.
562         * soft-fp/floatsisf.c: Likewise.
563         * soft-fp/floatsitf.c: Likewise.
564         * soft-fp/floattidf.c: Likewise.
565         * soft-fp/floattisf.c: Likewise.
566         * soft-fp/floattitf.c: Likewise.
567         * soft-fp/floatundidf.c: Likewise.
568         * soft-fp/floatundisf.c: Likewise.
569         * soft-fp/floatunsidf.c: Likewise.
570         * soft-fp/floatunsisf.c: Likewise.
571         * soft-fp/floatuntidf.c: Likewise.
572         * soft-fp/floatuntisf.c: Likewise.
573         * soft-fp/floatuntitf.c: Likewise.
574         * soft-fp/fmadf4.c: Likewise.
575         * soft-fp/fmasf4.c: Likewise.
576         * soft-fp/fmatf4.c: Likewise.
577         * soft-fp/gedf2.c: Likewise.
578         * soft-fp/gesf2.c: Likewise.
579         * soft-fp/getf2.c: Likewise.
580         * soft-fp/ledf2.c: Likewise.
581         * soft-fp/lesf2.c: Likewise.
582         * soft-fp/letf2.c: Likewise.
583         * soft-fp/muldf3.c: Likewise.
584         * soft-fp/mulsf3.c: Likewise.
585         * soft-fp/multf3.c: Likewise.
586         * soft-fp/negdf2.c: Likewise.
587         * soft-fp/negsf2.c: Likewise.
588         * soft-fp/negtf2.c: Likewise.
589         * soft-fp/op-1.h: Likewise.
590         * soft-fp/op-2.h: Likewise.
591         * soft-fp/op-4.h: Likewise.
592         * soft-fp/op-8.h: Likewise.
593         * soft-fp/op-common.h: Likewise.
594         * soft-fp/quad.h: Likewise.
595         * soft-fp/single.h: Likewise.
596         * soft-fp/soft-fp.h: Likewise.
597         * soft-fp/sqrtdf2.c: Likewise.
598         * soft-fp/sqrtsf2.c: Likewise.
599         * soft-fp/sqrttf2.c: Likewise.
600         * soft-fp/subdf3.c: Likewise.
601         * soft-fp/subsf3.c: Likewise.
602         * soft-fp/subtf3.c: Likewise.
603         * soft-fp/truncdfsf2.c: Likewise.
604         * soft-fp/trunctfdf2.c: Likewise.
605         * soft-fp/trunctfsf2.c: Likewise.
606         * soft-fp/trunctfxf2.c: Likewise.
607         * soft-fp/unorddf2.c: Likewise.
608         * soft-fp/unordsf2.c: Likewise.
609         * soft-fp/unordtf2.c: Likewise.
611 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
613         [BZ #15672]
614         * misc/error.c (error_tail): Fix possible buffer overflow.
616 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
618         [BZ #13028]
619         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
620         address.
622 2013-10-14  P. J. McDermott  <pj@pehjota.net>
624         [BZ #832]
625         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
626         testing pipefail option.
628 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
630         * soft-fp/double.h: Indent preprocessor directives inside #if.
631         * soft-fp/extended.h: Likewise.
632         * soft-fp/op-2.h: Likewise.
633         * soft-fp/op-4.h: Likewise.
634         * soft-fp/op-common.h: Likewise.
635         * soft-fp/quad.h: Likewise.
636         * soft-fp/single.h: Likewise.
637         * soft-fp/soft-fp.h: Likewise.
639 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
641         * iconv/iconv_prog.c: Fix typos.
642         * stdio-common/psiginfo-data.h: Likewise.
644 2013-10-12   Reuben Thomas <rrt@sc3d.org>
646         [BZ #15764]
647         * locale/setlocale.c: Fix typo.
649 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
651         [BZ #16036]
652         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
653         signaling NaN arguments.
654         * soft-fp/unordsf2.c (__unordsf2): Likewise.
655         * soft-fp/unordtf2.c (__unordtf2): Likewise.
657         [BZ #14910]
658         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
659         unordered operands.
660         * soft-fp/gesf2.c (__gesf2): Likewise.
661         * soft-fp/getf2.c (__getf2): Likewise.
662         * soft-fp/ledf2.c (__ledf2): Likewise.
663         * soft-fp/lesf2.c (__lesf2): Likewise.
664         * soft-fp/letf2.c (__letf2): Likewise.
666         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
667         * soft-fp/eqsf2.c (__eqsf2): Likewise.
668         * soft-fp/eqtf2.c (__eqtf2): Likewise.
669         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
670         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
671         * soft-fp/fixdfti.c (__fixdfti): Likewise.
672         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
673         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
674         * soft-fp/fixsfti.c (__fixsfti): Likewise.
675         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
676         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
677         * soft-fp/fixtfti.c (__fixtfti): Likewise.
678         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
679         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
680         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
681         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
682         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
683         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
684         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
685         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
686         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
687         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
688         * soft-fp/floatdisf.c (__floatdisf): Likewise.
689         * soft-fp/floatsisf.c (__floatsisf): Likewise.
690         * soft-fp/floattidf.c (__floattidf): Likewise.
691         * soft-fp/floattisf.c (__floattisf): Likewise.
692         * soft-fp/floattitf.c (__floattitf): Likewise.
693         * soft-fp/floatundidf.c (__floatundidf): Likewise.
694         * soft-fp/floatundisf.c (__floatundisf): Likewise.
695         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
696         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
697         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
698         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
699         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
700         * soft-fp/gesf2.c (__gesf2): Likewise.
701         * soft-fp/getf2.c (__getf2): Likewise.
702         * soft-fp/ledf2.c (__ledf2): Likewise.
703         * soft-fp/lesf2.c (__lesf2): Likewise.
704         * soft-fp/letf2.c (__letf2): Likewise.
706         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
707         Undefine and redefine.
708         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
709         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
710         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
711         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
712         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
713         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
714         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
715         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
716         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
717         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
718         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
719         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
720         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
721         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
722         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
724         [BZ #16032]
725         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
726         without decrementing exponent if mantissa >= that for the
727         denominator, not >.
728         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
729         denominator, not >.  Decrement exponent in < case instead of
730         incrementing in >= case.
731         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
732         without decrementing exponent if mantissa >= that for the
733         denominator, not >.
735         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
736         computing saturated result for unsigned overflow.
738 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
739             Jeff Law  <law@redhat.com>
741         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
742         (atan2Mp): Add systemtap probe marker.
743         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
744         (__ieee754_log): Add systemtap probe marker.
745         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
746         (atanMp): Add systemtap probe marker.
747         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
748         (tanMp): Add systemtap probe marker.
749         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
750         (__slowexp): Add systemtap probe marker.
751         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
752         (__slowpow): Add systemtap probe marker.
753         * manual/probes.texi: Document probes.
755 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
757         [BZ #15362]
758         * libio/fileops.c (_IO_new_file_write): Return count of bytes
759         written.
760         (_IO_new_file_xsputn): Don't return EOF if nothing has been
761         written.
762         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
763         written to buffer but not flushed.
764         * libio/iofwrite_u.c:  Likewise.
765         * libio/iopadn.c:  Return bytes returned even if EOF was
766         encountered.
767         * libio/iowpadn.c:  Likewise.
768         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
769         if _IO_padn does not write the whole buffer.
770         [!COMPILE_WPRINTF] (PAD): Likewise.
772 2013-10-10  David S. Miller  <davem@davemloft.net>
774         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
775         directory block.
777 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
779         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
780         instead of FSF address.
781         * soft-fp/fixdfti.c: Likewise.
782         * soft-fp/fixsfti.c: Likewise.
783         * soft-fp/fixtfti.c: Likewise.
784         * soft-fp/fixunsdfti.c: Likewise.
785         * soft-fp/fixunssfti.c: Likewise.
786         * soft-fp/fixunstfti.c: Likewise.
787         * soft-fp/floattidf.c: Likewise.
788         * soft-fp/floattisf.c: Likewise.
789         * soft-fp/floattitf.c: Likewise.
790         * soft-fp/floatuntidf.c: Likewise.
791         * soft-fp/floatuntisf.c: Likewise.
792         * soft-fp/floatuntitf.c: Likewise.
793         * soft-fp/trunctfxf2.c: Likewise.
795         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
796         * soft-fp/fixdfti.c: Likewise.
797         * soft-fp/fixsfti.c: Likewise.
798         * soft-fp/fixtfti.c: Likewise.
799         * soft-fp/fixunsdfti.c: Likewise.
800         * soft-fp/fixunssfti.c: Likewise.
801         * soft-fp/fixunstfti.c: Likewise.
802         * soft-fp/floattidf.c: Likewise.
803         * soft-fp/floattisf.c: Likewise.
804         * soft-fp/floattitf.c: Likewise.
805         * soft-fp/floatuntidf.c: Likewise.
806         * soft-fp/floatuntisf.c: Likewise.
807         * soft-fp/floatuntitf.c: Likewise.
808         * soft-fp/trunctfxf2.c: Likewise.
810 2013-10-10  David S. Miller  <davem@davemloft.net>
812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
814 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
816         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
817         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
818         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
819         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
820         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
821         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
822         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
824         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
825         for NaNs before doing comparisons on argument.
826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
827         Likewise.
829 2013-10-10  Will Newton  <will.newton@linaro.org>
831         * malloc/hooks.c (memalign_check): Ensure the value of bytes
832         passed to _int_memalign does not overflow.
834 2013-10-10  Torvald Riegel  <triegel@redhat.com>
836         * scripts/bench.pl: Add include-sources directive.
837         * benchtests/README: Update documentation.
839 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
841         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
842         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
843         instead of FP_INIT_ROUNDMODE.
844         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
845         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
847         [BZ #16034]
848         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
849         copy class of input value.
850         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
851         not handle exceptions.
852         * soft-fp/negsf2.c (__negsf2): Likewise.
853         * soft-fp/negtf2.c (__negtf2): Likewise.
854         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
856 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
858         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
859         semicolon.  From Linux kernel.
861 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
863         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
865 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
867         [BZ #156]
868         * manual/socket.texi: Added statement about buffer
869         for gethostbyname2_r.
871 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
873         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
874         Use .p2align directive instead, throughout.
875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
876         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
877         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
878         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
879         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
880         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
881         * sysdeps/x86_64/strchr.S: Likewise.
882         * sysdeps/x86_64/strrchr.S: Likewise.
884 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
886         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
888         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
890         * sysdeps/generic/math_private.h (__mpsin1): Remove
891         declaration.
892         (__mpcos1): Likewise.
893         (__mpsin): New argument __range_reduce.
894         (__mpcos): Likewise.
895         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
896         (slow): Use __mpsin and __mpcos.
897         (slow1): Likewise.
898         (slow2): Likewise.
899         (sloww): Likewise.
900         (sloww1): Likewise.
901         (sloww2): Likewise.
902         (bsloww): Likewise.
903         (bsloww1): Likewise.
904         (bsloww2): Likewise.
905         (cslow2): Likewise.
906         (csloww): Likewise.
907         (csloww1): Likewise.
908         (csloww2): Likewise.
909         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
910         range_reduce.  Merge in __mpsin1.
911         (__mpcos): Likewise.
912         (__mpsin1): Remove.
913         (__mpcos1): Likewise.
915 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
917         * locale/loadlocale.c (_nl_intern_locale_data): Use
918         LOCFILE_ALIGNED_P.
919         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
920         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
921         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
922         obstack data is appropriately aligned.
923         (obstack_int32_grow_fast): Likewise.
924         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
925         * locale/programs/locfile.c (add_locale_uint32): Likewise.
926         (add_locale_uint32_array): Likewise.
928 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
930         * benchtests/Makefile: Remove ARGLIST and RET variables.
931         ($(objpfx)bench-%.c): Pass only function name to the script.
932         * benchtests/README: Update documentation.
933         * benchtests/acos-inputs: Add new directives.
934         * benchtests/acosh-inputs: Likewise.
935         * benchtests/asin-inputs: Likewise.
936         * benchtests/asinh-inputs: Likewise.
937         * benchtests/atan-inputs: Likewise.
938         * benchtests/atanh-inputs: Likewise.
939         * benchtests/cos-inputs: Likewise.
940         * benchtests/cosh-inputs: Likewise.
941         * benchtests/exp-inputs: Likewise.
942         * benchtests/log-inputs: Likewise.
943         * benchtests/pow-inputs: Likewise.
944         * benchtests/rint-inputs: Likewise.
945         * benchtests/sin-inputs: Likewise.
946         * benchtests/sinh-inputs: Likewise.
947         * benchtests/tan-inputs: Likewise.
948         * benchtests/tanh-inputs: Likewise.
949         * scripts/bench.pl: Add support for new directives.
951 2013-10-07  Alan Modra  <amodra@gmail.com>
953         * README: Fix careless merge.
955 2013-10-05  Alan Modra  <amodra@gmail.com>
957         * NEWS: Mention powerpc64le support and bugs fixed.
958         * README: Both big-endian and little-endian powerpc64 supported.
960 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
962         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
963         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
964         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
965         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
967 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
969         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
970         match prototype.
972 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
974         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
975         Move -mhard-float appending from
976         ports/sysdeps/powerpc/powerpc32/Makefile.
977         [$(with-fp) = yes] (ASFLAGS): Likewise.
978         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
979         * sysdeps/powerpc/nofpu: Move directory from
980         ports/sysdeps/powerpc/nofpu.
981         * sysdeps/powerpc/soft-fp: Move directory from
982         ports/sysdeps/powerpc/soft-fp.
983         * sysdeps/powerpc/powerpc32/405: Move directory from
984         ports/sysdeps/powerpc/powerpc32/405.
985         * sysdeps/powerpc/powerpc32/440: Move directory from
986         ports/sysdeps/powerpc/powerpc32/440.
987         * sysdeps/powerpc/powerpc32/464: Move directory from
988         ports/sysdeps/powerpc/powerpc32/464.
989         * sysdeps/powerpc/powerpc32/476: Move directory from
990         ports/sysdeps/powerpc/powerpc32/476.
991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
992         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
994         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
996         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
998         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1000         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1001         * README: Update for powerpc-*-linux-gnu software floating point
1002         support in libc.
1004         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1005         case to powerpc/powerpc32*.
1006         * sysdeps/unix/sysv/linux/configure: Regenerated.
1008         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1009         (_FPU_MASK_OM): Define as 0x04.
1010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1012         0x00c10080.
1013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1014         0x0000003c.
1015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1018         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1019         getcontext_e500.
1020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1021         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1022         setcontext_e500.
1023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1024         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1025         and setcontext_e500.
1027 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1029         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1031 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1033         * manual/threads.texi (Default Thread Attributes): Fix typo.
1035 2013-10-04  Will Newton  <will.newton@linaro.org>
1037         * malloc/Makefile: Add tst-memalign.
1038         * malloc/tst-memalign.c: New file.
1040         * malloc/tst-posix_memalign.c: Add comments.
1041         (do_test): Add comments and call free on all potentially
1042         allocated pointers. Add space after cast.
1044         * malloc/tst-pvalloc.c: Add comments.
1045         (do_test): Add comments and call free on all potentially
1046         allocated pointers. Remove duplicate check for NULL pointer.
1047         Add space after cast.
1049         * malloc/tst-valloc.c: Add comments.
1050         (do_test): Add comments and call free on all potentially
1051         allocated pointers. Remove duplicate check for NULL pointer.
1052         Add space after cast.
1054 2013-10-04  Alan Modra  <amodra@gmail.com>
1056         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1057         Use stdint types in rather than __attribute__((mode())).
1058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1060 2013-10-04  Alan Modra  <amodra@gmail.com>
1062         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1063         Correct handling of unaligned relocs for little-endian.
1064         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1066 2013-10-04  Alan Modra  <amodra@gmail.com>
1068         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1069         * configure: Regenerate.
1070         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1071         * shlib-versions: Likewise.
1073 2013-10-04  Alan Modra  <amodra@gmail.com>
1075         * string/tester.c (test_memrchr): Increment reported test cycle.
1077 2013-10-04  Alan Modra  <amodra@gmail.com>
1079         * string/test-memcpy.c (do_one_test): When reporting errors, print
1080         string address and don't overrun end of string.
1082 2013-10-04  Alan Modra  <amodra@gmail.com>
1084         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1085         insrdi.  Make better use of reg selection to speed exit slightly.
1086         Schedule entry path a little better.  Remove useless "are we done"
1087         checks on entry to main loop.  Handle wrapping around zero address.
1088         Correct main loop count.  Handle single left-over word from main
1089         loop inline rather than by using loop_small.  Remove extra word
1090         case in loop_small caused by wrong loop count.  Add little-endian
1091         support.
1092         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1094         cache hint.
1095         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1097         support.  Avoid rlwimi.
1098         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1100 2013-10-04  Alan Modra  <amodra@gmail.com>
1102         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1103         insrdi.  Formatting.
1104         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1105         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1106         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1107         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1108         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1109         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1111 2013-10-04  Alan Modra  <amodra@gmail.com>
1113         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1114         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1115         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1116         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1120         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1121         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1122         use of regs.  Use power7 mtocrf.  Tidy function tails.
1124 2013-10-04  Alan Modra  <amodra@gmail.com>
1126         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1127         Formatting.  Consistently use rXXX register defines or rN defines.
1128         Use early exit labels that avoid restoring unused non-volatile regs.
1129         Make cr field use more consistent with rWORDn compares.  Rename
1130         regs used as shift registers for unaligned loop, using rN defines
1131         for short lifetime/multiple use regs.
1132         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1133         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1134         addi 1,1,64 to pop stack frame.  Simplify return value code.
1135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1137 2013-10-04  Alan Modra  <amodra@gmail.com>
1139         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1140         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1141         rather than rlwimi.
1142         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1144         little-endian support.  Correct typos.
1145         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1146         rather than rlwimi.
1147         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1148         in loop and entry code to keep "and." results.
1149         (strchr): Add little-endian support.  Comment.  Move cntlzd
1150         earlier in tail.
1151         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1153 2013-10-04  Alan Modra  <amodra@gmail.com>
1155         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1156         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1157         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1158         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1160 2013-10-04  Alan Modra  <amodra@gmail.com>
1162         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1163         (rTMP): Define as r11.
1164         (strcmp): Add little-endian support.  Optimise tail.
1165         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1166         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1167         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1169         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1170         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1171         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1173 2013-10-04  Alan Modra  <amodra@gmail.com>
1175         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1176         little-endian support.  Remove unnecessary "are we done" tests.
1177         Handle "s" wrapping around zero and extremely large "size".
1178         Correct main loop count.  Handle single left-over word from main
1179         loop inline rather than by using small_loop.  Correct comments.
1180         Delete "zero" tail, use "end_max" instead.
1181         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1183 2013-10-04  Alan Modra  <amodra@gmail.com>
1185         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1186         support.  Don't branch over align.
1187         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1188         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1189         support.  Rearrange tmp reg use to suit.  Comment.
1190         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1192 2013-10-04  Alan Modra  <amodra@gmail.com>
1194         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1196 2013-10-04  Alan Modra  <amodra@gmail.com>
1198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1199         conditional form of branch and link when obtaining pc.
1200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1202 2013-10-04  Alan Modra  <amodra@gmail.com>
1204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1205         HIWORD/LOWORD.
1206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1209 2013-10-04  Alan Modra  <amodra@gmail.com>
1211         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1212         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1213         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1214         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1215         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1216         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1217         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1218         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1219         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1220         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1222 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1223             Alistair Popple <alistair@ozlabs.au.ibm.com>
1224             Alan Modra <amodra@gmail.com>
1226         [BZ #15723]
1227         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1228         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1229         _dl_hwcap access for little-endian.
1230         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1231         destroy vmx regs when saving unaligned.
1232         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1233         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1234         destroy vmx regs when saving unaligned.
1236 2013-10-04  Alan Modra  <amodra@gmail.com>
1238         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1239         Don't use a union to pack hi/low value.
1241 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1243         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1244         for little-endian.
1245         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1246         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1247         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1248         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1249         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1251 2013-10-04  Alan Modra  <amodra@gmail.com>
1253         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1254         constants to usual value for .cst8 section, and remove redundant
1255         high address load.
1256         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1257         constant for 0x1p52.  Load little-endian words of double from
1258         correct stack offsets.
1260 2013-10-04  Alan Modra  <amodra@gmail.com>
1262         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1263         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1264         words of double from correct stack offsets.
1265         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1266         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1267         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1268         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1269         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1270         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1271         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1272         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1273         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1274         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1275         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1276         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1277         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1278         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1279         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1280         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1281         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1283 2013-10-04  Alan Modra  <amodra@gmail.com>
1285         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1286         64-bit int/double union.
1287         (_FPU_SETCW): Likewise.
1288         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1289         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1291 2013-10-04  Alan Modra  <amodra@gmail.com>
1293         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1294         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1296 2013-10-04  Alan Modra  <amodra@gmail.com>
1298         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1299         use vector int constants.
1300         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1302 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1304         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1305         array with long long.
1306         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1307         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1308         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1309         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1310         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1311         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1312         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1313         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1314         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1315         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1316         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1317         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1318         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1320 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1322         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1323         (__signbit): Likewise.  Correct for little-endian.
1324         (__signbitl): Call __signbit.
1325         (lrint): Correct for little-endian.
1326         (lrintf): Call lrint.
1328 2013-10-04  Alan Modra  <amodra@gmail.com>
1330         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1331         union 32-bit int array member with 64-bit int array.
1332         (t515, tm256): Double rather than long double.
1333         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1335 2013-10-04  Alan Modra  <amodra@gmail.com>
1337         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1338         Delete.
1339         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1340         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1341         version of math_ldbl.h.
1343 2013-10-04  Alan Modra  <amodra@gmail.com>
1345         [BZ #15734], [BZ #15735]
1346         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1347         all uses of ieee875 long double macros and unions.  Simplify test
1348         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1349         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1350         normalize after ldbl_extract_mantissa, and don't add hidden bit
1351         already handled.  Don't treat low word of ieee854 mantissa like
1352         low word of IBM long double and mask off bit when testing for
1353         zero.
1354         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1355         all uses of ieee875 long double macros and unions.  Simplify tests
1356         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1357         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1358         two1022, instead use their values.  Recognise that tests for large
1359         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1360         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1361         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1362         test for 0.0L and nan.  Correct negation.
1363         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1364         ieee875 long double macros and unions.  Correct output for large
1365         magnitude x.  Correct absolute value calculation.
1366         (__erfcl): Likewise.
1367         * math/libm-test.inc: Add tests for errors discovered in IBM long
1368         double versions of fmodl, remainderl, erfl and erfcl.
1370 2013-10-04  Alan Modra  <amodra@gmail.com>
1372         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1373         all uses of ieee854 long double macros and unions.  Simplify tests
1374         for long doubles that are fully specified by the high double.
1375         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1376         Likewise.
1377         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1378         Remove dead code too.
1379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1380         (__ieee754_ynl): Likewise.
1381         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1382         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1384         Remove dead code too.
1385         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1386         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1387         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1388         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1389         Simplify.
1390         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1391         Simplify.
1392         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1393         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1394         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1395         Comment on variable precision.
1396         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1397         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1398         Likewise.
1399         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1400         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1401         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1402         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1403         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1405 2013-10-04  Alan Modra  <amodra@gmail.com>
1407         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1408         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1409         all uses of ieee854 long double macros and unions.
1410         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1411         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1412         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1413         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1414         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1415         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1416         Likewise.
1417         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1418         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1419         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1420         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1422         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1423         Simplify sign and nan test too.
1424         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1425         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1426         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1427         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1428         Likewise.
1429         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1430         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1431         Likewise.
1432         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1433         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1434         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1435         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1436         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1439 2013-10-04  Alan Modra  <amodra@gmail.com>
1441         * stdio-common/printf_size.c (__printf_size): Don't use
1442         union ieee854_long_double in fpnum union.
1443         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1444         signbit macro to retrieve sign from long double.
1445         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1446         retrieve sign from long double.
1447         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1448         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1449         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1450         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1451         * math/test-misc.c (main): Don't use union ieee854_long_double.
1453 2013-10-04  Alan Modra  <amodra@gmail.com>
1455         [BZ #15680]
1456         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1457         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1458         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1459         calculation.  Remove unnecessary test for denormal exponent.
1460         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1461         Correct handling of denormals.  Avoid undefined shift behaviour.
1462         Correct normalisation of low mantissa when low double is denormal.
1463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1464         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1465         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1466         Correct normalisation of low mantissa.  Test for overflow of high
1467         mantissa and normalise.
1468         (ldbl_nearbyint): Use more readable constant for two52.
1469         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1470         (__mpn_construct_long_double): Fix test for overflow of high
1471         mantissa and correct normalisation.  Avoid undefined shift.
1473 2013-10-04  Alan Modra  <amodra@gmail.com>
1475         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1476         (union ibm_extended_long_double): Define as an array of ieee754_double.
1477         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1478         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1479         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1480         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1481         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1482         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1483         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1484         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1485         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1486         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1487         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1489 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1491         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1492         page size instead of calling getpagesize.
1494         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1495         (LOCFILE_ALIGN_MASK): Likewise.
1496         (LOCFILE_ALIGN_UP): Likewise.
1497         (LOCFILE_ALIGNED_P): Likewise.
1498         * locale/programs/ld-collate.c (collate_output): Use the new
1499         macros instead of __alignof__ (int32_t).
1500         * locale/weight.h (findidx): Likewise.
1502 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1504         [BZ #431]
1505         * manual/string.texi: Fix strncat and wcsncat.
1507 2013-10-03  Brooks Moses  <bmoses@google.com>
1509         [BZ #15915]
1510         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1511         * Makerules: ...here, and adjust associated comments.
1513 2013-10-02  Will Newton  <will.newton@linaro.org>
1515         * malloc/Makefile: Add tst-pvalloc.
1516         * malloc/tst-pvalloc.c: New file.
1518 2013-10-02  Will Newton  <will.newton@linaro.org>
1520         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1521         improve test coverage.
1523 2013-10-02  Will Newton  <will.newton@linaro.org>
1525         * malloc/Makefile: Add tst-posix_memalign.
1526         * malloc/tst-posix_memalign.c: New file.
1528 2013-10-01  Eric Blake  <eblake@redhat.com>
1530         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1531         Use __THROWNL rather than __THROW on static functions.
1533 2013-09-30  Petr Machata  <pmachata@redhat.com>
1535         * elf/elf.h (R_AARCH64_ABS16): New macro.
1536         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1537         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1538         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1539         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1540         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1541         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1542         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1543         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1544         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1545         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1546         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1547         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1548         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1549         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1550         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1551         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1552         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1553         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1554         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1555         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1556         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1557         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1558         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1559         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1560         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1561         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1562         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1563         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1564         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1565         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1566         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1567         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1568         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1569         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1570         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1571         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1572         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1573         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1574         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1575         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1576         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1577         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1578         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1579         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1580         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1581         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1582         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1583         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1584         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1585         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1586         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1587         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1588         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1589         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1590         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1591         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1592         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1593         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1594         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1595         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1596         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1597         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1598         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1599         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1600         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1601         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1602         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1603         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1604         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1605         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1606         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1607         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1608         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1609         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1610         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1611         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1612         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1613         (R_AARCH64_TLSDESC_LDR): Likewise.
1614         (R_AARCH64_TLSDESC_ADD): Likewise.
1615         (R_AARCH64_TLSDESC_CALL): Likewise.
1617 2013-09-30  Andreas Schwab  <schwab@suse.de>
1619         [BZ #15048]
1620         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1621         the nss database lookup.
1622         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1625 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1627         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1629 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1631         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1632         ${Bash-specific parameter/pattern/string} parameter expansion.
1633         * sysdeps/unix/make-syscalls.sh: Likewise.
1635 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1637         * sysdeps/sh/stackguard-macros.h: New file.
1639 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1643         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1644         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1645         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1646         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1648 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1650         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1651         Fix thread ID register.
1653 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1655         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1656         [POSIX || UNIX98]: Require rather than permitting all symbols from
1657         <time.h>.
1658         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1659         element of struct sched_param.
1660         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1661         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1662         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1663         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1664         constant.
1666 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1668         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1669         argument calculation.
1671 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1673         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1674         Expect macro.
1675         [POSIX] (pthread_attr_t): Do not require type.
1676         [POSIX] (pthread_cond_t): Likewise.
1677         [POSIX] (pthread_condattr_t): Likewise.
1678         [POSIX] (pthread_key_t): Likewise.
1679         [POSIX] (pthread_mutex_t): Likewise.
1680         [POSIX] (pthread_mutexattr_t): Likewise.
1681         [POSIX] (pthread_once_t): Likewise.
1682         [POSIX] (pthread_t): Likewise.
1683         [POSIX-based standards] (pthread_atfork): Expect function.
1685 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1686             Richard Sandiford  <richard@codesourcery.com>
1688         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1689         (swap_endianness_p): New extern variable.
1690         (set_big_endian): New inline function.
1691         (maybe_swap_uint32): Likewise.
1692         (maybe_swap_uint32_array): Likewise.
1693         (maybe_swap_uint32_obstack): Likewise.
1694         * locale/programs/locfile.c: Include <stdbool.h>.
1695         (swap_endianness_p): New variable.
1696         (add_locale_uint32): Call maybe_swap_uint32.
1697         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1698         (write_locale_data): Call maybe_swap_uint32_array.
1699         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1700         maybe_swap_uint32.
1701         (obstack_int32_grow_fast): Likewise.
1702         (output_weightwc): Call maybe_swap_uint32_obstack.
1703         (collate_output): Likewise.
1704         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1705         (OPT_LITTLE_ENDIAN): Likewise.
1706         (options): Add --little-endian and --big-endian options.
1707         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1708         * locale/programs/locarchive.c: Include "locfile.h".
1709         (GET): New macro.
1710         (SET): Likewise.
1711         (INC): Likewise.
1712         (create_archive): Use the new macros to access fields of
1713         structures directly mapped from or written to locale archives.
1714         (oldlocrecentcmp): Likewise.
1715         (enlarge_archive): Likewise.
1716         (insert_name): Likewise.
1717         (add_alias): Likewise.
1718         (add_locale): Likewise.
1719         (delete_locales_from_archive): Likewise.
1720         (show_archive_content): Likewise.
1721         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1722         locale data.
1724 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1726         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1727         http://www.gnu.org/doc/freemanuals.texi.
1728         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1730 2013-09-24  Will Newton  <will.newton@linaro.org>
1732         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1733         macro.
1735 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1737         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1738         unsigned char.
1740 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1742         * manual/threads.texi (POSIX Threads): Fix a typo.
1744 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1746         [BZ #14547]
1747         * string/tst-strcoll-overflow.c: New test case.
1748         * string/Makefile (xtests): Add tst-strcoll-overflow.
1749         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1750         cache if string sizes may cause integer overflow.
1752         [BZ #14547]
1753         * string/strcoll_l.c (coll_seq): New members rule, idx,
1754         save_idx and back_us.
1755         (get_next_seq_nocache): New function.
1756         (do_compare_nocache): New function.
1757         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1758         when malloc fails.
1760 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1762         [BZ #15754]
1763         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1764         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1765         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1767         [BZ #15754]
1768         * elf/Makefile (tests): Add tst-ptrguard1.
1769         (tests-static): Add tst-ptrguard1-static.
1770         (tst-ptrguard1-ARGS): Define.
1771         (tst-ptrguard1-static-ARGS): Define.
1772         * elf/tst-ptrguard1.c: New file.
1773         * elf/tst-ptrguard1-static.c: New file.
1774         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1775         * sysdeps/i386/stackguard-macros.h: Likewise.
1776         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1777         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1778         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1779         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1780         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1781         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1783 2013-09-23  Hector Marco  <hecmargi@upv.es>
1784             Ismael Ripoll  <iripoll@disca.upv.es>
1785             Carlos O'Donell  <carlos@redhat.com>
1787         [BZ #15754]
1788         * sysdeps/generic/stackguard-macros.h: Define
1789         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1790         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1791         Define __pointer_chk_guard_local.
1792         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1793         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1795 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1797         [BZ #15859]
1798         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1800 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1802         * include/string.h (__ffs): Declare as hidden.
1803         * string/ffs.c (__ffs): Define as hidden.
1804         * sysdeps/i386/ffs.c (__ffs): Likewise.
1805         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1806         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1807         * sysdeps/s390/ffs.c (__ffs): Likewise.
1808         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1810 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1812         * NEWS: Mention malloc probes.
1814         * malloc/arena.c (new_heap): New memory_heap_new probe.
1815         (grow_heap): New memory_heap_more probe.
1816         (shrink_heap): New memory_heap_less probe.
1817         (heap_trim): New memory_heap_free probe.
1818         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1819         (systrim): New memory_sbrk_less probe.
1820         * manual/probes.texi: Document them.
1822         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1823         * manual/probes.texi: Document it.
1825         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1826         (__libc_realloc): Add memory_realloc_retry probe.
1827         (__libc_memalign): Add memory_memalign_retry probe.
1828         (__libc_valloc): Add memory_valloc_retry probe.
1829         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1830         (__libc_calloc): Add memory_calloc_retry probe.
1831         * manual/probes.texi: Document them.
1833         * malloc/arena.c (get_free_list): Add probe
1834         memory_arena_reuse_free_list.
1835         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1836         and memory_arena_reuse.
1837         (arena_get2) [!PER_THREAD]: Likewise.
1838         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1839         memory_arena_reuse_realloc.
1840         * manual/probes.texi: Document them.
1842         * malloc/malloc.c (__libc_free): Add
1843         memory_mallopt_free_dyn_thresholds probe.
1844         (__libc_mallopt): Add multiple memory_mallopt probes.
1845         * manual/probes.texi: Document them.
1847         * malloc/malloc.c: Include stap-probe.h.
1848         (__libc_mallopt): Add memory_mallopt probe.
1849         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1850         * manual/probes.texi: New.
1851         * manual/Makefile (chapters): Add probes.
1852         * manual/threads.texi: Set next node.
1854 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1856         [BZ #15963, #13985]
1857         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1858         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1859         Add `Chinese' to `nan' entry name.
1861 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1863         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1864         (POLYNOMIAL): Likewise.
1865         (TAYLOR_SINCOS): Likewise.
1866         (TAYLOR_SLOW): Likewise.
1867         (__sin): Use TAYLOR_SINCOS.
1868         (__cos): Likewise.
1869         (slow): Use TAYLOR_SLOW.
1870         (sloww): Likewise.
1871         (bsloww): Likewise.
1872         (csloww): Likewise.
1874 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1876         * stdlib/strtod_l.c: Fix buffer overrun.
1878 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1880         * benchtests/Makefile (bench): Add sincos.
1881         * benchtests/bench-sincos.c: New file.
1883         * math/libm-test.inc (cos_test_data): New test inputs.
1884         (sin_test_data): Likewise.
1886         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1887         macro.
1888         (__sin): Use it.
1889         (__cos): Likewise.
1890         (slow1): Likewise.
1891         (slow2): Likewise.
1892         (sloww1): Likewise.
1893         (sloww2): Likewise.
1894         (bsloww1): Likewise.
1895         (bsloww2): Likewise.
1896         (cslow2): Likewise.
1897         (csloww1): Likewise.
1898         (csloww2): Likewise.
1900         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1901         function.
1902         (__sin): Use it.
1903         (__cos): Likewise.
1905         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1906         gotos.
1907         (__cos): Likewise.
1909 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1911         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1912         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1913         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1914         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1915         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1916         * elf/cache.c (print_entry): Handle the new cache flags.
1918 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1919             Aldy Hernandez  <aldyh@redhat.com>
1921         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1922         Change condition to [_SOFT_FLOAT].
1923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1934         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1935         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1937         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1938         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1939         declaration.
1941 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1943         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1944         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1945         (__longjmp): Use LOAD_GP to load saved GPRs.
1946         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1947         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1948         (__sigsetjmp): Use SAVE_GP to save GPRs.
1950         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1951         Do not append -msoft-float.
1952         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1954 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1956         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1958 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1960         [BZ #15966]
1961         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1962         (_FPU_GETCW): Use initial "__" on variable and field names but not
1963         on macro parameter name.
1964         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1965         parentheses around reference to macro parameter.
1967 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1969         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1970         prototype.
1971         (ctype_startup): Use uint32_t in cast and sizeof for
1972         ctype->charnames.
1974 2013-09-11  Jia Liu  <proljc@gmail.com>
1976         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1977         __daddr_t_defined.
1978         [__FreeBSD__]: Likewise.
1980 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1983         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1984         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1985         (strchr): Remove __strchr_sse42 ifunc selection.
1986         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1987         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1989 2013-09-11  Will Newton  <will.newton@linaro.org>
1991         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1992         parameter to RES. Remove hardcoded 1000 value.
1993         * benchtests/bench-skeleton.c (main): Pass RES parameter
1994         to TIMING_INIT and multiply result by 1000.
1996 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2000 2013-09-11  Andreas Schwab  <schwab@suse.de>
2002         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2003         if not defined.
2004         (O_TMPFILE) [__USE_GNU]: Define.
2005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2006         Define.
2008 2013-09-11  Will Newton  <will.newton@linaro.org>
2010         [BZ #15857]
2011         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2012         does not overflow.
2014 2013-09-11  Will Newton  <will.newton@linaro.org>
2016         [BZ #15856]
2017         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2018         does not overflow.
2020 2013-09-11  Will Newton  <will.newton@linaro.org>
2022         [BZ #15855]
2023         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2024         does not overflow.
2026 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2028         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2029         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2030         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2031         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2032         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2034 2013-09-10  Allan McRae  <allan@archlinux.org>
2036         [BZ #15748]
2037         * manual/arith.texi (Parsing of Floats): Clarify
2038         cross-reference.
2040         [BZ #15849]
2041         * manual/install.texi (Running make install): Mention
2042         --enable-pt-chown.
2043         * INSTALL: Regenerated.
2045 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2047         * csu/init-first.c (_init): Remove the !SHARED condition around
2048         FPU control word initialization.
2049         * elf/dl-support.c (_dl_fpu_control): New variable.
2050         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2051         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2052         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2053         * math/test-fpucw-static.c: New file.
2054         * math/test-fpucw-ieee.c: New file.
2055         * math/test-fpucw-ieee-static.c: New file.
2056         * math/Makefile (tests): Add `test-fpucw-ieee' and
2057         `$(tests-static)'.
2058         (tests-static): New variable.
2059         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2060         dependency to...
2061         [($(build-shared),yes)]
2062         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2063         ... this.
2064         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2065         New dependency.
2067 2013-09-09  Allan McRae  <allan@archlinux.org>
2069         [BZ #15939]
2070         * manual/string.texi (Collation Functions): Fix typo in
2071         strcoll example.
2072         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2074         [BZ #15893]
2075         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2077         [BZ #15892]
2078         * libio/memstream.c (open_memstream): Fix memory leak.
2079         * libio/wmemstream.c (open_wmemstream): Likewise.
2081         [BZ #15895]
2082         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2084 2013-09-09  Will Newton  <will.newton@linaro.org>
2086         * malloc/Makefile: Add tst-realloc to tests.
2087         * malloc/tst-realloc.c: New file.
2089 2013-09-09  Allan McRae  <allan@archlinux.org>
2091         [BZ #15844]
2092         * COPYING: Update from GNU website to fix FSF address.
2093         * COPYING.LIB: Likewise.
2095 2013-09-06  David S. Miller  <davem@davemloft.net>
2097         * po/zh_TW.po: Update Chinese (traditional) translation from
2098         translation project.
2100 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2101             Joseph Myers  <joseph@codesourcery.com>
2103         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2104         "localeinfo.h".
2105         (obstack_chunk_alloc): New macro.
2106         (obstack_chunk_free): Likewise.
2107         (record_offset): New function.
2108         (init_locale_data): Likewise.
2109         (align_locale_data): Likewise.
2110         (add_locale_empty): Likewise.
2111         (add_locale_raw_data): Likewise.
2112         (add_locale_raw_obstack): Likewise.
2113         (add_locale_string): Likewise.
2114         (add_locale_wstring): Likewise.
2115         (add_locale_uint32): Likewise.
2116         (add_locale_uint32_array): Likewise.
2117         (add_locale_char): Likewise.
2118         (start_locale_structure): Likewise.
2119         (end_locale_structure): Likewise.
2120         (start_locale_prelude): Likewise.
2121         (end_locale_prelude): Likewise.
2122         (write_locale_data): Take locale_file structure rather than an
2123         iovec.
2124         * locale/programs/locfile.h: Include "obstack.h".
2125         (struct locale_file): Change to store locale file contents instead
2126         of header.
2127         (init_locale_data): New prototype.
2128         (align_locale_data): Likewise.
2129         (add_locale_empty): Likewise.
2130         (add_locale_raw_data): Likewise.
2131         (add_locale_raw_obstack): Likewise.
2132         (add_locale_string): Likewise.
2133         (add_locale_wstring): Likewise.
2134         (add_locale_uint32): Likewise.
2135         (add_locale_uint32_array): Likewise.
2136         (add_locale_char): Likewise.
2137         (start_locale_structure): Likewise.
2138         (end_locale_structure): Likewise.
2139         (start_locale_prelude): Likewise.
2140         (end_locale_prelude): Likewise.
2141         (write_locale_data): Update prototype.
2142         * locale/programs/3level.h (struct TABLE): Remove result field.
2143         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2144         Use new locale_file interface.
2145         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2146         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2147         * locale/programs/ld-address.c (address_output): Use new
2148         locale_file interface.
2149         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2150         NO_ADD_LOCALE.
2151         (collate_finish): Don't call collseq_table_finalize.
2152         (collate_output): Use new locale_file interface.
2153         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2154         in file.
2155         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2156         (TABLE): Move defines earlier in file.
2157         (ELEMENT): Likewise.
2158         (DEFAULT): Likewise.
2159         (wctrans_table_add): Move macro and inline function earlier in
2160         file.
2161         (struct wctype_table): Move type earlier in file.
2162         (add_locale_wctype_table): New static prototype.
2163         (struct locale_ctype_t): Use logical types instead of struct iovec
2164         pointers for members.
2165         (ctype_output): Use new locale_file interface.
2166         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2167         new locale_file interface.
2168         (allocate_arrays): Update for use of new locale_file interface.
2169         * locale/programs/ld-identification.c (identification_output): Use
2170         new locale_file interface.
2171         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2172         * locale/programs/ld-messages.c (messages_output): Likewise.
2173         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2174         * locale/programs/ld-name.c (name_output): Likewise.
2175         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2176         * locale/programs/ld-paper.c (paper_output): Likewise.
2177         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2178         * locale/programs/ld-time.c (time_output): Likewise.
2180 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2182         * benchtests/Makefile: Add memrchr benchmark.
2183         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2184         benchmark as memrchr.
2185         * benchtests/bench-memrchr-ifunc.c: New file.
2186         * benchtests/bench-memrchr.c: New file.
2188 2013-09-06   Will Newton  <will.newton@linaro.org>
2190         * benchtests/Makefile (string-bench): Add memcpy.
2192 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2193             Cong Wang  <amwang@redhat.com>
2195         * sysdeps/unix/sysv/linux/bits/in.h
2196         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2197         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2198         before __USE_KERNEL_IPV6_DEFS uses.
2199         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2200         IPPROTO_BEETPH.
2201         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2202         sockaddr_in6, or ipv6_mreq.
2204 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2206         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2207         memory access for final bytes in some large inputs.
2208         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2210 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2212         * string/test-memrchr.c: New file.
2213         * string/test-memrchr-ifunc.c: New file.
2214         * string/Makefile: Add new memrchr testcase.
2216 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2218         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2219         fanotify_init returns EPERM.
2221 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2223         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2224         errors.
2225         (top level): Treat second token from macro or constant entries for
2226         allowed headers as allowed.
2227         * include/complex.h: Condition internal declarations on
2228         [!_ISOMAC].
2229         * include/fenv.h: Condition include of <stdbool.h> and internal
2230         declarations on [!_ISOMAC].
2232 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2234         [BZ #15923]
2235         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2237 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2239         * configure.in (--enable-versioning): Remove configure option.
2240         (libc_cv_asm_symver_directive): Remove configure test.
2241         (libc_cv_ld_version_script_option): Likewise.
2242         (VERSIONING): Remove variable and AC_SUBST.
2243         (DO_VERSIONING): Remove AC_DEFINE.
2244         * configure: Regenerated.
2245         * config.h.in (DO_VERSIONING): Remove macro.
2246         * Makerules [$(versioning) = yes]: Change conditionals to
2247         [$(build-shared) = yes].
2248         * config.make.in (versioning): Remove variable.
2249         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2250         [$(build-shared) = yes].
2251         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2252         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2253         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2254         [$(build-shared) = yes].
2255         * extra-lib.mk [$(versioning) = yes]: Likewise.
2256         * hurd/Makefile [$(versioning) = yes]: Likewise.
2257         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2258         [SHARED].
2259         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2260         [SHARED].
2261         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2262         [SHARED && !NO_HIDDEN].
2263         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2264         [SHARED].
2265         [SHARED && DO_VERSIONING]: Likewise..
2266         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2267         [$(build-shared) = yes].
2268         * manual/install.texi (--disable-versioning): Remove
2269         documentation.
2270         * INSTALL: Regenerated.
2271         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2272         to [SHARED].
2273         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2274         [$(build-shared) = yes].
2275         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2276         * sysdeps/i386/i686/multiarch/strstr-c.c
2277         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2278         [SHARED && !NO_HIDDEN].
2279         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2280         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2281         * sysdeps/powerpc/powerpc32/dl-machine.c
2282         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2283         * sysdeps/powerpc/powerpc32/sysdep.h
2284         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2285         to [SHARED && PIC && !NO_HIDDEN].
2286         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2287         conditional to [SHARED].
2289 2013-09-04   Will Newton  <will.newton@linaro.org>
2291         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2292         * benchtests/bench-string.h: Include bench-timing.h instead
2293         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2294         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2295         call to HP_TIMING_DIFF_INIT.
2296         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2297         instead of hp-timing.h macros.
2298         * benchtests/bench-memchr.c: Likewise.
2299         * benchtests/bench-memcmp.c: Likewise.
2300         * benchtests/bench-memcpy.c: Likewise.
2301         * benchtests/bench-memmem.c: Likewise.
2302         * benchtests/bench-memmove.c: Likewise.
2303         * benchtests/bench-memset.c: Likewise.
2304         * benchtests/bench-rawmemchr.c: Likewise.
2305         * benchtests/bench-strcasecmp.c: Likewise.
2306         * benchtests/bench-strcasestr.c: Likewise.
2307         * benchtests/bench-strcat.c: Likewise.
2308         * benchtests/bench-strchr.c: Likewise.
2309         * benchtests/bench-strcmp.c: Likewise.
2310         * benchtests/bench-strcpy.c: Likewise.
2311         * benchtests/bench-strcpy_chk.c: Likewise.
2312         * benchtests/bench-strlen.c: Likewise.
2313         * benchtests/bench-strncasecmp.c: Likewise.
2314         * benchtests/bench-strncat.c: Likewise.
2315         * benchtests/bench-strncmp.c: Likewise.
2316         * benchtests/bench-strncpy.c: Likewise.
2317         * benchtests/bench-strnlen.c: Likewise.
2318         * benchtests/bench-strpbrk.c: Likewise.
2319         * benchtests/bench-strrchr.c: Likewise.
2320         * benchtests/bench-strspn.c: Likewise.
2321         * benchtests/bench-strstr.c: Likewise.
2323 2013-09-04  Will Newton  <will.newton@linaro.org>
2325         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2327 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2329         [BZ #15427]
2330         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2331         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2332         * math/libm-test.inc (lgamma_test_data): Add more tests.
2333         * sysdeps/i386/fpu/libm-test-ulps: Update.
2334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2336 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2338         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2340         Add ifunc.
2341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2342         Add strcmp-sse2-unaligned
2343         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2345 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2347         * Versions.def (libc): Add GLIBC_2.19.
2349 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2351         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2352         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2354 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2356         [BZ #14155]
2357         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2358         intermediate calculations in recurrence.
2359         (__ieee754_ynf): Likewise.
2360         * math/libm-test.inc (jn_test_data): Do not allow spurious
2361         underflow exception.  Add more tests.
2362         (yn_test_data): Add more tests.
2363         * sysdeps/i386/fpu/libm-test-ulps: Update.
2364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2366 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2368         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2370 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2372         * csu/init-first.c: Fix then/than typos.
2373         * locale/programs/ld-collate.c: Likewise.
2374         * locale/programs/linereader.h: Likewise.
2375         * manual/charset.texi: Likewise.
2376         * manual/filesys.texi: Likewise.
2377         * manual/stdio.texi: Likewise.
2378         * manual/string.texi: Likewise.
2379         * stdlib/fmtmsg.c: Likewise.
2380         * sysdeps/i386/stpncpy.S: Likewise.
2381         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2382         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2383         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2384         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2386 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2388         * elf/dl-open.c: Fix typos.
2389         * iconvdata/gbbig5.c: Likewise.
2390         * iconvdata/iso-2022-jp.c: Likewise.
2391         * iconv/gconv_int.h: Likewise.
2392         * iconv/loop.c: Likewise.
2393         * nis/rpcsvc/nis.h: Likewise.
2394         * resolv/ns_name.c: Likewise.
2395         * stdio-common/vfscanf.c: Likewise.
2396         * streams/stropts.h: Likewise.
2397         * sunrpc/rpc_thread.c: Likewise.
2398         * sysdeps/i386/strpbrk.S: Likewise.
2399         * sysdeps/ieee754/k_standard.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2402         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2403         * sysdeps/mach/hurd/profil.c: Likewise.
2404         * sysdeps/s390/dl-procinfo.h: Likewise.
2405         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2406         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2407         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2408         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2409         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2411 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2413         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2416 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2418         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2419         aix specific files.
2420         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2421         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2422         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2423         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2424         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2425         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2426         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2427         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2429 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2430             Roland McGrath  <roland@hack.frob.com>
2432         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2433         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2435 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2437         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2438         __executable_start symbol instead of _start.
2440 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2442         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2443         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2444         Move macros to...
2445         * sysdeps/gnu/ldsodefs.h: ... this new file.
2447         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2448         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2449         instead of ELFOSABI_LINUX.
2451         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2452         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2453         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2454         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2455         Likewise.
2456         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2457         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2458         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2459         Likewise.
2460         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2461         (ibm_extended_long_double): Add ieee_nan member.
2462         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2463         (do_test): New function.
2465         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2466         TEST_TRUNC.
2467         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2468         functions, renamed from truncdfsf_test, trunctfsf_test,
2469         trunctfdf_test.
2470         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2471         functions.
2472         (do_test): Run all these.
2474 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2476         * argp/argp-help.c: Fix typos.
2477         * argp/argp-parse.c: Likewise.
2478         * debug/backtracesyms.c: Likewise.
2479         * elf/elf.h: Likewise.
2480         * malloc/malloc.c: Likewise.
2481         * nis/nis_print.c: Likewise.
2482         * resolv/res_comp.c: Likewise.
2483         * stdlib/stdlib.h: Likewise.
2484         * sunrpc/clnt_tcp.c: Likewise.
2485         * sunrpc/clnt_udp.c: Likewise.
2486         * sunrpc/clnt_unix.c: Likewise.
2487         * sysdeps/unix/bsd/ptsname.c: Likewise.
2488         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2489         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2493         Likewise.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2495         Likewise.
2496         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2498 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2500         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2503 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2505         [BZ #15897]
2506         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2507         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2508         ($(objpfx)bug-dl-leaf): New rule.
2509         ($(objpfx)bug-dl-leaf.so): Likewise.
2510         ($(objpfx)bug-dl-leaf.out): Likewise.
2511         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2512         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2513         * dlfcn/bug-dl-leaf.c: New test.
2514         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2515         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2516         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2517         (dlclose): Likewise.
2518         (dlmopen): Likewise.
2520 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2522         * include/netdb.h [!_ISOMAC]:
2523         Don't include <tls.h>.
2524         (h_errno, __libc_h_errno): Move declaration and macros out of
2525         [_LIBC_REENTRANT].
2527         * include/resolv.h [_RESOLV_H_]:
2528         Don't include <tls.h>.
2529         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2530         * resolv/res_libc.c: Don't include <tls.h>.
2531         (_res): Use __attribute__ ((nocommon)) in place of
2532         __attribute__ ((section (".bss"))).
2534         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2535         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2537         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2539         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2540         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2542         * resolv/res_mkquery.c: Include <sys/time.h>.
2544         * inet/ifreq.c: Moved to ...
2545         * sysdeps/unix/ifreq.c: ... here.
2546         * inet/ifreq.c: New file, true stub version.
2548         * socket/sa_len.c: New file.
2549         * socket/Makefile (aux): Add it.
2550         * sysdeps/unix/sysv/linux/Makefile
2551         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2552         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2553         and #include <socket/sa_len.c>.
2554         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2555         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2557         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2558         * bits/socket.h: ... here.
2560         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2561         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2562         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2564 2013-08-27  Andreas Schwab  <schwab@suse.de>
2566         [BZ #15736]
2567         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2568         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2569         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2570         * string/test-strcasecmp.c (test_main): Run tests in several
2571         locales.
2572         * string/test-strncasecmp.c (test_main): Likewise.
2574         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2575         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2576         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2578         (__strncasecmp_ssse3) [PIC]: Likewise.
2580 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2582         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2584         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2585         instead of explicitly declaring xdecrypt.
2586         * nis/nss_nis/nis-publickey.c: Likewise.
2588 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2590         [BZ #15890]
2591         * nscd/aicache.c: Include res_hconf.h.
2592         (addhstaiX): Initialize res_hconf.
2594 2013-08-26  Andreas Schwab  <schwab@suse.de>
2596         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2597         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2599 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2601         * nscd/aicache.c (addhstaiX): Fix indentation.
2603 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2605         * configure.ac: Quote $build_pt_chown test.
2606         * configure: Regenerated.
2608 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2610         [BZ #15532]
2611         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2612         * math/s_cexpf.c (__cexpf): Likewise.
2613         * math/s_cexpl.c (__cexpl): Likewise.
2614         * math/libm-test.inc (cexp_test_data): Correct expected return
2615         value for NaN + i0.  Add another test.
2617 2013-08-22  David S. Miller  <davem@davemloft.net>
2619         * po/ca.po: Update Catalan translation from translation project.
2620         * po/uk.po: Add Ukrainian translations from translation project.
2622 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #15797]
2625         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2626         is infinite, not alongside NaN test.
2627         * math/s_fdimf.c (__fdimf): Likewise.
2628         * math/s_fdiml.c (__fdiml): Likewise.
2629         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2630         errno is unchanged.
2632 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2634         * argp/argp-help.c: Fix typos.
2635         * crypt/speeds.c: Likewise.
2636         * csu/check_fds.c: Likewise.
2637         * elf/dl-load.c: Likewise.
2638         * elf/dl-open.c: Likewise.
2639         * elf/reldep3.c: Likewise.
2640         * elf/reldep.c: Likewise.
2641         * elf/sprof.c: Likewise.
2642         * iconv/iconv_charmap.c: Likewise.
2643         * iconv/skeleton.c: Likewise.
2644         * iconv/strtab.c: Likewise.
2645         * io/lockf64.c: Likewise.
2646         * libio/libioP.h: Likewise.
2647         * resolv/gai_notify.c: Likewise.
2648         * resolv/ns_name.c: Likewise.
2649         * resolv/ns_samedomain.c: Likewise.
2650         * resolv/res_send.c: Likewise.
2651         * stdlib/random.c: Likewise.
2652         * sunrpc/rpc/xdr.h: Likewise.
2653         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2654         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2655         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2656         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2657         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2658         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2659         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2660         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2661         * sysdeps/mach/hurd/check_fds.c: Likewise.
2662         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2663         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2664         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2665         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2666         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2667         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2668         * sysdeps/pthread/aio_notify.c: Likewise.
2669         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2670         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2671         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2672         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2673         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2675 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2677         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2678         version if bit_Slow_SSE4_2 is set.
2679         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2680         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2682 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2684         [BZ #15867]
2685         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2686         trampoline stack frame information.
2687         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2688         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2689         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2690         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2691         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2692         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2693         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2694         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2695         sa_flags value.
2696         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2697         interrupting a syscall and set with option SA_SIGINFO.
2699 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2701         [BZ #15531]
2702         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2703         argument is infinite.
2704         * math/s_cprojf.c (__cprojf): Likewise.
2705         * math/s_cprojl.c (__cprojl): Likewise.
2706         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2707         * math/libm-test.inc (cproj_test_data): Add more tests.
2709         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2711         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2712         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2713         size.  Use __ffs to determine corresponding shift.
2715 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2716             Roland McGrath  <roland@hack.frob.com>
2718         * Makefile (INSTALL): Remove trailing blank lines from output of
2719         makeinfo.
2721 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2723         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2724         Align 32 bit compat elf_greg to 8 bytes.
2726 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2728         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2730 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2732         * string/strcoll_l.c (coll_seq): New structure.
2733         (get_next_seq_cached): New function.
2734         (get_next_seq): New function.
2735         (do_compare): New function.
2736         (STRCOLL): Use GNU style definition.  Simplify implementation
2737         by using get_next_seq, get_next_seq_cached and do_compare.
2739 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2741         [BZ #14699]
2742         CVE-2013-4237
2743         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2744         member.
2745         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2746         member.
2747         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2748         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2749         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2750         conditional.
2751         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2752         GETDENTS_64BIT_ALIGNED.
2753         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2754         * manual/filesys.texi (Reading/Closing Directory): Document
2755         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2756         strongly.
2757         * manual/conf.texi (Limits for Files): Add portability note to
2758         NAME_MAX, PATH_MAX.
2759         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2761 2013-08-13  Andreas Schwab  <schwab@suse.de>
2763         [BZ #15749]
2764         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2765         of fabs.
2766         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2767         LDBL_MAX_EXP >= 16384]: Add tests for it.
2769 2013-08-12  David S. Miller  <davem@davemloft.net>
2771         * version.h (RELEASE): Set to "development".
2772         (VERSION): Set to "2.18.90".
2773         * NEWS: Add 2.19 section.
2775 2013-08-03  David S. Miller  <davem@davemloft.net>
2777         * po/ko.po: Update Korean translation from translation project.
2779 2013-08-01  David S. Miller  <davem@davemloft.net>
2781         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2782         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2783         Bilka.
2785 2013-07-30  David S. Miller  <davem@davemloft.net>
2787         * po/fr.po: Update French translation from translation project.
2789 2013-07-28  David S. Miller  <davem@davemloft.net>
2791         * po/cs.po: Update Czech translation from translation project.
2793         * po/sv.po: Update Swedish translation from translation project.
2795 2013-07-27  David S. Miller  <davem@davemloft.net>
2797         * po/eo.po: Update Esperanto translation from translation project.
2799         * po/vi.po: Update Vietnamese translation from translation project.
2801         * po/de.po: Update German translation from translation project.
2803 2013-07-26  David S. Miller  <davem@davemloft.net>
2805         * po/bg.po: Update Bulgarian translation from translation project.
2807         * po/nl.po: Update Dutch translation from translation project.
2808         * po/pl.po: Update Polish translation from translation project.
2809         * po/ru.po: Update Russian translation from translation project.
2811 2013-07-24  David S. Miller  <davem@davemloft.net>
2813         * po/libc.pot: Update.
2815 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2817         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2818         variable page size.
2819         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2820         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2821         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2823 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2825         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2827 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2828             Andreas Schwab  <schwab@suse.de>
2829             Roland McGrath  <roland@hack.frob.com>
2830             Joseph Myers  <joseph@codesourcery.com>
2831             Carlos O'Donell  <carlos@redhat.com>
2833         [BZ #15755]
2834         * config.h.in: Define HAVE_PT_CHOWN.
2835         * config.make.in (build-pt-chown): New variable.
2836         * configure.in (--enable-pt_chown): New configure option.
2837         * configure: Regenerate.
2838         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2839         build-pt-chown is enabled.
2840         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2841         pt_chown to fix pty ownership.
2842         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2843         CLOSE_ALL_FDS.
2844         * manual/install.texi (Configuring and compiling): Mention
2845         --enable-pt_chown. Add @findex for grantpt.
2846         * INSTALL: Regenerate.
2848 2013-07-20  David S. Miller  <davem@davemloft.net>
2850         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2851         difference between 32-bit and 64-bit.
2853 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2855         [BZ #15711]
2856         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2857         Avoid system header dependency with -ffreestanding.
2858         ($(objpfx)bits/syscall%d): Likewise.
2860 2013-07-13  David S. Miller  <davem@davemloft.net>
2862         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2863         underflows from atanl/atan2l due to bug 15319.
2864         (casinh_test_data): Likewise.
2866 2013-07-07  David S. Miller  <davem@davemloft.net>
2868         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2870 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2872         * sysdeps/i386/fpu/libm-test-ulps: Update.
2873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2875 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2877         * configure.in (--enable-lock-elision): Fix message text.
2878         * INSTALL: Regenerate.
2879         * configure: Regenerate.
2881 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2885 2013-07-03  Andreas Jaeger  <aj@suse.de>
2887         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2888         define.
2889         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2890         (ptrace_peeksiginfo_args): Add.
2891         (__ptrace_peeksiginfo_flags): Add.
2892         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2893         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2894         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2896 2013-07-03  Allan McRae  <allan@archlinux.org>
2898         * sysdeps/i386/fpu/libm-test-ulps: Update.
2900 2013-07-02  David S. Miller  <davem@davemloft.net>
2902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2904 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2908 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2910         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2913 2013-07-02  Andi Kleen <ak@linux.intel.com>
2915         * config.h.in (ENABLE_LOCK_ELISION): Add.
2916         * configure.in (--enable-lock-elision): Add option.
2917         * manual/install.texi: Document --enable lock elision.
2918         * configure: Regenerate
2919         * INSTALL: Regenerate.
2921 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2923         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2924         SSE4.2 strcasecmp for libc.a.
2925         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2927 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2929         [BZ #13304]
2930         * soft-fp/op-common.h (_FP_FMA): New macro.
2931         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2932         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2933         (_FP_MUL_MEAT_1_imm): ... here.
2934         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2935         (_FP_MUL_MEAT_1_wide): ... here.
2936         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2937         (_FP_MUL_MEAT_1_hard): ... here.
2938         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2939         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2940         (_FP_MUL_MEAT_2_wide): ... here.
2941         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2942         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2943         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2944         (_FP_MUL_MEAT_2_gmp): ... here.
2945         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2946         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2947         (_FP_MUL_MEAT_4_wide): ... here.
2948         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2949         (_FP_MUL_MEAT_4_gmp): ... here.
2950         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2951         (_FP_WFRACBITS_DW_S): Likewise.
2952         (_FP_WFRACXBITS_DW_S): Likewise.
2953         (_FP_HIGHBIT_DW_S): Likewise.
2954         (FP_FMA_S): Likewise.
2955         (_FP_FRAC_HIGH_DW_S): Likewise.
2956         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2957         (_FP_WFRACBITS_DW_D): Likewise.
2958         (_FP_WFRACXBITS_DW_D): Likewise.
2959         (_FP_HIGHBIT_DW_D): Likewise.
2960         (FP_FMA_D): Likewise.
2961         (_FP_FRAC_HIGH_DW_D): Likewise.
2962         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2963         (_FP_WFRACBITS_DW_E): Likewise.
2964         (_FP_WFRACXBITS_DW_E): Likewise.
2965         (_FP_HIGHBIT_DW_E): Likewise.
2966         (FP_FMA_E): Likewise.
2967         (_FP_FRAC_HIGH_DW_E): Likewise.
2968         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2969         (_FP_WFRACBITS_DW_Q): Likewise.
2970         (_FP_WFRACXBITS_DW_Q): Likewise.
2971         (_FP_HIGHBIT_DW_Q): Likewise.
2972         (FP_FMA_Q): Likewise.
2973         (_FP_FRAC_HIGH_DW_Q): Likewise.
2974         * soft-fp/fmasf4.c: New file.
2975         * soft-fp/fmadf4.c: Likewise.
2976         * soft-fp/fmatf4.c: Likewise.
2978 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2981         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2982         Silvermont.
2983         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2984         macro.
2985         (index_Slow_SSE4_2): Likewise.
2986         (index_Prefer_PMINUB_for_stringop): Likewise.
2987         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2988         bit_Slow_SSE4_2 is set.
2989         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2990         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2992 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2994         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2995         rtld_global._dl_hwcap2.
2996         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2997         POWER8.
2998         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2999         POWER8 feature descriptions defined in _dl_hwcap2.
3000         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3001         string handling for POWER8 feature bits.
3002         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3003         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3004         _dl_powerpc_cap_flags.
3005         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3006         * sysdeps/powerpc/rtld-global-offsets.sym
3007         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3008         _dl_hwcap2 in the rtld_global_ro structure.
3010 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3012         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3013         hardware capabilities in support of AT_HWCAP2.
3014         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3015         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3016         GLRO(dl_hwcap2).
3017         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3018         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3019         explicitly the unknown a_type display mechanism is used.
3020         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3021         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3022         struct member.
3023         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3024         to macro prototype for AT_HWCAP2 support.
3025         * sysdeps/i386/dl-procinfo.h: Likewise.
3026         * sysdeps/s390/dl-procinfo.h: Likewise.
3027         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3028         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3029         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3030         return -1 for unknown a_type display fallback.
3031         * sysdeps/sparc/dl-procinfo.h: Likewise.
3032         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3033         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3035 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3037         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3038         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3040 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3042         [BZ #12492]
3043         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3044         mprotect making __stack_prot writable.
3046 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3047             Joseph Myers  <joseph@codesourcery.com>
3049         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3050         as being properly aligned.
3052 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3054         * dlfcn/modstatic5.c: New file.
3055         * dlfcn/tststatic5.c: New file.
3056         * dlfcn/Makefile (tests): Add tststatic5.
3057         (tests-static): Likewise.
3058         (modules-names): Add modstatic5.
3059         (tststatic5-ENV): New variable.
3060         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3062         [BZ #15022]
3063         * elf/dl-support.c (_dl_main_map): New variable.
3064         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3065         (_dl_nns, _dl_load_adds): Set to 1.
3066         (_dl_initial_searchlist): Refer to _dl_main_map.
3067         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3068         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3069         call to _dl_get_origin.
3070         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3071         around call_map.
3072         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3073         * dlfcn/modstatic3.c: New file.
3074         * dlfcn/tststatic3.c: New file.
3075         * dlfcn/tststatic4.c: New file.
3076         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3077         (tests-static): Likewise.
3078         (modules-names): Add modstatic3.
3079         (tststatic3-ENV, tststatic4-ENV): New variables.
3080         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3081         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3083 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3085         * configure.in (CC): Require GCC version 4.4 or later.
3086         * configure: Regenerated.
3087         * manual/install.texi (Tools for Compilation): Update GCC version
3088         requirement.
3089         * INSTALL: Regenerated.
3091 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3093         [BZ #15674]
3094         * string/test-memcmp.c (check2): New.
3095         (main): Call check2.
3097         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3099 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3101         [BZ #15022]
3102         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3103         over to...
3104         (dl_open_worker) [!SHARED]: ... here.
3106 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3108         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3110 2013-06-25  Richard Henderson  <rth@redhat.com>
3112         * locale/programs/locarchive.c: Include <libc-internal.h>
3114 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3116         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3117         trailing whitespace removed.
3119 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3121         [BZ #10283]
3122         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3123         * locale/programs/locarchive.c: Include libc-mmap.h.
3124         (prepare_address_space): Take two new outputs (the mmap base and len).
3125         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3126         values.
3127         (create_archive): Declare new mmap base and len values for
3128         prepare_address_space, and store the result in ah.
3129         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3130         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3131         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3132         Declare new mmap base and len values for
3133         prepare_address_space, and store the result in new_ah.
3134         (open_archive): Declare new mmap base and len values for
3135         prepare_address_space, and store the result in ah.
3136         (close_archive): If ah->mmap_base is not NULL, use that and
3137         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3138         * sysdeps/generic/libc-mmap.h: New file.
3140 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3142         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3143         (ALIGN_UP): Likewise.
3144         (PTR_ALIGN_DOWN): Likewise.
3145         (PTR_ALIGN_UP): Likewise.
3147 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3149         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3150         entry mapped to PPC_PLATFORM_POWER8.
3151         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3152         POWER8.
3153         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3154         (_dl_string_platform): Add case for exporting platform position for
3155         POWER8.
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3157         search path to sysdeps/powerpc/powerpc32/power8 directory.
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3159         search path to sysdeps/powerpc/powerpc64/power8 directory.
3160         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3161         power7 directories.
3162         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3163         power7 directories.
3165 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3167         * INSTALL: Regenerate.
3169         * nscd/connections.c (nscd_init): Fix comment.
3171 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3173         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3175         [BZ #15667]
3176         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3177         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3179 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3181         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3182         DL_DST_REQ_STATIC.
3183         (DL_DST_REQ_STATIC): Remove macro.
3185 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3187         [BZ #7006]
3188         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3189         with a shift of 0 bits.
3191 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3193         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3194         $(tststatic-ENV).
3196 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3198         [BZ #15655]
3199         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3201 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3203         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3204         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3205         accepts -fno-tree-loop-distribute-patterns.
3206         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3207         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3208         recursive call.
3209         * string/memset.c (memset): Likewise.
3210         * string/test-memmove.c (simple_memmove): Disable loop transformation
3211         to library calls.
3212         * string/test-memset.c (simple_memset): Likewise.
3213         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3214         * benchtests/bench-memset.c (simple_memset): Likewise.
3215         * configure: Regenerated.
3217 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3219         * math/test-misc.c (main): Ignore fesetround failure when failures
3220         of subsequent rounding tests would be ignored.
3222         [BZ #15654]
3223         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3224         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3225         * math/fegetenv.c (__fegetenv): Return 0.
3226         * math/fegetexcept.c (fegetexcept): Return 0.
3227         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3228         FE_TONEAREST.
3229         * math/feholdexcpt.c (feholdexcept): Return 0.
3230         * math/fesetenv.c (__fesetenv): Return 0.
3231         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3232         argument FE_TONEAREST.
3233         * math/feupdateenv.c (__feupdateenv): Return 0.
3234         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3236 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3238         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3239         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3240         ($(objpfx)rtld-%.os rules): Use them.
3242 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3244         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3245         fields.
3247 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3249         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3250         length of target pattern, then descending length of dependency pattern.
3251         * configure.in (AWK): Require gawk 3.1.2 or newer.
3252         * manual/install.texi (Tools for Compilation): Say that we do.
3253         * configure: Regenerated.
3255         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3256         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3257         * scripts/sysd-rules.awk: ... this new script.
3258         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3259         than a glob-style pattern.
3261 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3263         * math/test-misc.c (main): Do not treat incorrectly rounded
3264         conversions as failure unless ROUNDING_TESTS passes.
3266 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3268         [BZ #15631]
3269         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3270         restore exception state around main square root computation, then
3271         check for inexactness explicitly.
3273         * math/libm-test.inc (fma_test_data): Add another test.
3275 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3277         * manual/threads.texi (Non-POSIX Extensions): New document
3278         node.  Document pthread_getattr_default_np and
3279         pthread_setattr_default_np.
3281         * Versions.def (libpthread): Add GLIBC_2.18.
3282         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3284         Likewise.
3285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3286         Likewise.
3287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3288         Likewise.
3289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3290         Likewise.
3291         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3292         Likewise.
3293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3294         Likewise.
3295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3296         Likewise.
3297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3298         Likewise.
3299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3300         Likewise.
3302 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3305         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3307 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3308             H.J. Lu  <hjl.tools@gmail.com>
3310         [BZ #15627]
3311         * sysdeps/x86_64/rtld-memset.c: Remove file.
3312         * sysdeps/x86_64/rtld-memset.S: New file.
3314 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3316         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3317         (test_in_one_mode): Take arguments for whether the rounding mode
3318         is supported for each floating-point type.
3319         (do_test): Pass new arguments to test_in_one_mode using
3320         ROUNDING_TESTS.
3322 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3324         * posix/tst-waitid.c (do_test): Distinguish different instances of
3325         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3326         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3327         before entering the kernel for waitpid.
3329 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3331         * NEWS: Fix note on clock function precision.  Text by Roland
3332         McGrath.
3334 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3336         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3337         it into place only when and if the sanity check passes.
3339 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3341         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3342         output for whether conversion result is exact.  Take argument
3343         indicating whether type is IBM long double.
3344         (round_for_all): Change need_exact field to ibm_ld.
3345         * stdlib/tst-strtod-round.c (struct exactness): New type.
3346         (struct test): Change bool ld_ok field to struct exactness exact.
3347         (TEST): Update all definitions for change to field.
3348         (tests): Regenerate array contents.
3349         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3350         field value.  Check for IBM long double here.
3351         (do_test): Update calls to test_in_one_mode.
3353 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3355         [BZ #12515]
3356         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3357         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3359 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3361         [BZ #15605]
3362         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3363         generated by the compiler on loop optimizations.
3364         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3365         general definitions.
3367 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3369         * math/bug-nextafter.c: Include <math-tests.h>.
3370         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3371         the relevant type.
3372         * math/bug-nexttoward.c: Include <math-tests.h>.
3373         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3374         the relevant type.
3375         * math/test-misc.c: Include <math-tests.h>.
3376         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3377         the relevant type.
3379 2013-06-12  Andreas Jaeger  <aj@suse.de>
3381         * po/ia.po: Update Interlingua translation from translation
3382         project.
3384 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3386         * include/fenv.h: Include stdbool.h.
3387         (struct rm_ctx): New structure.
3388         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3389         Define macro.
3390         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3391         (SET_RESTORE_ROUNDF): Likewise.
3392         (SET_RESTORE_ROUNDL): Likewise.
3393         (SET_RESTORE_ROUND_NOEX): Likewise.
3394         (SET_RESTORE_ROUND_NOEXF): Likewise.
3395         (SET_RESTORE_ROUND_NOEXL): Likewise.
3396         (SET_RESTORE_ROUND_53BIT): Likewise.
3397         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3398         (libc_feresetround_noexf_ctx): Likewise.
3399         (libc_feresetround_noexl_ctx): Likewise.
3400         (libc_feholdsetround_53bit_ctx): Likewise.
3401         (libc_feresetround_53bit_ctx): Likewise.
3402         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3403         (libc_feholdexcept_setround_sse_ctx): New function.
3404         (libc_fesetenv_sse_ctx): Likewise.
3405         (libc_feupdateenv_sse_ctx): Likewise.
3406         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3407         (libc_feholdexcept_setround_387_ctx): Likewise.
3408         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3409         (libc_feholdsetround_387_prec_ctx): Likewise.
3410         (libc_feholdsetround_387_ctx): Likewise.
3411         (libc_feholdsetround_387_53bit_ctx): Likewise.
3412         (libc_feholdsetround_sse_ctx): Likewise.
3413         (libc_feresetround_sse_ctx): Likewise.
3414         (libc_feresetround_387_ctx): Likewise.
3415         (libc_feupdateenv_387_ctx): Likewise.
3416         (libc_feholdexcept_setroundf_ctx): Define macro.
3417         (libc_fesetenvf_ctx): Likewise.
3418         (libc_feupdateenvf_ctx): Likewise.
3419         (libc_feholdsetroundf_ctx): Likewise.
3420         (libc_feresetroundf_ctx): Likewise.
3421         (libc_feholdexcept_setround_ctx): Likewise.
3422         (libc_fesetenv_ctx): Likewise.
3423         (libc_feupdateenv_ctx): Likewise.
3424         (libc_feholdsetround_ctx): Likewise.
3425         (libc_feresetround_ctx): Likewise.
3426         (libc_feholdexcept_setroundl_ctx): Likewise.
3427         (libc_feupdateenvl_ctx): Likewise.
3428         (libc_feholdsetroundl_ctx): Likewise.
3429         (libc_feresetroundl_ctx): Likewise.
3430         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3431         (libc_feresetround_53bit_ctx): Likewise.
3433 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3435         * locale/iso-639.def: Convert to UTF-8.
3437 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3439         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3440         (EXCEPTION_TESTS_double): Likewise.
3441         (EXCEPTION_TESTS_long_double): Likewise.
3442         (EXCEPTION_TESTS): Likewise.
3443         * math/libm-test.inc (test_exceptions): Only test exceptions if
3444         EXCEPTION_TESTS (FLOAT).
3446 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3448         * benchtests/Makefile (string-bench): Add strcpy_chk and
3449         stpcpy_chk.
3450         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3451         * benchtests/bench-stpcpy_chk.c: New file.
3452         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3453         * benchtests/bench-strcpy_chk.c: New file.
3454         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3455         code.
3456         (do_test): Likewise.
3458 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3460         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3461         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3462         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3463         with tabs where appropriate.
3464         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3465         dl-procinfo.h.
3466         [PPC_PLATFORM_PPC440]: Likewise.
3467         [PPC_PLATFORM_PPC464]: Likewise.
3468         [PPC_PLATFORM_PPC476]: Likewise.
3469         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3470         ppc464, and ppc476 platform strings merging from ports/
3471         dl-procinfo.h.
3473 2013-06-11  Andreas Schwab  <schwab@suse.de>
3475         [BZ #14991]
3476         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3477         (from_ucs4_idx): Regenerate.
3478         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3479         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3480         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3481         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3482         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3483         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3484         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3485         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3486         from FROM_LOOP and TO_LOOP specific macros.
3487         (BODY): Handle combining characters.
3488         * iconvdata/BIG5HKSCS.irreversible: Update.
3489         * iconvdata/BIG5HKSCS.precomposed: New file.
3490         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3491         characters.
3492         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3494 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3496         * include/sys/time.h: Fix indentation and add copyright header.
3498         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3499         (do_test): Likewise.
3500         * string/test-memchr.c (do_one_test): Likewise.
3501         (do_test): Likewise.
3502         * string/test-memcmp.c (do_one_test): Likewise.
3503         (do_test): Likewise.
3504         * string/test-memcpy.c (do_one_test): Likewise.
3505         (do_test): Likewise.
3506         * string/test-memmem.c (do_one_test): Likewise.
3507         (do_test): Likewise.
3508         (do_random_tests): Likewise.
3509         * string/test-memmove.c (do_one_test): Likewise.
3510         (do_test): Likewise.
3511         * string/test-memset.c (do_one_test): Likewise.
3512         (do_test): Likewise.
3513         * string/test-rawmemchr.c (do_one_test): Likewise.
3514         (do_test): Likewise.
3515         * string/test-strcasecmp.c (do_one_test): Likewise.
3516         (do_test): Likewise.
3517         * string/test-strcasestr.c (do_one_test): Likewise.
3518         (do_test): Likewise.
3519         * string/test-strcat.c (do_one_test): Likewise.
3520         (do_test): Likewise.
3521         * string/test-strchr.c (do_one_test): Likewise.
3522         (do_test): Likewise.
3523         * string/test-strcmp.c (do_one_test): Likewise.
3524         (do_test): Likewise.
3525         * string/test-strcpy.c (do_one_test): Likewise.
3526         (do_test): Likewise.
3527         * string/test-string.h: Likewise.
3528         (test_init): Likewise.
3529         * string/test-strlen.c (do_one_test): Likewise.
3530         (do_test): Likewise.
3531         * string/test-strncasecmp.c (do_one_test): Likewise.
3532         (do_test): Likewise.
3533         * string/test-strncat.c (do_one_test): Likewise.
3534         (do_test): Likewise.
3535         * string/test-strncmp.c (do_one_test): Likewise.
3536         (do_test_limit): Likewise.
3537         (do_test): Likewise.
3538         * string/test-strncpy.c (do_one_test): Likewise.
3539         (do_test): Likewise.
3540         * string/test-strnlen.c (do_one_test): Likewise.
3541         (do_test): Likewise.
3542         * string/test-strpbrk.c (do_one_test): Likewise.
3543         (do_test): Likewise.
3544         * string/test-strrchr.c (do_one_test): Likewise.
3545         (do_test): Likewise.
3546         * string/test-strspn.c (do_one_test): Likewise.
3547         (do_test): Likewise.
3548         * string/test-strstr.c (do_one_test): Likewise.
3549         (do_test): Likewise.
3551         * benchtests/Makefile (string-bench): Add string benchmarks.
3552         * benchtests/bench-bcopy-ifunc.c: New file.
3553         * benchtests/bench-bcopy.c: New file.
3554         * benchtests/bench-bzero-ifunc.c: New file.
3555         * benchtests/bench-bzero.c: New file.
3556         * benchtests/bench-memccpy-ifunc.c: New file.
3557         * benchtests/bench-memccpy.c: New file.
3558         * benchtests/bench-memchr-ifunc.c: New file.
3559         * benchtests/bench-memchr.c: New file.
3560         * benchtests/bench-memcmp-ifunc.c: New file.
3561         * benchtests/bench-memcmp.c: New file.
3562         * benchtests/bench-memmem-ifunc.c: New file.
3563         * benchtests/bench-memmem.c: New file.
3564         * benchtests/bench-memmove-ifunc.c: New file.
3565         * benchtests/bench-memmove.c: New file.
3566         * benchtests/bench-mempcpy-ifunc.c: New file.
3567         * benchtests/bench-mempcpy.c: New file.
3568         * benchtests/bench-memset-ifunc.c: New file.
3569         * benchtests/bench-memset.c: New file.
3570         * benchtests/bench-rawmemchr-ifunc.c: New file.
3571         * benchtests/bench-rawmemchr.c: New file.
3572         * benchtests/bench-stpcpy-ifunc.c: New file.
3573         * benchtests/bench-stpcpy.c: New file.
3574         * benchtests/bench-stpncpy-ifunc.c: New file.
3575         * benchtests/bench-stpncpy.c: New file.
3576         * benchtests/bench-strcasecmp-ifunc.c: New file.
3577         * benchtests/bench-strcasecmp.c: New file.
3578         * benchtests/bench-strcasestr-ifunc.c: New file.
3579         * benchtests/bench-strcasestr.c: New file.
3580         * benchtests/bench-strcat-ifunc.c: New file.
3581         * benchtests/bench-strcat.c: New file.
3582         * benchtests/bench-strchr-ifunc.c: New file.
3583         * benchtests/bench-strchr.c: New file.
3584         * benchtests/bench-strchrnul-ifunc.c: New file.
3585         * benchtests/bench-strchrnul.c: New file.
3586         * benchtests/bench-strcmp-ifunc.c: New file.
3587         * benchtests/bench-strcmp.c: New file.
3588         * benchtests/bench-strcpy-ifunc.c: New file.
3589         * benchtests/bench-strcpy.c: New file.
3590         * benchtests/bench-strcspn-ifunc.c: New file.
3591         * benchtests/bench-strcspn.c: New file.
3592         * benchtests/bench-strlen-ifunc.c: New file.
3593         * benchtests/bench-strlen.c: New file.
3594         * benchtests/bench-strncasecmp-ifunc.c: New file.
3595         * benchtests/bench-strncasecmp.c: New file.
3596         * benchtests/bench-strncat-ifunc.c: New file.
3597         * benchtests/bench-strncat.c: New file.
3598         * benchtests/bench-strncmp-ifunc.c: New file.
3599         * benchtests/bench-strncmp.c: New file.
3600         * benchtests/bench-strncpy-ifunc.c: New file.
3601         * benchtests/bench-strncpy.c: New file.
3602         * benchtests/bench-strnlen-ifunc.c: New file.
3603         * benchtests/bench-strnlen.c: New file.
3604         * benchtests/bench-strpbrk-ifunc.c: New file.
3605         * benchtests/bench-strpbrk.c: New file.
3606         * benchtests/bench-strrchr-ifunc.c: New file.
3607         * benchtests/bench-strrchr.c: New file.
3608         * benchtests/bench-strspn-ifunc.c: New file.
3609         * benchtests/bench-strspn.c: New file.
3610         * benchtests/bench-strstr-ifunc.c: New file.
3611         * benchtests/bench-strstr.c: New file.
3613         * benchtests/Makefile: Disable parallel execution of targets.
3614         (string-bench): Add memcpy.
3615         (benchset): New variable to store a list of benchmark sets.
3616         (bench-func): Renamed from bench.
3617         (bench-set): New target.
3618         (bench): Depend on bench-func and bench-set.
3619         * benchtests/README: Add section on benchmark sets.
3620         * benchtests/bench-memcpy-ifunc.c: New file.
3621         * benchtests/bench-memcpy.c: New file.
3622         * benchtests/bench-string.h: New file.
3624 2013-06-11  Andreas Schwab  <schwab@suse.de>
3626         [BZ #15577]
3627         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3628         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3629         values in the triple.
3630         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3631         terminator in the group key.
3633 2013-06-11  Andreas Jaeger  <aj@suse.de>
3635         * po/zh_TW.po: Update Chinese (traditional) translation from
3636         translation project.
3638 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3640         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3641         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3642         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3643         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3644         (clock_getcpuclockid): Likewise.
3645         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3646         Add weak_alias and libc_hidden_def.
3647         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3648         * rt/clock_gettime.c (clock_gettime): Rename to
3649         __clock_gettime.  Add weak_alias and libc_hidden_def.
3650         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3651         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3652         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3653         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3654         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3655         Likewise.
3656         * rt/clock_settime.c (clock_settime): Rename to
3657         __clock_settime.  Add weak_alias and libc_hidden_def.
3658         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3660 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3662         * mach/err_boot.sub: Remove trailing whitespace.
3663         * mach/err_ipc.sub: Likewise.
3664         * mach/err_mach.sub: Likewise.
3666         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3667         (ROUNDING_TESTS_double): Likewise.
3668         (ROUNDING_TESTS_long_double): Likewise.
3669         (ROUNDING_TESTS): Likewise.
3670         * math/libm-test.inc: Include <math-tests.h>.
3671         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3672         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3673         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3674         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3676 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3678         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3679         of assigning.
3681 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3683         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3684         otherwise empty TRANS lines.
3685         * sysdeps/gnu/errlist.c: Regenerated.
3687         * catgets/gencat.c (error_print): Use (void) in function
3688         definition.
3689         * crypt/crypt_util.c (__init_des): Likewise.
3690         * crypt/speeds.c (Stop): Likewise.
3691         (main): Likewise.
3692         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3693         * inet/ruserpass.c (token): Likewise.
3694         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3695         * intl/localealias.c (extend_alias_table): Likewise.
3696         * intl/plural-exp.c (init_germanic_plural): Likewise.
3697         * libio/fcloseall.c (__fcloseall): Likewise.
3698         * libio/genops.c (_IO_flush_all): Likewise.
3699         (_IO_flush_all_linebuffered): Likewise.
3700         (_IO_cleanup): Likewise.
3701         (_IO_iter_begin): Likewise.
3702         (_IO_iter_end): Likewise.
3703         (_IO_list_lock): Likewise.
3704         (_IO_list_unlock): Likewise.
3705         (_IO_list_resetlock): Likewise.
3706         * libio/getchar.c (getchar): Likewise.
3707         * libio/getchar_u.c (getchar_unlocked): Likewise.
3708         * libio/getwchar.c (getwchar): Likewise.
3709         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3710         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3711         * login/getpt.c (__getpt): Likewise.
3712         * login/tst-utmp.c (main): Likewise.
3713         * malloc/hooks.c (__malloc_check_init): Likewise.
3714         * malloc/malloc.c (__malloc_stats): Likewise.
3715         * malloc/mtrace.c (tr_break): Likewise.
3716         (mtrace): Likewise.
3717         (muntrace): Likewise.
3718         * misc/fstab.c (endfsent): Likewise.
3719         * misc/getclktck.c (__getclktck): Likewise.
3720         * misc/getdtsz.c (__getdtablesize): Likewise.
3721         * misc/gethostid.c (gethostid): Likewise.
3722         * misc/getpagesize.c (__getpagesize): Likewise.
3723         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3724         (__get_nprocs): Likewise.
3725         (__get_phys_pages): Likewise.
3726         (__get_avphys_pages): Likewise.
3727         * misc/getttyent.c (getttyent): Likewise.
3728         (setttyent): Likewise.
3729         (endttyent): Likewise.
3730         * misc/getusershell.c (getusershell): Likewise.
3731         (endusershell): Likewise.
3732         (setusershell): Likewise.
3733         (initshells): Likewise.
3734         * misc/hsearch.c (__hdestroy): Likewise.
3735         * misc/sync.c (sync): Likewise.
3736         * misc/syslog.c (closelog_internal): Likewise.
3737         (closelog): Likewise.
3738         * misc/ttyslot.c (ttyslot): Likewise.
3739         * misc/vhangup.c (vhangup): Likewise.
3740         * posix/fork.c (__fork): Likewise.
3741         * posix/getegid.c (__getegid): Likewise.
3742         * posix/geteuid.c (__geteuid): Likewise.
3743         * posix/getgid.c (__getgid): Likewise.
3744         * posix/getpid.c (__getpid): Likewise.
3745         * posix/getppid.c (__getppid): Likewise.
3746         * posix/getuid.c (__getuid): Likewise.
3747         * posix/pause.c (pause): Likewise.
3748         * posix/setpgrp.c (setpgrp): Likewise.
3749         * posix/setsid.c (__setsid): Likewise.
3750         * posix/test-vfork.c (noop): Likewise.
3751         * resolv/gethnamaddr.c (_endhtent): Likewise.
3752         (_gethtent): Likewise.
3753         (ht_endhostent): Likewise.
3754         (gethostent): Likewise.
3755         (dns_service): Likewise.
3756         * stdlib/drand48.c (drand48): Likewise.
3757         * stdlib/lrand48.c (lrand48): Likewise.
3758         * stdlib/mrand48.c (mrand48): Likewise.
3759         * stdlib/rand.c (rand): Likewise.
3760         * stdlib/random.c (__random): Likewise.
3761         * stdlib/setenv.c (clearenv): Likewise.
3762         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3763         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3764         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3765         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3766         (__get_nprocs): Likewise.
3767         (__get_phys_pages): Likewise.
3768         (__get_avphys_pages): Likewise.
3769         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3770         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3771         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3772         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3773         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3774         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3775         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3776         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3777         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3778         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3779         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3780         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3781         * sysdeps/posix/clock.c (clock): Likewise.
3782         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3783         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3784         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3785         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3786         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3788         (__get_nprocs_conf): Likewise.
3789         (__get_phys_pages): Likewise.
3790         (__get_avphys_pages): Likewise.
3791         * time/clock.c (clock): Likewise.
3792         * time/tzset.c (__tzname_max): Likewise.
3794 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3796         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3797         (__bswap_32): Do not use "register".
3798         * crypt/crypt.c (_ufc_doit_r): Likewise.
3799         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3800         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3801         * gmon/gmon.c (__monstartup): Likewise.
3802         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3803         * hurd/hurdmalloc.c (more_memory): Likewise.
3804         (malloc): Likewise.
3805         (free): Likewise.
3806         (realloc): Likewise.
3807         (malloc_fork_prepare): Likewise.
3808         (malloc_fork_parent): Likewise.
3809         (malloc_fork_child): Likewise.
3810         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3811         (_svcauth_des): Likewise.
3812         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3813         * inet/inet_net.c (inet_network): Likewise.
3814         * inet/inet_netof.c (inet_netof): Likewise.
3815         * inet/rcmd.c (__validuser2_sa): Likewise.
3816         * io/fts.c (fts_open): Likewise.
3817         (fts_load): Likewise.
3818         (fts_close): Likewise.
3819         (fts_read): Likewise.
3820         (fts_children): Likewise.
3821         (fts_build): Likewise.
3822         (fts_stat): Likewise.
3823         (fts_sort): Likewise.
3824         (fts_alloc): Likewise.
3825         (fts_lfree): Likewise.
3826         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3827         (_IO_file_xsgetn): Likewise.
3828         (_IO_file_xsgetn_mmap): Likewise.
3829         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3830         (_IO_cookie_write): Likewise.
3831         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3832         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3833         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3834         * malloc/obstack.c (_obstack_begin): Likewise.
3835         (_obstack_begin_1): Likewise.
3836         (_obstack_newchunk): Likewise.
3837         (_obstack_allocated_p): Likewise.
3838         (obstack_free): Likewise.
3839         (_obstack_memory_used): Likewise.
3840         * misc/getttyent.c (getttynam): Likewise.
3841         (getttyent): Likewise.
3842         (skip): Likewise.
3843         (value): Likewise.
3844         * misc/getusershell.c (initshells): Likewise.
3845         * misc/syslog.c (__vsyslog_chk): Likewise.
3846         * misc/ttyslot.c (ttyslot): Likewise.
3847         * nis/nis_hash.c (__nis_hash): Likewise.
3848         * posix/fnmatch_loop.c (FCT): Likewise.
3849         * posix/getconf.c (print_all): Likewise.
3850         (main): Likewise.
3851         * posix/getopt.c (exchange): Likewise.
3852         * posix/glob.c (globfree): Likewise.
3853         (prefix_array): Likewise.
3854         (__glob_pattern_type): Likewise.
3855         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3856         (NS_GET32): Likewise.
3857         (NS_PUT16): Likewise.
3858         (NS_PUT32): Likewise.
3859         * resolv/gethnamaddr.c (getanswer): Likewise.
3860         (gethostbyname2): Likewise.
3861         (gethostbyaddr): Likewise.
3862         (_gethtent): Likewise.
3863         (_gethtbyname2): Likewise.
3864         (_gethtbyaddr): Likewise.
3865         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3866         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3867         * resolv/res_init.c (__res_vinit): Likewise.
3868         (net_mask): Likewise.
3869         * resolv/res_mkquery.c (outchar): Likewise.
3870         (PRINT): Likewise.
3871         * stdio-common/printf_fp.c (outchar): Likewise.
3872         (PRINT): Likewise.
3873         * stdio-common/printf_fphex.c (outchar): Likewise.
3874         (PRINT): Likewise.
3875         * stdio-common/printf_size.c (outchar): Likewise.
3876         (PRINT): Likewise.
3877         * stdio-common/test_rdwr.c (main): Likewise.
3878         * stdio-common/tfformat.c (matches): Likewise.
3879         * stdio-common/vfprintf.c (outchar): Likewise.
3880         (printf_unknown): Likewise.
3881         (buffered_vfprintf): Likewise.
3882         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3883         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3884         (ReadFile): Likewise.
3885         * stdlib/qsort.c (SWAP): Likewise.
3886         (_quicksort): Likewise.
3887         * stdlib/setenv.c (__add_to_environ): Likewise.
3888         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3889         * stdlib/strtol_l.c (__strtol_l): Likewise.
3890         * stdlib/tst-strtod.c (main): Likewise.
3891         * stdlib/tst-strtol.c (main): Likewise.
3892         * stdlib/tst-strtoll.c (main): Likewise.
3893         * string/bits/string2.h (__strcmp_cc): Likewise.
3894         (__strcmp_cg): Likewise.
3895         (__strcspn_c1): Likewise.
3896         (__strcspn_c2): Likewise.
3897         (__strcspn_c3): Likewise.
3898         (__strspn_c1): Likewise.
3899         (__strspn_c2): Likewise.
3900         (__strspn_c3): Likewise.
3901         (__strsep_1c): Likewise.
3902         (__strsep_2c): Likewise.
3903         (__strsep_3c): Likewise.
3904         * string/memccpy.c (__memccpy): Likewise.
3905         * string/stpcpy.c (__stpcpy): Likewise.
3906         * string/strcmp.c (strcmp): Likewise.
3907         * string/strrchr.c (strrchr): Likewise.
3908         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3909         Likewise.
3910         * sysdeps/mach/hurd/getcwd.c
3911         (_hurd_canonicalize_directory_name_internal): Likewise.
3912         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3913         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3914         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3915         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3916         Likewise, in both definitions.
3917         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3918         definitions.
3919         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3920         64] (__bswap_64): Likewise.
3921         * time/test_time.c (main): Likewise.
3922         * time/tzfile.c (__tzfile_read): Likewise.
3923         (__tzfile_compute): Likewise.
3924         * time/tzset.c (__tzset_parse_tz): Likewise.
3925         (tzset_internal): Likewise.
3926         (compute_change): Likewise.
3927         * wcsmbs/wcscat.c (__wcscat): Likewise.
3928         * wcsmbs/wcschr.c (wcschr): Likewise.
3929         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3930         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3931         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3932         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3933         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3934         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3935         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3936         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3937         * wcsmbs/wmemset.c (wmemset): Likewise.
3939 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3941         * scripts/config.guess: Update to version 2013-05-16.
3942         * scripts/config.sub: Update to version 2013-04-24.
3943         * scripts/install-sh: Update to version 2011-11-20.07.
3944         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3945         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3947 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3949         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3950         * elf/sln.c: Likewise.
3951         * hurd/hurd/ioctl.h: Likewise.
3952         * hurd/hurdmalloc.c: Likewise.
3953         * hurd/xattr.c: Likewise.
3954         * include/shlib-compat.h: Likewise.
3955         * inet/ruserpass.c: Likewise.
3956         * libio/iofgets_u.c: Likewise.
3957         * libio/iofgetws_u.c: Likewise.
3958         * locale/programs/ld-identification.c: Likewise.
3959         * locale/programs/ld-time.c: Likewise.
3960         * mach/msg-destroy.c: Likewise.
3961         * nss/nss_files/files-netgrp.c: Likewise.
3962         * resolv/res_data.c: Likewise.
3963         * soft-fp/op-1.h: Likewise.
3964         * soft-fp/op-2.h: Likewise.
3965         * soft-fp/op-4.h: Likewise.
3966         * soft-fp/op-common.h: Likewise.
3967         * stdio-common/printf_fphex.c: Likewise.
3968         * stdlib/strtod_l.c: Likewise.
3969         * sunrpc/rpc/clnt.h: Likewise.
3970         * sysdeps/generic/framestate.c: Likewise.
3971         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3972         * sysdeps/i386/bsd-setjmp.S: Likewise.
3973         * sysdeps/i386/__longjmp.S: Likewise.
3974         * sysdeps/i386/setjmp.S: Likewise.
3975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3976         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3977         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3978         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3979         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3980         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3981         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3982         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3983         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3984         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3985         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3986         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3987         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3988         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3989         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3990         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3991         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3992         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3993         * sysdeps/ieee754/support.c: Likewise.
3994         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3995         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3996         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3997         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3998         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3999         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4000         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4001         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4002         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4003         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4004         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4005         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4006         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4007         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4008         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4009         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4010         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4013 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4015         * posix/transbug.c: Remove executable mode.
4017 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4019         * crypt/speeds.c: Remove trailing whitespace.
4020         * dlfcn/default.c: Likewise.
4021         * elf/ifuncdep2.c: Likewise.
4022         * elf/ifuncmain1.c: Likewise.
4023         * elf/ifuncmain1vis.c: Likewise.
4024         * elf/testobj.h: Likewise.
4025         * elf/tst-stackguard1.c: Likewise.
4026         * gmon/sys/gmon.h: Likewise.
4027         * hurd/hurdmsg.c: Likewise.
4028         * hurd/new-fd.c: Likewise.
4029         * hurd/ports-get.c: Likewise.
4030         * iconvdata/ibm1008_420.c: Likewise.
4031         * inet/tst-getni1.c: Likewise.
4032         * inet/tst-getni2.c: Likewise.
4033         * libio/ioungetc.c: Likewise.
4034         * libio/wfiledoalloc.c: Likewise.
4035         * manual/libm-err-tab.pl: Likewise.
4036         * math/w_dremf.c: Likewise.
4037         * misc/ftruncate.c: Likewise.
4038         * posix/bug-glob2.c: Likewise.
4039         * posix/tst-pcre.c: Likewise.
4040         * posix/wait4.c: Likewise.
4041         * resolv/README: Likewise.
4042         * resolv/res_debug.h: Likewise.
4043         * resolv/tst-inet_ntop.c: Likewise.
4044         * setjmp/bug269-setjmp.c: Likewise.
4045         * soft-fp/extended.h: Likewise.
4046         * soft-fp/op-1.h: Likewise.
4047         * soft-fp/op-2.h: Likewise.
4048         * soft-fp/op-4.h: Likewise.
4049         * soft-fp/op-8.h: Likewise.
4050         * soft-fp/testit.c: Likewise.
4051         * stdio-common/bug16.c: Likewise.
4052         * stdlib/random.c: Likewise.
4053         * sunrpc/rpcsvc/rquota.x: Likewise.
4054         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4055         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4056         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4057         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4058         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4059         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4060         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4061         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4062         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4063         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4064         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4065         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4066         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4067         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4068         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4069         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4070         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4071         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4072         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4073         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4074         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4075         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4076         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4077         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4078         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4080         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4082         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4083         * sysdeps/ieee754/s_lib_version.c: Likewise.
4084         * sysdeps/mach/hurd/check_fds.c: Likewise.
4085         * sysdeps/mach/hurd/getsockname.c: Likewise.
4086         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4087         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4088         * sysdeps/powerpc/bits/link.h: Likewise.
4089         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4090         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4091         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4092         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4093         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4094         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4095         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4096         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4097         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4098         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4099         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4100         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4101         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4102         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4103         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4104         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4105         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4106         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4107         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4108         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4109         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4110         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4111         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4112         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4113         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4114         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4115         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4116         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4117         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4118         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4119         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4120         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4121         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4122         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4123         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4124         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4125         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4126         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4127         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4128         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4129         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4130         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4131         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4132         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4133         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4134         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4135         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4136         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4137         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4138         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4141         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4142         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4143         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4144         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4145         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4146         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4147         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4148         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4149         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4150         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4151         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4152         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4153         * sysdeps/powerpc/sysdep.h: Likewise.
4154         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4155         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4156         * sysdeps/sh/dl-trampoline.S: Likewise.
4157         * sysdeps/sh/memset.S: Likewise.
4158         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4159         * sysdeps/sh/strlen.S: Likewise.
4160         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4161         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4162         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4163         * sysdeps/sparc/sparc32/rem.S: Likewise.
4164         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4165         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4166         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4167         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4168         * sysdeps/sparc/sparc32/urem.S: Likewise.
4169         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4170         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4171         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4172         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4173         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4174         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4175         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4176         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4177         * sysdeps/unix/bsd/times.c: Likewise.
4178         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4179         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4183         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4184         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4185         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4186         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4187         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4188         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4189         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4190         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4191         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4192         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4193         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4194         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4195         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4196         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4197         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4198         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4199         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4200         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4201         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4202         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4203         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4204         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4205         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4206         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4207         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4208         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4209         * sysdeps/x86_64/strcspn.S: Likewise.
4211 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4213         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4214         generated file.  Regenerate properly from gen-translit.pl.
4215         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4216         locale/C-translit.h.
4218 2013-06-05  Andreas Schwab  <schwab@suse.de>
4220         [BZ #15100]
4221         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4222         week as 6 instead of -1.
4223         * time/tst-strptime.c (day_tests): Add test case.
4225 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4227         * sysdeps/generic/math_private.h
4228         (libc_feholdexcept_setround_53bit): Replace with
4229         libc_feholdsetround_53bit.
4230         (libc_feupdateenv_53bit): Replace with
4231         libc_feresetround_53bit.
4232         (SET_RESTORE_ROUND_53BIT): Adjust.
4234 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4236         * string/test-strchrnul.c: Add copyright header.
4238         * posix/tst-getaddrinfo4.c: Increase test timeout.
4240 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4242         [BZ #15536]
4243         * math/libm-test.inc (MAX_EXP): Remove
4244         (MIN_EXP): Define.
4245         (ulp): Use MIN_EXP - MANT_DIG.
4246         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4248 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4250         * po/be.po: Revert last change.
4251         * po/zh_CN.po: Likewise.
4252         * po/header.pot: Likewise.
4254 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4256         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4257         link-libc-deps to empty as target-specific variable.
4258         * Makerules (link-libc-args): New variable.
4259         (libc-for-link): Likewise.
4260         (link-libc-deps): Likewise.
4261         (lib%.so): Depend on $(link-libc-deps).  Link with
4262         $(link-libc-args).
4263         (build-module): Link with $(link-libc-args).
4264         (build-module-asneeded): Likewise.
4265         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4266         list of objects.
4267         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4268         target-specific variable.
4269         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4270         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4271         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4272         libc.
4273         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4274         libc and ld.so.
4275         ($(objpfx)libpcprofile.so): Likewise.
4276         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4277         libc_nonshared.a.
4278         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4279         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4280         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4281         $(link-libc-deps).
4282         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4283         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4284         * login/Makefile ($(objpfx)libutil.so): Likewise.
4285         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4286         * math/Makefile ($(objpfx)libm.so): Likewise.
4287         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4288         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4289         variable instead of depending directly on libc.
4290         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4291         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4292         $(link-libc-deps).
4293         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4294         libc.
4295         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4296         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4297         ($(objpfx)libanl.so): Likewise.
4298         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4299         ld.so.
4300         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4301         $(link-libc-deps).
4302         * sysdeps/i386/fpu/Makefile: Remove file.
4303         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4304         ($(objpfx)libm.so): Remove dependency on ld.so.
4306 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4308         [BZ # 15553]
4309         * nis/yp_xdr.c (XDRMAXNAME): Define.
4310         (XDRMAXRECORD): Define.
4311         (xdr_domainname): Use XDRMAXNAME.
4312         (xdr_mapname): Likewise.
4313         (xdr_peername): Likewise.
4314         (xdr_keydat): Use XDRMAXRECORD.
4315         (xdr_valdat): Likewise.
4317 2013-05-30  Jeff Law  <law@redhat.com>
4319         [BZ #14256]
4320         * manual/errno.texi (ESTALE): Update to account for more than
4321         just NFS file systems.
4322         * sysdeps/gnu/errlist.c: Regenerated.
4324 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4326         [BZ #15465]
4327         * elf/Makefile (tests): Add tst-null-argv.
4328         (modules-names):  Add tst-null-argv-lib.
4329         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4330         (tst-null-argv-ENV): Set environment for tst-null-argv.
4331         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4332         (RTLD_PROGNAME): New macro.
4333         * elf/tst-null-argv.c: New test case.
4334         * elf/tst-null-argv-lib.c: Library for test case.
4335         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4336         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4337         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4338         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4339         * elf/dl-init.c (call_init): Likewise.
4340         (_dl_init): Likewise.
4341         * elf/dl-load.c (print_search_path): Likewise.
4342         (_dl_map_object): Likewise.
4343         * elf/dl-lookup.c (do_lookup_x): Likewise.
4344         (add_dependency): Likewise.
4345         (_dl_lookup_symbol_x): Likewise.
4346         (_dl_debug_bindings): Likewise.
4347         * elf/dl-open.c (_dl_show_scope): Likewise.
4348         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4349         * elf/dl-version.c (match_symbol): Likewise.
4350         (_dl_check_map_versions): Likewise.
4351         * elf/rtld.c (dl_main): Likewise.
4352         (print_unresolved): Use RTLD_PROGNAME.
4353         (print_missing_version): Likewise.
4354         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4355         (elf_machine_rela): Likewise.
4356         * sysdeps/powerpc/powerpc32/dl-machine.c
4357         (__process_machine_rela): Likewise.
4358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4359         Likewise.
4360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4361         Likewise.
4362         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4363         Likewise.
4364         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4365         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4366         Likewise.
4367         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4368         Likewise.
4369         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4371 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4373         * po/be.po: Add descriptive title.
4374         * po/zh_CN.po: Likewise.
4375         * po/header.pot: Likewise.
4377 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4379         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4380         error message.
4381         (enlarge_archive): Likewise.
4383 2013-05-28  Ben North  <ben@redfrontdoor.org>
4385         * manual/arith.texi (frexp): It is the magnitude of the return
4386         value which lies in [0.5, 1), not the return value itself.
4388 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4392 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4394         * stdio-common/bug26.c (main): Correct fscanf template.
4396         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4397         declare _dl_skip_args.
4399         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4400         Don't declare.
4402         * manual/platform.texi: Add missing @end deftypefun.
4404 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4406         [BZ #15529]
4407         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4408         bit of mantissa of 2^16382.
4409         * math/libm-test.inc (hypot_test_data): Add more tests.
4411         * math/libm-test.inc: Add drem and pow10 to list of tested
4412         functions.
4413         (pow10_test): New function.
4414         (drem_test): Likewise.
4415         (drem_test_tonearest): Likewise.
4416         (drem_test_towardzero): Likewise.
4417         (drem_test_downward): Likewise.
4418         (drem_test_upward): Likewise.
4419         (main): Call the new functions.
4421         * math/libm-test.inc (finite_test_data): Remove.
4422         (finite_test): Run tests from isfinite_test_data.
4423         (gamma_test_data): Remove.
4424         (gamma_test): Run tests from lgamma_test_data.
4425         * sysdeps/i386/fpu/libm-test-ulps: Update.
4426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4428 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4430         * manual/platform.texi: Add PowerPC PPR function set documentation.
4431         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4432         implementation.
4434 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4436         * math/libm-test.inc (MAX_EXP): Define.
4437         (ULPDIFF): Define.
4438         (ulp): New function.
4439         (check_float_internal): Use ULPDIFF.
4440         (cpow_test): Disable failing test.
4441         (check_ulp): Test ulp() implemetnation.
4442         (main): Call check_ulp before starting tests.
4444 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4446         * math/gen-libm-test.pl (generate_testfile): Do not handle
4447         START_DATA and END_DATA.
4448         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4449         END_DATA.
4450         (acos_tonearest_test_data): Likewise.
4451         (acos_towardzero_test_data): Likewise.
4452         (acos_downward_test_data): Likewise.
4453         (acos_upward_test_data): Likewise.
4454         (acosh_test_data): Likewise.
4455         (asin_test_data): Likewise.
4456         (asin_tonearest_test_data): Likewise.
4457         (asin_towardzero_test_data): Likewise.
4458         (asin_downward_test_data): Likewise.
4459         (asin_upward_test_data): Likewise.
4460         (asinh_test_data): Likewise.
4461         (atan_test_data): Likewise.
4462         (atanh_test_data): Likewise.
4463         (atan2_test_data): Likewise.
4464         (cabs_test_data): Likewise.
4465         (cacos_test_data): Likewise.
4466         (cacosh_test_data): Likewise.
4467         (carg_test_data): Likewise.
4468         (casin_test_data): Likewise.
4469         (casinh_test_data): Likewise.
4470         (catan_test_data): Likewise.
4471         (catanh_test_data): Likewise.
4472         (cbrt_test_data): Likewise.
4473         (ccos_test_data): Likewise.
4474         (ccosh_test_data): Likewise.
4475         (ceil_test_data): Likewise.
4476         (cexp_test_data): Likewise.
4477         (cimag_test_data): Likewise.
4478         (clog_test_data): Likewise.
4479         (clog10_test_data): Likewise.
4480         (conj_test_data): Likewise.
4481         (copysign_test_data): Likewise.
4482         (cos_test_data): Likewise.
4483         (cos_tonearest_test_data): Likewise.
4484         (cos_towardzero_test_data): Likewise.
4485         (cos_downward_test_data): Likewise.
4486         (cos_upward_test_data): Likewise.
4487         (cosh_test_data): Likewise.
4488         (cosh_tonearest_test_data): Likewise.
4489         (cosh_towardzero_test_data): Likewise.
4490         (cosh_downward_test_data): Likewise.
4491         (cosh_upward_test_data): Likewise.
4492         (cpow_test_data): Likewise.
4493         (cproj_test_data): Likewise.
4494         (creal_test_data): Likewise.
4495         (csin_test_data): Likewise.
4496         (csinh_test_data): Likewise.
4497         (csqrt_test_data): Likewise.
4498         (ctan_test_data): Likewise.
4499         (ctan_tonearest_test_data): Likewise.
4500         (ctan_towardzero_test_data): Likewise.
4501         (ctan_downward_test_data): Likewise.
4502         (ctan_upward_test_data): Likewise.
4503         (ctanh_test_data): Likewise.
4504         (ctanh_tonearest_test_data): Likewise.
4505         (ctanh_towardzero_test_data): Likewise.
4506         (ctanh_downward_test_data): Likewise.
4507         (ctanh_upward_test_data): Likewise.
4508         (erf_test_data): Likewise.
4509         (erfc_test_data): Likewise.
4510         (exp_test_data): Likewise.
4511         (exp_tonearest_test_data): Likewise.
4512         (exp_towardzero_test_data): Likewise.
4513         (exp_downward_test_data): Likewise.
4514         (exp_upward_test_data): Likewise.
4515         (exp10_test_data): Likewise.
4516         (exp2_test_data): Likewise.
4517         (expm1_test_data): Likewise.
4518         (fabs_test_data): Likewise.
4519         (fdim_test_data): Likewise.
4520         (finite_test_data): Likewise.
4521         (floor_test_data): Likewise.
4522         (fma_test_data): Likewise.
4523         (fma_towardzero_test_data): Likewise.
4524         (fma_downward_test_data): Likewise.
4525         (fma_upward_test_data): Likewise.
4526         (fmax_test_data): Likewise.
4527         (fmin_test_data): Likewise.
4528         (fmod_test_data): Likewise.
4529         (fpclassify_test_data): Likewise.
4530         (frexp_test_data): Likewise.
4531         (gamma_test_data): Likewise.
4532         (hypot_test_data): Likewise.
4533         (ilogb_test_data): Likewise.
4534         (isfinite_test_data): Likewise.
4535         (isgreater_test_data): Likewise.
4536         (isgreaterequal_test_data): Likewise.
4537         (isinf_test_data): Likewise.
4538         (isless_test_data): Likewise.
4539         (islessequal_test_data): Likewise.
4540         (islessgreater_test_data): Likewise.
4541         (isnan_test_data): Likewise.
4542         (isnormal_test_data): Likewise.
4543         (issignaling_test_data): Likewise.
4544         (isunordered_test_data): Likewise.
4545         (j0_test_data): Likewise.
4546         (j1_test_data): Likewise.
4547         (jn_test_data): Likewise.
4548         (ldexp_test_data): Likewise.
4549         (lgamma_test_data): Likewise.
4550         (lrint_test_data): Likewise.
4551         (lrint_tonearest_test_data): Likewise.
4552         (lrint_towardzero_test_data): Likewise.
4553         (lrint_downward_test_data): Likewise.
4554         (lrint_upward_test_data): Likewise.
4555         (llrint_test_data): Likewise.
4556         (llrint_tonearest_test_data): Likewise.
4557         (llrint_towardzero_test_data): Likewise.
4558         (llrint_downward_test_data): Likewise.
4559         (llrint_upward_test_data): Likewise.
4560         (log_test_data): Likewise.
4561         (log10_test_data): Likewise.
4562         (log1p_test_data): Likewise.
4563         (log2_test_data): Likewise.
4564         (logb_test_data): Likewise.
4565         (logb_downward_test_data): Likewise.
4566         (lround_test_data): Likewise.
4567         (llround_test_data): Likewise.
4568         (modf_test_data): Likewise.
4569         (nearbyint_test_data): Likewise.
4570         (nextafter_test_data): Likewise.
4571         (nexttoward_test_data): Likewise.
4572         (pow_test_data): Likewise.
4573         (pow_tonearest_test_data): Likewise.
4574         (pow_towardzero_test_data): Likewise.
4575         (pow_downward_test_data): Likewise.
4576         (pow_upward_test_data): Likewise.
4577         (remainder_test_data): Likewise.
4578         (remainder_tonearest_test_data): Likewise.
4579         (remainder_towardzero_test_data): Likewise.
4580         (remainder_downward_test_data): Likewise.
4581         (remainder_upward_test_data): Likewise.
4582         (remquo_test_data): Likewise.
4583         (rint_test_data): Likewise.
4584         (rint_tonearest_test_data): Likewise.
4585         (rint_towardzero_test_data): Likewise.
4586         (rint_downward_test_data): Likewise.
4587         (rint_upward_test_data): Likewise.
4588         (round_test_data): Likewise.
4589         (scalb_test_data): Likewise.
4590         (scalbn_test_data): Likewise.
4591         (scalbln_test_data): Likewise.
4592         (signbit_test_data): Likewise.
4593         (sin_test_data): Likewise.
4594         (sin_tonearest_test_data): Likewise.
4595         (sin_towardzero_test_data): Likewise.
4596         (sin_downward_test_data): Likewise.
4597         (sin_upward_test_data): Likewise.
4598         (sincos_test_data): Likewise.
4599         (sinh_test_data): Likewise.
4600         (sinh_tonearest_test_data): Likewise.
4601         (sinh_towardzero_test_data): Likewise.
4602         (sinh_downward_test_data): Likewise.
4603         (sinh_upward_test_data): Likewise.
4604         (sqrt_test_data): Likewise.
4605         (tan_test_data): Likewise.
4606         (tan_tonearest_test_data): Likewise.
4607         (tan_towardzero_test_data): Likewise.
4608         (tan_downward_test_data): Likewise.
4609         (tan_upward_test_data): Likewise.
4610         (tanh_test_data): Likewise.
4611         (tgamma_test_data): Likewise.
4612         (trunc_test_data): Likewise.
4613         (y0_test_data): Likewise.
4614         (y1_test_data): Likewise.
4615         (yn_test_data): Likewise.
4616         (significand_test_data): Likewise.
4618         * math/gen-libm-test.pl (@functions): Remove variable.
4619         (generate_testfile): Don't handle START and END lines.
4620         * math/libm-test.inc (START): New macro.
4621         (END): Likewise.
4622         (END_COMPLEX): Likewise.
4623         (acos_test): Use END macro without arguments.
4624         (acos_test_tonearest): Likewise.
4625         (acos_test_towardzero): Likewise.
4626         (acos_test_downward): Likewise.
4627         (acos_test_upward): Likewise.
4628         (acosh_test): Likewise.
4629         (asin_test): Likewise.
4630         (asin_test_tonearest): Likewise.
4631         (asin_test_towardzero): Likewise.
4632         (asin_test_downward): Likewise.
4633         (asin_test_upward): Likewise.
4634         (asinh_test): Likewise.
4635         (atan_test): Likewise.
4636         (atanh_test): Likewise.
4637         (atan2_test): Likewise.
4638         (cabs_test): Likewise.
4639         (cacos_test): Use END_COMPLEX macro without arguments.
4640         (cacosh_test): Likewise.
4641         (carg_test): Use END macro without arguments.
4642         (casin_test): Use END_COMPLEX macro without arguments.
4643         (casinh_test): Likewise.
4644         (catan_test): Likewise.
4645         (catanh_test): Likewise.
4646         (cbrt_test): Use END macro without arguments.
4647         (ccos_test): Use END_COMPLEX macro without arguments.
4648         (ccosh_test): Likewise.
4649         (ceil_test): Use END macro without arguments.
4650         (cexp_test): Use END_COMPLEX macro without arguments.
4651         (cimag_test): Use END macro without arguments.
4652         (clog_test): Use END_COMPLEX macro without arguments.
4653         (clog10_test): Likewise.
4654         (conj_test): Likewise.
4655         (copysign_test): Use END macro without arguments.
4656         (cos_test): Likewise.
4657         (cos_test_tonearest): Likewise.
4658         (cos_test_towardzero): Likewise.
4659         (cos_test_downward): Likewise.
4660         (cos_test_upward): Likewise.
4661         (cosh_test): Likewise.
4662         (cosh_test_tonearest): Likewise.
4663         (cosh_test_towardzero): Likewise.
4664         (cosh_test_downward): Likewise.
4665         (cosh_test_upward): Likewise.
4666         (cpow_test): Use END_COMPLEX macro without arguments.
4667         (cproj_test): Likewise.
4668         (creal_test): Use END macro without arguments.
4669         (csin_test): Use END_COMPLEX macro without arguments.
4670         (csinh_test): Likewise.
4671         (csqrt_test): Likewise.
4672         (ctan_test): Likewise.
4673         (ctan_test_tonearest): Likewise.
4674         (ctan_test_towardzero): Likewise.
4675         (ctan_test_downward): Likewise.
4676         (ctan_test_upward): Likewise.
4677         (ctanh_test): Likewise.
4678         (ctanh_test_tonearest): Likewise.
4679         (ctanh_test_towardzero): Likewise.
4680         (ctanh_test_downward): Likewise.
4681         (ctanh_test_upward): Likewise.
4682         (erf_test): Use END macro without arguments.
4683         (erfc_test): Likewise.
4684         (exp_test): Likewise.
4685         (exp_test_tonearest): Likewise.
4686         (exp_test_towardzero): Likewise.
4687         (exp_test_downward): Likewise.
4688         (exp_test_upward): Likewise.
4689         (exp10_test): Likewise.
4690         (exp2_test): Likewise.
4691         (expm1_test): Likewise.
4692         (fabs_test): Likewise.
4693         (fdim_test): Likewise.
4694         (finite_test): Likewise.
4695         (floor_test): Likewise.
4696         (fma_test): Likewise.
4697         (fma_test_towardzero): Likewise.
4698         (fma_test_downward): Likewise.
4699         (fma_test_upward): Likewise.
4700         (fmax_test): Likewise.
4701         (fmin_test): Likewise.
4702         (fmod_test): Likewise.
4703         (fpclassify_test): Likewise.
4704         (frexp_test): Likewise.
4705         (gamma_test): Likewise.
4706         (hypot_test): Likewise.
4707         (ilogb_test): Likewise.
4708         (isfinite_test): Likewise.
4709         (isgreater_test): Likewise.
4710         (isgreaterequal_test): Likewise.
4711         (isinf_test): Likewise.
4712         (isless_test): Likewise.
4713         (islessequal_test): Likewise.
4714         (islessgreater_test): Likewise.
4715         (isnan_test): Likewise.
4716         (isnormal_test): Likewise.
4717         (issignaling_test): Likewise.
4718         (isunordered_test): Likewise.
4719         (j0_test): Likewise.
4720         (j1_test): Likewise.
4721         (jn_test): Likewise.
4722         (ldexp_test): Likewise.
4723         (lgamma_test): Likewise.
4724         (lrint_test): Likewise.
4725         (lrint_test_tonearest): Likewise.
4726         (lrint_test_towardzero): Likewise.
4727         (lrint_test_downward): Likewise.
4728         (lrint_test_upward): Likewise.
4729         (llrint_test): Likewise.
4730         (llrint_test_tonearest): Likewise.
4731         (llrint_test_towardzero): Likewise.
4732         (llrint_test_downward): Likewise.
4733         (llrint_test_upward): Likewise.
4734         (log_test): Likewise.
4735         (log10_test): Likewise.
4736         (log1p_test): Likewise.
4737         (log2_test): Likewise.
4738         (logb_test): Likewise.
4739         (logb_test_downward): Likewise.
4740         (lround_test): Likewise.
4741         (llround_test): Likewise.
4742         (modf_test): Likewise.
4743         (nearbyint_test): Likewise.
4744         (nextafter_test): Likewise.
4745         (nexttoward_test): Likewise.
4746         (pow_test): Likewise.
4747         (pow_test_tonearest): Likewise.
4748         (pow_test_towardzero): Likewise.
4749         (pow_test_downward): Likewise.
4750         (pow_test_upward): Likewise.
4751         (remainder_test): Likewise.
4752         (remainder_test_tonearest): Likewise.
4753         (remainder_test_towardzero): Likewise.
4754         (remainder_test_downward): Likewise.
4755         (remainder_test_upward): Likewise.
4756         (remquo_test): Likewise.
4757         (rint_test): Likewise.
4758         (rint_test_tonearest): Likewise.
4759         (rint_test_towardzero): Likewise.
4760         (rint_test_downward): Likewise.
4761         (rint_test_upward): Likewise.
4762         (round_test): Likewise.
4763         (scalb_test): Likewise.
4764         (scalbn_test): Likewise.
4765         (scalbln_test): Likewise.
4766         (signbit_test): Likewise.
4767         (sin_test): Likewise.
4768         (sin_test_tonearest): Likewise.
4769         (sin_test_towardzero): Likewise.
4770         (sin_test_downward): Likewise.
4771         (sin_test_upward): Likewise.
4772         (sincos_test): Likewise.
4773         (sinh_test): Likewise.
4774         (sinh_test_tonearest): Likewise.
4775         (sinh_test_towardzero): Likewise.
4776         (sinh_test_downward): Likewise.
4777         (sinh_test_upward): Likewise.
4778         (sqrt_test): Likewise.
4779         (tan_test): Likewise.
4780         (tan_test_tonearest): Likewise.
4781         (tan_test_towardzero): Likewise.
4782         (tan_test_downward): Likewise.
4783         (tan_test_upward): Likewise.
4784         (tanh_test): Likewise.
4785         (tgamma_test): Likewise.
4786         (trunc_test): Likewise.
4787         (y0_test): Likewise.
4788         (y1_test): Likewise.
4789         (yn_test): Likewise.
4790         (significand_test): Likewise.
4792 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4794         [BZ #15381]
4795         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4797 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4799         [BZ #14894]
4800         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4801         __ppc_mdoio and __ppc_mdoom.
4802         * manual/platform.texi: Document new functions __ppc_yield,
4803         __ppc_mdoio and __ppc_mdoom.
4805 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4807         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4808         (main): Mention "tls" pseudo-hwcap is legacy.
4809         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4811 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4813         * math/gen-libm-test.pl (parse_args): Output only string of
4814         arguments as text for test name, not full call or descriptions of
4815         tests for extra outputs.
4816         (generate_testfile): Do not pass function name to parse_args.
4817         Generate this_func variable from START.
4818         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4819         field to arg_str.
4820         (struct test_ff_f_data): Likewise.
4821         (test_ff_f_data_nexttoward): Likewise.
4822         (struct test_fi_f_data): Likewise.
4823         (struct test_fl_f_data): Likewise.
4824         (struct test_if_f_data): Likewise.
4825         (struct test_fff_f_data): Likewise.
4826         (struct test_c_f_data): Likewise.
4827         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4828         (struct test_fF_f1_data): Likewise.
4829         (struct test_ffI_f1_data): Likewise.
4830         (struct test_c_c_data): Rename test_name field to arg_str.
4831         (struct test_cc_c_data): Likewise.
4832         (struct test_f_i_data): Likewise.
4833         (struct test_ff_i_data): Likewise.
4834         (struct test_f_l_data): Likewise.
4835         (struct test_f_L_data): Likewise.
4836         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4837         and extra2_name.
4838         (COMMON_TEST_SETUP): New macro.
4839         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4840         (COMMON_TEST_CLEANUP): Likewise.
4841         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4842         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4843         macros.
4844         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4845         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4846         macros.
4847         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4848         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4849         cleanup macros.
4850         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4851         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4852         macros.
4853         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4854         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4855         macros.
4856         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4857         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4858         cleanup macros.
4859         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4860         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4861         cleanup macros.
4862         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4863         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4864         cleanup macros.
4865         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4866         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4867         macros.
4868         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4869         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4870         macros.
4871         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4872         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4873         macros.
4874         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4875         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4876         cleanup macros.
4877         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4878         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4879         cleanup macros.
4880         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4881         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4882         macros.
4883         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4884         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4885         cleanup macros.
4886         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4887         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4888         macros.
4889         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4890         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4891         macros.
4892         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4893         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4894         cleanup macros.
4895         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4897 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4899         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4900         to _sifields.sigfault.
4901         (si_addr_lsb): Define new macro.
4902         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4903         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4904         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4906 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4908         [BZ #15441]
4909         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4910         returns -1.
4911         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4912         null return -1.
4913         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4914         loading the domain.
4916 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4918         * math/gen-libm-test.pl (parse_args): Do not include expected
4919         result in test name.
4920         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4921         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4922         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4923         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4924         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4927 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4929         * benchtests/Makefile: Sort function entries.
4931         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4932         tanh, asinh, acosh, atanh.
4933         * benchtests/acos-inputs: New file.
4934         * benchtests/acosh-inputs: New file.
4935         * benchtests/asin-inputs: New file.
4936         * benchtests/asinh-inputs: New file.
4937         * benchtests/atanh-inputs: New file.
4938         * benchtests/cosh-inputs: New file.
4939         * benchtests/log-inputs: New file.
4940         * benchtests/sinh-inputs: New file.
4941         * benchtests/tanh-inputs: New file.
4943 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4945         [BZ #15339]
4946         * posix/tst-getaddrinfo4.c: New test.
4947         * posix/Makefile (tests): Add it.
4949 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4951         [BZ #15339]
4952         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4953         when no services were used.
4954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4955         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4957 2013-05-21  Andreas Schwab  <schwab@suse.de>
4959         [BZ #15014]
4960         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4961         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4962         successful.
4963         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4964         redundant variable declarations and reallocation of buffer when
4965         parsing as IPv6 address.  Always set NSS status when called from
4966         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4967         buffer too small.  Correct computation of needed size.
4968         * nss/Makefile (tests): Add test-digits-dots.
4969         * nss/test-digits-dots.c: New test.
4971 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4973         * benchtests/Makefile: Remove instructions for adding
4974         benchmark tests.
4975         * benchtests/README: New file to explain how to execute and
4976         enhance the benchmark tests.
4978 2013-05-21  Andreas Schwab  <schwab@suse.de>
4980         [BZ #15493]
4981         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4982         * setjmp/tst-sigsetjmp.c: New test.
4984 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4986         * sysdeps/x86_64/memset.S (memset): New implementation.
4987         (__bzero): Likewise.
4988         (__memset_tail): New function.
4990 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4992         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4993         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4994         __memcpy_sse2_unaligned ifunc selection.
4995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4996         Add memcpy-sse2-unaligned.S.
4997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4998         Add: __memcpy_sse2_unaligned.
5000 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5002         [BZ #15490]
5003         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5004         math_force_eval before restoring floating-point envrionment.
5005         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5006         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5007         Likewise.
5008         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5009         <math_private.h>.
5010         (__nearbyintl): Use math_force_eval before restoring
5011         floating-point environment.
5012         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5014         * math/gen-libm-test.pl (special_functions): Remove.
5015         (parse_args): Don't handle TEST_extra.  Handle functions with no
5016         return value.
5017         * math/libm-test.inc (struct test_sincos_data): Replace with
5018         struct test_fFF_11_data.
5019         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5020         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5021         (sincos_test_data): Change element type to struct
5022         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5023         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5024         RUN_TEST_LOOP_sincos.
5025         * math/README.libm-test: Don't mention special handling of
5026         individual functions.
5027         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5028         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5029         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5030         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5031         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5034         * math/gen-libm-test.pl (get_variable): Remove function.
5035         (parse_args): Don't show pointer parameters to call in test
5036         names.  Use "extra output N" in test names for extra outputs
5037         rather than naming variables.
5039 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5041         [BZ #15488]
5042         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5043         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5044         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5045         double tests.
5046         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5047         disable.
5048         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5049         check_long_double.
5051         * math/gen-libm-test.pl (@tests): Remove variable.
5052         ($count): Likewise.
5053         (new_test): Remove function.
5054         (show_exceptions): New function.
5055         (special_functions): Use show_exceptions instead of new_test.
5056         (parse_args): Likewise.
5057         (generate_testfile): Pass only function name in generated call to
5058         print_max_error or print_complex_max_error.
5059         (get_ulps): Do not handle complex tests specially.
5060         (output_test): Rename to ...
5061         (get_all_ulps_for_test): ... this.  Return a string rather than
5062         printing to a file.  Require ulps to be present.
5063         (output_ulps): Generate arrays rather than #defines.
5064         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5065         (struct ulp_data): New type.
5066         (BUILD_COMPLEX_ULP): Remove macro.
5067         (compare_ulp_data): New function.
5068         (find_ulps): Likewise.
5069         (find_test_ulps): Likewise.
5070         (find_function_ulps): Likewise.
5071         (find_complex_function_ulps): Likewise.
5072         (print_max_error): Determine allowed ulps using
5073         find_function_ulps.
5074         (print_complex_max_error): Determine allowed ulps using
5075         find_complex_function_ulps.
5076         (check_float_internal): Determine max ulps using find_test_ulps.
5077         (check_float): Do not take max_ulp parameter.  Update call to
5078         check_float_internal.
5079         (check_complex): Likewise.
5080         (check_int): Do not take max_ulp parameter.
5081         (check_long): Likewise.
5082         (check_bool): Likewise.
5083         (check_longlong): Likewise.
5084         (struct test_f_f_data): Remove max_ulp field.
5085         (struct test_ff_f_data): Likewise.
5086         (struct test_ff_f_data_nexttoward): Likewise.
5087         (struct test_fi_f_data): Likewise.
5088         (struct test_fl_f_data): Likewise.
5089         (struct test_if_f_data): Likewise.
5090         (struct test_fff_f_data): Likewise.
5091         (struct test_c_f_data): Likewise.
5092         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5093         (struct test_fF_f1_data): Likewise.
5094         (struct test_ffI_f1_data): Likewise.
5095         (struct test_c_c_data): Remove max_ulp field.
5096         (struct test_cc_c_data): Likewise.
5097         (struct test_f_i_data): Likewise.
5098         (struct test_ff_i_data): Likewise.
5099         (struct test_f_l_data): Likewise.
5100         (struct test_f_L_data): Likewise.
5101         (struct test_sincos_data): Likewise.
5102         (RUN_TEST_f_f): Do not handle ulps.
5103         (RUN_TEST_LOOP_f_f): Likewise.
5104         (RUN_TEST_2_f): Likewise.
5105         (RUN_TEST_LOOP_2_f): Likewise.
5106         (RUN_TEST_fff_f): Likewise.
5107         (RUN_TEST_LOOP_fff_f): Likewise.
5108         (RUN_TEST_c_f): Likewise.
5109         (RUN_TEST_LOOP_c_f): Likewise.
5110         (RUN_TEST_f_f1): Likewise.
5111         (RUN_TEST_LOOP_f_f1): Likewise.
5112         (RUN_TEST_fF_f1): Likewise.
5113         (RUN_TEST_LOOP_fF_f1): Likewise.
5114         (RUN_TEST_fI_f1): Likewise.
5115         (RUN_TEST_LOOP_fI_f1): Likewise.
5116         (RUN_TEST_ffI_f1): Likewise.
5117         (RUN_TEST_LOOP_ffI_f1): Likewise.
5118         (RUN_TEST_c_c): Likewise.
5119         (RUN_TEST_LOOP_c_c): Likewise.
5120         (RUN_TEST_cc_c): Likewise.
5121         (RUN_TEST_LOOP_cc_c): Likewise.
5122         (RUN_TEST_f_i): Likewise.
5123         (RUN_TEST_LOOP_f_i): Likewise.
5124         (RUN_TEST_f_i_tg): Likewise.
5125         (RUN_TEST_LOOP_f_i_tg): Likewise.
5126         (RUN_TEST_ff_i_tg): Likewise.
5127         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5128         (RUN_TEST_f_b): Likewise.
5129         (RUN_TEST_LOOP_f_b): Likewise.
5130         (RUN_TEST_f_b_tg): Likewise.
5131         (RUN_TEST_LOOP_f_b_tg): Likewise.
5132         (RUN_TEST_f_l): Likewise.
5133         (RUN_TEST_LOOP_f_l): Likewise.
5134         (RUN_TEST_f_L): Likewise.
5135         (RUN_TEST_LOOP_f_L): Likewise.
5136         (RUN_TEST_sincos): Likewise.
5137         (RUN_TEST_LOOP_sincos): Likewise.
5139 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5141         [BZ #15480]
5142         [BZ #15485]
5143         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5144         main case of finite arguments, set rounding mode to FE_TONEAREST
5145         and discard exceptions.
5146         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5147         exceptions.
5148         (remainder_tonearest_test_data): New variable.
5149         (remainder_test_tonearest): New function.
5150         (remainder_towardzero_test_data): New variable.
5151         (remainder_test_towardzero): New function.
5152         (remainder_downward_test_data): New variable.
5153         (remainder_test_downward): New function.
5154         (remainder_upward_test_data): New variable.
5155         (remainder_test_upward): New function.
5156         (main): Call the new test functions.
5158         * math/libm-test.inc (struct test_f_f1_data): Remove field
5159         extra_init.
5160         (struct test_fF_f1_data): Likewise.
5161         (struct test_ffI_f1_data): Likewise.
5162         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5163         based on value of EXTRA_EXPECTED.
5164         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5165         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5166         EXTRA_VAR based on value of EXTRA_EXPECTED.
5167         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5168         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5169         EXTRA_VAR based on value of EXTRA_EXPECTED.
5170         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5171         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5172         EXTRA_VAR based on value of EXTRA_EXPECTED.
5173         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5174         * math/gen-libm-test.pl (parse_args): Don't output initializers
5175         for extra output values.
5177         * math/libm-test.inc (check_int): Expect result to be exactly
5178         equal to expected value and do not handle ulps.
5179         (check_long): Likewise.
5180         (check_longlong): Likewise.
5182         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5183         exceptions.
5184         (cimag_test_data): Likewise.
5185         (conj_test_data): Likewise.
5186         (copysign_test_data): Likewise.
5187         (cproj_test_data): Likewise.
5188         (creal_test_data): Likewise.
5189         (fabs_test_data): Likewise.
5190         (fdim_test_data): Likewise.
5191         (finite_test_data): Likewise.
5192         (floor_test_data): Likewise.
5193         (fmax_test_data): Likewise.
5194         (fmin_test_data): Likewise.
5195         (fmod_test_data): Likewise.
5196         (fpclassify_test_data): Likewise.
5197         (frexp_test_data): Likewise.
5198         (ilogb_test_data): Likewise.
5199         (isfinite_test_data): Likewise.
5200         (isgreater_test_data): Likewise.
5201         (isgreaterequal_test_data): Likewise.
5202         (isinf_test_data): Likewise.
5203         (isless_test_data): Likewise.
5204         (islessequal_test_data): Likewise.
5205         (islessgreater_test_data): Likewise.
5206         (isnan_test_data): Likewise.
5207         (isnormal_test_data): Likewise.
5208         (issignaling_test_data): Likewise.
5209         (isunordered_test_data): Likewise.
5210         (ldexp_test_data): Likewise.
5211         (lrint_test_data): Likewise.
5212         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5213         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5214         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5215         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5216         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5217         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5218         test input.
5219         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5220         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5221         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5222         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5223         that test input.
5224         (lrint_downward_test_data): Test for "inexact" exceptions.
5225         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5226         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5227         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5228         test input.
5229         (lrint_upward_test_data): Test for "inexact" exceptions.
5230         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5231         test input.
5232         (llrint_test_data): Test for "inexact" exceptions.
5233         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5234         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5235         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5236         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5237         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5238         (llrint_downward_test_data): Test for "inexact" exceptions.
5239         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5240         (llrint_upward_test_data): Test for "inexact" exceptions.
5241         (logb_test_data): Likewise.
5242         (logb_downward_test_data): Likewise.
5243         (nextafter_test_data): Likewise.
5244         (nexttoward_test_data): Likewise.
5245         (remainder_test_data): Likewise.
5246         (remquo_test_data): Likewise.
5247         (scalbn_test_data): Likewise.
5248         (scalbln_test_data): Likewise.
5249         (signbit_test_data): Likewise.
5250         (sqrt_test_data): Likewise.
5251         (significand_test_data): Likewise.
5253 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5255         [BZ #15424]
5256         * benchtests/bench-modf.c (struct args): Mark arg0 as
5257         volatile.
5258         * scripts/bench.pl: Mark members of struct args as volatile.
5260 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5262         [BZ # 15497]
5263         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5264         negative infinity on POWER6 or lower.
5265         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5267 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5269         [BZ #15442]
5270         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5271         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5272         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5273         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5274         (_FP_SETQNAN): New macro.
5275         (_FP_SETQNAN_SEMIRAW): Likewise.
5276         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5277         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5278         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5279         (FP_EXTEND): Use _FP_FRAC_SNANP.
5280         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5281         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5282         into account.
5283         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5284         New macro.
5285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5286         Likewise.
5288 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5290         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5291         with DIVIDE_BY_ZERO_EXCEPTION.
5292         (gamma_test_data): Likewise.
5293         (lgamma_test_data): Likewise.
5294         (log_test_data): Likewise.
5295         (log10_test_data): Likewise.
5296         (log2_test_data): Likewise.
5297         (tgamma_test_data): Likewise.
5299         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5300         (acos_test_tonearest): Likewise.
5301         (acos_test_towardzero): Likewise.
5302         (acos_test_downward): Likewise.
5303         (acos_test_upward): Likewise.
5304         (acosh_test): Likewise.
5305         (asin_test): Likewise.
5306         (asin_test_tonearest): Likewise.
5307         (asin_test_towardzero): Likewise.
5308         (asin_test_downward): Likewise.
5309         (asin_test_upward): Likewise.
5310         (asinh_test): Likewise.
5311         (atan_test): Likewise.
5312         (atanh_test): Likewise.
5313         (atan2_test): Likewise.
5314         (cabs_test): Likewise.
5315         (cacos_test): Likewise.
5316         (cacosh_test): Likewise.
5317         (casin_test): Likewise.
5318         (casinh_test): Likewise.
5319         (catan_test): Likewise.
5320         (catanh_test): Likewise.
5321         (cbrt_test): Likewise.
5322         (ccos_test): Likewise.
5323         (ccosh_test): Likewise.
5324         (cexp_test): Likewise.
5325         (clog_test): Likewise.
5326         (clog10_test): Likewise.
5327         (cos_test): Likewise.
5328         (cos_test_tonearest): Likewise.
5329         (cos_test_towardzero): Likewise.
5330         (cos_test_downward): Likewise.
5331         (cos_test_upward): Likewise.
5332         (cosh_test): Likewise.
5333         (cosh_test_tonearest): Likewise.
5334         (cosh_test_towardzero): Likewise.
5335         (cosh_test_downward): Likewise.
5336         (cosh_test_upward): Likewise.
5337         (cpow_test): Likewise.
5338         (csin_test): Likewise.
5339         (csinh_test): Likewise.
5340         (csqrt_test): Likewise.
5341         (ctan_test): Likewise.
5342         (ctan_test_tonearest): Likewise.
5343         (ctan_test_towardzero): Likewise.
5344         (ctan_test_downward): Likewise.
5345         (ctan_test_upward): Likewise.
5346         (ctanh_test): Likewise.
5347         (ctanh_test_tonearest): Likewise.
5348         (ctanh_test_towardzero): Likewise.
5349         (ctanh_test_downward): Likewise.
5350         (ctanh_test_upward): Likewise.
5351         (erf_test): Likewise.
5352         (erfc_test): Likewise.
5353         (exp_test): Likewise.
5354         (exp_test_tonearest): Likewise.
5355         (exp_test_towardzero): Likewise.
5356         (exp_test_downward): Likewise.
5357         (exp_test_upward): Likewise.
5358         (exp10_test): Likewise.
5359         (exp2_test): Likewise.
5360         (expm1_test): Likewise.
5361         (fmod_test): Likewise.
5362         (gamma_test): Likewise.
5363         (hypot_test): Likewise.
5364         (j0_test): Likewise.
5365         (j1_test): Likewise.
5366         (jn_test): Likewise.
5367         (lgamma_test): Likewise.
5368         (log_test): Likewise.
5369         (log10_test): Likewise.
5370         (log1p_test): Likewise.
5371         (log2_test): Likewise.
5372         (logb_test_downward): Likewise.
5373         (pow_test): Likewise.
5374         (pow_test_tonearest): Likewise.
5375         (pow_test_towardzero): Likewise.
5376         (pow_test_downward): Likewise.
5377         (pow_test_upward): Likewise.
5378         (remainder_test): Likewise.
5379         (remquo_test): Likewise.
5380         (sin_test): Likewise.
5381         (sin_test_tonearest): Likewise.
5382         (sin_test_towardzero): Likewise.
5383         (sin_test_downward): Likewise.
5384         (sin_test_upward): Likewise.
5385         (sincos_test): Likewise.
5386         (sinh_test): Likewise.
5387         (sinh_test_tonearest): Likewise.
5388         (sinh_test_towardzero): Likewise.
5389         (sinh_test_downward): Likewise.
5390         (sinh_test_upward): Likewise.
5391         (sqrt_test): Likewise.
5392         (tan_test): Likewise.
5393         (tan_test_tonearest): Likewise.
5394         (tan_test_towardzero): Likewise.
5395         (tan_test_downward): Likewise.
5396         (tan_test_upward): Likewise.
5397         (tanh_test): Likewise.
5398         (tgamma_test): Likewise.
5399         (y0_test): Likewise.
5400         (y1_test): Likewise.
5401         (yn_test): Likewise.
5403         * math/gen-libm-test.pl (adjust_arg): Remove function.
5404         (special_function): Remove argument $in_func.  Only handle
5405         generating output for tables of tests, not inside functions.
5406         (parse_args): Likewise.
5407         (generate_testfile): Remove variable $in_func.  Update call to
5408         parse_args.
5409         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5410         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5411         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5412         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5413         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5414         (MAX_VALUE_INIT): Rename macro to max_value.
5415         (MIN_VALUE_INIT): Rename macro to min_value.
5416         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5417         (plus_zero): Remove variable.
5418         (minus_zero): Likewise.
5419         (plus_infty): Likewise.
5420         (minus_infty): Likewise.
5421         (qnan_value): Likewise.
5422         (max_value): Likewise.
5423         (min_value): Likewise.
5424         (min_subnorm_value): Likewise.
5426 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5428         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5429         uint64_t or uint32_t usage.
5430         * crypt/sha256-block.c: Likewise.
5431         * crypt/sha256-crypt.c: Likewise.
5432         * crypt/sha256.c: Likewise.
5433         * crypt/sha512-block.c: Likewise.
5434         * crypt/sha512-crypt.c: Likewise.
5435         * crypt/sha512.c: Likewise.
5436         * debug/backtrace-tst.c: Likewise.
5437         * debug/pcprofiledump.c: Likewise.
5438         * elf/cache.c: Likewise.
5439         * elf/dl-cache.c: Likewise.
5440         * elf/dl-misc.c: Likewise.
5441         * elf/dl-profile.c: Likewise.
5442         * elf/dl-support.c: Likewise.
5443         * elf/ldconfig.c: Likewise.
5444         * elf/sprof.c: Likewise.
5445         * iconv/dummy-repertoire.c: Likewise.
5446         * iconv/iconv_charmap.c: Likewise.
5447         * iconv/skeleton.c: Likewise.
5448         * iconvdata/8bit-generic.c: Likewise.
5449         * iconvdata/cp737.h: Likewise.
5450         * iconvdata/cp775.h: Likewise.
5451         * iconvdata/ibm1008.h: Likewise.
5452         * iconvdata/ibm1025.h: Likewise.
5453         * iconvdata/ibm1046.h: Likewise.
5454         * iconvdata/ibm1097.h: Likewise.
5455         * iconvdata/ibm1112.h: Likewise.
5456         * iconvdata/ibm1122.h: Likewise.
5457         * iconvdata/ibm1123.h: Likewise.
5458         * iconvdata/ibm1124.h: Likewise.
5459         * iconvdata/ibm1129.h: Likewise.
5460         * iconvdata/ibm1130.h: Likewise.
5461         * iconvdata/ibm1132.h: Likewise.
5462         * iconvdata/ibm1133.h: Likewise.
5463         * iconvdata/ibm1137.h: Likewise.
5464         * iconvdata/ibm1140.h: Likewise.
5465         * iconvdata/ibm1141.h: Likewise.
5466         * iconvdata/ibm1142.h: Likewise.
5467         * iconvdata/ibm1143.h: Likewise.
5468         * iconvdata/ibm1144.h: Likewise.
5469         * iconvdata/ibm1145.h: Likewise.
5470         * iconvdata/ibm1146.h: Likewise.
5471         * iconvdata/ibm1147.h: Likewise.
5472         * iconvdata/ibm1148.h: Likewise.
5473         * iconvdata/ibm1149.h: Likewise.
5474         * iconvdata/ibm1153.h: Likewise.
5475         * iconvdata/ibm1154.h: Likewise.
5476         * iconvdata/ibm1155.h: Likewise.
5477         * iconvdata/ibm1156.h: Likewise.
5478         * iconvdata/ibm1157.h: Likewise.
5479         * iconvdata/ibm1158.h: Likewise.
5480         * iconvdata/ibm1160.h: Likewise.
5481         * iconvdata/ibm1161.h: Likewise.
5482         * iconvdata/ibm1162.h: Likewise.
5483         * iconvdata/ibm1163.h: Likewise.
5484         * iconvdata/ibm1164.h: Likewise.
5485         * iconvdata/ibm1166.h: Likewise.
5486         * iconvdata/ibm1167.h: Likewise.
5487         * iconvdata/ibm12712.h: Likewise.
5488         * iconvdata/ibm1390.h: Likewise.
5489         * iconvdata/ibm1399.h: Likewise.
5490         * iconvdata/ibm16804.h: Likewise.
5491         * iconvdata/ibm4517.h: Likewise.
5492         * iconvdata/ibm4899.h: Likewise.
5493         * iconvdata/ibm4909.h: Likewise.
5494         * iconvdata/ibm4971.h: Likewise.
5495         * iconvdata/ibm5347.h: Likewise.
5496         * iconvdata/ibm803.h: Likewise.
5497         * iconvdata/ibm856.h: Likewise.
5498         * iconvdata/ibm901.h: Likewise.
5499         * iconvdata/ibm902.h: Likewise.
5500         * iconvdata/ibm9030.h: Likewise.
5501         * iconvdata/ibm9066.h: Likewise.
5502         * iconvdata/ibm921.h: Likewise.
5503         * iconvdata/ibm922.h: Likewise.
5504         * iconvdata/ibm9448.h: Likewise.
5505         * iconvdata/isiri-3342.h: Likewise.
5506         * iconvdata/jis0201.h: Likewise.
5507         * include/link.h: Likewise.
5508         * include/netdb.h: Likewise.
5509         * inet/check_native.c: Likewise.
5510         * inet/check_pf.c: Likewise.
5511         * inet/getipv4sourcefilter.c: Likewise.
5512         * inet/getnameinfo.c: Likewise.
5513         * inet/getsourcefilter.c: Likewise.
5514         * inet/htonl.c: Likewise.
5515         * inet/setipv4sourcefilter.c: Likewise.
5516         * inet/setsourcefilter.c: Likewise.
5517         * inet/test-inet6_opt.c: Likewise.
5518         * inet/tst-network.c: Likewise.
5519         * locale/C-collate.c: Likewise.
5520         * locale/C-ctype.c: Likewise.
5521         * locale/C-time.c: Likewise.
5522         * locale/C-translit.h: Likewise.
5523         * locale/loadarchive.c: Likewise.
5524         * locale/programs/3level.h: Likewise.
5525         * locale/programs/charmap.c: Likewise.
5526         * locale/programs/charmap.h: Likewise.
5527         * locale/programs/ld-address.c: Likewise.
5528         * locale/programs/ld-collate.c: Likewise.
5529         * locale/programs/ld-ctype.c: Likewise.
5530         * locale/programs/ld-identification.c: Likewise.
5531         * locale/programs/ld-measurement.c: Likewise.
5532         * locale/programs/ld-messages.c: Likewise.
5533         * locale/programs/ld-monetary.c: Likewise.
5534         * locale/programs/ld-name.c: Likewise.
5535         * locale/programs/ld-numeric.c: Likewise.
5536         * locale/programs/ld-paper.c: Likewise.
5537         * locale/programs/ld-telephone.c: Likewise.
5538         * locale/programs/ld-time.c: Likewise.
5539         * locale/programs/linereader.c: Likewise.
5540         * locale/programs/locale.c: Likewise.
5541         * locale/programs/locarchive.c: Likewise.
5542         * locale/programs/locfile.h: Likewise.
5543         * locale/programs/repertoire.c: Likewise.
5544         * locale/programs/simple-hash.c: Likewise.
5545         * locale/programs/simple-hash.h: Likewise.
5546         * malloc/memusage.c: Likewise.
5547         * malloc/memusagestat.c: Likewise.
5548         * nis/nis_defaults.c: Likewise.
5549         * nis/nis_hash.c: Likewise.
5550         * nis/nis_print.c: Likewise.
5551         * nis/nis_xdr.c: Likewise.
5552         * nscd/connections.c: Likewise.
5553         * nscd/hstcache.c: Likewise.
5554         * nscd/nscd_gethst_r.c: Likewise.
5555         * nscd/nscd_getserv_r.c: Likewise.
5556         * nscd/nscd_helper.c: Likewise.
5557         * nscd/servicescache.c: Likewise.
5558         * nss/makedb.c: Likewise.
5559         * nss/nss_db/db-XXX.c: Likewise.
5560         * nss/nss_db/db-initgroups.c: Likewise.
5561         * nss/nss_db/db-netgrp.c: Likewise.
5562         * nss/nss_files/files-network.c: Likewise.
5563         * nss/nss_files/files-parse.c: Likewise.
5564         * posix/bug-regex5.c: Likewise.
5565         * posix/fnmatch_loop.c: Likewise.
5566         * posix/regcomp.c: Likewise.
5567         * posix/regexec.c: Likewise.
5568         * posix/tst-rfc3484-2.c: Likewise.
5569         * posix/tst-rfc3484-3.c: Likewise.
5570         * posix/tst-rfc3484.c: Likewise.
5571         * resolv/nss_dns/dns-canon.c: Likewise.
5572         * resolv/nss_dns/dns-network.c: Likewise.
5573         * resolv/res_init.c: Likewise.
5574         * resolv/res_mkquery.c: Likewise.
5575         * resolv/tst-aton.c: Likewise.
5576         * stdlib/cxa_atexit.c: Likewise.
5577         * stdlib/cxa_finalize.c: Likewise.
5578         * stdlib/gen-fpioconst.c: Likewise.
5579         * stdlib/strtol_l.c: Likewise.
5580         * string/tst-endian.c: Likewise.
5581         * sunrpc/auth_des.c: Likewise.
5582         * sunrpc/clnt_udp.c: Likewise.
5583         * sunrpc/rtime.c: Likewise.
5584         * sunrpc/svcauth_des.c: Likewise.
5585         * sunrpc/xdr.c: Likewise.
5586         * sunrpc/xdr_intXX_t.c: Likewise.
5587         * sunrpc/xdr_rec.c: Likewise.
5588         * sysdeps/generic/ldconfig.h: Likewise.
5589         * sysdeps/generic/ldsodefs.h: Likewise.
5590         * sysdeps/generic/memusage.h: Likewise.
5591         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5592         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5593         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5594         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5595         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5597         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5598         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5599         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5600         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5601         * sysdeps/posix/getaddrinfo.c: Likewise.
5602         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5603         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5604         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5605         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5606         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5607         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5608         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5609         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5610         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5611         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5612         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5613         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5614         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5615         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5616         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5617         * sysdeps/x86_64/dl-tls.h: Likewise.
5618         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5619         * time/alt_digit.c: Likewise.
5620         * time/era.c: Likewise.
5621         * wcsmbs/tst-c16c32-1.c: Likewise.
5623 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5625         * math/libm-test.inc (struct test_sincos_data): New type.
5626         (RUN_TEST_LOOP_sincos): New macro.
5627         (sincos_test_data): New variable.
5628         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5630 2013-05-16  Richard Henderson  <rth@redhat.com>
5632         * math/atest-exp2.c (LIMB64): New macro.
5633         (CONSTSZ): New macro.
5634         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5635         (hexdig): Move ...
5636         (print_mpn_fp): ... to function scope.
5637         (read_mpn_hex): Remove.
5638         (get_log2): Remove.
5639         (exp2_mpn): Use mp_log2.
5640         (main): Use mp_exp1.
5642 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5644         * math/libm-test.inc: Remove comment about not testing "inexact"
5645         exceptions.
5646         (INEXACT_EXCEPTION): New macro.
5647         (NO_INEXACT_EXCEPTION): Likewise.
5648         (INVALID_EXCEPTION_OK): Update value.
5649         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5650         (OVERFLOW_EXCEPTION_OK): Likewise.
5651         (UNDERFLOW_EXCEPTION_OK): Likewise.
5652         (IGNORE_ZERO_INF_SIGN): Likewise.
5653         (ERRNO_UNCHANGED): Likewise.
5654         (ERRNO_EDOM): Likewise.
5655         (ERRNO_ERANGE): Likewise.
5656         (test_exceptions): Handle testing "inexact" exceptions.
5657         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5658         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5659         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5660         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5661         INEXACT_EXCEPTION.
5662         (rint_towardzero_test_data): Likewise.
5663         (rint_downward_test_data): Likewise.
5664         (rint_upward_test_data): Likewise.
5666         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5667         with OVERFLOW_EXCEPTION.
5668         (exp10_test_data): Likewise.
5669         (exp2_test_data): Likewise.
5670         (expm1_test_data): Likewise.
5671         (lgamma_test_data): Likewise.
5672         (pow_test_data): Likewise.
5673         (tgamma_test_data): Likewise.
5674         (yn_test_data): Remove duplicate test of overflow.
5676         * math/libm-test.inc (struct test_cc_c_data): New type.
5677         (RUN_TEST_LOOP_cc_c): New macro.
5678         (cpow_test_data): New variable.
5679         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5681         * math/libm-test.inc (struct test_f_L_data): New type.
5682         (RUN_TEST_LOOP_f_L): New macro.
5683         (llrint_test_data): New variable.
5684         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5685         (llrint_tonearest_test_data): New variable.
5686         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5687         (llrint_towardzero_test_data): New variable.
5688         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5689         (llrint_downward_test_data): New variable.
5690         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5691         (llrint_upward_test_data): New variable.
5692         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5693         (llround_test_data): New variable.
5694         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5696 2013-05-13  Peter Collingbourne  <pcc@google.com>
5698         * math/atest-exp2.c (get_log2): Remove const attribute.
5700 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5702         * math/libm-test.inc (struct test_f_l_data): New type.
5703         (RUN_TEST_LOOP_f_l): New macro.
5704         (lrint_test_data): New variable.
5705         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5706         (lrint_tonearest_test_data): New variable.
5707         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5708         (lrint_towardzero_test_data): New variable.
5709         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5710         (lrint_downward_test_data): New variable.
5711         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5712         (lrint_upward_test_data): New variable.
5713         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5714         (lround_test_data): New variable.
5715         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5717 2013-05-15  Peter Collingbourne  <pcc@google.com>
5719         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5720         (EXTRACT_WORDS64) Use where appropriate.
5721         (INSERT_WORDS64) Likewise.
5723         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5724         constraints with x constraints.
5725         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5727         * malloc/obstack.c (_obstack_compat): Add initializer.
5729 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5732         si_trapno and add si_addr_lsb to _sifields.sigfault.
5733         (si_trapno): Remove macro.
5734         (si_addr_lsb): Define new macro.
5735         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5737 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5739         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5740         instead of TEST_f_l.
5741         (llrint_test_tonearest): Likewise.
5742         (llrint_test_towardzero): Likewise.
5743         (llrint_test_downward): Likewise.
5744         (llrint_test_upward): Likewise.
5745         (llround_test): Likewise.
5747         * math/libm-test.inc (struct test_f_i_data): Add comment.
5748         (RUN_TEST_LOOP_f_b): New macro.
5749         (RUN_TEST_LOOP_f_b_tg): Likewise.
5750         (finite_test_data): New variable.
5751         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5752         (isfinite_test_data): New variable.
5753         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5754         (isinf_test_data): New variable.
5755         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5756         (isnan_test_data): New variable.
5757         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5758         (isnormal_test_data): New variable.
5759         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5760         (issignaling_test_data): New variable.
5761         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5762         (signbit_test_data): New variable.
5763         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5765         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5766         with INVALID_EXCEPTION.
5767         (acosh_test_data): Likewise.
5768         (asin_test_data): Likewise.
5769         (atanh_test_data): Likewise.
5770         (fmod_test_data): Likewise.
5771         (log_test_data): Likewise.
5772         (log10_test_data): Likewise.
5773         (log2_test_data): Likewise.
5774         (pow_test_data): Likewise.
5775         (sqrt_test_data): Likewise.
5776         (y0_test_data): Likewise.
5777         (y1_test_data): Likewise.
5778         (yn_test_data): Likewise.
5780         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5781         function contents.
5783         * math/libm-test.inc (struct test_ff_i_data): New type.
5784         (RUN_TEST_LOOP_ff_i_tg): New macro.
5785         (isgreater_test_data): New variable.
5786         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5787         (isgreaterequal_test_data): New variable.
5788         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5789         (isless_test_data): New variable.
5790         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5791         (islessequal_test_data): New variable.
5792         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5793         (islessgreater_test_data): New variable.
5794         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5795         (isunordered_test_data): New variable.
5796         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5798 2013-05-14  David S. Miller  <davem@davemloft.net>
5800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5802 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5804         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5806         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5807         extra_test to int.
5808         (struct test_f_i_data): Change type of max_ulp to int.
5810         * math/libm-test.inc (test_ffI_f1_data): New type.
5811         (RUN_TEST_LOOP_ffI_f1): New macro.
5812         (remquo_test_data): New variable.
5813         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5815         * setjmp/tst-setjmp-fp.c: New file.
5816         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5817         (link-libm): New variable.
5818         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5820         * math/libm-test.inc (struct test_f_i_data): New type.
5821         (RUN_TEST_LOOP_f_i): New macro.
5822         (RUN_TEST_LOOP_f_i_tg): Likewise.
5823         (fpclassify_test_data): New variable.
5824         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5825         (ilogb_test_data): New variable.
5826         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5828         * math/libm-test.inc (scalbln_test): Correct function name in END
5829         call.
5831         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5832         (RUN_TEST_LOOP_fI_f1): New macro.
5833         (frexp_test_data): New variable.
5834         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5836         * math/libm-test.inc (struct test_fF_f1_data): New type.
5837         (RUN_TEST_LOOP_fF_f1): New macro.
5838         (modf_test_data): New variable.
5839         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5841         * math/libm-test.inc (struct test_f_f1_data): New type.
5842         (RUN_TEST_LOOP_f_f1): New macro.
5843         (gamma_test_data): New variable.
5844         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5845         (lgamma_test_data): New variable.
5846         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5848 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5850         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5851         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5852         (main): Comment "tls" pseudo-hwcap.
5854 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5856         * math/libm-test.inc (struct test_fl_f_data): New type.
5857         (RUN_TEST_LOOP_fl_f): New variable.
5858         (scalbln_test_data): New variable.
5859         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5861         * math/libm-test.inc (struct test_fi_f_data): New type.
5862         (RUN_TEST_LOOP_fi_f): New macro.
5863         (ldexp_test_data): New variable.
5864         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5865         (scalbn_test_data): New variable.
5866         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5868         * math/libm-test.inc (struct test_c_f_data): New type.
5869         (RUN_TEST_LOOP_c_f): New macro.
5870         (cabs_test_data): New variable.
5871         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5872         (carg_test_data): New variable.
5873         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5874         (cimag_test_data): New variable.
5875         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5876         (creal_test_data): New variable.
5877         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5879         * math/libm-test.inc (struct test_if_f_data): New type.
5880         (RUN_TEST_LOOP_if_f): New macro.
5881         (jn_test_data): New variable.
5882         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5883         (yn_test_data): New variable.
5884         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5886         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5888 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5890         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5891         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5893 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5895         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5896         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5897         (bench-deps): Add bench-timing.h.
5898         * benchtests-bench-skeleton.c: Include bench-timing.h.
5899         (main): Use TIMING_* macros instead of clock_gettime.
5900         * benchtests/bench-timing.h: New file.
5902         [BZ #14582]
5903         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5904         Renamed from _LIB_VERSION.
5905         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5907 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5909         * math/libm-test.inc (struct test_fff_f_data): New type.
5910         (RUN_TEST_LOOP_fff_f): New macro.
5911         (fma_test_data): New variable.
5912         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5913         (fma_towardzero_test_data): New variable.
5914         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5915         (fma_downward_test_data): New variable.
5916         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5917         (fma_upward_test_data): New variable.
5918         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5920         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5921         (struct test_c_c_data): New type.
5922         (RUN_TEST_LOOP_c_c): New macro.
5923         (cacos_test_data): New variable.
5924         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5925         (cacosh_test_data): New variable.
5926         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5927         (casin_test_data): New variable.
5928         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5929         (casinh_test_data): New variable.
5930         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5931         (catan_test_data): New variable.
5932         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5933         (catanh_test_data): New variable.
5934         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5935         (ccos_test_data): New variable.
5936         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5937         (ccosh_test_data): New variable.
5938         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5939         (cexp_test_data): New variable.
5940         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5941         (clog_test_data): New variable.
5942         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5943         (clog10_test_data): New variable.
5944         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5945         (conj_test_data): New variable.
5946         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5947         (cproj_test_data): New variable.
5948         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5949         (csin_test_data): New variable.
5950         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5951         (csinh_test_data): New variable.
5952         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5953         (csqrt_test_data): New variable.
5954         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5955         (ctan_test_data): New variable.
5956         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5957         (ctan_tonearest_test_data): New variable.
5958         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5959         (ctan_towardzero_test_data): New variable.
5960         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5961         (ctan_downward_test_data): New variable.
5962         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5963         (ctan_upward_test_data): New variable.
5964         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5965         (ctanh_test_data): New variable.
5966         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5967         (ctanh_tonearest_test_data): New variable.
5968         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5969         (ctanh_towardzero_test_data): New variable.
5970         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5971         (ctanh_downward_test_data): New variable.
5972         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5973         (ctanh_upward_test_data): New variable.
5974         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5975         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5976         of BUILD_COMPLEX.
5978         * math/libm-test.inc (struct test_ff_f_data): New type.
5979         (struct test_ff_f_data_nexttoward): Likewise.
5980         (RUN_TEST_LOOP_2_f): New macro.
5981         (RUN_TEST_LOOP_ff_f): Likewise.
5982         (atan2_test_data): New variable.
5983         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5984         (copysign_test_data): New variable.
5985         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5986         (fdim_test_data): New variable.
5987         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5988         (fmax_test_data): New variable.
5989         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5990         (fmin_test_data): New variable.
5991         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5992         (fmod_test_data): New variable.
5993         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5994         (hypot_test_data): New variable.
5995         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5996         (nextafter_test_data): New variable.
5997         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5998         (nexttoward_test_data): New variable.
5999         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6000         (pow_test_data): New variable.
6001         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6002         (pow_tonearest_test_data): New variable.
6003         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6004         (pow_towardzero_test_data): New variable.
6005         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6006         (pow_downward_test_data): New variable.
6007         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6008         (pow_upward_test_data): New variable.
6009         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6010         (remainder_test_data): New variable.
6011         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6012         (scalb_test_data): New variable.
6013         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6014         * sysdeps/i386/fpu/libm-test-ulps: Update.
6016 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6018         * math/libm-test.inc (fma_test): Use max_value instead of local
6019         variable fltmax.
6020         (nextafter_test): Likewise.
6022         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6023         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6024         (acos_downward_test_data): New variable.
6025         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6026         (acos_upward_test_data): New variable.
6027         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6028         (acosh_test_data): New variable.
6029         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6030         (asin_test_data): New variable.
6031         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6032         (asin_tonearest_test_data): New variable.
6033         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6034         (asin_towardzero_test_data): New variable.
6035         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6036         (asin_downward_test_data): New variable.
6037         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6038         (asin_upward_test_data): New variable.
6039         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6040         (asinh_test_data): New variable.
6041         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6042         (atan_test_data): New variable.
6043         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6044         (atanh_test_data): New variable.
6045         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6046         (cbrt_test_data): New variable.
6047         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6048         (ceil_test_data): New variable.
6049         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6050         (cos_test_data): New variable.
6051         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6052         (cos_tonearest_test_data): New variable.
6053         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6054         (cos_towardzero_test_data): New variable.
6055         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6056         (cos_downward_test_data): New variable.
6057         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6058         (cos_upward_test_data): New variable.
6059         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6060         (cosh_test_data): New variable.
6061         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6062         (cosh_tonearest_test_data): New variable.
6063         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6064         (cosh_towardzero_test_data): New variable.
6065         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6066         (cosh_downward_test_data): New variable.
6067         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6068         (cosh_upward_test_data): New variable.
6069         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6070         (erf_test_data): New variable.
6071         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6072         (erfc_test_data): New variable.
6073         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6074         (exp_test_data): New variable.
6075         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6076         (exp_tonearest_test_data): New variable.
6077         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6078         (exp_towardzero_test_data): New variable.
6079         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6080         (exp_downward_test_data): New variable.
6081         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6082         (exp_upward_test_data): New variable.
6083         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6084         (exp10_test_data): New variable.
6085         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6086         (exp2_test_data): New variable.
6087         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6088         (expm1_test_data): New variable.
6089         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6090         (fabs_test_data): New variable.
6091         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6092         (floor_test_data): New variable.
6093         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6094         (j0_test_data): New variable.
6095         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6096         (j1_test_data): New variable.
6097         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6098         (log_test_data): New variable.
6099         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6100         (log10_test_data): New variable.
6101         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6102         (log1p_test_data): New variable.
6103         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6104         (log2_test_data): New variable.
6105         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6106         (logb_test_data): New variable.
6107         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6108         (logb_downward_test_data): New variable.
6109         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6110         (nearbyint_test_data): New variable.
6111         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6112         (rint_test_data): New variable.
6113         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6114         (rint_tonearest_test_data): New variable.
6115         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6116         (rint_towardzero_test_data): New variable.
6117         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6118         (rint_downward_test_data): New variable.
6119         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6120         (rint_upward_test_data): New variable.
6121         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6122         (round_test_data): New variable.
6123         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6124         (sin_test_data): New variable.
6125         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6126         (sin_tonearest_test_data): New variable.
6127         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6128         (sin_towardzero_test_data): New variable.
6129         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6130         (sin_downward_test_data): New variable.
6131         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6132         (sin_upward_test_data): New variable.
6133         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6134         (sinh_test_data): New variable.
6135         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6136         (sinh_tonearest_test_data): New variable.
6137         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6138         (sinh_towardzero_test_data): New variable.
6139         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6140         (sinh_downward_test_data): New variable.
6141         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6142         (sinh_upward_test_data): New variable.
6143         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6144         (sqrt_test_data): New variable.
6145         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6146         (tan_test_data): New variable.
6147         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6148         (tan_tonearest_test_data): New variable.
6149         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6150         (tan_towardzero_test_data): New variable.
6151         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6152         (tan_downward_test_data): New variable.
6153         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6154         (tan_upward_test_data): New variable.
6155         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6156         (tanh_test_data): New variable.
6157         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6158         (tgamma_test_data): New variable.
6159         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6160         (trunc_test_data): New variable.
6161         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6162         (y0_test_data): New variable.
6163         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6164         (y1_test_data): New variable.
6165         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6166         (significand_test_data): New variable.
6167         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6169 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6171         [BZ #12387]
6172         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6174 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6176         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6178 2013-05-10  Andreas Jaeger  <aj@suse.de>
6180         [BZ #15448]
6181         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6182         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6184 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6186         * math/gen-libm-test.pl (adjust_arg): New function.
6187         (special_functions): Handle generating output in both functions
6188         and arrays.
6189         (parse_args): Likewise.
6190         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6191         $in_func argument to parse_args.
6192         * math/libm-test.inc (struct test_f_f_data): New type.
6193         (IF_ROUND_INIT_): New macro.
6194         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6195         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6196         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6197         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6198         (ROUND_RESTORE_): Likewise.
6199         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6200         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6201         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6202         (ROUND_RESTORE_FE_UPWARD): Likewise.
6203         (RUN_TEST_LOOP_f_f): New macro.
6204         (acos_test_data): New variable.
6205         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6206         (acos_tonearest_test_data): New variable.
6207         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6209 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6211         * benchtests/bench-skeleton.c (startup): Fix coding style.
6213 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6215         [BZ #6809]
6216         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6217         negative infinity argument.
6218         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6219         negative infinity argument.
6220         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6221         negative infinity argument.
6222         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6223         domain errors.
6225 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6227         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6228         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6229         * iconv/iconv_prog.c (main): Likewise.
6230         * locale/programs/charmap-dir.c (charmap_readdir)
6231         (fopen_uncompressed): Likewise.
6232         * locale/programs/locfile.c (siblings_uncached)
6233         (write_locale_data): Use lstat64 instead of lstat.
6234         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6235         stat.
6237 2013-05-10  Andreas Jaeger  <aj@suse.de>
6239         [BZ #15395]
6240         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6241         localization.
6242         Include <locale.h>.
6244 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6246         * elf/dl-close.c (_dl_close_worker): Add comments.
6248 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #15359]
6251         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6252         high part of pi/2.
6253         (__ieee754_rem_pio2l): Update comments.
6255         [BZ #15429]
6256         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6257         high part of pi/2.
6258         (__ieee754_rem_pio2l): Update comments.
6260         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6261         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6263         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6264         M_PI_4l.
6266         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6267         (M_PI_34_LOG10El): Likewise.
6268         (M_PI2_LOG10El): Likewise.
6269         (M_PI4_LOG10El): Likewise.
6270         (M_PI_LOG10El): Likewise.
6272 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6276 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6278         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6279         (MINUS_ZERO_INIT): Likewise.
6280         (PLUS_INFTY_INIT): Likewise.
6281         (MINUS_INFTY_INIT): Likewise.
6282         (QNAN_VALUE_INIT): Likewise.
6283         (MAX_VALUE_INIT): Likewise.
6284         (MIN_VALUE_INIT): Likewise.
6285         (MIN_SUBNORM_VALUE_INIT): Likewise.
6286         (plus_zero): Initialize with PLUS_ZERO_INIT.
6287         (minus_zero): Initialize with MINUS_ZERO_INIT.
6288         (plus_infty): Initialize with PLUS_INFTY_INIT.
6289         (minus_infty): Initialize with MINUS_INFTY_INIT.
6290         (qnan_value): Initialize with QNAN_VALUE_INIT.
6291         (max_value): Initialize with MAX_VALUE_INIT.
6292         (min_value): Initialize with MIN_VALUE_INIT.
6293         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6295         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6296         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6297         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6298         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6300         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6301         (RUN_TEST_2_f): Likewise.
6302         (RUN_TEST_ff_f): Likewise.
6303         (RUN_TEST_fi_f): Likewise.
6304         (RUN_TEST_fl_f): Likewise.
6305         (RUN_TEST_fff_f): Likewise.
6306         (RUN_TEST_c_f): Likewise.
6307         (RUN_TEST_f_f1): Likewise.
6308         (RUN_TEST_fF_f1): Likewise.
6309         (RUN_TEST_fI_f1): Likewise.
6310         (RUN_TEST_ffI_f1): Likewise.
6311         (RUN_TEST_c_c): Likewise.
6312         (RUN_TEST_cc_c): Likewise.
6313         (RUN_TEST_f_i): Likewise.
6314         (RUN_TEST_f_i_tg): Likewise.
6315         (RUN_TEST_ff_i_tg): Likewise.
6316         (RUN_TEST_f_b): Likewise.
6317         (RUN_TEST_f_b_tg): Likewise.
6318         (RUN_TEST_f_l): Likewise.
6319         (RUN_TEST_f_L): Likewise.
6320         (RUN_TEST_sincos): Likewise.
6321         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6322         whether to show exceptions.  Do not include ");\n" in return
6323         value.
6324         (special_functions): Output call to RUN_TEST_sincos instead of
6325         check_float calls.  Update calls to new_test.
6326         (parse_args): Output call to single RUN_TEST_* macro instead of
6327         check_* calls and other assignments.  Update calls to new_test.
6329         [BZ #2546]
6330         [BZ #2560]
6331         [BZ #5159]
6332         [BZ #15426]
6333         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6334         input to result for tgamma overflow.
6335         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6336         (gamma_coeff): New variable.
6337         (NCOEFF): New macro.
6338         (gamma_positive): New function.
6339         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6340         underflow here.  Use gamma_positive instead of exp (lgamma) for
6341         other arguments.
6342         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6343         (gamma_coeff): New variable.
6344         (NCOEFF): New macro.
6345         (gammaf_positive): New function.
6346         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6347         underflow here.  Use gamma_positive instead of exp (lgamma) for
6348         other arguments.
6349         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6350         (gamma_coeff): New variable.
6351         (NCOEFF): New macro.
6352         (gammal_positive): New function.
6353         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6354         underflow here.  Use gamma_positive instead of exp (lgamma) for
6355         other arguments.
6356         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6357         (gamma_coeff): New variable.
6358         (NCOEFF): New macro.
6359         (gammal_positive): New function.
6360         (__ieee754_gammal_r): Handle positive infinity, overflow and
6361         underflow here.  Handle NaN the same as positive infinity.  Remove
6362         check x < 0xffffffff for negative integers.  Use gamma_positive
6363         instead of exp (lgamma) for other arguments.
6364         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6365         (gamma_coeff): New variable.
6366         (NCOEFF): New macro.
6367         (gammal_positive): New function.
6368         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6369         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6370         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6372         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6373         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6374         * sysdeps/generic/math_private.h (__gamma_productf): New
6375         prototype.
6376         (__gamma_product): Likewise.
6377         (__gamma_productl): Likewise.
6378         * math/Makefile (libm-calls): Add gamma_product.
6379         * math/libm-test.inc (tgamma_test): Add more tests.
6380         * sysdeps/i386/fpu/libm-test-ulps: Update.
6381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6383 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6385         * benchtests/bench-skeleton.c (main): Preheat CPU.
6387 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6389         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6391 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6393         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6394         and _dl_skip_args_internal.
6396 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6398         * manual/message.texi (Message Translation): Talk about users.
6399         Message to key mapping impacts design.
6401 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6403         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6405         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6407         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6408         * sysdeps/wordsize-64/glob64.c: ... here.
6410         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6411         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6412         New macros.
6414         * debug/getlogin_r_chk.c: Moved to ...
6415         * login/getlogin_r_chk.c: ... here.
6416         * debug/Makefile (routines): Move getlogin_r_chk to ...
6417         * login/Makefile (routines): ... here.
6418         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6419         * login/Versions (libc: GLIBC_2.4): ... here.
6421         * io/poll.c (__poll): Renamed from poll.
6422         Add libc_hidden_def.
6423         (poll): Define as weak alias.
6425         * debug/ptsname_r_chk.c: Moved to ...
6426         * login/ptsname_r_chk.c: ... here.
6427         * debug/Makefile (routines): Move ptsname_r_chk to ...
6428         * login/Makefile (routines): ... here.
6429         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6430         * login/Versions (libc: GLIBC_2.4): ... here.
6432         * posix/getlogin.c: Moved to ...
6433         * login/getlogin.c: ... here.
6434         * posix/getlogin_r.c: Moved to ...
6435         * login/getlogin_r.c: ... here.
6436         * posix/getlogin_r.c: Moved to ...
6437         * login/getlogin_r.c: ... here.
6438         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6439         * login/Makefile (routines): ... here.
6440         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6441         * login/Versions (libc: GLIBC_2.0): ... here.
6443         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6444         (setrlimit): Define as weak alias.
6446         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6447         Call __ names for open, ftruncate, and close.
6448         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6449         (truncate): Define as weak alias.
6451 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6453         * math/gen-libm-test.pl (parse_args): Initialize x before each
6454         test of frexp, modf and remquo.
6456         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6457         test signgam value.
6459 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6461         [BZ #15418]
6462         [BZ #15419]
6463         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6464         internal tests.
6465         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6467 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6469         * elf/dl-writev.h: New file.
6470         * elf/dl-misc.c: Include it.
6471         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6472         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6474 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6476         * math/libm-test.inc (noXFails): Remove variable.
6477         (noXPasses): Likewise.
6478         (BUILD_COMPLEX_INT): Remove macro.
6479         (print_screen): Remove xfail argument.
6480         (print_screen_max_error): Likewise.
6481         (update_stats): Likewise.
6482         (print_max_error): Likewise.  Update calls to other affected
6483         functions.
6484         (print_complex_max_error): Likewise.
6485         (test_single_exception): Update calls to print_screen.
6486         (test_single_errno): Likewise.
6487         (check_float_internal): Remove xfail argument.  Update calls to
6488         other affected functions.
6489         (check_float): Likewise.
6490         (check_complex): Likewise.
6491         (check_int): Likewise.
6492         (check_long): Likewise.
6493         (check_bool): Likewise.
6494         (check_longlong): Likewise.
6495         (main): Don't print noXFails and noXPasses.
6496         * math/gen-libm-test.pl (top level): Don't mention expected
6497         failure handling in comment.
6498         (new_test): Don't handle expected failures.
6499         (parse_args): Don't mention expected failure handling in comment.
6500         (generate_testfile): Don't handle expected failures.
6501         (parse_ulps): Likewise.
6502         (print_ulps_file): Likewise.
6503         (get_failure): Remove function.
6504         (output_test): Don't handle expected failures.
6505         * make/README.libm-test: Don't mention expected failure handling.
6507         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6508         (minus_zero): Likewise.
6509         (plus_infty): Likewise.
6510         (minus_infty): Likewise.
6511         (qnan_value): Likewise.
6512         (max_value): Likewise.
6513         (min_value): Likewise.
6514         (min_subnorm_value): Likewise.
6515         (initialize): Do not initialize those variables dynamically.
6517 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6519         * io/open.c (__open_2): Moved to ...
6520         * io/open_2.c: ... this new file.
6521         * io/open64.c (__open64_2): Moved to ...
6522         * io/open64_2.c: ... this new file.
6523         * io/openat.c (__openat_2): Moved to ...
6524         * io/openat_2.c: ... this new file.
6525         * io/openat64.c (__openat64_2): Moved to ...
6526         * io/openat64_2.c: ... this new file.
6527         * io/Makefile (routines): Add them.
6528         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6529         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6530         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6531         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6532         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6533         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6534         (__openat64): Add hidden_ver.
6535         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6536         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6538         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6539         Separately conditionalize setting of GLRO(dl_sysinfo) so
6540         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6541         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6543 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6545         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6546         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6547         definition.
6548         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6549         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6550         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6551         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6552         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6554 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6556         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6557         test signgam value.
6559         * math/libm-test.inc (hypot_test): Do not use
6560         IGNORE_ZERO_INF_SIGN.
6562 2013-05-03  Andreas Jaeger  <aj@suse.de>
6564         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6565         Linux 3.9.
6566         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6567         (PF_MAX): Adjust for VSOCK change.
6569 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6573 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6575         [BZ #15264]
6576         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6577         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6578         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6580 2013-05-02  David S. Miller  <davem@davemloft.net>
6582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6584 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6586         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6588 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6590         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6592 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6594         [BZ #14952]
6595         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6596         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6597         Use __attribute__ ((__gnu_inline__)).
6598         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6599         Don't use __attribute__ ((__gnu_inline__)).
6601 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6603         [BZ #15423]
6604         * math/s_catan.c (__catan): Handle small real or imaginary part of
6605         input specially to avoid spurious underflow.
6606         * math/s_catanf.c (__catanf): Likewise.
6607         * math/s_catanh.c (__catanh): Likewise.
6608         * math/s_catanhf.c (__catanhf): Likewise.
6609         * math/s_catanhl.c (__catanhl): Likewise.
6610         * math/s_catanl.c (__catanl): Likewise.
6611         * math/libm-test.inc (catan_test): Add more tests.
6612         (catanh_test): Likewise.
6613         * sysdeps/i386/fpu/libm-test-ulps: Update.
6614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6616 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6620 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6622         [BZ #15416]
6623         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6624         accurately for denominator in atan2.
6625         * math/s_catanf.c (__catanf): Likewise.
6626         * math/s_catanh.c (__catanh): Likewise.
6627         * math/s_catanhf.c (__catanhf): Likewise.
6628         * math/s_catanhl.c (__catanhl): Likewise.
6629         * math/s_catanl.c (__catanl): Likewise.
6630         * math/libm-test.inc (catan_test): Add more tests.
6631         (catanh_test): Likewise.
6632         * sysdeps/i386/fpu/libm-test-ulps: Update.
6633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6635 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6637         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6639         * benchtests/Makefile (bench): Remove slow benchmarks.
6640         * benchtests/atan-inputs: Add slow benchmark inputs.
6641         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6642         (BENCH_FUNC): Accept variant offset.
6643         (VARIANT): Define.
6644         * benchtests/bench-skeleton.c (main): Run benchmark for each
6645         variant.
6646         * benchtests/cos-inputs: Add slow benchmark inputs.
6647         * benchtests/exp-inputs: Likewise.
6648         * benchtests/pow-inputs: Likewise.
6649         * benchtests/sin-inputs: Likewise.
6650         * benchtests/slowatan-inputs: Remove.
6651         * benchtests/slowatan.c: Remove.
6652         * benchtests/slowcos-inputs: Remove.
6653         * benchtests/slowcos.c: Remove.
6654         * benchtests/slowexp-inputs: Remove.
6655         * benchtests/slowexp.c: Remove.
6656         * benchtests/slowpow-inputs: Remove.
6657         * benchtests/slowpow.c: Remove.
6658         * benchtests/slowsin-inputs: Remove.
6659         * benchtests/slowsin.c: Remove.
6660         * benchtests/slowtan-inputs: Remove.
6661         * benchtests/slowtan.c: Remove.
6662         * benchtests/tan-inputs: Add slow benchmark inputs.
6663         * scripts/bench.pl: Parse comments and directives.
6665         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6666         in CPPFLAGS.
6667         ($(objpfx)bench-%.c): Remove *-ITER.
6668         * benchtests/bench-modf.c: Remove definition of ITER.
6669         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6670         (main): Loop for DURATION seconds instead of fixed number of
6671         iterations.
6672         * scripts/bench.pl: Don't expect iterations in parameters.
6674 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6676         * io/fchdir.c (__fchdir): Renamed from fchdir.
6677         (fchdir): Define as weak alias.
6679 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6681         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6682         (ERRNO_EDOM): Likewise.
6683         (ERRNO_ERANGE): Likewise.
6684         (noErrnoTests): New variable.
6685         (init_max_error): Set errno to 0.
6686         (test_single_errno): New function.
6687         (test_errno): Likewise.
6688         (check_float_internal): Call test_errno.  Set errno to 0.
6689         (check_complex): Refer to errno tests in comment.
6690         (check_int): Call test_errno.  Set errno to 0.
6691         (check_long): Likewise.
6692         (check_bool): Likewise.
6693         (check_longlong): Likewise.
6694         (cos_test): Use ERRNO_* flags for errno tests instead of
6695         check_int.
6696         (expm1_test): Likewise.
6697         (fmod_test): Likewise.
6698         (ilogb_test): Likewise.
6699         (lgamma_test): Likewise.
6700         (pow_test): Likewise.
6701         (remainder_test): Likewise.
6702         (sin_test): Likewise.
6703         (tan_test): Likewise.
6704         (yn_test): Likewise.
6705         (initialize): Set errno to 0.
6706         (main): Print number of errno tests.
6707         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6709 2013-04-29  Andreas Jaeger  <aj@suse.de>
6711         [BZ #15084]
6712         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6713         and RES_USEVC.
6715         [BZ #15085]
6716         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6717         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6718         unimplemented.
6720         [BZ #15380]
6721         * stdlib/random.c (__initstate): Return NULL if
6722         __initstate fails.
6724         [BZ #15086]
6725         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6726         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6727         RES_SNGLKUPREOP.
6729 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6733 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6735         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6736         of individual tests.
6737         (casin_test): Likewise.
6738         (casinh_test): Likewise.
6740 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6742         [BZ #15409]
6743         * math/s_catan.c (__catan): Handle arguments with large real or
6744         imaginary part separately without squaring.
6745         * math/s_catanf.c (__catanf): Likewise.
6746         * math/s_catanh.c (__catanh): Likewise.
6747         * math/s_catanhf.c (__catanhf): Likewise.
6748         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6749         and redefine.
6750         (__catanhl): Handle arguments with large real or imaginary part
6751         separately without squaring.
6752         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6753         and redefine.
6754         (__catanl): Handle arguments with large real or imaginary part
6755         separately without squaring.
6756         * math/libm-test.inc (catan_test): Add more tests.
6757         (catanh_test): Likewise.
6758         * sysdeps/i386/fpu/libm-test-ulps: Update.
6759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6761 2013-04-27  Andreas Jaeger  <aj@suse.de>
6763         [BZ #15007]
6764         * stdlib/stdlib.h: Update guards for qecvt.
6765         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6766         <stdlib.h>.
6768 2013-04-27  Allan McRae  <allan@archlinux.org>
6770         * sysdeps/i386/fpu/libm-test-ulps: Update.
6772 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6774         [BZ #15406]
6775         * math/s_catan.c: Include <float.h>.
6776         (__catan): Ensure underflow exception occurs for underflowed
6777         result.
6778         * math/s_catanf.c: Include <float.h>.
6779         (__catanf): Ensure underflow exception occurs for underflowed
6780         result.
6781         * math/s_catanh.c: Include <float.h>.
6782         (__catanh): Ensure underflow exception occurs for underflowed
6783         result.
6784         * math/s_catanhf.c: Include <float.h>.
6785         (__catanhf): Ensure underflow exception occurs for underflowed
6786         result.
6787         * math/s_catanhl.c: Include <float.h>.
6788         (__catanhl): Ensure underflow exception occurs for underflowed
6789         result.
6790         * math/s_catanl.c: Include <float.h>.
6791         (__catanl): Ensure underflow exception occurs for underflowed
6792         result.
6793         * math/libm-test.inc (catan_test): Add more tests.
6794         (catanh_test): Likewise.
6796         [BZ #15405]
6797         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6798         underflowed result.
6799         * math/s_ccoshf.c (__ccoshf): Likewise.
6800         * math/s_ccoshl.c (__ccoshl): Likewise.
6801         * math/s_csin.c (__csin): Likewise.
6802         * math/s_csinf.c (__csinf): Likewise.
6803         * math/s_csinh.c (__csinh): Likewise.
6804         * math/s_csinhf.c (__csinhf): Likewise.
6805         * math/s_csinhl.c (__csinhl): Likewise.
6806         * math/s_csinl.c (__csinl): Likewise.
6807         * math/libm-test.inc (ccos_test): Add more tests.
6808         (ccosh_test): Likewise.
6809         (csin_test): Likewise.
6810         (csinh_test): Likewise.
6812 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6814         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6815         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6816         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6817         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6818         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6819         powerpc/power5+/fpu folders.
6820         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6823 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6827 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6829         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6830         additions to variable.
6831         [$(config-machine) = x86_64] (modules-names): Likewise.
6832         ($(objpfx)tst-audit3): Remove dependency.
6833         ($(objpfx)tst-audit3.out): Likewise.
6834         ($(objpfx)tst-audit4): Likewise.
6835         ($(objpfx)tst-audit4.out): Likewise.
6836         ($(objpfx)tst-audit5): Likewise.
6837         ($(objpfx)tst-audit5.out): Likewise.
6838         ($(objpfx)tst-audit6): Likewise.
6839         ($(objpfx)tst-audit6.out): Likewise.
6840         ($(objpfx)tst-audit7): Likewise.
6841         ($(objpfx)tst-audit7.out): Likewise.
6842         (tst-audit3-ENV): Remove variable.
6843         (tst-audit4-ENV): Likewise.
6844         (tst-audit5-ENV): Likewise.
6845         (tst-audit6-ENV): Likewise.
6846         (tst-audit7-ENV): Likewise.
6847         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6848         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6849         addition to variable.
6850         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6851         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6852         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6853         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6854         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6855         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6856         tst-audit3, tst-audit4 and tst-audit5.
6857         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6858         tst-audit6 and tst-audit7.
6859         [$(subdir) = elf] (modules-names): Add audit modules for those
6860         tests.
6861         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6862         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6863         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6864         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6865         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6866         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6867         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6868         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6869         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6870         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6871         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6872         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6873         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6874         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6875         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6876         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6877         Likewise.
6878         [$(subdir) = elf && $(config-cflags-avx) = yes]
6879         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6880         [$(subdir) = elf && $(config-cflags-avx) = yes]
6881         (CFLAGS-tst-auditmod4a.c): Likewise.
6882         [$(subdir) = elf && $(config-cflags-avx) = yes]
6883         (CFLAGS-tst-auditmod4b.c): Likewise.
6884         [$(subdir) = elf && $(config-cflags-avx) = yes]
6885         (CFLAGS-tst-auditmod6b.c): Likewise.
6886         [$(subdir) = elf && $(config-cflags-avx) = yes]
6887         (CFLAGS-tst-auditmod6c.c): Likewise.
6888         [$(subdir) = elf && $(config-cflags-avx) = yes]
6889         (CFLAGS-tst-auditmod7b.c): Likewise.
6890         * elf/tst-audit3.c: Move to ...
6891         * sysdeps/x86_64/tst-audit3.c: ... here.
6892         * elf/tst-audit4.c: Move to ...
6893         * sysdeps/x86_64/tst-audit4.c: ... here.
6894         * elf/tst-audit5.c: Move to ...
6895         * sysdeps/x86_64/tst-audit5.c: ... here.
6896         * elf/tst-audit6.c: Move to ...
6897         * sysdeps/x86_64/tst-audit6.c: ... here.
6898         * elf/tst-audit7.c: Move to ...
6899         * sysdeps/x86_64/tst-audit7.c: ... here.
6900         * elf/tst-auditmod3a.c: Move to ...
6901         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6902         * elf/tst-auditmod3b.c: Move to ...
6903         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6904         * elf/tst-auditmod4a.c: Move to ...
6905         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6906         * elf/tst-auditmod4b.c: Move to ...
6907         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6908         * elf/tst-auditmod5a.c: Move to ...
6909         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6910         * elf/tst-auditmod5b.c: Move to ...
6911         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6912         * elf/tst-auditmod6a.c: Move to ...
6913         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6914         * elf/tst-auditmod6b.c: Move to ...
6915         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6916         * elf/tst-auditmod6c.c: Move to ...
6917         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6918         * elf/tst-auditmod7a.c: Move to ...
6919         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6920         * elf/tst-auditmod7b.c: Move to ...
6921         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6923 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6925         [BZ #15366]
6926         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6927         define unconditionally.
6928         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6929         define unconditionally.
6930         (INT8_C, INT16_C, etc.): Likewise.
6932 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6934         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6935         __ehdr_start with hidden visibility.
6937         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6939 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6941         * math/libm-test.inc (cos_test): Use accurate hex constants.
6942         (sincost_test): Likewise.
6944 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6946         * math/libm-test.inc (catan_test): Add more tests.
6947         (catanh_test): Likewise.
6949         * math/s_catanf.c (__catanf): Use suffixed floating-point
6950         constants.
6951         * math/s_catanhf.c (__catanhf): Likewise.
6952         * math/s_catanhl.c (__catanhl): Likewise.
6953         * math/s_catanl.c (__catanl): Likewise.
6955         [BZ #15394]
6956         * math/s_catan.c (__catan): Calculate imaginary part of result
6957         with log1p not log unless computing log of number close to 0.
6958         * math/s_catanf.c (__catanf): Likewise.
6959         * math/s_catanl.c (__catanl): Likewise.
6960         * math/s_catanh.c (__catanh): Calculate real part of result with
6961         log1p not log unless computing log of number close to 0.
6962         * math/s_catanhf.c (__catanhf): Likewise.
6963         * math/s_catanhl.c (__catanhl): Likewise.
6964         * math/libm-test.inc (catan_test): Add more tests.
6965         (catanh_test): Likewise.
6966         * sysdeps/i386/fpu/libm-test-ulps: Update.
6967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6969 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6971         * benchtests/Makefile: Mention files in which fast and slow
6972         paths of math functions are implemented.
6974 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6976         * sysdeps/posix/timespec_get.c: New file.
6978 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6980         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6981         POWER.
6982         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6983         for POWER.
6984         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6985         powerpc/power5/fpu folders.
6986         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6987         * benchtests/Makefile: Add modf testcase.
6988         * benchtests/bench-modf.c: New file: Benchmark test for mo
6990 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6992         [BZ #14888]
6993         * time/Makefile (tests): Add tst-strptime-whitespace.
6994         * time/strptime_l.c (get_number): Use ISSPACE.
6995         (__strptime_internal): Likewise.
6996         * time/tst-strptime-whitespace.c: New test case.
6998 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7000         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7001         member.
7002         (_nss_files_init): Set it here.
7004 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7006         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7007         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7008         unsigned.
7010 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7012         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7014 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7016         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7017         size just once.
7019 2013-04-21  David S. Miller  <davem@davemloft.net>
7021         * po/ru.po: Update Russion translation from translation project.
7023 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7025         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7026         and setfsgid.
7028 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7030         * configure.in: Remove i386 configure warning. Remove i386 case.
7031         * configure: Regenerate.
7032         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7033         Add example to error message.
7034         * sysdeps/i386/configure: Regenerate.
7036 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7038         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7039         slowtan.
7040         * benchtests/cos-inputs: New file.
7041         * benchtests/slowcos-inputs: New file.
7042         * benchtests/slowcos.c: New file.
7043         * benchtests/slowtan-inputs: New file.
7044         * benchtests/slowtan.c: New file.
7045         * benchtests/tan-inputs: New file.
7047 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7049         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7050         considered kosher.
7052 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7054         * benchtests/Makefile: Include cppflags-iterator.mk to add
7055         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7057         * Makefile.in (bench-clean): New target.
7058         * benchtests/Makefile (bench-clean): Likewise.
7060 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7062         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7064 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7066         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7068 2013-04-15  Andreas Schwab  <schwab@suse.de>
7070         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7072         * nscd/pwdcache.c (cache_addpw): Likewise.
7073         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7074         more than recsize.
7076 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7078         * benchtests/Makefile (bench): Write all output to
7079         bench-out.tmp together.
7081 2013-04-15  Andreas Schwab  <schwab@suse.de>
7083         * nscd/nscd.c (main): Don't fork again after closing files.
7085 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7087         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7089         * benchtests/Rules (bench-deps): Collect dependencies into a
7090         single variable.  Add Makefile to dependencies.
7091         ($(objpfx)bench-%.c): Depend on bench-deps.
7093 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7094             Xavier Roche  <roche+kml2@exalead.com>
7096         [BZ #15361]
7097         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7098         just that it's a file descriptor.
7099         * manual/llio.texi (Synchronizing AIO Operations): Update description
7100         for EBADF error from aio_fsync.
7102 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7104         * Rules (bench): Move target definition...
7105         * benchtests/Makefile: ... here.
7107 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7109         * math/libm-test.inc (cos_test): Fix PI/2 test.
7110         (sincos_test): Likewise.
7111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7112         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7114 2013-04-11  Andreas Schwab  <schwab@suse.de>
7116         [BZ #13988]
7117         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7118         accept exponent character only when digits were seen.
7119         * stdio-common/Makefile (tests): Add bug26.
7120         * stdio-common/bug26.c: New file.
7122         [BZ #14293]
7123         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7124         non-freeable.
7126 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7128         * Makeconfig (rtld-prefix): Define built linker prefix.
7129         * Rules (run-bench): Use it.
7130         * math/Makefile (run-regen-ulps): Likewise.
7132         * Rules (bench): Remove eval.
7134 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7135             Roland McGrath  <roland@hack.frob.com>
7136             Ondrej Bilka  <neleai@seznam.cz>
7138         [BZ #15346]
7139         * time/getdate.c: Include ctype.h and alloca.h.
7140         (__getdate_r): Trim leading and trailing spaces of input.
7141         * time/tst-getdate.c (tests): Add tests with leading and
7142         trailing spaces.
7144 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7146         [BZ #14280]
7147         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7148         when computing value.
7150 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7152         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7153         Use testrun.sh to run libm tests.
7155         [BZ #15309]
7156         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7158 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7160         [BZ #15264]
7161         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7163 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7165         * Makefile.in (regen-ulps): New target.
7166         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7167         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7168         [ifneq (no,$(PERL)] (regen-ulps): New target.
7169         [ifeq (no,$(PERL)] (regen-ulps): New target.
7170         * math/libm-test.inc (ulps_file_name): Define.
7171         (output_dir): New variable.
7172         (options): Add "output-dir" option.
7173         (parse_opt): Handle 'o' case.
7174         (main): If output_dir is non-NULL use it as a prefix
7175         otherwise use "".
7176         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7178 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7180         [BZ #10060, #10062]
7181         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7182         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7183         fail configure if __sync_val_compare_and_swap is not inlined.
7184         * sysdeps/i386/configure: Regenerate.
7185         * configure.in: Build for i686 when configured for i386.
7186         * configure: Regenerate.
7187         * README: Remove i386 reference.
7189 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7191         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7192         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7194 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7196         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7197         (lmsnanval): New variables.
7198         (F): Add conversion tests.
7199         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7200         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7202         * stdio-common/tstdiomisc.c (F): Properly collect individual
7203         tests' results.
7205         [BZ #14686, #15336]
7206         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7207         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7208         Instead, use input NaN values or generate a qNaN by arithmetic
7209         operation.  Also fix bugs to comply with the standard.
7210         * math/libm-test.inc (remainder_test): Add more tests.
7212         [BZ #15335, #15342]
7213         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7215         input NaN values or generate a qNaN by arithmetic operation.
7217         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7218         unreachable code.
7220         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7221         definitions.
7223 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7225         [BZ #14478]
7226         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7227         underflowed result.
7228         * math/s_cexpf.c (__cexpf): Likewise.
7229         * math/s_cexpl.c (__cexpl): Likewise.
7230         * math/libm-test.inc (cexp_test): Add more tests.
7232 2013-04-03  Andreas Schwab  <schwab@suse.de>
7234         [BZ #15330]
7235         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7236         order arrays from heap if bigger than alloca cutoff.
7238 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7240         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7241         (SNAN_TESTS_double): Refer to GCC PR56831.
7242         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7243         GCC PR56828.
7245 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7247         * Rules (bench): Move bench.out after the run is complete.
7249         * Rules (bench): Echo currently running benchmark.
7251         * benchtests/Makefile (bench): Add atan and slowatan.
7252         * benchtests/atan-inputs: New file.
7253         * benchtests/slowatan-inputs: New file.
7254         * benchtests/slowatan.c: New file.
7256         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7257         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7258         its value.
7260         [BZ #15305]
7261         * sysdeps/unix/sysv/linux/kernel-features.h
7262         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7263         __ASSUME_XFS_RESTRICTED_CHOWN.
7264         * sysdeps/unix/sysv/linux/pathconf.c
7265         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7266         Save and restore errno.
7268 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7270         [BZ #15327]
7271         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7272         arguments using __kernel_casinh.
7273         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7274         arguments using __kernel_casinhf.
7275         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7276         arguments using __kernel_casinhl.
7277         * math/libm-test.inc (cacosh_test): Add more tests.
7278         * sysdeps/i386/fpu/libm-test-ulps: Update.
7279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7281 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7283         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7284         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7286         * bench/Makefile (bench): Add sin and slowsin.
7287         * benchtests/sin-inputs: New file.
7288         * benchtests/slowsin-inputs: New file.
7289         * benchtests/slowsin.c: New file.
7291         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7292         (bench): Add slowexp and slowpow.
7293         (exp-ITER): Increase iterations.
7294         (pow-ITER): Likewise.
7295         * benchtests/exp-inputs: Change input.
7296         * benchtests/pow-inputs: Likewise.
7297         * benchtests/slowexp-inputs: New file.
7298         * benchtests/slowexp.c: New file.
7299         * benchtests/slowpow-inputs: New file.
7300         * benchtests/slowpow.c: New file.
7302 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7304         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7305         instructions.
7306         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7307         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7308         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7309         * benchtests/Makefile: Add rint benchtest.
7310         * benchtests/rint-inputs: Input for rint benchtest.
7312 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7314         * Versions.def (libm): Add GLIBC_2.18.
7315         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7316         hidden libm prototypes.
7317         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7318         * math/Makefile (libm-calls): Add s_issignaling.
7319         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7320         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7321         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7322         declaration.
7323         * math/math.h [__USE_GNU] (issignaling): New macro.
7324         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7325         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7326         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7327         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7328         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7329         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7330         * manual/arith.texi (issignaling): New section.
7331         * manual/libm-err-tab.pl (@all_functions): Update comment.
7332         * math/gen-libm-test.pl (parse_args): Apply special handling for
7333         issignaling.
7334         * math/libm-test.inc (print_float, issignaling_test): New
7335         functions.
7336         (check_float_internal): Add issignaling checks.
7337         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7338         default definition.
7339         * sysdeps/powerpc/math-tests.h: New file.
7340         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7341         tests.
7342         * math/test-snan.c (TEST_FUNC): Likewise.
7344 2013-03-30  David S. Miller  <davem@davemloft.net>
7346         * po/de.po: Update from translation team.
7348 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7350         [BZ #10357]
7351         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7352         imaginary part less than 1.0 and real part less than 0.5
7353         specially.
7354         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7355         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7356         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7357         (cacos_test): Add more tests.
7358         (casin_test): Likewise.
7359         (casinh_test): Likewise.
7360         * sysdeps/i386/fpu/libm-test-ulps: Update.
7361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7363 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7365         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7366         ONE with its value.
7368         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7369         (__pow_mp): Replace ONE and MONE with their values.
7370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7371         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7372         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7373         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7374         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7375         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7377         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7379         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7380         (__pow_mp): Replace ZERO and MZERO with their values.
7381         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7382         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7383         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7385         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7386         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7387         (__sqr): Likewise.
7389         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7391         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7393 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7395         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7396         Declare with __attribute__ ((weak)).
7397         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7398         Call __call_tls_dtors only if it's not NULL.
7400 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7402         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7403         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7404         magic __ehdr_start linker symbol if it's defined.
7405         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7406         them up here if it was already done.
7408         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7409         (_dl_aux_init): Use const in cast when setting it.
7410         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7411         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7412         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7414         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7415         Declare them here.
7416         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7417         * csu/libc-tls.c: Nor here.
7418         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7420         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7421         (__libc_message): Never call vsyslog.
7423 2013-03-28  Alan Modra  <amodra@gmail.com>
7425         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7426         Define as empty.
7427         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7428         Likewise.
7430 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7432         [BZ #15214]
7433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7434         underflow.
7435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7437 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7439         [BZ #15304]
7440         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7441         Don't add gid passed as argument.
7443         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7445 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7447         [BZ #15307]
7448         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7449         imaginary part between 1.0 and 1.5 and real part less than 0.5
7450         specially.
7451         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7452         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7453         * math/libm-test.inc (cacos_test): Add more tests.
7454         (casin_test): Likewise.
7455         (casinh_test): Likewise.
7456         * sysdeps/i386/fpu/libm-test-ulps: Update.
7457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7461         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7462         constants.
7463         (norm): Likewise.
7464         (denorm): Likewise.
7465         (__dbl_mp): Likewise.
7466         (add_magnitudes): Likewise.
7467         (sub_magnitudes): Likewise.
7468         (__add): Likewise.
7469         (__sub): Likewise.
7470         (__mul): Likewise.
7471         (__sqr): Likewise.
7472         (__inv): Likewise.
7473         (__dvd): Likewise.
7475         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7476         commented code.
7477         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7478         (__dubcos): Likewise.
7479         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7480         (__ieee754_acos): Likewise.
7481         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7482         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7483         (__exp1): Likewise.
7484         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7485         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7486         (log1): Likewise.
7487         (my_log2): Likewise.
7488         (checkint): Likewise.
7489         * sysdeps/ieee754/dbl-64/e_remainder.c
7490         (__ieee754_remainder): Likewise.
7491         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7492         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7493         (bsloww): Likewise.
7494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7496         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7497         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7498         MANTISSA_STORE_T to store computations on mantissa.  Use
7499         macros for rounding and division.
7500         (denorm): Likewise.
7501         (__dbl_mp): Likewise.
7502         (add_magnitudes): Likewise.
7503         (sub_magnitudes): Likewise.
7504         (__mul): Likewise.
7505         (__sqr): Likewise.
7506         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7507         powers of two in terms of TWOPOW macro.
7508         (mp_no): Make type of mantissa as MANTISSA_T.
7509         [!RADIXI]: Define RADIXI.
7510         [!TWO52]: Define TWO52.
7511         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7513 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7515         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7516         llroundl symbol when building for PPC32.
7518 2013-03-24  Mark H Weaver  <mhw@netris.org>
7520         * manual/arith.texi (Normalization Functions): Fix prototypes for
7521         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7523 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7525         [BZ #13889]
7526         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7527         high value to check if expl overflow.
7528         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7529         to check for underflow and overflow.
7530         * math/libm-test.inc: Add exp test.
7532 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7534         [BZ #11120]
7535         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7536         with NOT_IN_libc.
7538 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7540         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7541         symbol.
7543 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7545         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7546         wrap blocks consisting of several statements.
7548         * sysdeps/generic/math-tests.h: New file.
7549         * sysdeps/i386/fpu/math-tests.h: Likewise.
7550         * math/test-snan.c: Include it.
7551         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7553 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7555         [BZ #15285]
7556         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7557         (__ieee754_j0l): Do not improve calculations using cos of twice
7558         input for inputs above LDBL_MAX / 2.0L.
7559         (__ieee754_y0l): Likewise.
7560         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7561         (__ieee754_j1l): Do not improve calculations using cos of twice
7562         input for inputs above LDBL_MAX / 2.0L.
7563         (__ieee754_y1l): Likewise.
7564         * math/libm-test.inc (j0_test): Add another test.
7565         (j1_test): Likewise.
7566         (y0_test): Likewise.
7567         (y1_test): Likewise.
7568         * sysdeps/i386/fpu/libm-test-ulps: Update.
7570 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7572         * Rules ($(objpfx)bench-%.c): Include code from a C source
7573         file.
7575 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7577         [BZ #15287]
7578         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7579         imaginary part 1.0 and real part less than 0.5 specially.
7580         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7581         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7582         * math/libm-test.inc (cacos_test): Add more tests.
7583         (casin_test): Likewise.
7584         (casinh_test): Likewise.
7585         * sysdeps/i386/fpu/libm-test-ulps: Update.
7586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7588 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7590         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7591         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7593 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7595         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7596         * config.make.in (config-cflags-sse4): Remove variable.
7597         (config-cflags-avx): Likewise.
7598         (config-cflags-sse2avx): Likewise.
7599         (config-cflags-novzeroupper): Likewise.
7600         (config-asflags-i686): Likewise.
7601         (have-mfma4): Likewise.
7602         (have-as-vis3): Likewise.
7603         (MIG): Likewise.
7604         * configure.in (MIG): Do not AC_SUBST.
7605         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7606         (libc_cv_cc_sse4): Do not AC_SUBST.
7607         (libc_cv_cc_avx): Likewise.
7608         (libc_cv_cc_sse2avx): Likewise.
7609         (libc_cv_cc_novzeroupper): Likewise.
7610         (libc_cv_cc_fma4): Likewise.
7611         (libc_cv_as_i686): Likewise.
7612         (libc_cv_sparc_as_vis3): Likewise.
7613         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7614         LIBC_CONFIG_VAR.
7615         (config-asflags-i686): Likewise.
7616         (config-cflags-avx): Likewise.
7617         (config-cflags-sse2avx): Likewise.
7618         (have-mfma4): Likewise.
7619         (config-cflags-novzeroupper): Likewise.
7620         * sysdeps/mach/configure.in (MIG): Likewise.
7621         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7622         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7623         LIBC_CONFIG_VAR.
7624         (config-cflags-avx): Likewise.
7625         (config-cflags-sse2avx): Likewise.
7626         (have-mfma4): Likewise.
7627         (config-cflags-novzeroupper): Likewise.
7628         * configure: Regenerated.
7629         * sysdeps/i386/configure: Likewise.
7630         * sysdeps/mach/configure: Likewise.
7631         * sysdeps/sparc/configure: Likewise.
7632         * sysdeps/x86_64/configure: Likewise.
7634 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7636         [BZ #14812]
7637         * locale/programs/localedef.c (options): Put N_ translation marker
7638         on argument names, not just descriptions.
7640 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7642         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7644 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7646         [BZ #14176]
7647         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7649 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7651         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7652         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7653         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7654         [!BEFORE_ABORT] (before_abort): New function.
7655         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7656         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7657         (writev_for_fatal): New function.
7658         (WRITEV_FOR_FATAL): New macro; call that.
7659         (backtrace_and_maps): New function.
7660         (BEFORE_ABORT): New macro; call that.
7661         (struct str_list): Type removed.
7662         (__libc_message, __libc_fatal): Functions removed.
7663         Include <sysdeps/posix/libc_fatal.c> instead.
7665 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7667         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7668         constants.
7669         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7670         double constants.
7672 2013-03-19  Andreas Schwab  <schwab@suse.de>
7674         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7675         * sysdeps/gnu/configure: Regenerate.
7677         * configure.in: Substitute libc_cv_rtlddir.
7678         * configure: Regenerate.
7679         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7680         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7681         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7682         * elf/Makefile (install-others, CFLAGS-interp.c)
7683         (ldso_install, common-ldd-rewrite): Likewise.
7684         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7685         $(inst_slibdir)/$(rtld-installed-name).
7686         * scripts/rellns-sh: Add -p option.
7687         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7688         for source.
7690 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7692         * manual/nptl.texi: Renamed to ...
7693         * manual/threads.texi: ... this.
7694         * manual/Makefile (chapters): Update.
7696 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7698         [BZ #14812]
7699         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7700         on argument names, not just descriptions.
7701         * malloc/memusagestat.c (options): Likewise.
7702         * nss/getent.c (options): Likewise.
7704 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7706         [BZ #14812]
7707         * iconv/iconv_prog.c (options): Put N_ translation marker
7708         on argument names, not just descriptions.
7709         * iconv/iconvconfig.c (options): Likewise.
7711 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7713         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7714         implementation which is faster on all x86_64 architectures.
7715         Tested on AMD, Intel Nehalem, SNB, IVB.
7716         * sysdeps/x86_64/strnlen.S: Likewise.
7718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7719         Remove all multiarch strlen and strnlen versions.
7720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7721         Remove strlen and strnlen related parts.
7723         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7724         Inline strlen part.
7725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7727         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7728         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7729         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7730         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7731         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7732         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7734 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7736         * manual/memory.texi (Malloc Tunable Parameters):
7737         Sort parameters alphabetically. Add comments for missing entries.
7739 2013-03-17  David S. Miller  <davem@davemloft.net>
7741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7743 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7745         [BZ #15283]
7746         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7747         for arguments at most half maximum finite value.
7748         * math/libm-test.inc (j0_test): Add more tests.
7749         (j1_test): Likewise.
7750         (y0_test): Likewise.
7751         (y1_test): Likewise.
7752         * sysdeps/i386/fpu/libm-test-ulps: Update.
7753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7755         [BZ #14155]
7756         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7757         1 / x and functions P and Q for arguments above 0x1p256L.
7758         (__ieee754_y0l): Likewise.
7759         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7760         (__ieee754_y1l): Likewise.
7761         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7762         (j1_test): Likewise.
7763         (y0_test): Likewise.
7764         (y1_test): Likewise.
7766 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7768         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7769         variable.
7771 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7773         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7774         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7775         zero since it's initialized to EXEC_PAGESIZE.
7777         * sysdeps/unix/sysv/linux/ldsodefs.h
7778         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7779         * sysdeps/generic/ldsodefs.h: ... here.
7781 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7783         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7785         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7786         math/test-snan.c.
7787         * math/test-snan.c: Renamed from
7788         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7789         * math/Makefile (tests): Add test-snan.
7790         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7791         test-powerpc-snan.
7793         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7794         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7795         functions.
7796         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7797         __builtin_nan family of functions.
7798         * math/libm-test.inc (initialize): Initialize qnan_value with
7799         __builtin_nan family of functions.
7800         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7801         Remove variables.
7802         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7803         Remove functions.
7804         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7805         storage class.  Initialize qNaN_var and sNaN_var with
7806         __builtin_nan and __builtin_nans families of functions,
7807         respectively.
7809         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7810         (sqrt_test): Remove duplicate test with qNaN input.
7811         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7812         (round_test, signbit_test, significand_test): Note missing +/-Inf
7813         as well as qNaN tests.
7815         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7816         qNaN_var.  Fix a few strings, too.
7817         * math/libm-test.inc (nan_value): Rename to qnan_value.
7818         * math/gen-libm-test.pl (%beautify): Adjust to that.
7819         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7820         * math/test-misc.c (main): Likewise.
7821         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7822         to __qnan_bytes, and __qnan_union, respectively.
7823         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7824         Likewise.
7825         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7826         and lqnanval, respectively.
7827         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7828         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7829         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7830         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7832         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7833         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7834         doubles.
7836         * math/test-misc.c (main): Fix copy'n'pastos.
7837         * misc/tst-efgcvt.c (special): Likewise.
7839         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7840         Remove declarations.
7842 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7844         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7845         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7846         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7847         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7849 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7851         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7852         macro to return vdso values correctly in IFUNC implementations.
7853         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7854         Optimization by using IFUNC.
7856 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7857             Richard Henderson  <rth@redhat.com>
7858             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7860         * Makefile.in (bench): New target.
7861         * NEWS: Mention the benchmark framework.
7862         * Rules (bench): Likewise.
7863         (binaries-bench): Generate binaries for functions to
7864         benchmark.
7865         * benchtests/Makefile: New makefile for benchmark tests.
7866         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7867         programs.
7868         * benchtests/exp-inputs: New input file for EXP function.
7869         * benchtests/pow-inputs: New input file for POW function.
7870         * scripts/bench.pl: New script to generate source files for
7871         benchmark programs.
7873 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7875         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7876         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7877         computations on mantissa.  Use macros for rounding and
7878         division.
7879         (denorm): Likewise.
7880         (__dbl_mp): Likewise.
7881         (add_magnitudes): Likewise.
7882         (sub_magnitudes): Likewise.
7883         (__mul): Likewise.
7884         (__sqr): Likewise.
7885         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7886         powers of two in terms of TWOPOW macro.
7887         (mp_no): Make type of mantissa as MANTISSA_T.
7888         [!RADIXI]: Define RADIXI.
7889         [!TWO52]: Define TWO52.
7890         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7892         * manual/nptl.texi (cindex): Modify threads to pthreads.
7894 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7896         * sysdeps/x86_64/preconfigure: Regenerated.
7898 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7900         [BZ #14155]
7901         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7902         0x1p28 and above.
7903         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7904         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7905         0x1p28 and above.
7906         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7907         * math/libm-test.inc (j0_test): Do not allow one spurious
7908         underflow exception.
7909         (y1_test): Likewise.
7911 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7913         * manual/Makefile (chapters): Add nptl.
7914         * manual/debug.texi (Debugging Support): Add link to Threads
7915         chapter.
7916         * manual/nptl.texi: New file.
7918         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7920 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7922         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7923         for non-NULL pointer before the memory validity test. Pointed
7924         out by Holger Brunck <holger.brunck@keymile.com>.
7926 2013-03-13  Andreas Schwab  <schwab@suse.de>
7928         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7929         instead of .os.
7931 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7933         * timezone/zic.c: Update from tzcode 2013b.
7935 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7937         * manual/install.texi (Configuring and compiling):
7938         Mention i686 and i586.
7939         * INSTALL: Regenerate.
7941 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7943         * sysdeps/init_array/elf-init.c: New file.
7944         * csu/elf-init.c
7945         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7946         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7948         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7949         __gmon_start__ as global, but as static with a .preinit_array pointer.
7950         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7951         * sysdeps/init_array/crti.S: New file, empty except for comments.
7952         * sysdeps/init_array/crtn.S: Likewise.
7954 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7956         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7957         definining bcopy.
7958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7959         Remove Prefer_SSE_for_memop.
7960         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7961         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7962         HAS_PREFER_SSE_FOR_MEMOP.
7963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7964         memset-x86-64.
7965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7966         Remove bzero, memset ifunc support.
7967         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7968         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7969         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7970         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7972 2013-03-11  Andreas Schwab  <schwab@suse.de>
7974         [BZ #15234]
7975         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7976         by SHLIB_COMPAT.
7977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7978         (GLIBC_2.16): Remove pthread_atfork.
7980 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7982         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7983         (ptestcases.h): Likewise.
7985 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7987         * Makeconfig ($(common-objpfx)config.status): Depend on
7988         sysdeps/*/preconfigure{,.in} too.
7990 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7992         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7993         (__free_hook): Use void * instead of __malloc_ptr_t.
7994         (__malloc_hook): Likewise.
7995         (__realloc_hook): Likewise.
7996         (__memalign_hook): Likewise.
7997         (__after_morecore_hook): Likewise.
7998         * malloc/arena.c (save_malloc_hook): Likewise.
7999         (save_free_hook): Likewise.
8000         * malloc/hooks.c (malloc_hook_ini): Likewise.
8001         (realloc_hook_ini): Likewise.
8002         (memalign_hook_ini): Likewise.
8003         * malloc/malloc.c (malloc_hook_ini): Likewise.
8004         (realloc_hook_ini): Likewise.
8005         (memalign_hook_ini): Likewise.
8006         (__free_hook): Likewise.
8007         (__malloc_hook): Likewise.
8008         (__realloc_hook): Likewise.
8009         (__memalign_hook): Likewise.
8010         (__libc_malloc): Likewise.
8011         (__libc_free): Likewise.
8012         (__libc_realloc): Likewise.
8013         (__libc_memalign): Likewise.
8014         (__libc_valloc): Likewise.
8015         (__libc_pvalloc): Likewise.
8016         (__libc_calloc): Likewise.
8017         (__posix_memalign): Likewise.
8018         * malloc/morecore.c (__sbrk): Likewise.
8019         (__default_morecore): Likewise.
8021         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8023         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8024         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8025         __malloc_ptrdiff_t.
8027         * malloc/malloc.h (__malloc_size_t): Remove macro.
8028         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8029         __malloc_size_t.
8030         (old_memalign_hook): Likewise.
8031         (old_realloc_hook): Likewise.
8032         (struct hdr): Likewise.
8033         (flood): Likewise.
8034         (mallochook): Likewise.
8035         (memalignhook): Likewise.
8036         (reallochook): Likewise.
8037         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8038         (tr_old_realloc_hook): Likewise.
8039         (tr_old_memalign_hook): Likewise.
8040         (tr_mallochook): Likewise.
8041         (tr_reallochook): Likewise.
8042         (tr_memalignhook): Likewise.
8044 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8047         default_ldbl_pack and using as default implementation.
8048         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8049         implementation.
8050         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8051         redundant definition.
8052         (ldbl_insert_mantissa): Likewise.
8053         (ldbl_canonicalize): Likewise.
8054         (ldbl_nearbyint): Likewise.
8055         (ldbl_pack): Rename to ldbl_pack_ppc.
8056         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8057         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8058         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8060 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8063         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8064         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8065         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8067         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8068         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8069         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8071 2013-03-07  Andreas Jaeger  <aj@suse.de>
8073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8074         bits/mman-linux.h.
8076 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8078         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8079         Include mpa.h and declare __MPEXP.
8080         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8081         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8082         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8083         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8084         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8085         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8086         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8088         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8089         (__slowpow): Use long double EXPL and LOGL functions to
8090         compute POW.
8091         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8092         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8093         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8094         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8095         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8096         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8099         intermediate variable to calculate exponent.
8100         (__sqr): Likewise.
8101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8102         Likewise.
8103         (__sqr): Likewise.
8105         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8106         [!NO__SQR]: Define __sqr.
8107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8108         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8109         sysdeps/ieee754/dbl-64/mpa.c.
8110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8112         [BZ #12723]
8113         * posix/Makefile (tests): Add tst-pathconf.
8114         * posix/tst-pathconf.c: New test case.
8115         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8116         _PC_PIPE_BUF.
8117         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8119 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8121         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8123 2013-03-06  Andreas Jaeger  <aj@suse.de>
8125         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8126         definition via __MAP_ANONYMOUS.
8128         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8129         it's not part of Linux headers.
8131         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8132         (MAP_HUGE_MASK): Define.
8134         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8135         Define.
8136         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8137         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8138         Define.
8139         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8140         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8141         Define.
8142         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8143         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8144         Define.
8145         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8147         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8148         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8149         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8150         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8151         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8152         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8154         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8155         Handle f2fs.
8157         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8158         Handle f2fs and efivarfs.
8160         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8161         f2fs.
8163         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8164         (EFIVARFS_MAGIC): Add.
8165         (F2FS_LINK_MAX): Add.
8167 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8169         * stdio-common/vfprintf.c: Replace __builtin_expect with
8170         __glibc_unlikely.
8172 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8174         [BZ #13550]
8175         * sysdeps/generic/bp-sym.h: Remove file.
8176         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8177         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8178         <bp-sym.h> and <bp-asm.h>.
8179         (__longjmp): Don't use BP_SYM.
8180         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8181         and <bp-asm.h>.
8182         (memcpy): Don't use BP_SYM.
8183         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8184         <bp-sym.h> and <bp-asm.h>.
8185         (memcpy): Don't use BP_SYM.
8186         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8187         <bp-asm.h>.
8188         (memcpy): Don't use BP_SYM.
8189         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8190         <bp-asm.h>.
8191         (memset): Don't use BP_SYM.
8192         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8193         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8194         (__bzero): Don't use BP_SYM.
8195         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8196         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8197         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8198         <bp-sym.h> and <bp-asm.h>.
8199         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8200         pointers.
8201         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8202         <bp-sym.h> and <bp-asm.h>.
8203         (memcpy): Don't use BP_SYM.
8204         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8205         <bp-sym.h> and <bp-asm.h>.
8206         (memset): Don't use BP_SYM.
8207         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8208         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8209         (__bzero): Don't use BP_SYM.
8210         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8211         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8212         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8213         <bp-sym.h> and <bp-asm.h>.
8214         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8215         pointers.
8216         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8217         <bp-sym.h> and <bp-asm.h>.
8218         (memcpy): Don't use BP_SYM.
8219         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8220         <bp-sym.h> and <bp-asm.h>.
8221         (memset): Don't use BP_SYM.
8222         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8223         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8224         (__bzero): Don't use BP_SYM.
8225         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8226         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8227         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8228         <bp-sym.h> and <bp-asm.h>.
8229         (__memchr): Don't use BP_SYM.
8230         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8231         <bp-sym.h> and <bp-asm.h>.
8232         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8233         pointers.
8234         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8235         <bp-sym.h> and <bp-asm.h>.
8236         (memcpy): Don't use BP_SYM.
8237         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8238         <bp-sym.h> and <bp-asm.h>.
8239         (__mempcpy): Don't use BP_SYM.
8240         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8241         <bp-sym.h> and <bp-asm.h>.
8242         (__memrchr): Don't use BP_SYM.
8243         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8244         <bp-sym.h> and <bp-asm.h>.
8245         (memset): Don't use BP_SYM.
8246         (__bzero): Likewise.
8247         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8248         <bp-sym.h> and <bp-asm.h>.
8249         (__rawmemchr): Don't use BP_SYM.
8250         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8251         <bp-sym.h> and <bp-asm.h>.
8252         (__STRCMP): Don't use BP_SYM.
8253         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8254         <bp-sym.h> and <bp-asm.h>.
8255         (strchr): Don't use BP_SYM.
8256         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8257         <bp-sym.h> and <bp-asm.h>.
8258         (__strchrnul): Don't use BP_SYM.
8259         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8260         <bp-sym.h> and <bp-asm.h>.
8261         (strlen): Don't use BP_SYM.
8262         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8263         <bp-sym.h> and <bp-asm.h>.
8264         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8265         pointers.
8266         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8267         <bp-sym.h> and <bp-asm.h>.
8268         (__strnlen): Don't use BP_SYM.
8269         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8270         <bp-sym.h> and <bp-asm.h>.
8271         (__GI__setjmp): Don't use BP_SYM.
8272         (_setjmp): Likewise.
8273         (__sigsetjmp): Likewise.
8274         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8275         (L(start_addresses)): Don't use BP_SYM.
8276         (_start): Likewise.
8277         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8278         <bp-asm.h>.
8279         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8280         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8281         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8282         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8283         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8284         <bp-asm.h>.
8285         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8286         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8287         about bounded pointers.
8288         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8289         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8290         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8291         <bp-asm.h>.
8292         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8293         about bounded pointers.  Remove GKM FIXME comments.
8294         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8295         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8296         <bp-asm.h>.
8297         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8298         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8299         Remove GKM FIXME comments.
8300         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8301         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8302         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8303         <bp-asm.h>.
8304         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8305         about bounded pointers.  Remove GKM FIXME comment.
8306         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8307         and <bp-asm.h>.
8308         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8309         pointers.
8310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8311         <bp-sym.h> and <bp-asm.h>.
8312         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8314         <bp-sym.h> and <bp-asm.h>.
8315         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8316         comment.
8318 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8320         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8321         call free(NULL).
8323 2013-03-05  David S. Miller  <davem@davemloft.net>
8325         * po/es.po: Update from translation team.
8327 2013-03-05  Andreas Jaeger  <aj@suse.de>
8329         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8330         <bits/mman-linux.h>.
8331         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8332         is fine.
8333         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8334         <bits/mman-linux.h> to end of file.
8335         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8336         is fine.
8337         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8338         <bits/mman-linux.h> to end of file.
8339         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8340         is fine.
8341         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8342         <bits/mman-linux.h> to end of file.
8344         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8345         (MCL_CURRENT, MCL_FUTURE): Define here.
8347 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8349         [BZ #15232]
8350         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8351         attribute_hidden.
8352         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8354 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8356         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8357         fourth parameter needed for rt_sigprocmask syscall.
8358         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8359         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8360         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8361         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8362         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8363         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8365 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8367         [BZ #13550]
8368         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8369         comment about bounded pointers.
8370         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8371         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8373 2013-03-04  Andreas Jaeger  <aj@suse.de>
8375         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8376         common definitions.
8378         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8379         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8380         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8381         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8382         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8383         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8385 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8387         [BZ #15055]
8388         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8389         __ieee754_sqrl instead of __sqrl.
8391 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8393         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8394         * sysdeps/powerpc/fpu_control.h: ... here.
8395         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8396         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8397         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8398         * sysdeps/powerpc/bits/mathinline.h: ... here.
8400 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8402         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8403         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8404         to just [NEED_DL_SYSINFO_DSO].
8405         * elf/dl-support.c: Likewise.
8406         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8407         * elf/rtld.c (dl_main): Likewise.
8408         * elf/setup-vdso.h (setup_vdso): Likewise.
8409         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8410         * sysdeps/unix/sysv/linux/dl-sysdep.c
8411         (_dl_discover_osversion): Likewise.
8413 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8415         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8416         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8418 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8420         * NEWS: Mention libm performance improvements and non-x86 PI
8421         futex support.
8423         * csu/libc-start.c (__pthread_initialize_minimal): Change
8424         function arguments.
8425         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8427 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8429         [BZ #13550]
8430         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8431         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8432         <bp-sym.h> and <bp-asm.h>.
8433         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8434         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8435         and <bp-asm.h>.
8436         (memcpy): Don't use BP_SYM.
8437         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8438         <bp-asm.h>.
8439         (__mpn_add_n): Don't use BP_SYM.
8440         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8441         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8442         and <bp-asm.h>.
8443         (__mpn_addmul_1): Don't use BP_SYM.
8444         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8445         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8446         <bp-sym.h>.
8447         (_setjmp): Don't use BP_SYM.
8448         (__novmx_setjmp): Likewise.
8449         (__GI__setjmp): Likewise.
8450         (__vmx_setjmp): Likewise.
8451         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8452         <bp-sym.h>.
8453         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8454         (__bzero): Don't use BP_SYM.
8455         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8456         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8457         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8458         <bp-sym.h> and <bp-asm.h>.
8459         (memcpy): Don't use BP_SYM.
8460         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8461         <bp-sym.h> and <bp-asm.h>.
8462         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8463         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8464         <bp-sym.h> and <bp-asm.h>.
8465         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8466         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8467         <bp-asm.h>.
8468         (__mpn_lshift): Don't use BP_SYM.
8469         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8470         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8471         <bp-asm.h>.
8472         (memset): Don't use BP_SYM.
8473         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8474         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8475         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8476         <bp-asm.h>.
8477         (__mpn_mul_1): Don't use BP_SYM.
8478         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8479         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8480         <bp-sym.h> and <bp-asm.h>.
8481         (memcmp): Don't use BP_SYM.
8482         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8483         <bp-sym.h> and <bp-asm.h>.
8484         (memcpy): Don't use BP_SYM.
8485         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8486         <bp-sym.h> and <bp-asm.h>.
8487         (memset): Don't use BP_SYM.
8488         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8489         <bp-sym.h> and <bp-asm.h>.
8490         (strncmp): Don't use BP_SYM.
8491         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8492         <bp-sym.h> and <bp-asm.h>.
8493         (memcpy): Don't use BP_SYM.
8494         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8495         <bp-sym.h> and <bp-asm.h>.
8496         (memset): Don't use BP_SYM.
8497         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8498         <bp-sym.h> and <bp-asm.h>.
8499         (__memchr): Don't use BP_SYM.
8500         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8501         <bp-sym.h> and <bp-asm.h>.
8502         (memcmp): Don't use BP_SYM.
8503         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8504         <bp-sym.h> and <bp-asm.h>.
8505         (memcpy): Don't use BP_SYM.
8506         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8507         <bp-sym.h> and <bp-asm.h>.
8508         (__mempcpy): Don't use BP_SYM.
8509         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8510         <bp-sym.h> and <bp-asm.h>.
8511         (__memrchr): Don't use BP_SYM.
8512         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8513         <bp-sym.h> and <bp-asm.h>.
8514         (memset): Don't use BP_SYM.
8515         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8516         <bp-sym.h> and <bp-asm.h>.
8517         (__rawmemchr): Don't use BP_SYM.
8518         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8519         <bp-sym.h> and <bp-asm.h>.
8520         (__STRCMP): Don't use BP_SYM.
8521         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8522         <bp-sym.h> and <bp-asm.h>.
8523         (strchr): Don't use BP_SYM.
8524         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8525         <bp-sym.h> and <bp-asm.h>.
8526         (__strchrnul): Don't use BP_SYM.
8527         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8528         <bp-sym.h> and <bp-asm.h>.
8529         (strlen): Don't use BP_SYM.
8530         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8531         <bp-sym.h> and <bp-asm.h>.
8532         (strncmp): Don't use BP_SYM.
8533         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8534         <bp-sym.h> and <bp-asm.h>.
8535         (__strnlen): Don't use BP_SYM.
8536         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8537         <bp-asm.h>.
8538         (__mpn_rshift): Don't use BP_SYM.
8539         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8540         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8541         <bp-sym.h> and <bp-asm.h>.
8542         (__sigsetjmp): Don't use BP_SYM.
8543         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8544         (L(start_addresses)): Don't use BP_SYM.
8545         (_start): Likewise.
8546         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8547         <bp-asm.h>.
8548         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8549         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8550         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8551         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8552         <bp-asm.h>.
8553         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8554         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8555         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8556         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8557         <bp-asm.h>.
8558         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8559         comments.
8560         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8561         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8562         <bp-asm.h>.
8563         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8564         FIXME comments.
8565         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8566         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8567         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8568         <bp-asm.h>.
8569         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8570         comment.
8571         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8572         and <bp-asm.h>.
8573         (strncmp): Don't use BP_SYM,
8574         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8575         <bp-asm.h>.
8576         (__mpn_sub_n): Don't use BP_SYM.
8577         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8578         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8579         and <bp-asm.h>.
8580         (__mpn_submul_1): Don't use BP_SYM.
8581         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8583         <bp-sym.h> and <bp-asm.h>.
8584         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8586         <bp-sym.h> and <bp-asm.h>.
8587         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8588         comment.
8590 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8593         Use ZK to minimize writes to Z.
8594         (sub_magnitudes): Simplify code a bit.
8595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8596         Use ZK to minimize writes to Z.
8597         (sub_magnitudes): Simplify code a bit.
8599 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8601         * csu/gmon-start.c: Add special exception to license text.
8603 2013-02-27  Richard Henderson  <rth@redhat.com>
8605         * scripts/config.guess: Update from config.git.
8606         * scripts/config.sub: Likewise.
8608 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8610         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8612         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8614         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8616         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8618         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8620 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8622         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8623         [$(build-shared = yes].
8625 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8627         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8628         (__mul): Reduce iterations for calculating mantissa.
8630         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8631         MPTWO.
8632         (__mpranred): Likewise.
8634         [BZ #15160]
8635         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8636         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8638 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8640         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8641         Define __attribute__.
8643 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8645         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8646         unused.
8647         * posix/regex_internal.h (__attribute): Remove.
8648         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8649         (re_string_context_at): Likewise.
8650         (bitset_not): Use __attribute__ and mark function as possibly
8651         unused.
8652         (bitset_merge): Likewise.
8653         (bitset_mask): Likewise.
8654         (re_string_char_size_at): Likewise.
8655         (re_string_wchar_at): Likewise.
8656         (re_string_elem_size_at): Likewise.
8658 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8660         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8661         code.
8662         (cc32): Likewise.
8664         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8665         (__acr): Likewise.
8666         (__cpy): Likewise.
8667         (norm): Likewise.
8668         (denorm): Likewise.
8669         (__dbl_mp): Likewise.
8670         (add_magnitudes): Likewise.
8671         (sub_magnitudes): Likewise.
8672         (__mul): Likewise.
8673         (__inv): Likewise.
8675         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8676         style.
8678         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8679         style.
8681         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8682         code.
8684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8685         up changes with default code.
8686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8687         Likewise.
8689 2013-02-24  Allan McRae  <allan@archlinux.org>
8691         * manual/socket.texi (The Internet Namespace): Order menu items
8692         to match that in the file.
8694         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8695         node listing of the info page menu.
8697 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8699         [BZ #13550]
8700         * sysdeps/i386/bp-asm.h: Remove file.
8701         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8702         (PARMS): Do not use macros from bp-asm.h.
8703         (S1): Likewise.
8704         (S2): Likewise.
8705         (SIZE): Likewise.
8706         (__mpn_add_n): Do not use BP_SYM
8707         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8708         "bp-asm.h".
8709         (PARMS): Do not use macros from bp-asm.h.
8710         (S1): Likewise.
8711         (SIZE): Likewise.
8712         (__mpn_addmul_1): Do not use BP_SYM
8713         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8714         "bp-asm.h".
8715         (PARMS): Do not use macros from bp-asm.h.
8716         (SIGMSK): Likewise.
8717         (_setjmp): Likewise.  Do not use BP_SYM.
8718         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8719         "bp-asm.h".
8720         (PARMS): Do not use macros from bp-asm.h.
8721         (SIGMSK): Likewise.
8722         (setjmp): Likewise.  Do not use BP_SYM.
8723         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8724         "bp-asm.h".
8725         (PARMS): Do not use macros from bp-asm.h.
8726         (__frexp): Do not use BP_SYM.
8727         (frexp): Likewise.
8728         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8729         "bp-asm.h".
8730         (PARMS): Do not use macros from bp-asm.h.
8731         (__frexpf): Do not use BP_SYM.
8732         (frexpf): Likewise.
8733         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8734         "bp-asm.h".
8735         (PARMS): Do not use macros from bp-asm.h.
8736         (__frexpl): Do not use BP_SYM.
8737         (frexpl): Likewise.
8738         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8739         "bp-asm.h".
8740         (PARMS): Do not use macros from bp-asm.h.
8741         (__remquo): Do not use BP_SYM.
8742         (remquo): Likewise.
8743         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8744         "bp-asm.h".
8745         (PARMS): Do not use macros from bp-asm.h.
8746         (__remquof): Do not use BP_SYM.
8747         (remquof): Likewise.
8748         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8749         "bp-asm.h".
8750         (PARMS): Do not use macros from bp-asm.h.
8751         (__remquol): Do not use BP_SYM.
8752         (remquol): Likewise.
8753         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8754         "bp-asm.h".
8755         (PARMS): Do not use macros from bp-asm.h.
8756         (DEST): Likewise.
8757         (SRC): Likewise.
8758         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8759         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8760         "bp-asm.h".
8761         (PARMS): Do not use macros from bp-asm.h.
8762         (strlen): Do not use BP_SYM.
8763         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8764         "bp-asm.h".
8765         (PARMS): Do not use macros from bp-asm.h.
8766         (S1): Likewise.
8767         (S2): Likewise.
8768         (SIZE): Likewise.
8769         (__mpn_add_n): Do not use BP_SYM.
8770         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8771         "bp-asm.h".
8772         (PARMS): Do not use macros from bp-asm.h.
8773         (S1): Likewise.
8774         (SIZE): Likewise.
8775         (__mpn_addmul_1): Do not use BP_SYM.
8776         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8777         weak_alias.
8778         (bzero): Likewise.
8779         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8780         "bp-asm.h".
8781         (PARMS): Do not use macros from bp-asm.h.
8782         (S): Likewise.
8783         (SIZE): Likewise.
8784         (__mpn_lshift): Do not use BP_SYM.
8785         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8786         "bp-asm.h".
8787         (PARMS): Do not use macros from bp-asm.h.
8788         (DEST): Likewise.
8789         (SRC): Likewise.
8790         (LEN): Likewise.
8791         (memcpy): Likewise.  Do not use BP_SYM.
8792         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8793         libc_hidden_def and weak_alias.
8794         (mempcpy): Do not use BP_SYM in weak_alias.
8795         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8796         "bp-asm.h".
8797         (PARMS): Do not use macros from bp-asm.h.
8798         (DEST): Likewise.
8799         (LEN): Likewise.
8800         [!BZERO_P] (CHR): Likewise.
8801         (memset): Likewise.  Do not use BP_SYM.
8802         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8803         "bp-asm.h".
8804         (PARMS): Do not use macros from bp-asm.h.
8805         (S1): Likewise.
8806         (SIZE): Likewise.
8807         (__mpn_mul_1): Do not use BP_SYM.
8808         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8809         "bp-asm.h".
8810         (PARMS): Do not use macros from bp-asm.h.
8811         (S): Likewise.
8812         (SIZE): Likewise.
8813         (__mpn_rshift): Do not use BP_SYM.
8814         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8815         "bp-asm.h".
8816         (PARMS): Do not use macros from bp-asm.h.
8817         (STR): Likewise.
8818         (CHR): Likewise.
8819         (strchr): Likewise.  Do not use BP_SYM.
8820         (index): Do not use BP_SYM in weak_alias.
8821         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8822         "bp-asm.h".
8823         (PARMS): Do not use macros from bp-asm.h.
8824         (DEST): Likewise.
8825         (SRC): Likewise.
8826         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8827         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8828         "bp-asm.h".
8829         (PARMS): Do not use macros from bp-asm.h.
8830         (strlen): Do not use BP_SYM.
8831         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8832         "bp-asm.h".
8833         (PARMS): Do not use macros from bp-asm.h.
8834         (S1): Likewise.
8835         (S2): Likewise.
8836         (SIZE): Likewise.
8837         (__mpn_sub_n): Do not use BP_SYM.
8838         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8839         "bp-asm.h".
8840         (PARMS): Do not use macros from bp-asm.h.
8841         (S1): Likewise.
8842         (SIZE): Likewise.
8843         (__mpn_submul_1): Do not use BP_SYM.
8844         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8845         "bp-asm.h".
8846         (PARMS): Do not use macros from bp-asm.h.
8847         (S1): Likewise.
8848         (S2): Likewise.
8849         (SIZE): Likewise.
8850         (__mpn_add_n): Do not use BP_SYM.
8851         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8852         weak_alias.
8853         (bzero): Likewise.
8854         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8855         "bp-asm.h".
8856         (PARMS): Do not use macros from bp-asm.h.
8857         (BLK2): Likewise.
8858         (LEN): Likewise.
8859         (memcmp): Do not use BP_SYM.
8860         (bcmp): Do not use BP_SYM in weak_alias.
8861         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8862         "bp-asm.h".
8863         (PARMS): Do not use macros from bp-asm.h.
8864         (DEST): Likewise.
8865         (SRC): Likewise.
8866         (LEN): Likewise.
8867         (memcpy): Likewise.  Do not use BP_SYM.
8868         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8869         "bp-asm.h".
8870         (PARMS): Do not use macros from bp-asm.h.
8871         (DEST): Likewise.
8872         (SRC): Likewise.
8873         (LEN): Likewise.
8874         (memmove): Likewise.  Do not use BP_SYM.
8875         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8876         "bp-asm.h".
8877         (PARMS): Do not use macros from bp-asm.h.
8878         (DEST): Likewise.
8879         (SRC): Likewise.
8880         (LEN): Likewise.
8881         (__mempcpy): Likewise.  Do not use BP_SYM.
8882         (mempcpy): Do not use BP_SYM in weak_alias.
8883         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8884         "bp-asm.h".
8885         (PARMS): Do not use macros from bp-asm.h.
8886         (DEST): Likewise.
8887         (LEN): Likewise.
8888         [!BZERO_P] (CHR): Likewise.
8889         (memset): Likewise.  Do not use BP_SYM.
8890         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8891         "bp-asm.h".
8892         (PARMS): Do not use macros from bp-asm.h.
8893         (STR2): Likewise.
8894         (strcmp): Do not use BP_SYM.
8895         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8896         "bp-asm.h".
8897         (PARMS): Do not use macros from bp-asm.h.
8898         (STR): Likewise.
8899         (DELIM): Likewise.
8900         [USE_AS_STRTOK_R] (SAVE): Likewise.
8901         (FUNCTION): Likewise.  Do not use BP_SYM.
8902         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8903         aliases.
8904         (strtok_r): Likewise.
8905         (__GI___strtok_r): Likewise.
8906         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8907         (PARMS): Do not use macros from bp-asm.h.
8908         (S): Likewise.
8909         (SIZE): Likewise.
8910         (__mpn_lshift): Do not use BP_SYM.
8911         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8912         (PARMS): Do not use macros from bp-asm.h.
8913         (STR): Likewise.
8914         (CHR): Likewise.
8915         (__memchr): Do not use BP_SYM.
8916         (memchr): Do not use BP_SYM in weak_alias.
8917         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8918         (PARMS): Do not use macros from bp-asm.h.
8919         (BLK2): Likewise.
8920         (LEN): Likewise.
8921         (memcmp): Do not use BP_SYM.
8922         (bcmp): Do not use BP_SYM in weak_alias.
8923         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8924         (PARMS): Do not use macros from bp-asm.h.
8925         (S1): Likewise.
8926         (SIZE): Likewise.
8927         (__mpn_mul_1): Do not use BP_SYM.
8928         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8929         "bp-asm.h".
8930         (PARMS): Do not use macros from bp-asm.h.
8931         (STR): Likewise.
8932         (CHR): Likewise.
8933         (__rawmemchr): Do not use BP_SYM.
8934         (rawmemchr): Do not use BP_SYM in weak_alias.
8935         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8936         (PARMS): Do not use macros from bp-asm.h.
8937         (S): Likewise.
8938         (SIZE): Likewise.
8939         (__mpn_rshift): Do not use BP_SYM.
8940         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8941         (PARMS): Do not use macros from bp-asm.h.
8942         (SIGMSK): Likewise.
8943         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8944         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8945         (_start): Do not use BP_SYM.
8946         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8947         (PARMS): Do not use macros from bp-asm.h.
8948         (DEST): Likewise.
8949         (SRC): Likewise.
8950         (__stpcpy): Likewise.  Do not use BP_SYM.
8951         (stpcpy): Do not use BP_SYM in weak_alias.
8952         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8953         "bp-asm.h".
8954         (PARMS): Do not use macros from bp-asm.h.
8955         (DEST): Likewise.
8956         (SRC): Likewise.
8957         (LEN): Likewise.
8958         (__stpncpy): Likewise.  Do not use BP_SYM.
8959         (stpncpy): Do not use BP_SYM in weak_alias.
8960         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8961         (PARMS): Do not use macros from bp-asm.h.
8962         (STR): Likewise.
8963         (CHR): Likewise.
8964         (strchr): Likewise.  Do not use BP_SYM.
8965         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8966         "bp-asm.h".
8967         (PARMS): Do not use macros from bp-asm.h.
8968         (STR): Likewise.
8969         (CHR): Likewise.
8970         (__strchrnul): Likewise.  Do not use BP_SYM.
8971         (strchrnul): Do not use BP_SYM in weak_alias.
8972         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8973         "bp-asm.h".
8974         (PARMS): Do not use macros from bp-asm.h.
8975         (STOP): Likewise.
8976         (strcspn): Do not use BP_SYM.
8977         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8978         "bp-asm.h".
8979         (PARMS): Do not use macros from bp-asm.h.
8980         (STR): Likewise.
8981         (STOP): Likewise.
8982         (strpbrk): Likewise.  Do not use BP_SYM.
8983         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8984         "bp-asm.h".
8985         (PARMS): Do not use macros from bp-asm.h.
8986         (STR): Likewise.
8987         (CHR): Likewise.
8988         (strrchr): Likewise.  Do not use BP_SYM.
8989         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8990         (PARMS): Do not use macros from bp-asm.h.
8991         (SKIP): Likewise.
8992         (strspn): Do not use BP_SYM.
8993         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8994         (PARMS): Do not use macros from bp-asm.h.
8995         (STR): Likewise.
8996         (DELIM): Likewise.
8997         (SAVE): Likewise.
8998         (FUNCTION): Likewise.  Do not use BP_SYM.
8999         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9000         aliases.
9001         (strtok_r): Likewise.
9002         (__GI___strtok_r): Likewise.
9003         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9004         (PARMS): Do not use macros from bp-asm.h.
9005         (S1): Likewise.
9006         (S2): Likewise.
9007         (SIZE): Likewise.
9008         (__mpn_sub_n): Do not use BP_SYM.
9009         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9010         "bp-asm.h".
9011         (PARMS): Do not use macros from bp-asm.h.
9012         (S1): Likewise.
9013         (SIZE): Likewise.
9014         (__mpn_submul_1): Do not use BP_SYM.
9015         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9016         <bp-sym.h>.
9017         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9018         and <bp-asm.h>.
9019         (PARMS): Do not use macros from bp-asm.h.
9020         (FLAGS): Likewise.
9021         (PTID): Likewise.
9022         (TLS): Likewise.
9023         (CTID): Likewise.
9024         (__clone): Do not use BP_SYM.
9025         (clone): Do not use BP_SYM in weak_alias.
9026         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9027         and <bp-asm.h>.
9028         (PARMS): Do not use macros from bp-asm.h.
9029         (LEN): Likewise.
9030         (__mmap64): Do not use BP_SYM.
9031         (mmap64): Do not use BP_SYM in weak_alias.
9032         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9033         <bp-sym.h> and <bp-asm.h>.
9034         (PARMS): Do not use macros from bp-asm.h.
9035         (__posix_fadvise64_l64): Do not use BP_SYM.
9036         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9037         (PARMS): Do not use macros from bp-asm.h.
9038         (NSOPS): Likewise.
9039         (semtimedop): Do not use BP_SYM.
9040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9041         and <bp-asm.h>.
9043 2013-02-21  Allan McRae  <allan@archlinux.org>
9045         * manual/message.texi (Charset conversion in gettext):
9046         Move @end statement to beginning of line.
9048 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9051         static.
9052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9053         Likewise.
9055         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9056         (denorm): Likewise.
9057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9060 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9062         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9063         tail-call to the resolved function if pltexit isn't needed.
9065 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9068         or Y being zero as being unlikely.
9069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9070         Likewise.
9072 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9074         * manual/nss.texi (System Databases and Name Service Switch):
9075         Remove frobnicate @pxref.
9077 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9079         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9080         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9082 2013-02-20  Petr Machata  <pmachata@redhat.com>
9084         * elf/elf.h (R_ARM_TARGET1): New macro.
9085         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9086         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9087         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9088         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9089         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9090         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9091         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9092         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9093         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9094         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9095         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9096         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9097         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9098         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9099         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9100         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9101         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9102         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9103         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9104         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9105         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9106         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9107         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9108         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9109         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9110         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9111         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9112         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9113         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9114         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9115         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9116         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9117         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9118         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9119         (R_ARM_THM_GOT_BREL12): Likewise.
9120         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9121         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9122         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9123         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9124         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9125         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9126         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9127         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9128         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9130 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9132         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9133         __attribute_used__ to __attribute__ ((unused)).
9135 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9137         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9138         powerpc mpa.c.
9139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9140         comment formatting.
9141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9143 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9145         [BZ #13550]
9146         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9147         Remove macro.
9148         (ENTER): Remove both macro definitions.
9149         (LEAVE): Likewise.
9150         (CHECK_BOUNDS_LOW): Likewise.
9151         (CHECK_BOUNDS_HIGH): Likewise.
9152         (CHECK_BOUNDS_BOTH): Likewise.
9153         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9154         (RETURN_BOUNDED_POINTER): Likewise.
9155         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9156         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9157         (POP_ERRNO_LOCATION_RETURN): Likewise.
9158         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9159         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9160         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9161         macros.
9162         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9163         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9164         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9165         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9166         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9167         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9168         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9169         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9170         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9171         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9172         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9173         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9174         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9175         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9176         removed macros.
9177         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9178         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9179         macros.
9180         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9181         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9182         * sysdeps/i386/i586/memset.S (memset): Likewise.
9183         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9184         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9185         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9186         macros.
9187         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9188         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9189         Change uses of L(2) to L(out).
9190         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9191         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9192         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9193         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9194         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9195         removed macros.
9196         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9197         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9198         macros.
9199         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9200         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9201         (RETURN): Do not use macro LEAVE.
9202         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9203         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9204         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9205         * sysdeps/i386/i686/memset.S (memset): Likewise.
9206         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9207         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9208         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9209         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9210         Likewise.
9211         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9212         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9213         L(1_2) and L(1_3) into L(1).
9214         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9215         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9216         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9217         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9218         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9219         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9220         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9221         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9222         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9223         macros.
9224         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9225         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9226         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9227         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9228         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9229         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9230         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9231         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9232         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9233         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9234         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9235         * sysdeps/i386/strspn.S (strspn): Likewise.
9236         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9237         conditional code.
9238         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9239         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9240         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9241         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9242         L(1_3) into L(1_1).
9243         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9244         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9245         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9246         macros.
9247         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9249 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9251         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9252         macro.
9254 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9256         * math/atest-exp.c (exp_mpn): Remove ROUND.
9257         * math/atest-exp2.c (exp_mpn): Likewise.
9258         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9260         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9261         * stdlib/tst-tls-atexit-lib.c: Likewise.
9262         * stdlib/tst-tls-atexit.c: Likewise.
9264 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9266         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9267         and __attribute_alloc_size__.
9269 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9271         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9272         __attribute_alloc_size__.
9273         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9274         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9276 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9278         * include/programs/xmalloc.h: New file.
9279         * catgets/gencat.c: Include it.
9280         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9281         * elf/pldd.c: Likewise.
9282         * iconv/iconv_charmap.c: Likewise.
9283         * iconv/iconvconfig.c: Likewise.
9284         * iconv/strtab.c: Likewise.
9285         * locale/programs/locale.c: Likewise.
9286         * locale/programs/localedef.h: Likewise.
9287         * locale/programs/simple-hash.c: Likewise.
9288         * nscd/nscd.h: Likewise.
9289         * nss/makedb.c: Likewise.
9290         * sysdeps/generic/ldconfig.h: Likewise.
9292 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9294         * Versions.def: Add GLIBC_2.18.
9295         * include/link.h (struct link_map): New member l_tls_dtor_count.
9296         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9297         (__call_tls_dtors): Likewise.
9298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9299         __cxa_thread_atexit_impl.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9301         Likewise.
9302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9303         Likewise.
9304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9305         Likewise.
9306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9307         Likewise.
9308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9310         Likewise.
9311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9312         Likewise.
9313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9315         Likewise.
9316         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9317         (tests): Add test case tst-tls-atexit.
9318         (modules-names): Add shared library for tst-tls-atexit.
9319         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9320         (GLIBC_PRIVATE): Add __call_tls_dtors.
9321         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9322         for libstdc++.
9323         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9324         * stdlib/tst-tls-atexit.c: New test case.
9325         * stdlib/tst-tls-atexit-lib.c: New test case.
9327         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9329         * elf/Versions (ld): Add _dl_find_dso_for_object.
9330         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9331         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9332         (dl_open_worker): Use _dl_find_dso_for_object.
9333         * elf/dl-sym.c (do_sym): Likewise.
9334         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9336 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9338         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9339         Syntactic changes only.
9340         (_dl_runtime_profile): Do a tail-call to the resolved function.
9342 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9344         [BZ #13550]
9345         * sysdeps/x86_64/bp-asm.h: Remove file.
9346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9347         <bp-sym.h> and <bp-asm.h>.
9348         (__clone): Do not use BP_SYM.
9349         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9350         <bp-sym.h> and <bp-asm.h>.
9351         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9352         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9353         "bp-asm.h".
9354         (_setjmp): Do not use BP_SYM.
9355         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9356         "bp-asm.h".
9357         (setjmp): Do not use BP_SYM.
9358         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9359         libc_hidden_def.
9360         (mempcpy): Do not use BP_SYM in weak_alias.
9361         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9362         "bp-asm.h".
9363         (strchr): Do not use BP_SYM.
9364         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9365         "bp-asm.h".
9366         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9367         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9368         (_start): Do not use BP_SYM.
9369         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9370         "bp-asm.h".
9371         (strcat): Do not use BP_SYM.
9372         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9373         "bp-asm.h".
9374         (STRCMP): Do not use BP_SYM.
9375         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9376         "bp-asm.h".
9377         (STRCPY): Do not use BP_SYM.
9378         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9379         "bp-asm.h".
9380         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9381         "bp-asm.h".
9382         (FUNCTION): Do not use BP_SYM.
9383         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9384         weak_alias.
9385         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9387 2013-02-17  Andreas Jaeger  <aj@suse.de>
9389         * time/Versions: Sort entries.
9390         * string/Versions: Likewise.
9391         * resolv/Versions: Likewise.
9392         * posix/Versions: Likewise.
9393         * iconv/Versions: Likewise.
9394         * elf/Versions: Likewise.
9395         * wcsmbs/Versions: Likewise.
9397 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9399         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9400         loop termination condition.
9402         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9403         variable to calculate EZ.
9404         (__sqr): Likewise.
9406         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9407         the lower precision input.
9409 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9411         [BZ #13550]
9412         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9413         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9414         (run-via-rtld-prefix): Do not handle %-bp tests.
9415         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9416         (all-object-suffixes): Remove .ob.
9417         (bppfx): Remove variable.
9418         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9419         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9420         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9421         [$(build-bounded) = yes] (libtype.ob): Likewise.
9422         * Makerules (elide-routines.ob): Remove variable.
9423         (do-tests-clean): Do not handle *-bp.out.
9424         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9425         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9426         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9427         (tests): Do not include $(tests-bp.out).
9428         (xtests): Do not include $(xtests-bp.out).
9429         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9430         [$(build-bounded) = yes] ($(addprefix
9431         $(objpfx),$(binaries-bounded))): Remove rule.
9432         ($(objpfx)%-bp.out): Remove rule.
9433         * config.make.in (build-bounded): Remove variable.
9434         * crypt/Makefile [$(build-bounded) = yes]
9435         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9436         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9437         append to variable.
9438         [$(build-bounded) = yes] (install-lib): Likewise.
9439         [$(build-bounded) = yes] (generated): Likewise.
9440         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9441         Remove rule.
9442         * intl/Makefile [$(build-bounded) = yes]
9443         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9444         * math/Makefile [$(build-bounded) = yes]
9445         ($(tests:%=$(objpfx)%-bp): Likewise.
9446         * misc/Makefile [$(build-bounded) = yes]
9447         ($(objpfx)tst-tsearch-bp): Likewise.
9448         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9449         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9450         Remove dependency.
9451         * string/Makefile (o-objects.ob): Remove variable.
9452         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9453         (CFLAGS-.ob): Remove variable.
9454         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9455         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9456         both definitions of variable.
9457         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9458         (ASFLAGS-.ob): Remove variable.
9460 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9462         [BZ #13550]
9463         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9464         Remove __BOUNDED_POINTERS__ from condition.
9465         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9466         * string/bits/string2.h [!__NO_STRING_INLINES &&
9467         !__BOUNDED_POINTERS__]: Likewise.
9468         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9469         Likewise.
9470         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9471         Remove conditional code.
9472         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9473         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9474         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9475         condition.
9477         [BZ #13550]
9478         * csu/libc-start.c: Do not include <bp-sym.h>.
9479         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9480         * elf/dl-open.c: Do not include <bp-sym.h>.
9481         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9482         * math/fegetenv.c: Do not include <bp-sym.h>.
9483         (fegetenv): Do not use BP_SYM in versioned symbols.
9484         * nptl/sysdeps/pthread/bits/libc-lockP.h
9485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9486         <bp-sym.h>.
9487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9488         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9490         (__pthread_mutex_destroy): Likewise.
9491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9492         (__pthread_mutex_lock): Likewise.
9493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9494         (__pthread_mutex_trylock): Likewise.
9495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9496         (__pthread_mutex_unlock): Likewise.
9497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9498         (__pthread_mutexattr_init): Likewise.
9499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9500         (__pthread_mutexattr_destroy): Likewise.
9501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9502         (__pthread_mutexattr_settype): Likewise.
9503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9504         (__pthread_rwlock_init): Likewise.
9505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9506         (__pthread_rwlock_destroy): Likewise.
9507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9508         (__pthread_rwlock_rdlock): Likewise.
9509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9510         (__pthread_rwlock_tryrdlock): Likewise.
9511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9512         (__pthread_rwlock_wrlock): Likewise.
9513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9514         (__pthread_rwlock_trywrlock): Likewise.
9515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9516         (__pthread_rwlock_unlock): Likewise.
9517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9518         (__pthread_key_create): Likewise.
9519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9520         (__pthread_setspecific): Likewise.
9521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9522         (__pthread_getspecific): Likewise.
9523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9524         Likewise.
9525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9526         (_pthread_cleanup_push_defer): Likewise.
9527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9528         (_pthread_cleanup_pop_restore): Likewise.
9529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9530         (pthread_setcancelstate): Likewise.
9531         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9532         <bp-sym.h>.
9533         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9534         (memchr): Do not use BP_SYM in weak_alias.
9535         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9536         (fegetenv): Do not use BP_SYM in versioned symbols.
9537         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9538         (fesetenv): Do not use BP_SYM in versioned symbols.
9539         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9540         (feupdateenv): Do not use BP_SYM in versioned symbols.
9541         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9542         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9543         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9544         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9545         (open64): Do not use BP_SYM in weak_alias.
9546         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9547         (fegetenv): Do not use BP_SYM in versioned symbols.
9548         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9549         (fesetenv): Do not use BP_SYM in versioned symbols.
9550         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9551         (feupdateenv): Do not use BP_SYM in versioned symbols.
9552         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9553         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9554         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9555         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9556         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9557         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9558         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9559         <bp-sym.h>.
9560         (__libc_start_main): Do not use BP_SYM.
9562 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9565         redundant return line.
9566         (norm): Likewise.
9567         (denorm): Likewise.
9568         (dbl_mp): Likewise.
9569         (sub_magnitudes): Likewise.
9570         (__add): Likewise.
9571         (__sub): Likewise.
9572         (__mul): Likewise.
9573         (__inv): Likewise.
9574         (__dvd): Likewise.
9575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9576         (norm): Likewise.
9577         (denorm): Likewise.
9578         (dbl_mp): Likewise.
9579         (sub_magnitudes): Likewise.
9580         (__add): Likewise.
9581         (__sub): Likewise.
9582         (__mul): Likewise.
9583         (__inv): Likewise.
9584         (__dvd): Likewise.
9586         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9587         instead of __mul.
9588         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9589         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9590         (cc32): Likewise.
9592         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9593         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9595         of __mul for squares.
9596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9597         function
9598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9599         Likewise.
9600         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9601         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9603 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9605         [BZ #13550]
9606         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9607         code.
9608         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9609         prototype or function definition.  Rename ubp_* variables and
9610         parameters.  Remove argv definitions conditional on
9611         [__BOUNDED_POINTERS__].
9612         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9613         * elf/dl-runtime.c (_dl_fixup): Likewise.
9614         * include/set-hooks.h (RUN_HOOK): Likewise.
9615         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9616         definition.
9617         * string/strcpy.c (strcpy): Do not use __unbounded.
9618         * sysdeps/generic/frame.h (struct layout): Likewise.
9619         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9620         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9621         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9622         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9623         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9624         (__backtrace): Likewise.
9625         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9626         use __ptrvalue.
9627         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9628         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9629         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9630         Likewise.
9631         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9632         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9633         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9634         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9635         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9636         Do not use __unbounded.
9637         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9638         Rename __unboundedrlimits parameter to rlimits in prototype.
9639         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9640         Do not use __unbounded.
9641         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9642         not use __ptrvalue.
9643         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9644         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9645         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9646         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9647         __ptrvalue or __unbounded.
9648         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9649         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9650         use __unbounded.
9651         (__new_msgctl): Do not use __ptrvalue.
9652         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9653         __unbounded.
9654         (__libc_msgrcv): Do not use __ptrvalue.
9655         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9656         startup_info): Do not use __unbounded.
9657         (__libc_start_main): Likewise.  Rename ubp_* variables and
9658         parameters.  Remove argv definitions conditional on
9659         [__BOUNDED_POINTERS__].
9660         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9661         __ptrvalue.
9662         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9663         use __unbounded.
9664         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9665         or __ptrvalue.
9666         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9667         use __unbounded.
9668         (__new_shmctl): Do not use __ptrvalue.
9669         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9670         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9671         Likewise.
9672         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9673         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9674         (__libc_sigaction): Likewise.
9675         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9676         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9677         Likewise.
9678         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9680 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9682         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9684         * string/mempcpy.c: Implement by calling memcpy.
9686 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9688         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9691         evaluation.
9693         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9694         values in the mantissa.
9696         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9697         minimize writes to Z.
9698         (sub_magnitudes): Simplify code a bit.
9700 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9702         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9703         from the message.  The linker prefixes all warnings with that already.
9705 2013-02-12  Andreas Schwab  <schwab@suse.de>
9707         [BZ #15078]
9708         * posix/regexec.c (extend_buffers): Add parameter min_len.
9709         (check_matching): Pass minimum needed length.
9710         (clean_state_log_if_needed): Likewise.
9711         (get_subexp): Likewise.
9712         * posix/Makefile (tests): Add bug-regex34.
9713         (bug-regex34-ENV): Define.
9714         * posix/bug-regex34.c: New file.
9716         [BZ #11561]
9717         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9718         elements compare against the byte sequence of it, not its name.
9719         * posix/Makefile (tests): Add bug-regex35.
9720         (bug-regex35-ENV): Define.
9721         * posix/bug-regex35.c: New file.
9723 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9725         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9726         comment.
9727         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9728         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9729         (CHECK_EOL): Add undef.
9731 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9733         * bits/stdlib-bsearch.h: New file.
9734         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9735         * stdlib/stdlib.h: Likewise.
9737 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9739         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9740         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9741         declaration.
9742         * manual/search.texi (Array Search Function): Add missing const in
9743         lfind prototype.
9744         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9745         declaration to use rlim_t.
9746         (Basic Scheduling Functions): Remove erroneous const from
9747         sched_getparam prototype.  Remove erroneous * from
9748         sched_get_priority_max and sched_get_priority_min prototypes.
9749         (Resource Usage): Fix summary @comment on vtimes to refer to
9750         sys/vtimes.h rather than vtimes.h.
9751         Add missing *s in vtimes prototype.
9752         (Limits on Resources): Fix ulimit prototype to return long int.
9753         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9754         prototypes to use long int rather than double.
9755         (BSD Random): Fix initstate and setstate to use char *, not void *.
9756         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9757         prototype to make second argument 'struct aiocb64 *const[]'.
9758         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9759         (Status of AIO Operations): Remove erroneous const in aio_return and
9760         aio_return64 prototypes.
9761         (Synchronizing I/O): Fix sync prototype to return void.
9762         * manual/startup.texi (Suboptions): Remove an erroneous const in
9763         getsubopt prototype.
9764         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9765         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9766         use size_t rather than int.
9767         (Scanning All Users): Likewise for getpwent_r.
9768         (Setting Groups): Add missing const to setgroups prototype.
9769         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9770         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9771         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9772         'const void *' rather than 'const char *'.
9773         (Host Address Functions): Likewise for inet_ntop.
9774         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9775         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9776         ssize_t for return value.
9777         (Sending Data): Likewise for send, sendto, sendmsg.
9778         (Socket Option Functions): Add a missing const in setsockopt prototype.
9779         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9780         use wchar_t for the argument.
9781         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9782         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9783         take no arguments.
9784         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9785         double/float/long double for second argument.
9786         Fix return types of significand, significandf, significandl.
9787         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9788         argument in fchmod prototype.
9789         (File Owner): Use uid_t and gid_t in fchown prototype.
9790         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9791         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9792         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9793         use 'const struct dirent **' as argument types to CMP function pointer
9794         argument.
9795         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9796         (File Times): Fix summary magic @comment for struct utimbuf and utime
9797         to refer to utime.h, not time.h.
9798         * manual/string.texi (Argz Functions): Add missing const in
9799         argz_extract and argz_next prototypes.
9800         (Finding Tokens in a String): Likewise for basename.
9801         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9802         (Copying and Concatenation): Fix typo in wmemmove prototype.
9803         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9804         (Signal Stack): Remove erroneous const in sigstack prototype.
9805         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9806         prototype.
9807         (Simple Calendar Time): Likewise for stime.
9808         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9809         prototype.
9810         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9811         say sys/sysctl.h instead.
9812         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9813         and vsyslog prototypes.
9815 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9817         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9818         Remove.
9820 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9822         * misc/sys/mman.h: Fix typo in mremap comment.
9824 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9826         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9827         the '\0' terminator.
9829 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9831         [BZ #13550]
9832         * debug/segfault.c: Don't include <bp-checks.h>.
9833         * sysdeps/generic/bp-checks.h: Remove file.
9834         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9835         (__GETDENTS): Don't use CHECK_N.
9836         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9837         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9838         (__getgroups): Don't use CHECK_N.
9839         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9840         (setgroups): Don't use CHECK_N.
9841         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9842         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9843         (__libc_msgrcv): Don't use CHECK_N.
9844         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9845         (__libc_msgsnd): Don't use CHECK_N.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9847         <bp-checks.h>.
9848         (__libc_pread): Don't use CHECK_N.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9850         include <bp-checks.h>.
9851         (__libc_pread64): Don't use CHECK_N.
9852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9853         include <bp-checks.h>.
9854         (__libc_pwrite): Don't use CHECK_N.
9855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9856         include <bp-checks.h>.
9857         (__libc_pwrite64): Don't use CHECK_N.
9858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9859         <bp-checks.h>.
9860         (__libc_pread): Don't use CHECK_N.
9861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9862         include <bp-checks.h>.
9863         (__libc_pread64): Don't use CHECK_N.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9865         include <bp-checks.h>.
9866         (__libc_pwrite): Don't use CHECK_N.
9867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9868         include <bp-checks.h>.
9869         (__libc_pwrite64): Don't use CHECK_N.
9870         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9871         (do_pread): Don't use CHECK_N.
9872         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9873         (do_pread64): Don't use CHECK_N.
9874         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9875         (do_pwrite): Don't use CHECK_N.
9876         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9877         (do_pwrite64): Don't use CHECK_N.
9878         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9879         (__libc_readv): Don't use CHECK_N.
9880         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9881         (semop): Don't use CHECK_N.
9882         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9883         <bp-checks.h>.
9884         (semtimedop): Don't use CHECK_N.
9885         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9886         (__libc_pread): Don't use CHECK_N.
9887         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9888         <bp-checks.h>.
9889         (__libc_pread64): Don't use CHECK_N.
9890         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9891         <bp-checks.h>.
9892         (__libc_pwrite): Don't use CHECK_N.
9893         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9894         <bp-checks.h>.
9895         (__libc_pwrite64): Don't use CHECK_N.
9896         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9897         <bp-checks.h>.
9898         (__libc_msgrcv): Don't use CHECK_N.
9899         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9900         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9901         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9902         (__libc_writev): Don't use CHECK_N.
9904 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9906         * string/strcpy.c: Removed unused variable.
9908         * Makeconfig (+sysdep-includes): Define with := rather than =.
9909         Use an existing include/ subdir of each sysdeps dir before it.
9911 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9913         * nscd/connection.c (register_traced_file): Comment function.
9914         [HAVE_INOTIFY] (union __inev): Define.
9915         [HAVE_INOTIFY] (inotify_check_files): New function.
9916         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9917         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9918         clear_db_cache.
9919         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9921 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9923         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9924         loaded if not already and that a failure is permanent.
9926 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9928         [BZ #15006]
9929         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9930         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9932 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9934         [BZ #13550]
9935         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9936         (CHECK_1_NULL_OK): Likewise.
9937         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9938         (__fxstat): Do not use CHECK_1.
9939         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9940         <bp-checks.h>.
9941         (___fxstat64): Do not use CHECK_1.
9942         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9943         <bp-checks.h>.
9944         (__fxstatat): Do not use CHECK_1.
9945         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9946         <bp-checks.h>.
9947         (__fxstatat64): Do not use CHECK_1.
9948         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9949         <bp-checks.h>.
9950         (__fxstat): Do not use CHECK_1.
9951         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9952         <bp-checks.h>.
9953         (__fxstatat): Do not use CHECK_1.
9954         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9955         <bp-checks.h>.
9956         (__getresgid): Do not use CHECK_1.
9957         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9958         <bp-checks.h>.
9959         (__getresuid): Do not use CHECK_1.
9960         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9961         <bp-checks.h>.
9962         (__lxstat): Do not use CHECK_1.
9963         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9964         <bp-checks.h>.
9965         (__old_msgctl): Do not use CHECK_1.
9966         (__new_msgctl): Likewise.
9967         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9968         <bp-checks.h>.
9969         (__new_setrlimit): Do not use CHECK_1.
9970         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9971         <bp-checks.h>.
9972         (__old_shmctl): Do not use CHECK_1.
9973         (__new_shmctl): Likewise.
9974         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9975         <bp-checks.h>.
9976         (__xstat): Do not use CHECK_1.
9977         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9978         (__lxstat): Do not use CHECK_1.
9979         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9980         <bp-checks.h>.
9981         (___lxstat64): Do not use CHECK_1.
9982         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9983         (__old_msgctl): Do not use CHECK_1.
9984         (__new_msgctl): Likewise.
9985         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9986         <bp-checks.h>.
9987         (__gettimeofday): Do not use CHECK_1.
9988         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9989         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9990         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9991         <bp-checks.h>.
9992         (__gettimeofday): Do not use CHECK_1.
9993         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9994         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9995         (__new_shmctl): Do not use CHECK_1.
9996         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9997         <bp-checks.h>.
9998         (do_sigtimedwait): Do not use CHECK_1.
9999         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10000         <bp-checks.h>.
10001         (do_sigwaitinfo): Do not use CHECK_1.
10002         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10003         <bp-checks.h>.
10004         (msgctl): Do not use CHECK_1.
10005         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10006         <bp-checks.h>.
10007         (shmctl): Do not use CHECK_1.
10008         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10009         (ustat): Do not use CHECK_1.
10010         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10011         <bp-checks.h>.
10012         (__fxstat): Do not use CHECK_1.
10013         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10014         <bp-checks.h>.
10015         (__fxstatat): Do not use CHECK_1.
10016         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10017         <bp-checks.h>.
10018         (__lxstat): Do not use CHECK_1.
10019         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10020         <bp-checks.h>.
10021         (__xstat): Do not use CHECK_1.
10022         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10023         (__xstat): Do not use CHECK_1.
10024         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10025         (___xstat64): Do not use CHECK_1.
10027         [BZ #13550]
10028         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10029         definitions.
10030         (CHECK_BOUNDS_HIGH): Likewise.
10031         * string/strcpy.c: Do not include <bp-checks.h>.
10032         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10034 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10036         * nscd/nscd-client.h (__nscd_drop_map_ref):
10037         Add __attribute__ ((unused)).
10038         * nis/nss-nisplus.h (niserr2nss): Likewise.
10040         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10041         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10043         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10044         Remove inline keyword.
10045         * include/rounding-mode.h (round_away): Likewise.
10046         * libio/wfileops.c (adjust_wide_data): Likewise.
10047         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10048         (__m128i_strloadu_tolower): Likewise.
10049         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10050         (__m128i_strloadu_tolower): Likewise.
10051         * time/mktime.c (ydhms_diff): Likewise.
10052         * locale/elem-hash.h (elem_hash): Likewise.
10053         * locale/setlocale.c (setdata): Likewise.
10054         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10055         (re_string_wchar_at): Likewise.
10056         (bitset_not, bitset_merge, bitset_mask): Likewise.
10057         [!(__GNUC__ > 3)] (inline): Remove macro.
10058         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10059         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10060         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10061         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10062         * string/memcmp.c (memcmp_bytes): Likewise.
10063         * locale/programs/locarchive.c (compute_hashval): Likewise.
10064         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10065         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10066         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10067         * nss/getent.c (print_rpc, print_protocols): Likewise.
10068         (print_passwd, print_group, print_aliases): Likewise.
10069         * nis/nss-nisplus.h (niserr2nss): Likewise.
10070         * nscd/connections.c (restart_p): Likewise.
10071         Change return type to bool.
10073 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10075         * Makeconfig (all-Depend-files): Add existing
10076         $(sorted-subdirs:=/Depend) files.
10077         (all-subdirs): Remove nss.
10078         * sysdeps/unix/inet/Subdirs: Add it here instead.
10079         * hesiod/Depend: New file.
10081         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10082         instead of calling alloca.
10084         * io/lseek.c (__lseek): Rename to __libc_lseek.
10085         Define __lseek as an alias.
10087         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10089 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10091         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10092         else clause and remove check for non-standard endianness.
10094 2013-02-04  David S. Miller  <davem@davemloft.net>
10096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10098 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10100         [BZ #13550]
10101         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10102         (__ubp_memchr): Remove prototype.
10103         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10104         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10105         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10106         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10107         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10108         Remove alias.
10109         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10110         (__ubp_memchr): Likewise.
10111         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10112         (__ubp_memchr): Likewise.
10113         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10114         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10115         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10116         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10117         CHECK_STRING.
10118         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10119         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10120         (__getcwd): Do not use CHECK_STRING.
10121         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10122         <bp-checks.h>.
10123         (__real_chown): Do not use CHECK_STRING.
10124         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10125         <bp-checks.h>.
10126         (fchownat): Do not use CHECK_STRING.
10127         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10128         CHECK_STRING.
10129         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10130         <bp-checks.h>.
10131         (__lchown): Do not use CHECK_STRING.
10132         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10133         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10134         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10135         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10137         include <bp-checks.h>.
10138         (truncate64): Do not use CHECK_STRING.
10139         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10140         <bp-checks.h>.
10141         (__real_chown): Do not use CHECK_STRING.
10142         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10143         <bp-checks.h>.
10144         (__lchown): Do not use CHECK_STRING.
10145         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10146         <bp-checks.h>.
10147         (__chown): Do not use CHECK_STRING.
10148         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10149         <bp-checks.h>.
10150         (truncate64): Do not use CHECK_STRING.
10151         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10152         Likewise.
10153         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10154         (__xmknod): Do not use CHECK_STRING.
10155         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10156         <bp-checks.h>.
10157         (__xmknodat): Do not use CHECK_STRING.
10158         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10159         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10161 2013-02-04  Andreas Schwab  <schwab@suse.de>
10163         [BZ #14142]
10164         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10165         * include/netdb.h: Likewise for h_errno.
10166         * elf/tst-stackguard1.c: Include <tls.h>.
10168 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10170         * elf/link.h (struct link_map): Extend the l_addr comment.
10171         * include/link.h (struct link_map): Likewise.
10173 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10175         [BZ #13550]
10176         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10177         (BOUNDED_1): Remove macro.
10178         * debug/backtrace.c: Don't include <bp-checks.h>.
10179         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10180         (__backtrace): Likewise.
10181         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10182         <bp-checks.h>.
10183         (__backtrace): Don't use BOUNDED_1.
10184         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10185         <bp-checks.h>.
10186         (__backtrace): Don't use BOUNDED_1.
10187         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10188         (__backtrace): Don't use BOUNDED_1.
10189         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10190         (shmat): Don't use BOUNDED_N.
10192 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10194         [BZ #13550]
10195         * sysdeps/generic/bp-start.h: Remove file.
10196         * csu/libc-start.c: Don't include <bp-start.h>.
10197         (LIBC_START_MAIN): Set up __environ directly instead of using
10198         INIT_ARGV_and_ENVIRON.
10199         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10200         <bp-start.h>.
10202         [BZ #13550]
10203         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10204         definitions.
10205         (CHECK_FCNTL): Likewise.
10206         (CHECK_N_PAGES): Likewise.
10208         [BZ #13550]
10209         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10210         definitions.
10211         (CHECK_SIGSET_NULL_OK): Likewise.
10212         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10213         <bp-checks.h>.
10214         (sigpending): Don't use CHECK_SIGSET.
10215         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10216         <bp-checks.h>.
10217         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10218         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10219         <bp-checks.h>.
10220         (do_sigsuspend): Don't use CHECK_SIGSET.
10221         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10222         use CHECK_SIGSET.
10223         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10224         (do_sigwait): Don't use CHECK_SIGSET.
10225         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10226         use CHECK_SIGSET.
10227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10228         include <bp-checks.h>.
10229         (sigpending): Don't use CHECK_SIGSET.
10230         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10231         include <bp-checks.h>.
10232         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10233         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10234         <bp-checks.h>.
10235         (sigpending): Don't use CHECK_SIGSET.
10236         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10237         <bp-checks.h>.
10238         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10240         [BZ #13550]
10241         * sysdeps/generic/bp-semctl.h: Remove file.
10242         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10243         <bp-checks.h> and <bp-semctl.h>.
10244         (__old_semctl): Don't use CHECK_SEMCTL.
10245         (__new_semctl): Likewise.
10246         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10247         and <bp-semctl.h>.
10248         (__old_semctl): Don't use CHECK_SEMCTL.
10249         (__new_semctl): Likewise.
10250         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10251         <bp-checks.h> and <bp-semctl.h>.
10252         (__old_semctl): Don't use CHECK_SEMCTL.
10253         (__new_semctl): Likewise.
10254         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10255         <bp-checks.h> and <bp-semctl.h>.
10256         (semctl): Don't use CHECK_SEMCTL.
10258         [BZ #13550]
10259         * Makerules (elide-bp-thunks): Remove variable.
10260         (elide-routines.oS): Don't use $(elide-bp-thunks).
10261         (elide-routines.os): Likewise.
10262         (elide-routines.o): Likewise.
10263         (elide-routines.op): Likewise.
10264         (elide-routines.og): Likewise.
10265         (objects): Don't use $(bp-thunks).
10266         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10267         include.
10268         (common-generated): Do not add s-proto-bp.d.
10269         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10270         (int): Likewise.
10271         (typ): Likewise.
10272         Do not generate makefile rules for bounded-pointer thunks.
10273         * sysdeps/generic/bp-thunks.h: Remove file.
10274         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10275         * sysdeps/unix/s-proto-bp.S: Likewise.
10277         [BZ #15062]
10278         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10279         parts of result separately when argument is not close to line from
10280         -i to i and one part of argument is small.
10281         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10282         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10283         * math/libm-test.inc (cacos_test): Add more tests.
10284         (casin_test): Likewise.
10285         (casinh_test): Likewise.
10286         * sysdeps/i386/fpu/libm-test-ulps: Update.
10287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10289 2013-01-31  David S. Miller  <davem@davemloft.net>
10291         * po/de.po: Update from translation team.
10293 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10295         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10297 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10299         * configure.in (_AC_PROG_CC_C89): New definition.
10300         * configure: Regenerate.
10302         * configure.in (AC_PROG_CPP): New definition.
10303         * configure: Regenerate.
10305 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10307         * debug/tst-backtrace.h: New file.
10308         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10309         (ret): Remove variable.
10310         (x): Likewise.
10311         (FAIL): Remove macro.
10312         (NO_INLINE): Likewise.
10313         (fn1): Use match function instead of strstr.
10314         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10315         (ret): Remove variable.
10316         (x): Likewise.
10317         (FAIL): Remove macro.
10318         (NO_INLINE): Likewise.
10319         (fn): Use match function instead of strstr.
10320         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10321         (ret): Remove variable.
10322         (x): Likewise.
10323         (FAIL): Remove macro.
10324         (NO_INLINE): Likewise.
10325         (handle_signal): Use match function instead of strstr.
10326         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10327         (ret): Remove variable.
10328         (x): Likewise.
10329         (FAIL): Remove macro.
10330         (NO_INLINE): Likewise.
10331         (handle_signal): Use match function instead of strstr.
10333 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10335         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10337 2013-01-23  David S. Miller  <davem@davemloft.net>
10339         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10340         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10341         argument of CAS if possible.
10342         * sysdeps/sparc/sparc64/bits/atomic.h
10343         (__arch_compare_and_exchange_val_32_acq): Likewise.
10344         (__arch_compare_and_exchange_val_64_acq): Likewise.
10346 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10348         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10349         * sysdeps/posix/ulimit.c: ... this.
10350         Include <limits.h>.
10351         * sysdeps/unix/bsd/ulimit.c: Remove file.
10353 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10355         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10356         (LDFLAGS-tst-array5): Likewise.
10358 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10360         [BZ #15036]
10361         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10362         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10363         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10364         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10366 2013-01-21  David S. Miller  <davem@davemloft.net>
10368         * sysdeps/sparc/backtrace.c: New file.
10369         * sysdeps/sparc/sparc32/backtrace.h: New file.
10370         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10371         * sysdeps/sparc/sparc64/backtrace.h: New file.
10372         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10373         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10374         -funwind-tables.
10376 2013-01-21  Andreas Schwab  <schwab@suse.de>
10378         [BZ #15020]
10379         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10380         closed its stdout.
10382 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10385         "mpa2.h".
10386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10388 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10389             Mark Mitchell  <mark@codesourcery.com>
10390             Tom de Vries  <tom@codesourcery.com>
10391             Paul Pluzhnikov  <ppluzhnikov@google.com>
10393         * debug/tst-backtrace2.c: New file.
10394         * debug/tst-backtrace3.c: Likewise.
10395         * debug/tst-backtrace4.c: Likewise.
10396         * debug/tst-backtrace5.c: Likewise.
10397         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10398         (CFLAGS-tst-backtrace3.c): Likewise.
10399         (CFLAGS-tst-backtrace4.c): Likewise.
10400         (CFLAGS-tst-backtrace5.c): Likewise.
10401         (LDFLAGS-tst-backtrace2): Likewise.
10402         (LDFLAGS-tst-backtrace3): Likewise.
10403         (LDFLAGS-tst-backtrace4): Likewise.
10404         (LDFLAGS-tst-backtrace5): Likewise.
10405         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10406         tst-backtrace4 and tst-backtrace5.
10408 2013-01-18  Anton Blanchard  <anton@samba.org>
10409             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10411         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10412         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10413         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10414         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10416         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10417         "+r" and remove output regs list as redundant.  Add explicit inline
10418         asm to specify register of return val to work around compiler codegen
10419         bug.  Remove (int) cast on return value.  Add return type parameter to
10420         use in macro so that this macro does not truncate return value for
10421         64-bit values.
10422         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10423         pass to INTERNAL_VSYSCALL_NCS.
10424         (INLINE_VSYSCALL): Add 'long int' as return type to
10425         INTERNAL_VSYSCALL_NCS macro invocation.
10426         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10427         INTERNAL_VSYSCALL_NCS macro invocation.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10430 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10432         [BZ #14496]
10433         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10434         Fix application of SIMD FP exception mask.
10436         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10437         mp_no from a power of two.
10438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10439         __mpexp_twomm1.  Use __pow_mp.
10441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10442         multiplication.
10444 2013-01-17  David S. Miller  <davem@davemloft.net>
10446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10448 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10450         [BZ #15023]
10451         * include/complex.h: Condition contents on [!_COMPLEX_H].
10452         (__kernel_casinhf): New prototype.
10453         (__kernel_casinh): Likewise.
10454         (__kernel_casinhl): Likewise.
10455         * math/Makefile (libm_calls): Add k_casinh.
10456         * math/k_casinh.c: New file.
10457         * math/k_casinhf.c: Likewise.
10458         * math/k_casinhl.c: Likewise.
10459         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10460         finite nonzero arguments.
10461         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10462         finite nonzero arguments.
10463         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10464         finite nonzero arguments.
10465         * math/s_casinh.c: Do not include <float.h>.
10466         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10467         * math/s_casinhf.c: Do not include <float.h>.
10468         (__casinhf): Move code for finite nonzero arguments to
10469         k_casinhf.c.
10470         * math/s_casinhl.c: Do not include <float.h>.
10471         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10472         redefine.
10473         (__casinhl): Move code for finite nonzero arguments to
10474         k_casinhl.c.
10475         * math/libm-test.inc (cacos_test): Add more tests.
10476         * sysdeps/i386/fpu/libm-test-ulps: Update.
10477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10479 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10481         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10482         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10483         [!HAVE_MREMAP]: Remove [defined linux] case.
10484         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10486 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10488         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10490 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10492         * elf/elf.h (R_386_SIZE32): New relocation.
10493         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10494         R_386_SIZE32.
10495         (elf_machine_rela): Likewise.
10496         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10497         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10499 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10501         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10502         (FP_FAST_FMA): Do not define.
10503         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10504         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10505         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10506         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10507         !_SOFT_FLOAT]: Likewise.
10508         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10509         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10510         value.
10511         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10512         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10513         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10514         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10515         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10516         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10517         file.
10519 2013-01-16  Andreas Schwab  <schwab@suse.de>
10521         [BZ #14327]
10522         * include/stdlib.h (__mktemp): Add declaration.
10523         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10524         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10526 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10528         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10529         definitions.
10530         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10531         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10532         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10533         definitions here.
10534         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10535         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10536         definitions.
10537         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10538         and ONE.
10539         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10540         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10541         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10542         definitions.
10543         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10544         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10545         definitions.
10546         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10548         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10550 2013-01-15  David S. Miller  <davem@davemloft.net>
10552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10553         trunc{,f} to libm-sysdep_routes.
10554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10556         file.
10557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10559         file.
10560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10561         file.
10562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10564         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10565         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10566         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10567         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10568         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10569         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10572         nearbyint{,f} to libm-sysdep_routes.
10573         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10575         New file.
10576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10577         file.
10578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10579         New file.
10580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10581         file.
10582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10584         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10585         file.
10586         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10587         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10588         file.
10589         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10590         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10591         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10593         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10594         libc_feholdexcept and libc_fesetenv.
10596 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10598         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10600 2013-01-14  David S. Miller  <davem@davemloft.net>
10602         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10603         (SPARC_ASM_VIS2_IFUNC): Likewise.
10604         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10606         use of 'siam' instruction.
10607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10608         Likewise.
10609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10610         Likewise.
10611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10612         Likewise.
10613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10618         file.
10619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10620         file.
10621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10622         file.
10623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10624         file.
10625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10628         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10630         new VIS2 routines.
10631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10634         Likewise.
10635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10640         routines to libm-sysdep_routines.
10641         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10644         fdim/fdimf to libm-sysdep_routines.
10645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10646         file.
10647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10649         file.
10650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10653         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10654         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10655         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10656         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10658 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10660         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10661         to optimize copies.
10663         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10668         local variable MPTWO.
10669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10670         Likewise.
10672 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10674         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10675         GLOB_NOESCAPE.
10677 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10679         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10681 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10683         * manual/pattern.texi (glob_t): Document gl_flags.
10684         (glob64_t): Likewise.
10686 2013-01-11  David S. Miller  <davem@davemloft.net>
10688         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10689         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10690         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10691         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10692         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10693         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10694         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10695         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10696         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10697         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10698         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10699         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10700         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10702         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10703         sparc V9 rather than using V8 code.
10704         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10705         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10707         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10708         Move to...
10709         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10710         Here.
10712 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10714         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10715         not in the main loop.
10716         * configure: Regenerated.
10718 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10720         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10721         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10722         to just #else.
10723         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10724         [!__GLIBC_HAVE_LONG_LONG] case.
10725         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10726         condition to just #else.
10727         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10728         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10729         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10730         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10731         unconditional.
10732         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10733         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10734         #elif condition to just #else.
10735         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10736         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10737         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10738         #elif condition to just #else.
10740 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10742         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10743         (EF_MIPS_ARCH_64): Fix value.
10744         (EF_MIPS_ARCH_32R2): New.
10745         (EF_MIPS_ARCH_64R2): New.
10747 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10749         * Makeconfig (+link-pie-before-libc): New.
10750         (+link-pie-after-libc): Likewise.
10751         (+link-pie-tests): Likewise.
10752         (+link-pie): Rewritten.
10753         (link-before-libc): Remove $(config-LDFLAGS).
10754         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10755         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10756         (config-LDFLAGS): Renamed to ...
10757         (rtld-LDFLAGS): This.
10758         (rtld-tests-LDFLAGS): New macro.
10759         (link-libc-rpath-link): Likewise.
10760         (link-libc-tests-rpath-link): Likewise.
10761         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10762         (link-libc): Prepand $(link-libc-rpath-link).
10763         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10764         (test-program-prefix): New macro.
10765         (test-via-rtld-prefix): Likewise.
10766         (test-program-cmd): Likewise.
10767         (host-test-program-cmd): Likewise.
10768         * Makefile ($(common-objpfx)testrun.sh): Replace
10769         $(run-program-prefix) with $(test-program-prefix).
10770         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10771         $(rtld-LDFLAGS).
10772         ($(common-objpfx)shlib.lds): Likewise.
10773         (build-module-helper): Likewise.
10774         ($(common-objpfx)format.lds): Likewise.
10775         * Rules (binaries-pie-tests): New.
10776         (binaries-pie-notests): Likewise.
10777         (binaries-pie): Rewritten.
10778         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10779         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10780         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10781         (make-test-out): Replace $(host-built-program-cmd) with
10782         $(host-test-program-cmd).
10783         * config.make.in (build-hardcoded-path-in-tests): New variable.
10784         * configure.in (--enable-hardcoded-path-in-tests): New configure
10785         option.
10786         (hardcoded_path_in_tests): New AC_SUBST.
10787         * configure: Regenerated.
10788         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10789         $(built-program-cmd) with $(test-program-cmd).
10790         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10791         (test_program_cmd): This.
10792         * elf/Makefile ($(objpfx)order.out): Run test with
10793         $(test-program-prefix).
10794         ($(objpfx)order2.out): Likewise.
10795         ($(objpfx)tst-initorder.out): Likewise.
10796         ($(objpfx)tst-initorder2.out): Likewise.
10797         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10798         $(test-program-cmd).
10799         ($(objpfx)tst-array1-static.out): Likewise.
10800         ($(objpfx)tst-array2.out): Likewise.
10801         ($(objpfx)tst-array3.out): Likewise.
10802         ($(objpfx)tst-array4.out): Likewise.
10803         ($(objpfx)tst-array5.out): Likewise.
10804         ($(objpfx)tst-array5-static.out): Likewise.
10805         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10806         $(test-program-cmd).
10807         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10808         $(run-program-prefix) with $(test-program-prefix).
10809         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10810         (test_program_prefix): This.
10811         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10812         $(run-program-prefix) with $(test-program-prefix).
10813         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10814         (test_program_prefix): This.
10815         * iconvdata/tst-tables.sh: Likewise.
10816         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10817         $(run-program-prefix) with $(test-program-prefix).
10818         ($(objpfx)tst-translit.out): Likewise.
10819         ($(objpfx)tst-gettext2.out): Likewise.
10820         ($(objpfx)tst-gettext4.out): Likewise.
10821         ($(objpfx)tst-gettext6.out): Likewise.
10822         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10823         (test_program_prefix): This.
10824         * intl/tst-gettext2.sh: Likewise.
10825         * intl/tst-gettext4.sh  Likewise.
10826         * intl/tst-gettext6.sh: Likewise.
10827         * intl/tst-translit.sh: Likewise.
10828         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10829         with $(test-program-cmd).
10830         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10831         $(run-program-prefix) with $(test-program-prefix).
10832         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10833         (test_program_prefix): This.
10834         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10835         $(run-program-prefix) with $(test-program-prefix).
10836         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10837         (test_program_prefix): This.
10838         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10839         * posix/Makefile ($(objpfx)globtest.out): Replace
10840         $(run-via-rtld-prefix) and $(test-wrapper) with
10841         $(test-program-prefix) and $(test-via-rtld-prefix).
10842         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10843         $(test-program-prefix).
10844         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10845         $(host-test-program-cmd).
10846         (tst-spawn-ARGS): Likewise.
10847         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10848         $(test-program-prefix).
10849         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10850         (test_via_rtld_prefix): This.
10851         (test_wrapper): Renamed to ...
10852         (test_program_prefix): This.
10853         (run_program_prefix): Replaced by test_program_prefix.
10854         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10855         (test_program_prefix): This.
10856         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10857         with $(host-test-program-cmd).
10858         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10859         $(run-program-prefix) with $(test-program-prefix).
10860         ($(objpfx)tst-printf.out): Likewise.
10861         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10862         $(test-program-cmd).
10863         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10864         (test_program_prefix): This.
10865         * stdio-common/tst-unbputc.sh: Likewise.
10866         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10867         $(run-program-prefix) with $(test-program-prefix).
10868         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10869         (test_program_prefix): This.
10870         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10871         $(built-program-cmd) with $(test-program-cmd).
10873 2013-01-11  Andreas Jaeger  <aj@suse.de>
10875         [BZ #15003]
10876         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10877         value. Sync with Linux 3.7.
10879 2013-01-10  David S. Miller  <davem@davemloft.net>
10881         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10882         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10883         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10885 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10887         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10888         never set.
10889         * configure: Regenerated.
10891 2013-01-10  David S. Miller  <davem@davemloft.net>
10893         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10894         sparc V9 rather than using V8 code.
10895         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10896         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10898 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10900         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10901         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10902         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10903         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10904         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10905         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10906         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10907         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10908         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10909         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10910         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10911         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10912         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10913         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10914         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10915         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10916         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10917         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10918         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10919         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10920         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10921         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10922         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10923         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10924         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10925         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10926         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10928 2013-01-10  David S. Miller  <davem@davemloft.net>
10930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10932 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10934         * posix/Makefile (tests-static): New variable.
10935         (tests): Add $(tests-static).
10936         (tst-exec-static-ARGS): New variable.
10937         (tst-spawn-static-ARGS): Likewise.
10938         * posix/tst-exec-static.c: New file.
10939         * posix/tst-spawn-static.c: Likewise.
10940         * posix/tst-exec.c: Support run directly.
10941         * posix/tst-spawn.c: Likewise.
10943 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10945         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10946         long.
10947         * math/bits/mathcalls.h (llrint): Likewise.
10948         (llround): Likewise.
10949         * stdlib/stdlib.h (struct drand48_data): Likewise.
10950         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10951         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10952         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10953         Likewise.
10954         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10955         Likewise.
10956         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10957         (elf_greg_t): Likewise.
10958         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10959         (__jmp_buf): Likewise.
10960         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10961         definitions.
10962         (llrint): Likewise, for all definitions.
10963         (llrintl): Likewise.
10965         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10966         Remove [__GNUC__] condition.
10967         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10968         condition to just [__USE_ISOC99].
10969         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10971 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10973         [BZ #14200]
10974         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10975         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10976         defined.
10977         (_POSIX_V6_ILP32_OFF32): Likewise.
10978         (_XBS5_ILP32_OFF32): Likewise.
10979         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10980         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10982 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10984         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10987         doubles __mpexp_twomm1.  Adjust usage.
10988         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10989         Remove.
10991 2013-01-10  Andreas Schwab  <schwab@suse.de>
10993         [BZ #14964]
10994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10995         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10997 2013-01-09  David S. Miller  <davem@davemloft.net>
10999         [BZ #15003]
11000         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11001         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11002         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11003         TCP_FASTOPEN): Define.
11004         (tcp_repair_opt): New structure.
11005         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11006         enum values.
11007         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11008         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11009         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11010         (tcp_cookie_transactions): New structure.
11012 2013-01-09  Anton Blanchard  <anton@samba.org>
11014         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11015         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11016         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11017         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11019 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11021         * include/features.h (__USE_ANSI): Remove.
11023 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11025         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11027         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11029 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11031         * sysdeps/s390/fpu/libm-test-ulps: Update.
11033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11035         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11036         (__acr): Likewise.
11037         (__cpy): Likewise.
11038         (norm): Likewise.
11039         (denorm): Likewise.
11040         (__mp_dbl): Likewise.
11041         (__dbl_mp): Likewise.
11042         (add_magnitudes): Likewise.
11043         (sub_magnitudes): Likewise.
11044         (__add): Likewise.
11045         (__sub): Likewise.
11046         (__mul): Likewise.
11047         (__inv): Likewise.
11048         (__dvd): Likewise.
11049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11050         (__acr): Likewise.
11051         (__cpy): Likewise.
11052         (norm): Likewise.
11053         (denorm): Likewise.
11054         (__mp_dbl): Likewise.
11055         (__dbl_mp): Likewise.
11056         (add_magnitudes): Likewise.
11057         (sub_magnitudes): Likewise.
11058         (__add): Likewise.
11059         (__sub): Likewise.
11060         (__mul): Likewise.
11061         (__inv): Likewise.
11062         (__dvd): Likewise.
11063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11064         (__acr): Likewise.
11065         (__cpy): Likewise.
11066         (norm): Likewise.
11067         (denorm): Likewise.
11068         (__mp_dbl): Likewise.
11069         (__dbl_mp): Likewise.
11070         (add_magnitudes): Likewise.
11071         (sub_magnitudes): Likewise.
11072         (__add): Likewise.
11073         (__sub): Likewise.
11074         (__mul): Likewise.
11075         (__inv): Likewise.
11076         (__dvd): Likewise.
11078 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11080         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11081         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11082         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11083         2 && __USE_EXTERN_INLINES]: Likewise.
11085 2013-01-08  Andreas Jaeger  <aj@suse.de>
11087         [BZ# 14985]
11088         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11089         Remove.
11090         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11091         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11093 2013-01-07  Anton Blanchard  <anton@samba.org>
11095         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11096         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11097         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11098         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11099         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11100         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11101         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11102         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11104         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11105         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11106         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11107         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11108         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11109         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11110         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11111         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11112         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11113         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11114         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11115         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11116         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11117         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11118         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11119         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11120         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11121         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11122         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11123         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11124         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11125         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11127         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11128         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11129         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11130         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11131         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11132         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11133         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11135         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11136         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11137         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11139 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11141         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11142         (__MALLOC_PMT): Likewise.
11143         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11144         [__GNUC__], only on [_LIBC].
11145         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11146         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11147         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11148         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11149         forward declaration.
11150         (realloc_hook_ini): Likewise.
11151         (memalign_hook_ini): Likewise.
11152         (__libc_memalign): Do not use __MALLOC_PMT in variable
11153         declaration.
11154         (__libc_valloc): Likewise.
11155         (__libc_pvalloc): Likewise.
11156         (__libc_calloc): Likewise.
11157         (__posix_memalign): Likewise.
11159         [BZ #14996]
11160         * math/s_casinh.c: Include <float.h>.
11161         (__casinh): Do not do computation with squaring and square root
11162         for large arguments.
11163         * math/s_casinhf.c: Include <float.h>.
11164         (__casinhf): Do not do computation with squaring and square root
11165         for large arguments.
11166         * math/s_casinhl.c: Include <float.h>.
11167         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11168         (__casinhl): Do not do computation with squaring and square root
11169         for large arguments.
11170         * math/libm-test.inc (casin_test): Add more tests.
11171         (casinh_test): Likewise.
11172         * sysdeps/i386/fpu/libm-test-ulps: Update.
11173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11175 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11177         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11178         (__x86_64_raw_data_cache_size): Likewise.
11179         (__x86_64_data_cache_size_half): Likewise.
11180         (__x86_64_raw_data_cache_size_half): Likewise.
11181         (__x86_64_shared_cache_size): Likewise.
11182         (__x86_64_raw_shared_cache_size): Likewise.
11183         (__x86_64_shared_cache_size_half): Likewise.
11184         (__x86_64_raw_shared_cache_size_half): Likewise.
11185         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11186         to ...
11187         (__x86_data_cache_size): This.
11188         (__x86_64_raw_data_cache_size): Renamed to ...
11189         (__x86_raw_data_cache_size): This.
11190         (__x86_64_data_cache_size_half): Renamed to ...
11191         (__x86_data_cache_size_half): This.
11192         (__x86_64_raw_data_cache_size_half): Renamed to ...
11193         (__x86_raw_data_cache_size_half): This.
11194         (__x86_64_shared_cache_size): Renamed to ...
11195         (__x86_shared_cache_size): This.
11196         (__x86_64_raw_shared_cache_size): Renamed to ...
11197         (__x86_raw_shared_cache_size): This.
11198         (__x86_64_shared_cache_size_half): Renamed to ...
11199         (__x86_shared_cache_size_half): This.
11200         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11201         (__x86_raw_shared_cache_size_half): This.
11202         * sysdeps/x86_64/memcpy.S: Updated.
11203         * sysdeps/x86_64/memset.S: Likewise.
11204         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11205         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11206         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11208 2013-01-04  David S. Miller  <davem@davemloft.net>
11210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11212 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11214         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11215         1 to avoid redefinition warning.
11216         (__USE_GNU): Don't define.
11217         (init_signaling_nan): Protoize.
11219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11221 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11223         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11225         (__cpymn): Likewise.
11226         (norm): Remove commented code.
11227         (denorm): Likewise.
11228         (__mp_dbl): Likewise.
11229         (__inv): Likewise.
11230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11231         (__cpymn): Likewise.
11232         (norm): Remove commented code.
11233         (denorm): Likewise.
11234         (__mp_dbl): Likewise.
11235         (__inv): Likewise.
11237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11238         mp_no value for 1.0 and 2.0.
11239         (norm): Use RADIXI instead of radixi.d.
11240         (denorm): Likewise.
11241         (__mul): Use 0.0 instead of zero.d.
11242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11243         mp_no value for 1.0 and 2.0.
11244         (norm): Use RADIXI instead of radixi.d.
11245         (denorm): Likewise.
11246         (__mul): Use 0.0 instead of zero.d.
11248 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11250         [BZ #14994]
11251         * math/s_casinh.c (__casinh): Reduce finite argument to first
11252         quadrant then set signs of results at the end.
11253         * math/s_casinhf.c (__casinhf): Likewise.
11254         * math/s_casinhl.c (__casinhl): Likewise.
11255         * math/libm-test.inc (casin_test): Add more tests.
11256         (casinh_test): Likewise.
11257         * sysdeps/i386/fpu/libm-test-ulps: Update.
11258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11260 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11262         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11264         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11266         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11267         declarations.
11268         (denorm): Likewise.
11269         (__mp_dbl): Likewise.
11270         (__inv): Likewise.
11272         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11273         and adjust the header comment.
11275         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11276         variable name from declaration.
11278 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11281         Initialize COMMON_CPUID_INDEX_7 element.
11282         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11283         (CPUID_RTM): Likewise.
11284         (HAS_RTM): Likewise.
11285         (COMMON_CPUID_INDEX_7): New enum.
11287 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11289         [BZ #14981]
11290         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11291         size is zero, record memory as freed.
11293 2013-01-03  Andreas Jaeger  <aj@suse.de>
11295         * po/ia.po: Add new Interlingua translation.
11297 2012-01-03  Allan McRae  <allan@archlinux.org>
11299         * locale/programs/localedef.c: Fix description of '--posix' flag.
11301 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11303         * NEWS: Update dates in second copyright notice.
11304         * README: Update copyright dates in example.
11305         * manual/libc.texinfo: Update copyright dates.
11306         * scripts/test-installation.pl: Update copyright date in --version
11307         output.
11309         * hurd/ctty-input.c: Fix copyright notice formatting.
11310         * hurd/ctty-output.c: Likewise.
11311         * hurd/dtable.c: Likewise.
11312         * hurd/hurd-raise.c: Likewise.
11313         * hurd/hurdprio.c: Likewise.
11314         * hurd/msgportdemux.c: Likewise.
11315         * misc/sys/file.h: Likewise.
11316         * misc/sys/ioctl.h: Likewise.
11317         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11318         * sysdeps/mach/hurd/chdir.c: Likewise.
11319         * sysdeps/mach/hurd/fchdir.c: Likewise.
11320         * sysdeps/mach/hurd/rename.c: Likewise.
11321         * sysdeps/mach/hurd/rmdir.c: Likewise.
11322         * sysdeps/mach/hurd/seekdir.c: Likewise.
11323         * sysdeps/mach/hurd/setsid.c: Likewise.
11324         * sysdeps/posix/wait3.c: Likewise.
11326         * All files with FSF copyright notices: Update copyright dates
11327         using scripts/update-copyrights.
11328         * intl/plural.c: Regenerated.
11329         * locale/programs/charmap-kw.h: Likewise.
11330         * locale/programs/locfile-kw.h: Likewise.
11332 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11334         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11335         four values.
11337         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11338         calculation loop and add branch prediction.
11340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11341         check access beyond bounds of m1np.
11343         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11344         MPTWO.
11345         (__inv): Remove local variable MPTWO to use the global
11346         constant.
11347         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11348         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11349         variable MPTWO.
11350         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11351         MP3HALFS static const.
11353 2013-01-01  David S. Miller  <davem@davemloft.net>
11355         * po/ca.po: Update from translation team.
11357 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11359         * scripts/update-copyrights: New file.
11360         * Makeconfig: Reformat copyright notice.
11361         * ctype/ctype.h: Likewise.
11362         * debug/swprintf_chk.c: Likewise.
11363         * elf/dl-cache.c: Likewise.
11364         * elf/dl-debug.c: Likewise.
11365         * elf/dl-object.c: Likewise.
11366         * grp/initgroups.c: Likewise.
11367         * hurd/Makefile: Likewise.
11368         * hurd/hurd/signal.h: Likewise.
11369         * hurd/hurdfault.c: Likewise.
11370         * hurd/hurdioctl.c: Likewise.
11371         * hurd/hurdlookup.c: Likewise.
11372         * hurd/intr-msg.c: Likewise.
11373         * iconv/gconv_open.c: Likewise.
11374         * libio/swprintf.c: Likewise.
11375         * locale/lc-ctype.c: Likewise.
11376         * locale/nl_langinfo.c: Likewise.
11377         * mach/Machrules: Likewise.
11378         * mach/Makefile: Likewise.
11379         * malloc/obstack.h: Likewise.
11380         * manual/Makefile: Likewise.
11381         * manual/tsort.awk: Likewise.
11382         * misc/bits/stab.def: Likewise.
11383         * nis/nis_print_group_entry.c: Likewise.
11384         * nis/nis_table.c: Likewise.
11385         * nis/nss_compat/compat-pwd.c: Likewise.
11386         * nis/nss_compat/compat-spwd.c: Likewise.
11387         * po/Makefile: Likewise.
11388         * posix/fnmatch.c: Likewise.
11389         * posix/regex.h: Likewise.
11390         * resolv/Makefile: Likewise.
11391         * resolv/nss_dns/dns-network.c: Likewise.
11392         * resolv/res_hconf.c: Likewise.
11393         * scripts/gen-sorted.awk: Likewise.
11394         * soft-fp/soft-fp.h: Likewise.
11395         * stdio-common/printf.h: Likewise.
11396         * stdlib/monetary.h: Likewise.
11397         * stdlib/random.c: Likewise.
11398         * stdlib/random_r.c: Likewise.
11399         * sysdeps/generic/Makefile: Likewise.
11400         * sysdeps/gnu/Makefile: Likewise.
11401         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11403         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11404         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11405         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11406         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11407         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11408         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11411         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11412         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11413         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11414         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11415         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11416         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11417         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11418         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11419         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11420         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11421         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11422         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11423         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11424         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11425         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11426         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11427         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11428         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11429         * sysdeps/mach/hurd/errnos.awk: Likewise.
11430         * sysdeps/mach/hurd/fork.c: Likewise.
11431         * sysdeps/mach/hurd/getcwd.c: Likewise.
11432         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11433         * sysdeps/mach/hurd/mmap.c: Likewise.
11434         * sysdeps/mach/hurd/utimes.c: Likewise.
11435         * sysdeps/mach/hurd/xmknod.c: Likewise.
11436         * sysdeps/posix/profil.c: Likewise.
11437         * sysdeps/posix/readdir_r.c: Likewise.
11438         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11439         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11440         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11441         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11443         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11444         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11445         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11447         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11448         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11449         * sysdeps/pthread/lio_listio.c: Likewise.
11450         * sysdeps/sparc/dl-procinfo.h: Likewise.
11451         * sysdeps/unix/i386/sysdep.S: Likewise.
11452         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11453         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11454         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11455         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11457         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11458         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11459         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11460         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11461         * sysdeps/wordsize-32/divdi3.c: Likewise.
11462         * time/sys/time.h: Likewise.
11463         * wcsmbs/Makefile: Likewise.
11465 2013-01-01  David S. Miller  <davem@davemloft.net>
11467         * po/fr.po: Update from translation team.
11469         * catgets/gencat.c: Update copyright year.
11470         * csu/version.c: Likewise.
11471         * debug/catchsegv.sh: Likewise.
11472         * debug/pcprofiledump.c: Likewise.
11473         * debug/xtrace.sh: Likewise.
11474         * elf/ldconfig.c: Likewise.
11475         * elf/ldd.bash.in: Likewise.
11476         * elf/pldd.c: Likewise.
11477         * elf/sotruss.ksh: Likewise.
11478         * elf/sprof.c: Likewise.
11479         * iconv/iconv_prog.c: Likewise.
11480         * iconv/iconvconfig.c: Likewise.
11481         * locale/programs/locale.c: Likewise.
11482         * locale/programs/localedef.c: Likewise.
11483         * login/programs/pt_chown.c: Likewise.
11484         * malloc/memusage.sh: Likewise.
11485         * malloc/memusagestat.c: Likewise.
11486         * malloc/mtrace.pl: Likewise.
11487         * nscd/nscd.c: Likewise.
11488         * nss/getent.c: Likewise.
11489         * nss/makedb.c: Likewise.
11490         * posix/getconf.c: Likewise.
11492 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11494         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11495         numbers.
11497 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11499         * math/bits/mathcalls.h (modf): Use __nonnull.
11501 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11503         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11504         (split): Use macro CN instead of the bare value.
11505         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11506         could be used.
11507         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11508         instead of the bare value.
11509         (power1): Likewise.
11511 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11513         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11514         __ATAN_TWOM.
11515         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11517         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11518         their values.
11519         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11520         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11521         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11522         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11524 2012-12-28  Andreas Jaeger  <aj@suse.de>
11526         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11527         values are from Linux 3.7.
11529         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11530         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11532 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11534         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11535         TRUE case.
11537         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11538         (norm): Likewise.
11539         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11540         variables with preprocessor constants.
11541         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11542         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11543         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11545 2012-12-27  Bruno Haible  <bruno@clisp.org>
11547         [BZ #14317]
11548         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11549         only if needed.
11551 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11554         and use variable directly.
11555         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11557         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11558         MPONE.
11559         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11560         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11561         variable MPONE.
11562         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11563         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11564         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11565         include directive.  Remove local variable MPONE.
11566         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11567         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11568         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11570 2012-12-25  David S. Miller  <davem@davemloft.net>
11572         * version.h (RELEASE): Set to "development".
11573         (VERSION): Set to "2.17.90".
11574         * NEWS: Add 2.18 section.
11576 2012-12-21  David S. Miller  <davem@davemloft.net>
11578         * po/hr.po: Update from translation team.
11580 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11582         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11584 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11586         * NEWS:  Mention new memcpy for MIPS.
11588 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11590         * manual/contrib.texi (Contributors): Spelling correction.
11592 2012-12-15  David S. Miller  <davem@davemloft.net>
11594         * po/ru.po: Update from translation team.
11596 2012-12-13  David S. Miller  <davem@davemloft.net>
11598         * NEWS: Mention IFUNC testsuite enhancements.
11600         * po/pl.po: Update from translation team.
11601         * po/bg.po: Likewise.
11603         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11604         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11606 2012-12-11  David S. Miller  <davem@davemloft.net>
11608         * po/sv.po: Update from translation team.
11610         * po/vi.po: Update from translation team.
11612         * po/cs.po: Update from translation team.
11614         * po/de.po: Update from translation team.
11615         * po/eo.po: Likewise.
11616         * po/nl.po: Likewise.
11618 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11620         [BZ #14246]
11621         * manual/argp.texi (Argp Helper Functions): Move node to follow
11622         Argp Parsing State.
11624         [BZ #14872]
11625         * manual/conf.texi (Limits on File System Capacity): Mention if
11626         terminating null is included in the max size.
11628 2012-12-10  Andreas Jaeger  <aj@suse.de>
11630         * po/cs.po: Update from translation team.
11632 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11634         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11635         void pointer and cast to uintptr_t.
11636         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11637         path.
11638         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11639         * sysdeps/s390/s390-64/memset.S: Likewise.
11641 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11643         [BZ #14833]
11644         * menual/message.texi (Message Translation): Fix typos.
11645         (Helper programs for gettext): Likewise.
11647 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11649         [BZ #14898]
11650         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11651         Change to -1.
11653 2012-12-07  David S. Miller  <davem@davemloft.net>
11655         * po/libc.pot: Update.
11657 2012-12-07  Richard Henderson  <rth@redhat.com>
11659         [BZ #10114]
11660         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11661         normal/normal case to before the switch.
11662         (_FP_DIV): Likewise.
11664 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11665             Mike Frysinger  <vapier@gentoo.org>
11667         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11668         check for __NR_fadvise64_64.
11670 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11672         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11673         0, not just to plain "0" as a statement.
11674         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11675         with cw.
11677 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11679         * NEWS: Use sourceware.org in Bugzilla URL.
11681 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11684         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11686         * stdio-common/tst-put-error.c (do_test): Add newline to the
11687         padded test to ensure flush.
11689 2012-12-05  Jeff Law  <law@redhat.com>
11691         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11693 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11695         * README: Don't refer to ports add-on as distributed separately.
11696         Mention AArch64 in list of systems supported in the ports add-on.
11698         * LICENSES: Add more non-FSF copyright and license notices.
11700         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11701         ((unused)).
11703         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11705         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11706         10000 as width of padded output.
11708 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11710         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11713         variable LX with __attribute__ ((unused)).
11714         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11715         Likewise.
11716         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11717         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11718         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11719         with __attribute__ ((unused)).
11721 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11723         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11725 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11727         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11728         (CFLAGS-nldbl-acos.c): New variable.
11729         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11730         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11731         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11732         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11733         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11734         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11735         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11736         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11737         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11738         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11739         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11740         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11741         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11742         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11743         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11744         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11745         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11746         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11747         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11748         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11749         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11750         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11751         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11752         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11753         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11754         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11755         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11756         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11757         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11758         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11759         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11760         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11761         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11762         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11763         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11764         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11765         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11766         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11767         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11768         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11769         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11770         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11771         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11772         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11773         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11774         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11775         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11776         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11777         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11778         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11779         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11780         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11781         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11782         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11783         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11784         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11785         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11786         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11787         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11788         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11789         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11790         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11791         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11792         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11793         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11794         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11795         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11796         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11797         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11798         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11799         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11800         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11801         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11802         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11803         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11804         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11805         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11806         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11807         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11808         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11809         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11810         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11811         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11812         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11813         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11814         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11815         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11816         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11817         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11818         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11819         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11820         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11821         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11822         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11823         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11824         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11825         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11828         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11830         [BZ #14914]
11831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11832         whole low double instead of just low 47 bits when splitting values
11833         into two parts.
11835 2012-12-03  Allan McRae  <allan@archlinux.org>
11837         * manual/stdio.texi (Predefined Printf Handlers): Remove
11838         @hsep and @vsep usage.
11840 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11842         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11843         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11845 2012-12-03  Jeff Law  <law@redhat.com>
11847         * time/sys/time.h (settimeofday): Do not mark TV argument
11848         as __nonnull.
11850 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11852         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11853         when currently writing and seek to current position when not.
11854         * libio/Makefile (tests): Remove bug-fclose1.
11855         * libio/bug-fclose1.c: Delete.
11857 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11859         * manual/arith.texi (feenableexcept): Fix typo.
11860         (fedisableexcept): Likewise.
11862 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11864         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11865         second, differently-typed declaration, rather than a cast.
11867 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11869         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11870         * include/rpc/svc.h: ... here.
11872 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11874         [BZ #13013]
11875         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11876         depending n and resplen2 to catch cases where answer
11877         equals answerp2.
11879 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11881         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11882         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11884 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11886         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11888 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11890         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11892 2012-11-28  Jeff Law  <law@redhat.com>
11894         [BZ #13761]
11895         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11896         dataset_temporary.  Track alloca usage into alloca_used.
11897         If dataset is large allocate and release it via malloc/free.
11899 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11901         [BZ #14197]
11902         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11904 2012-11-28  David S. Miller  <davem@davemloft.net>
11906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11908 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #14803]
11911         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11912         of pi/2 rounded to nearest to 64 bits.
11913         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11914         nearest to 64 bits.
11915         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11916         bits.
11918 2012-11-28  Jeff Law <law@redhat.com>
11919             Martin Osvald <mosvald@redhat.com>
11921         [BZ #14889]
11922         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11923         * sunrpc/svc.c: Include time.h.
11924         (__svc_accept_failed): New function.
11925         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11926         any reason other than EINTR, call __svc_accept_failed.
11927         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11928         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11930 2012-11-28  Andreas Schwab  <schwab@suse.de>
11932         * scripts/abilist.awk: Also handle indirect functions in .opd
11933         section.
11935 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11937         [BZ #13881]
11938         * sysdeps/x86/fpu/powl_helper.c: New file.
11939         * sysdeps/x86/fpu/Makefile: Likewise.
11940         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11941         (p3): New object.
11942         (__ieee754_powl): Use __powl_helper for finite arguments except
11943         integer exponents below 8.
11944         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11945         (p3): New object.
11946         (__ieee754_powl): Use __powl_helper for finite arguments except
11947         integer exponents below 8.
11948         * math/libm-test.inc (pow_test): Add more tests and enable some
11949         previously disabled tests.
11950         * sysdeps/i386/fpu/libm-test-ulps: Update.
11951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11953 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11954             Carlos O'Donell  <carlos_odonell@mentor.com>
11956         * nss/makedb.c (is_prime): Assert that input is odd and greater
11957         than 4.  Note that fact in a comment too.
11958         (next_prime): Add 4 to input.
11960 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962         [BZ #11741]
11963         * libio/Makefile (tests): Add test case tst-fwrite-error.
11964         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11965         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11966         * libio/tst-fwrite-error.c: New test case.
11968 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11970         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11971         before casting to void *.
11972         * include/libc-internal.h (__pointer_type): New macro.
11973         (__integer_if_pointer_type_sub): Likewise.
11974         (__integer_if_pointer_type): Likewise.
11975         (cast_to_integer): Likewise.
11976         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11977         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11978         before casting to atomic64_t.
11979         (atomic_exchange_acq): Likewise.
11980         (__arch_exchange_and_add_body): Likewise.
11981         (__arch_add_body): Likewise.
11982         (atomic_add_negative): Likewise.
11983         (atomic_add_zero): Likewise.
11985 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11987         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11988         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11989         (add_fdes): Likewise.
11990         (linear_search_fdes): Likewise.
11991         (binary_search_unencoded_fdes): Likewise.
11993 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11995         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11997 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11999         * configure.in: Autodetect C++ header directories.
12000         * configure: Regenerated.
12002 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12004         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12006 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12010 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12012         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12013         LDBL_MANT_DIG == 106]: Disable some tests.
12014         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12015         Likewise.
12016         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12017         Likewise.
12019         [BZ #14871]
12020         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12021         input for small inputs.  Return +/- pi/2 for large inputs.
12022         * math/libm-test.inc (atan_test): Add more tests.
12024         * sysdeps/generic/unwind-dw2-fde-glibc.c
12025         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12026         __attribute__ ((unused)).
12028         [BZ #14645]
12029         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12030         x * y if x and y are nonzero and z is zero.
12032         [BZ #14811]
12033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12034         nonzero exponents with absolute value below 0x1p-117 to +/-
12035         0x1p-117.
12037         [BZ #14869]
12038         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12039         up arguments below 2**-450, not just those below 2**-500.
12040         * math/libm-test.inc (hypot_test): Add another test.
12042         [BZ #14868]
12043         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12044         Return a+b for ratio over 2**120, not 2**60.
12045         * math/libm-test.inc (hypot_test): Add another test.
12047         * math/libm-test.inc (clog_test): Use
12048         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12049         (clog10_test): Likewise.
12051         [BZ #6778]
12052         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12054 2012-11-22  Andreas Schwab  <schwab@suse.de>
12056         * sysdeps/i386/fpu/libm-test-ulps: Update.
12058 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12060         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12061         printf output with newline.
12063 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12065         [BZ #14865]
12066         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12067         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12068         -z nodlopen, -z initfirst and -z execstack support.
12069         * configure: Regenerated.
12071         * elf/elf.h (DF_1_NODIRECT): New macro.
12072         (DF_1_IGNMULDEF): Likewise.
12073         (DF_1_NOKSYMS): Likewise.
12074         (DF_1_NOHDR): Likewise.
12075         (DF_1_EDITED): Likewise.
12076         (DF_1_NORELOC): Likewise.
12077         (DF_1_SYMINTPOSE): Likewise.
12078         (DF_1_GLOBAUDIT): Likewise.
12079         (DF_1_SINGLETON): Likewise.
12080         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12081         DT_1_SUPPORTED_MASK bits.
12082         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12084 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12086         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12088 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12090         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12091         macro.
12093         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12094         (sendmmsg): Move declarations...
12095         * socket/sys/socket.h: ... here.
12096         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12097         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12098         include it from...
12099         * socket/recvmmsg.c: ... this new file.
12100         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12101         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12102         definition of __sendmmsg hidden.
12103         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12104         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12105         Move ENOSYS stub into and include it from...
12106         * socket/sendmmsg.c: ... this new file.
12107         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12108         (sysdep_routines): Move recvmmsg and sendmmsg...
12109         * socket/Makefile (routines): ... here.
12110         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12111         (GLIBC_PRIVATE): Add __sendmmsg.
12112         * include/sys/socket.h (__sendmmsg): Add declarations.
12113         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12114         sendmmsg.
12116 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12118         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12119         variable I1 with __attribute__ ((unused)).
12120         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12122 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12124         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12125         DUMMY variables with __attribute__ ((unused)).
12127         * bits/byteswap.h: Include <bits/types.h>.
12128         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12130 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12132         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12133         string_t.  Do not manually set errno.
12134         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12135         length with __strnlen.  Make sure to both set errno and return it on
12136         failure.
12138 2012-11-19  David S. Miller  <davem@davemloft.net>
12140         With help from Joseph Myers.
12141         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12142         very large arguments properly.
12143         * math/libm-test.inc (atan_test): New tests.
12144         (atan2_test): New tests.
12145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12148 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12150         [BZ #14856]
12151         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12152         Define to 3.
12154         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12155         [POSIX] (EADDRNOTAVAIL): Likewise.
12156         [POSIX] (EAFNOSUPPORT): Likewise.
12157         [POSIX] (EALREADY): Likewise.
12158         [POSIX] (ECONNABORTED): Likewise.
12159         [POSIX] (ECONNREFUSED): Likewise.
12160         [POSIX] (ECONNRESET): Likewise.
12161         [POSIX] (EDESTADDRREQ): Likewise.
12162         [POSIX] (EDQUOT): Likewise.
12163         [POSIX] (EHOSTUNREACH): Likewise.
12164         [POSIX] (EIDRM): Likewise.
12165         [POSIX] (EISCONN): Likewise.
12166         [POSIX] (ELOOP): Likewise.
12167         [POSIX] (EMULTIHOP): Likewise.
12168         [POSIX] (ENETDOWN): Likewise.
12169         [POSIX] (ENETUNREACH): Likewise.
12170         [POSIX] (ENOBUFS): Likewise.
12171         [POSIX] (ENODATA): Likewise.
12172         [POSIX] (ENOLINK): Likewise.
12173         [POSIX] (ENOMSG): Likewise.
12174         [POSIX] (ENOPROTOOPT): Likewise.
12175         [POSIX] (ENOSR): Likewise.
12176         [POSIX] (ENOSTR): Likewise.
12177         [POSIX] (ENOTCONN): Likewise.
12178         [POSIX] (ENOTSOCK): Likewise.
12179         [POSIX] (EOPNOTSUPP): Likewise.
12180         [POSIX] (EOVERFLOW): Likewise.
12181         [POSIX] (EPROTO): Likewise.
12182         [POSIX] (EPROTONOSUPPORT): Likewise.
12183         [POSIX] (EPROTOTYPE): Likewise.
12184         [POSIX] (ESTALE): Likewise.
12185         [POSIX] (ETIME): Likewise.
12186         [POSIX] (ETXTBSY): Likewise.
12187         [POSIX] (EWOULDBLOCK): Likewise.
12188         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12189         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12190         [POSIX] (SEEK_CUR): Likewise.
12191         [POSIX] (SEEK_END): Likewise.
12192         [POSIX || UNIX98] (mode_t): Do not require.
12193         [POSIX] (off_t): Likewise.
12194         [POSIX] (pid_t): Likewise.
12195         [POSIX] (sys/stat.h): Do not allow header.
12196         [POSIX] (unistd.h): Likewise.
12197         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12198         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12199         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12200         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12201         require.
12202         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12203         sigevent): Specify elements.
12204         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12205         entry.
12206         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12207         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12209         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12210         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12211         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12212         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12213         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12214         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12215         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12216         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12217         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12218         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12219         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12220         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12221         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12222         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12223         Likewise.
12224         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12225         Likewise.
12226         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12227         Likewise.
12228         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12229         Likewise.
12230         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12231         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12232         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12233         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12234         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12235         Specify lower bound on value.
12236         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12237         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12238         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12239         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12240         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12241         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12242         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12243         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12244         value.
12245         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12246         as optional.
12247         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12248         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12249         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12250         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12251         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12252         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12253         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12254         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12255         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12256         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12257         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12258         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12259         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12260         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12261         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12262         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12263         entry.
12264         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12265         optional.
12266         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12267         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12268         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12269         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12270         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12271         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12272         Likewise.
12273         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12274         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12275         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12276         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12277         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12278         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12279         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12280         as optional.
12281         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12282         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12283         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12284         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12285         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12286         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12287         specify as optional.
12288         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12289         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12290         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12291         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12292         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12293         [XPG3] (NL_LANGMAX): Likewise.
12294         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12295         [POSIX || XPG3] (NL_NMAX): Likewise.
12296         [POSIX || XPG3] (NL_SETMAX): Likewise.
12297         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12298         [XPG3] (NZERO): Likewise.
12299         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12300         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12301         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12302         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12303         (REG_ERANGE): Expect.
12304         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12305         optional-constant.
12306         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12307         Use (void) in prototype.
12308         [POSIX] (*_t): Allow.
12309         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12310         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12311         (WRDE_BADVAL): Expect.
12313         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12314         expect.
12315         [XPG3 || XPG4] (O_RSYNC): Likewise.
12316         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12317         Likewise.
12318         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12319         [XPG3 || XPG4] (sigqueue): Likewise.
12320         [XPG3 || XPG4] (sigtimedwait): Likewise.
12321         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12322         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12323         [XPG3 || XPG4] (vsnprintf): Likewise.
12324         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12325         Likewise.
12326         [XPG3 || XPG4] (blksize_t): Likewise.
12327         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12328         Likewise.
12329         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12330         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12331         [XPG3 || XPG4] (struct itimerspec): Likewise.
12332         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12333         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12334         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12335         [XPG3 || XPG4] (clockid_t): Likewise.
12336         [XPG3 || XPG4] (timer_t): Likewise.
12337         [XPG3 || XPG4] (clock_getres): Likewise.
12338         [XPG3 || XPG4] (clock_gettime): Likewise.
12339         [XPG3 || XPG4] (clock_settime): Likewise.
12340         [XPG3 || XPG4] (nanosleep): Likewise.
12341         [XPG3 || XPG4] (timer_create): Likewise.
12342         [XPG3 || XPG4] (timer_delete): Likewise.
12343         [XPG3 || XPG4] (timer_gettime): Likewise.
12344         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12345         [XPG3 || XPG4] (timer_settime): Likewise.
12346         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12347         [XPG3 || XPG4] (getlogin_r): Likewise.
12348         [XPG3 || XPG4] (pread): Likewise.
12349         [XPG3 || XPG4] (pthread_atfork): Likewise.
12350         [XPG3 || XPG4] (pwrite): Likewise.
12352         [BZ #14835]
12353         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12354         <bits/siginfo.h>.
12356 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12358         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12359         finalizing MALLSTREAM.
12361         * sysdeps/mach/hurd/syncfs.c: New file.
12363 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12365         [BZ #14719]
12366         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12367         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12368         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12369         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12370         (_nss_dns_gethostbyname4_r): Likewise.
12371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12372         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12374 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12376         [BZ #13763]
12377         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12379 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12381         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12382         * elf/cache.c (print_entry): Print ",AArch64" for
12383         FLAG_AARCH64_LIB64
12385         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12386         * elf/cache.c (print_entry): Print ",hard-float" for
12387         FLAG_ARM_LIBHF.
12389 2012-11-18  David S. Miller  <davem@davemloft.net>
12391         With help from Joseph Myers.
12392         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12393         cutoff to 2**-13.
12394         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12395         cutoff to 2**-25.
12396         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12397         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12398         small.
12399         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12400         * math/libm-test.inc (y0_test): New tests.
12401         (y1_test): New tests.
12402         * sysdeps/i386/fpu/libm-test-ulps: Update.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12406 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12408         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12409         64-bit targets.
12410         * configure: Regenerated.
12412 2012-11-17  David S. Miller  <davem@davemloft.net>
12414         [BZ #14811]
12415         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12416         nonzero exponents with absolute value below 0x1p-128 to +/-
12417         0x1p-128.
12419 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12421         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12423         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12425         * posix/getconf-speclist.c: New file.
12426         * posix/posix-envs.def: Likewise.
12427         * posix/confstr.c (START_ENV_GROUP): New macro.
12428         (END_ENV_GROUP): Likewise.
12429         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12430         (KNOWN_PRESENT_ENV_STRING): Likewise.
12431         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12432         (UNKNOWN_ENVIRONMENT): Likewise.
12433         (confstr): Include posix-envs.def instead of handling
12434         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12435         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12436         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12437         (END_ENV_GROUP): Likewise.
12438         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12439         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12440         (UNKNOWN_ENVIRONMENT): Likewise.
12441         (__sysconf): Include posix-envs.def instead of handling associated
12442         cases directly here.
12443         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12444         preprocessing getconf-speclist.c rather than running getconf or
12445         generating empty file.
12447 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12449         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12451 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12453         [BZ #14672]
12454         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12456 2012-11-16  David S. Miller  <davem@davemloft.net>
12458         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12459         smaller than LDBL_EPSILON/2.0L, just return xm1.
12461 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12463         * elf/tst-array1.c (init): Set constructor priority to 1000.
12464         (fini): Set destructor priority to 1000.
12465         * elf/tst-array2dep.c: Likewise.
12467 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12469         [BZ #11741]
12470         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12471         (_IO_new_file_xsputn): Also return EOF if none of the input
12472         data was written when overflow failed.
12473         * libio/iopadn.c (_IO_padn): Likewise.
12474         * libio/iowpadn.c (_IO_wpadn): Likewise.
12475         * stdio-common/tst-put-error.c: Add copyright notice.
12476         (do_test): Add case for printing padded string.
12477         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12478         _IO_padn returned error.
12479         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12480         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12481         return EOF.
12483 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12485         * libio/libioP.h: Add comment note that the references to C++
12486         bits are now obsolete.
12488 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12490         * math/libm-test.inc (check_complex): Use asprintf.
12492 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12494         * debug/pcprofiledump.c (print_version): Update copyright year.
12495         * malloc/memusagestat.c (print_version): Likewise.
12497 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12499         [BZ #14831]
12500         * elf/Makefile (tests): Add tst-audit8.
12501         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12502         ($(objpfx)tst-audit8.out): New target.
12503         (tst-audit8-ENV): New variable.
12504         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12505         audit if l_reloc_result is NULL.
12506         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12507         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12508         * elf/tst-audit8.c: New file.
12510 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12512         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12513         * misc/Makefile (CFLAGS-select.c): Define.
12514         * posix/Makefile (CFLAGS-pause.c): Define.
12516 2012-11-13  David S. Miller  <davem@davemloft.net>
12518         * crypt/Makefile: Move test targets after toplevel Rules
12519         inclusion.  Grab any necessary sysdep routines when linking.
12520         * crypt/md5.c (md5_process_block): Remove define, we will always
12521         name it __md5_process_block.
12522         (md5_finish_ctx): Update md5_process_block call.
12523         (md5_stream): Likewise.
12524         (md5_process_bytes): Likewise.
12525         (md5_process_block): Rename to __md5_process_block and move to ...
12526         * crypt/md5-block.c: ... here.
12527         * crypt/sha256.c (sha256_process_block): Move to ...
12528         * crypt/sha256-block.c: ... here.
12529         * crypt/sha512.c (sha512_process_block): Move to ...
12530         * crypt/sha512-block.c: ... here.
12531         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12532         path.
12533         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12534         * sysdeps/sparc/sparc64/multiarch/Makefile
12535         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12536         crypt subdir.
12537         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12538         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12539         multiarch changes.
12540         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12541         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12542         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12543         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12544         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12545         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12546         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12547         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12548         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12549         file.
12550         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12551         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12552         file.
12553         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12555 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12557         * timezone/tzselect.ksh: Update from tzcode git revision
12558         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12559         * timezone/zdump.c: Likewise.
12560         * timezone/zic.c: Likewise.
12561         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12562         in TZVERSION setting, not $(PKGVERSION).
12563         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12564         REPORT_BUGS_TO settings.
12566         [BZ #14838]
12567         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12568         macro.
12570 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12572         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12573         detection to immediately after _FP_ROUND().
12574         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12575         bits are 0.
12577 2012-11-11  David S. Miller  <davem@davemloft.net>
12579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12580         inttypes.h
12581         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12582         __close rather than their public counterparts.
12584 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12586         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12587         file.
12588         [UNIX98] (sem_timedwait): Do not expect.
12589         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12590         [XPG4 || UNIX98] (sockatmark): Do not expect.
12591         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12592         (clock_getcpuclockid): Do not expect.
12593         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12594         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12595         Do not expect.
12596         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12597         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12598         [UNIX98] (vwscanf): Likewise.
12599         [UNIX98] (vswscanf): Likewise.
12601 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12603         * timezone/version.h: Remove file.
12604         * timezone/README: Do not refer to version.h.
12605         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12606         $(objpfx)version.h.
12607         ($(objpfx)zdump.o): Likewise.
12608         ($(objpfx)version.h): New target.
12610         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12611         2012i.
12612         * timezone/README: Don't mention modification to tzselect.ksh.
12613         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12614         work on unmodified tzselect.ksh.  Substitute version numbers in
12615         tzselect.ksh.
12617         * Makefile (format-me): Remove.
12618         (INSTALL): Adjust indentation.  Use commands directly instead of
12619         using $(format-me).
12621         * aclocal.m4 (ACX_PKGVERSION): New macro.
12622         (ACX_BUGURL): Likewise.
12623         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12624         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12625         (REPORT_BUGS_TO): Likewise.
12626         * configure: Regenerated.
12627         * config.h.in (PKGVERSION): New macro.
12628         (REPORT_BUGS_TO): Likewise.
12629         * config.make.in (PKGVERSION): New variable.
12630         (PKGVERSION_TEXI): Likewise.
12631         (REPORT_BUGS_TO): Likewise.
12632         (REPORT_BUGS_TEXI): Likewise.
12633         * Makefile (format-me): Use -I$(common-objpfx)manual.
12634         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12635         ($(common-objpfx)manual/%): New target.
12636         (manual/%): Remove target.
12637         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12638         (print_version): Use PKGVERSION.
12639         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12640         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12641         and REPORT_BUGS_TO.
12642         ($(objpfx)xtrace): Likewise.
12643         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12644         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12645         (print_version): Use PKGVERSION.
12646         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12647         (do_version): Use PKGVERSION.
12648         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12649         REPORT_BUGS_TO.
12650         (common-ldd-rewrite): Likewise.
12651         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12652         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12653         (print_version): Use PKGVERSION.
12654         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12655         * elf/pldd.c (argp_program_bug_address): Remove variable.
12656         (more_help): New function.
12657         (argp): Use more_help.
12658         (print_version): Use PKGVERSION.
12659         * elf/sln.c (main): Use PKGVERSION.
12660         (usage): Use REPORT_BUGS_TO.
12661         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12662         (top level): Use PKGVERSION.
12663         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12664         (print_version): Use PKGVERSION.
12665         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12666         (print_version): Use PKGVERSION.
12667         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12668         (print_version): Use PKGVERSION.
12669         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12670         (print_version): Use PKGVERSION.
12671         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12672         (print_version): Use PKGVERSION.
12673         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12674         (print_version): Use PKGVERSION.
12675         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12676         and BUGURL.
12677         ($(objpfx)memusage): Likewise.
12678         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12679         (do_version): Use PKGVERSION.
12680         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12681         (print_version): Use PKGVERSION.
12682         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12683         ($PKGVERSION): New variable.
12684         ($REPORT_BUGS_TO): Likewise.
12685         (usage): Use $REPORT_BUGS_TO.
12686         (top level): Use $PKGVERSION.
12687         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12688         ($(objpfx)pkgvers.texi): New rule.
12689         ($(objpfx)stamp-pkgvers): Likewise.
12690         * manual/install.texi: Include pkgvers.texi.
12691         (--with-pkgversion): Document new configure option.
12692         (--with-bugurl): Likewise.
12693         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12694         than necessarily for this particular distribution.  Use
12695         REPORT_BUGS_TO for where to report bugs.
12696         * INSTALL: Regenerated.
12697         * manual/libc.texinfo: Include pkgvers.texi.
12698         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12699         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12700         (print_version): Use PKGVERSION.
12701         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12702         (print_version): Use PKGVERSION.
12703         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12704         (print_version): Use PKGVERSION.
12705         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12706         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12707         macro.
12708         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12709         (print_version): Use PKGVERSION.
12710         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12711         (print_version): Use PKGVERSION.
12712         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12713         and PKGVERSION.
12715         * timezone/checktab.awk: Update from tzcode 2012i.
12716         * timezone/ialloc.c: Likewise.
12717         * timezone/private.h: Likewise.
12718         * timezone/scheck.c: Likewise.
12719         * timezone/tzfile.h: Likewise.
12720         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12721         (TZVERSION): Hardcode tzcode version number.
12722         * timezone/zdump.c: Update from tzcode 2012i.
12723         * timezone/zic.c: Likewise.
12724         * timezone/version.h: New file.
12725         * timezone/README: Describe version.h.  Update upstream location.
12727         [BZ #14824]
12728         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12729         (mktemp): Enable declaration.
12730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12733         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12734         Likewise.
12735         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12736         Likewise.
12737         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12738         Likewise.
12739         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12740         Likewise.
12741         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12742         Likewise.
12743         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12744         Likewise.
12746         [BZ #14821]
12747         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12748         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12749         for copies of such integer values.
12750         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12751         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12753 2012-11-09  Andreas Jaeger  <aj@suse.de>
12755         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12756         definitions and declarations that are provided by
12757         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12759 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12761         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12762         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12763         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12764         definition.
12766 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12768         * elf/elf.h: Update comment before AArch64 relocations.
12770 2012-11-07  David S. Miller  <davem@davemloft.net>
12772         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12773         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12774         (__start_context): Declare.
12775         (__makecontext_ret): Delete.
12776         (__makecontext): Hook up __start_context instead of
12777         __makecontext_ret.
12778         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12779         (sysdep_routines): Add __start_context when in stdlib.
12781 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12783         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12784         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12785         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12786         hardcoded "nm".
12787         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12788         (READELF): New variable.  Use it instead of hardcoded "readelf".
12790 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12792         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12793         * sysdeps/x86/Makefile: Here.
12794         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12795         * sysdeps/x86/tst-xmmymm.sh: This.
12797 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12799         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12800         expectations.
12801         [UNIX98] (pthread_barrier_t): Do not expect.
12802         [UNIX98] (pthread_barrierattr_t): Likewise.
12803         [UNIX98] (pthread_spinlock_t): Likewise.
12804         [UNIX98] (pthread_barrier_destroy): Likewise.
12805         [UNIX98] (pthread_barrier_init): Likewise.
12806         [UNIX98] (pthread_barrier_wait): Likewise.
12807         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12808         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12809         [UNIX98] (pthread_barrierattr_init): Likewise.
12810         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12811         [UNIX98] (pthread_getcpuclockid): Likewise.
12812         [UNIX98] (pthread_mutex_timedlock): Likewise.
12813         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12814         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12815         [UNIX98] (pthread_sigmask): Likewise.
12816         [UNIX98] (pthread_spin_destroy): Likewise.
12817         [UNIX98] (pthread_spin_init): Likewise.
12818         [UNIX98] (pthread_spin_lock): Likewise.
12819         [UNIX98] (pthread_spin_trylock): Likewise.
12820         [UNIX98] (pthread_spin_unlock): Likewise.
12821         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12822         Do not expect.
12823         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12824         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12825         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12826         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12827         [XPG3 || XPG4] (pthread_key_t): Likewise.
12828         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12829         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12830         [XPG3 || XPG4] (pthread_once_t): Likewise.
12831         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12832         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12833         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12834         [XPG3 || XPG4] (pthread_t): Likewise.
12836         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12837         not expect.
12838         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12840         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12841         Change function return type to int.
12843         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12844         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12845         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12846         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12847         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12848         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12849         [!POSIX] (posix_madvise): Likewise.
12850         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12851         && !UNIX98].
12852         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12853         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12854         (mode_t): Likewise.
12855         (posix_mem_offset): Likewise.
12856         (posix_typed_mem_get_info): Likewise.
12857         (posix_typed_mem_open): Likewise.
12859         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12860         Change condition to [XOPEN2K8].
12862         * conform/conformtest.pl: Preprocess allow-header data with -x c
12863         instead of from stdin.
12864         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12865         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12866         [C99-based standards] (cerfc): Likewise.
12867         [C99-based standards] (cexp2): Likewise.
12868         [C99-based standards] (cexpm1): Likewise.
12869         [C99-based standards] (clog10): Likewise.
12870         [C99-based standards] (clog1p): Likewise.
12871         [C99-based standards] (clog2): Likewise.
12872         [C99-based standards] (clgamma): Likewise.
12873         [C99-based standards] (ctgamma): Likewise.
12874         [C99-based standards] (cerff): Likewise.
12875         [C99-based standards] (cerfcf): Likewise.
12876         [C99-based standards] (cexp2f): Likewise.
12877         [C99-based standards] (cexpm1f): Likewise.
12878         [C99-based standards] (clog10f): Likewise.
12879         [C99-based standards] (clog1pf): Likewise.
12880         [C99-based standards] (clog2f): Likewise.
12881         [C99-based standards] (clgammaf): Likewise.
12882         [C99-based standards] (ctgammaf): Likewise.
12883         [C99-based standards] (cerfl): Likewise.
12884         [C99-based standards] (cerfcl): Likewise.
12885         [C99-based standards] (cexp2l): Likewise.
12886         [C99-based standards] (cexpm1l): Likewise.
12887         [C99-based standards] (clog10l): Likewise.
12888         [C99-based standards] (clog1pl): Likewise.
12889         [C99-based standards] (clog2l): Likewise.
12890         [C99-based standards] (clgammal): Likewise.
12891         [C99-based standards] (ctgammal): Likewise.
12892         * conform/data/inttypes.h-data [C99-based standards]: Include
12893         stdint.h-data.  Remove all expectations for stdint.h contents.
12894         [C99-based standards] (PRI*): Do not allow.
12895         [C99-based standards] (SCN*): Likewise.
12896         [C99-based standards] (*_t): Likewise.
12897         [C99-based-standards] (PRId8): Expect macro.
12898         [C99-based-standards] (PRIi8): Likewise.
12899         [C99-based-standards] (PRIo8): Likewise.
12900         [C99-based-standards] (PRIu8): Likewise.
12901         [C99-based-standards] (PRIx8): Likewise.
12902         [C99-based-standards] (PRIX8): Likewise.
12903         [C99-based-standards] (SCNd8): Likewise.
12904         [C99-based-standards] (SCNi8): Likewise.
12905         [C99-based-standards] (SCNo8): Likewise.
12906         [C99-based-standards] (SCNu8): Likewise.
12907         [C99-based-standards] (SCNx8): Likewise.
12908         [C99-based-standards] (PRIdLEAST8): Likewise.
12909         [C99-based-standards] (PRIiLEAST8): Likewise.
12910         [C99-based-standards] (PRIoLEAST8): Likewise.
12911         [C99-based-standards] (PRIuLEAST8): Likewise.
12912         [C99-based-standards] (PRIxLEAST8): Likewise.
12913         [C99-based-standards] (PRIXLEAST8): Likewise.
12914         [C99-based-standards] (SCNdLEAST8): Likewise.
12915         [C99-based-standards] (SCNiLEAST8): Likewise.
12916         [C99-based-standards] (SCNoLEAST8): Likewise.
12917         [C99-based-standards] (SCNuLEAST8): Likewise.
12918         [C99-based-standards] (SCNxLEAST8): Likewise.
12919         [C99-based-standards] (PRIdFAST8): Likewise.
12920         [C99-based-standards] (PRIiFAST8): Likewise.
12921         [C99-based-standards] (PRIoFAST8): Likewise.
12922         [C99-based-standards] (PRIuFAST8): Likewise.
12923         [C99-based-standards] (PRIxFAST8): Likewise.
12924         [C99-based-standards] (PRIXFAST8): Likewise.
12925         [C99-based-standards] (SCNdFAST8): Likewise.
12926         [C99-based-standards] (SCNiFAST8): Likewise.
12927         [C99-based-standards] (SCNoFAST8): Likewise.
12928         [C99-based-standards] (SCNuFAST8): Likewise.
12929         [C99-based-standards] (SCNxFAST8): Likewise.
12930         [C99-based-standards] (PRId16): Likewise.
12931         [C99-based-standards] (PRIi16): Likewise.
12932         [C99-based-standards] (PRIo16): Likewise.
12933         [C99-based-standards] (PRIu16): Likewise.
12934         [C99-based-standards] (PRIx16): Likewise.
12935         [C99-based-standards] (PRIX16): Likewise.
12936         [C99-based-standards] (SCNd16): Likewise.
12937         [C99-based-standards] (SCNi16): Likewise.
12938         [C99-based-standards] (SCNo16): Likewise.
12939         [C99-based-standards] (SCNu16): Likewise.
12940         [C99-based-standards] (SCNx16): Likewise.
12941         [C99-based-standards] (PRIdLEAST16): Likewise.
12942         [C99-based-standards] (PRIiLEAST16): Likewise.
12943         [C99-based-standards] (PRIoLEAST16): Likewise.
12944         [C99-based-standards] (PRIuLEAST16): Likewise.
12945         [C99-based-standards] (PRIxLEAST16): Likewise.
12946         [C99-based-standards] (PRIXLEAST16): Likewise.
12947         [C99-based-standards] (SCNdLEAST16): Likewise.
12948         [C99-based-standards] (SCNiLEAST16): Likewise.
12949         [C99-based-standards] (SCNoLEAST16): Likewise.
12950         [C99-based-standards] (SCNuLEAST16): Likewise.
12951         [C99-based-standards] (SCNxLEAST16): Likewise.
12952         [C99-based-standards] (PRIdFAST16): Likewise.
12953         [C99-based-standards] (PRIiFAST16): Likewise.
12954         [C99-based-standards] (PRIoFAST16): Likewise.
12955         [C99-based-standards] (PRIuFAST16): Likewise.
12956         [C99-based-standards] (PRIxFAST16): Likewise.
12957         [C99-based-standards] (PRIXFAST16): Likewise.
12958         [C99-based-standards] (SCNdFAST16): Likewise.
12959         [C99-based-standards] (SCNiFAST16): Likewise.
12960         [C99-based-standards] (SCNoFAST16): Likewise.
12961         [C99-based-standards] (SCNuFAST16): Likewise.
12962         [C99-based-standards] (SCNxFAST16): Likewise.
12963         [C99-based-standards] (PRId32): Likewise.
12964         [C99-based-standards] (PRIi32): Likewise.
12965         [C99-based-standards] (PRIo32): Likewise.
12966         [C99-based-standards] (PRIu32): Likewise.
12967         [C99-based-standards] (PRIx32): Likewise.
12968         [C99-based-standards] (PRIX32): Likewise.
12969         [C99-based-standards] (SCNd32): Likewise.
12970         [C99-based-standards] (SCNi32): Likewise.
12971         [C99-based-standards] (SCNo32): Likewise.
12972         [C99-based-standards] (SCNu32): Likewise.
12973         [C99-based-standards] (SCNx32): Likewise.
12974         [C99-based-standards] (PRIdLEAST32): Likewise.
12975         [C99-based-standards] (PRIiLEAST32): Likewise.
12976         [C99-based-standards] (PRIoLEAST32): Likewise.
12977         [C99-based-standards] (PRIuLEAST32): Likewise.
12978         [C99-based-standards] (PRIxLEAST32): Likewise.
12979         [C99-based-standards] (PRIXLEAST32): Likewise.
12980         [C99-based-standards] (SCNdLEAST32): Likewise.
12981         [C99-based-standards] (SCNiLEAST32): Likewise.
12982         [C99-based-standards] (SCNoLEAST32): Likewise.
12983         [C99-based-standards] (SCNuLEAST32): Likewise.
12984         [C99-based-standards] (SCNxLEAST32): Likewise.
12985         [C99-based-standards] (PRIdFAST32): Likewise.
12986         [C99-based-standards] (PRIiFAST32): Likewise.
12987         [C99-based-standards] (PRIoFAST32): Likewise.
12988         [C99-based-standards] (PRIuFAST32): Likewise.
12989         [C99-based-standards] (PRIxFAST32): Likewise.
12990         [C99-based-standards] (PRIXFAST32): Likewise.
12991         [C99-based-standards] (SCNdFAST32): Likewise.
12992         [C99-based-standards] (SCNiFAST32): Likewise.
12993         [C99-based-standards] (SCNoFAST32): Likewise.
12994         [C99-based-standards] (SCNuFAST32): Likewise.
12995         [C99-based-standards] (SCNxFAST32): Likewise.
12996         [C99-based-standards] (PRId64): Likewise.
12997         [C99-based-standards] (PRIi64): Likewise.
12998         [C99-based-standards] (PRIo64): Likewise.
12999         [C99-based-standards] (PRIu64): Likewise.
13000         [C99-based-standards] (PRIx64): Likewise.
13001         [C99-based-standards] (PRIX64): Likewise.
13002         [C99-based-standards] (SCNd64): Likewise.
13003         [C99-based-standards] (SCNi64): Likewise.
13004         [C99-based-standards] (SCNo64): Likewise.
13005         [C99-based-standards] (SCNu64): Likewise.
13006         [C99-based-standards] (SCNx64): Likewise.
13007         [C99-based-standards] (PRIdLEAST64): Likewise.
13008         [C99-based-standards] (PRIiLEAST64): Likewise.
13009         [C99-based-standards] (PRIoLEAST64): Likewise.
13010         [C99-based-standards] (PRIuLEAST64): Likewise.
13011         [C99-based-standards] (PRIxLEAST64): Likewise.
13012         [C99-based-standards] (PRIXLEAST64): Likewise.
13013         [C99-based-standards] (SCNdLEAST64): Likewise.
13014         [C99-based-standards] (SCNiLEAST64): Likewise.
13015         [C99-based-standards] (SCNoLEAST64): Likewise.
13016         [C99-based-standards] (SCNuLEAST64): Likewise.
13017         [C99-based-standards] (SCNxLEAST64): Likewise.
13018         [C99-based-standards] (PRIdFAST64): Likewise.
13019         [C99-based-standards] (PRIiFAST64): Likewise.
13020         [C99-based-standards] (PRIoFAST64): Likewise.
13021         [C99-based-standards] (PRIuFAST64): Likewise.
13022         [C99-based-standards] (PRIxFAST64): Likewise.
13023         [C99-based-standards] (PRIXFAST64): Likewise.
13024         [C99-based-standards] (SCNdFAST64): Likewise.
13025         [C99-based-standards] (SCNiFAST64): Likewise.
13026         [C99-based-standards] (SCNoFAST64): Likewise.
13027         [C99-based-standards] (SCNuFAST64): Likewise.
13028         [C99-based-standards] (SCNxFAST64): Likewise.
13029         [C99-based-standards] (PRIdMAX): Likewise.
13030         [C99-based-standards] (PRIiMAX): Likewise.
13031         [C99-based-standards] (PRIoMAX): Likewise.
13032         [C99-based-standards] (PRIuMAX): Likewise.
13033         [C99-based-standards] (PRIxMAX): Likewise.
13034         [C99-based-standards] (PRIXMAX): Likewise.
13035         [C99-based-standards] (SCNdMAX): Likewise.
13036         [C99-based-standards] (SCNiMAX): Likewise.
13037         [C99-based-standards] (SCNoMAX): Likewise.
13038         [C99-based-standards] (SCNuMAX): Likewise.
13039         [C99-based-standards] (SCNxMAX): Likewise.
13040         [C99-based-standards] (PRIdPTR): Likewise.
13041         [C99-based-standards] (PRIiPTR): Likewise.
13042         [C99-based-standards] (PRIoPTR): Likewise.
13043         [C99-based-standards] (PRIuPTR): Likewise.
13044         [C99-based-standards] (PRIxPTR): Likewise.
13045         [C99-based-standards] (PRIXPTR): Likewise.
13046         [C99-based-standards] (SCNdPTR): Likewise.
13047         [C99-based-standards] (SCNiPTR): Likewise.
13048         [C99-based-standards] (SCNoPTR): Likewise.
13049         [C99-based-standards] (SCNuPTR): Likewise.
13050         [C99-based-standards] (SCNxPTR): Likewise.
13051         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13052         allow.
13053         * conform/data/stdint.h-data: Update comments to clarify
13054         requirements.
13055         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13056         type.
13057         [C99-based standards] (INT8_MAX): Likewise.
13058         [C99-based standards] (INT16_MIN): Likewise.
13059         [C99-based standards] (INT16_MAX): Likewise.
13060         [C99-based standards] (INT32_MIN): Likewise.
13061         [C99-based standards] (INT32_MAX): Likewise.
13062         [C99-based standards] (INT64_MIN): Likewise.
13063         [C99-based standards] (INT64_MAX): Likewise.
13064         [C99-based standards] (UINT8_MAX): Likewise.
13065         [C99-based standards] (UINT16_MAX): Likewise.
13066         [C99-based standards] (UINT32_MAX): Likewise.
13067         [C99-based standards] (UINT64_MAX): Likewise.
13068         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13069         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13070         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13071         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13072         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13073         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13074         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13075         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13076         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13077         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13078         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13079         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13080         [C99-based standards] (INT_FAST8_MIN): Likewise.
13081         [C99-based standards] (INT_FAST8_MAX): Likewise.
13082         [C99-based standards] (INT_FAST16_MIN): Likewise.
13083         [C99-based standards] (INT_FAST16_MAX): Likewise.
13084         [C99-based standards] (INT_FAST32_MIN): Likewise.
13085         [C99-based standards] (INT_FAST32_MAX): Likewise.
13086         [C99-based standards] (INT_FAST64_MIN): Likewise.
13087         [C99-based standards] (INT_FAST64_MAX): Likewise.
13088         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13089         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13090         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13091         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13092         [C99-based standards] (INTPTR_MIN): Likewise.
13093         [C99-based standards] (INTPTR_MAX): Likewise.
13094         [C99-based standards] (UINTPTR_MAX): Likewise.
13095         [C99-based standards] (INTMAX_MIN): Likewise.
13096         [C99-based standards] (INTMAX_MAX): Likewise.
13097         [C99-based standards] (UINTMAX_MAX): Likewise.
13098         [C99-based standards] (PTRDIFF_MIN): Likewise.
13099         [C99-based standards] (PTRDIFF_MAX): Likewise.
13100         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13101         [C99-based standards] (SIZE_MAX): Likewise.
13102         [C99-based standards] (WCHAR_MAX): Likewise.
13103         [C99-based standards] (WINT_MAX): Likewise.
13104         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13105         constraint on value.
13106         [C99-based standards] (WCHAR_MIN): Likewise.
13107         [C99-based standards] (WINT_MIN): Likewise.
13108         [C99-based standards] (*_t): Allow.
13109         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13110         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13111         Include math.h-data and complex.h-data.  Remove all expectations
13112         of math.h and complex.h contents.
13113         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13114         at end of line.
13115         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13116         (struct tm): Expect tag.
13117         [C99-based-standards] (wcstof): Expect function.
13118         [C99-based-standards] (wcstold): Likewise.
13119         [C99-based-standards] (wcstoll): Likewise.
13120         [C99-based-standards] (wcstoull): Likewise.
13121         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13122         macro-int-constant.  Specify type.
13123         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13124         constraint on value.
13125         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13126         Specify type.
13127         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13128         Specify value.
13129         [ISO C standards]: Do not allow headers.
13130         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13131         wcs[abcdefghijklmnopqrstuvwxyz]*.
13132         [ISO C standards] (*_t): Do not allow.
13133         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13134         Expect function.
13135         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13136         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13137         Specify type.
13138         [ISO C standards]: Do not allow headers.
13139         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13140         is[abcdefghijklmnopqrstuvwxyz]*.
13141         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13142         to[abcdefghijklmnopqrstuvwxyz]*.
13143         [ISO C standards] (*_t): Do not allow.
13144         * conform/data/stdalign.h-data: New file.
13145         * conform/data/stdbool.h-data: Likewise.
13146         * conform/data/stdnoreturn.h-data: Likewise.
13148 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13150         [BZ #14815]
13151         * manual/filesys.texi (Directory Entries): Typo fix.
13152         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13154 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13156         * elf/elf.h (EM_AARCH64): New macro.
13157         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13158         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13159         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13160         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13161         (R_AARCH64_TLSDESC): Likewise.
13162         (NT_ARM_TLS): Likewise.
13163         (NT_ARM_HW_BREAK): Likewise.
13164         (NT_ARM_HW_WATCH): Likewise.
13166 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13168         [BZ #14811]
13169         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13170         (__ieee754_powl): Saturate nonzero exponents with absolute value
13171         below 0x1p-79 to +/- 0x1p-79.
13172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13173         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13174         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13175         nonzero exponents with absolute value below 0x1p-32 to +/-
13176         0x1p-32.
13177         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13178         (__ieee754_powl): Saturate nonzero exponents with absolute value
13179         below 0x1p-79 to +/- 0x1p-79.
13180         * math/libm-test.inc (pow_test): Add more tests.
13182 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13184         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13185         _dl_s390_cap_flags with kernel. Increase string length.
13186         (_dl_s390_platforms): Add z196 and zEC12.
13188 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13190         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13191         Change XOPEN21K to XOPEN2K.
13193 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13195         * string/memmove.c: Use memcpy when possible.
13197 2012-11-06  Andreas Jaeger  <aj@suse.de>
13199         * po/eo.po: Update from translation team.
13201 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13203         [BZ #14793]
13204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13205         exponent and small x and y exponents, scale x or y up.  Increase
13206         by 2 the exponent used in scaling up.
13207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13209         * math/libm-test.inc (fma_test): Add more tests.
13210         (fma_test_towardzero): Likewise.
13211         (fma_test_downward): Likewise.
13212         (fma_test_upward): Likewise.
13214 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13216         [BZ #14805]
13217         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13218         fenv_t *.
13220         [BZ #14801]
13221         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13222         namespace for names of struct fields.
13223         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13224         fenv_t fields.
13225         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13226         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13228 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13230         [BZ #3665]
13231         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13233 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13235         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13236         PTR_DEMANGLE.
13238         [BZ #5246]
13239         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13240         PTR_DEMANGLE.
13242 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13244         [BZ #14797]
13245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13246         definitely overflow as x * y not x * y + z.
13247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13249         * math/libm-test.inc (fma_test): Add more tests.
13250         (fma_test_towardzero): Likewise.
13251         (fma_test_downward): Likewise.
13252         (fma_test_upward): Likewise.
13254 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13256         [BZ #157]
13258         * include/stub-tag.h: Remove file.
13259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13260         '#include' of it.
13261         * manual/maint.texi (Porting): Don't reference it.
13262         * Makerules ($(objpfx)stubs): Likewise.
13263         * dirent/closedir.c: Don't include <stub-tag.h>.
13264         * dirent/dirfd.c: Likewise.
13265         * dirent/fdopendir.c: Likewise.
13266         * dirent/getdents.c: Likewise.
13267         * dirent/getdents64.c: Likewise.
13268         * dirent/opendir.c: Likewise.
13269         * dirent/readdir.c: Likewise.
13270         * dirent/readdir64.c: Likewise.
13271         * dirent/readdir64_r.c: Likewise.
13272         * dirent/readdir_r.c: Likewise.
13273         * dirent/rewinddir.c: Likewise.
13274         * dirent/seekdir.c: Likewise.
13275         * dirent/telldir.c: Likewise.
13276         * gmon/profil.c: Likewise.
13277         * grp/setgroups.c: Likewise.
13278         * inet/if_index.c: Likewise.
13279         * io/access.c: Likewise.
13280         * io/chdir.c: Likewise.
13281         * io/chmod.c: Likewise.
13282         * io/chown.c: Likewise.
13283         * io/close.c: Likewise.
13284         * io/dup.c: Likewise.
13285         * io/dup2.c: Likewise.
13286         * io/dup3.c: Likewise.
13287         * io/euidaccess.c: Likewise.
13288         * io/faccessat.c: Likewise.
13289         * io/fchdir.c: Likewise.
13290         * io/fchmod.c: Likewise.
13291         * io/fchmodat.c: Likewise.
13292         * io/fchown.c: Likewise.
13293         * io/fchownat.c: Likewise.
13294         * io/fcntl.c: Likewise.
13295         * io/flock.c: Likewise.
13296         * io/fstatfs.c: Likewise.
13297         * io/fstatfs64.c: Likewise.
13298         * io/fstatvfs.c: Likewise.
13299         * io/fstatvfs64.c: Likewise.
13300         * io/futimens.c: Likewise.
13301         * io/fxstat.c: Likewise.
13302         * io/fxstat64.c: Likewise.
13303         * io/fxstatat.c: Likewise.
13304         * io/fxstatat64.c: Likewise.
13305         * io/getcwd.c: Likewise.
13306         * io/isatty.c: Likewise.
13307         * io/lchmod.c: Likewise.
13308         * io/lchown.c: Likewise.
13309         * io/link.c: Likewise.
13310         * io/linkat.c: Likewise.
13311         * io/lseek.c: Likewise.
13312         * io/lseek64.c: Likewise.
13313         * io/lxstat64.c: Likewise.
13314         * io/mkdir.c: Likewise.
13315         * io/mkdirat.c: Likewise.
13316         * io/mkfifo.c: Likewise.
13317         * io/mkfifoat.c: Likewise.
13318         * io/open.c: Likewise.
13319         * io/open64.c: Likewise.
13320         * io/openat.c: Likewise.
13321         * io/openat64.c: Likewise.
13322         * io/pipe.c: Likewise.
13323         * io/pipe2.c: Likewise.
13324         * io/poll.c: Likewise.
13325         * io/posix_fadvise.c: Likewise.
13326         * io/posix_fadvise64.c: Likewise.
13327         * io/posix_fallocate.c: Likewise.
13328         * io/posix_fallocate64.c: Likewise.
13329         * io/read.c: Likewise.
13330         * io/readlink.c: Likewise.
13331         * io/readlinkat.c: Likewise.
13332         * io/rmdir.c: Likewise.
13333         * io/sendfile.c: Likewise.
13334         * io/sendfile64.c: Likewise.
13335         * io/statfs.c: Likewise.
13336         * io/statfs64.c: Likewise.
13337         * io/statvfs.c: Likewise.
13338         * io/statvfs64.c: Likewise.
13339         * io/symlink.c: Likewise.
13340         * io/symlinkat.c: Likewise.
13341         * io/ttyname.c: Likewise.
13342         * io/ttyname_r.c: Likewise.
13343         * io/umask.c: Likewise.
13344         * io/unlink.c: Likewise.
13345         * io/unlinkat.c: Likewise.
13346         * io/utime.c: Likewise.
13347         * io/utimensat.c: Likewise.
13348         * io/write.c: Likewise.
13349         * io/xmknod.c: Likewise.
13350         * io/xmknodat.c: Likewise.
13351         * io/xstat.c: Likewise.
13352         * io/xstat64.c: Likewise.
13353         * login/getpt.c: Likewise.
13354         * login/grantpt.c: Likewise.
13355         * login/unlockpt.c: Likewise.
13356         * math/e_acoshl.c: Likewise.
13357         * math/e_acosl.c: Likewise.
13358         * math/e_asinl.c: Likewise.
13359         * math/e_atan2l.c: Likewise.
13360         * math/e_atanhl.c: Likewise.
13361         * math/e_coshl.c: Likewise.
13362         * math/e_expl.c: Likewise.
13363         * math/e_fmodl.c: Likewise.
13364         * math/e_gammal_r.c: Likewise.
13365         * math/e_hypotl.c: Likewise.
13366         * math/e_j0l.c: Likewise.
13367         * math/e_j1l.c: Likewise.
13368         * math/e_jnl.c: Likewise.
13369         * math/e_lgammal_r.c: Likewise.
13370         * math/e_log10l.c: Likewise.
13371         * math/e_log2l.c: Likewise.
13372         * math/e_logl.c: Likewise.
13373         * math/e_powl.c: Likewise.
13374         * math/e_rem_pio2l.c: Likewise.
13375         * math/e_sinhl.c: Likewise.
13376         * math/e_sqrtl.c: Likewise.
13377         * math/fclrexcpt.c: Likewise.
13378         * math/fedisblxcpt.c: Likewise.
13379         * math/feenablxcpt.c: Likewise.
13380         * math/fegetenv.c: Likewise.
13381         * math/fegetexcept.c: Likewise.
13382         * math/fegetround.c: Likewise.
13383         * math/feholdexcpt.c: Likewise.
13384         * math/fesetenv.c: Likewise.
13385         * math/fesetround.c: Likewise.
13386         * math/feupdateenv.c: Likewise.
13387         * math/fgetexcptflg.c: Likewise.
13388         * math/fraiseexcpt.c: Likewise.
13389         * math/fsetexcptflg.c: Likewise.
13390         * math/ftestexcept.c: Likewise.
13391         * math/k_cosl.c: Likewise.
13392         * math/k_rem_pio2l.c: Likewise.
13393         * math/k_sinl.c: Likewise.
13394         * math/k_tanl.c: Likewise.
13395         * math/s_asinhl.c: Likewise.
13396         * math/s_atanl.c: Likewise.
13397         * math/s_cbrtl.c: Likewise.
13398         * math/s_erfl.c: Likewise.
13399         * math/s_expm1l.c: Likewise.
13400         * math/s_log1pl.c: Likewise.
13401         * math/s_tanhl.c: Likewise.
13402         * misc/acct.c: Likewise.
13403         * misc/brk.c: Likewise.
13404         * misc/chflags.c: Likewise.
13405         * misc/chroot.c: Likewise.
13406         * misc/fchflags.c: Likewise.
13407         * misc/fgetxattr.c: Likewise.
13408         * misc/flistxattr.c: Likewise.
13409         * misc/fremovexattr.c: Likewise.
13410         * misc/fsetxattr.c: Likewise.
13411         * misc/fsync.c: Likewise.
13412         * misc/ftruncate.c: Likewise.
13413         * misc/futimes.c: Likewise.
13414         * misc/futimesat.c: Likewise.
13415         * misc/getdomain.c: Likewise.
13416         * misc/getdtsz.c: Likewise.
13417         * misc/gethostid.c: Likewise.
13418         * misc/gethostname.c: Likewise.
13419         * misc/getloadavg.c: Likewise.
13420         * misc/getpagesize.c: Likewise.
13421         * misc/getsysstats.c: Likewise.
13422         * misc/getxattr.c: Likewise.
13423         * misc/gtty.c: Likewise.
13424         * misc/ioctl.c: Likewise.
13425         * misc/lgetxattr.c: Likewise.
13426         * misc/listxattr.c: Likewise.
13427         * misc/llistxattr.c: Likewise.
13428         * misc/lremovexattr.c: Likewise.
13429         * misc/lsetxattr.c: Likewise.
13430         * misc/lutimes.c: Likewise.
13431         * misc/madvise.c: Likewise.
13432         * misc/mincore.c: Likewise.
13433         * misc/mlock.c: Likewise.
13434         * misc/mlockall.c: Likewise.
13435         * misc/mmap.c: Likewise.
13436         * misc/mprotect.c: Likewise.
13437         * misc/msync.c: Likewise.
13438         * misc/munlock.c: Likewise.
13439         * misc/munlockall.c: Likewise.
13440         * misc/munmap.c: Likewise.
13441         * misc/preadv.c: Likewise.
13442         * misc/preadv64.c: Likewise.
13443         * misc/ptrace.c: Likewise.
13444         * misc/pwritev.c: Likewise.
13445         * misc/pwritev64.c: Likewise.
13446         * misc/readv.c: Likewise.
13447         * misc/reboot.c: Likewise.
13448         * misc/remap_file_pages.c: Likewise.
13449         * misc/removexattr.c: Likewise.
13450         * misc/revoke.c: Likewise.
13451         * misc/select.c: Likewise.
13452         * misc/setdomain.c: Likewise.
13453         * misc/setegid.c: Likewise.
13454         * misc/seteuid.c: Likewise.
13455         * misc/sethostid.c: Likewise.
13456         * misc/sethostname.c: Likewise.
13457         * misc/setregid.c: Likewise.
13458         * misc/setreuid.c: Likewise.
13459         * misc/setxattr.c: Likewise.
13460         * misc/sstk.c: Likewise.
13461         * misc/stty.c: Likewise.
13462         * misc/swapoff.c: Likewise.
13463         * misc/swapon.c: Likewise.
13464         * misc/sync.c: Likewise.
13465         * misc/syncfs.c: Likewise.
13466         * misc/syscall.c: Likewise.
13467         * misc/truncate.c: Likewise.
13468         * misc/ualarm.c: Likewise.
13469         * misc/usleep.c: Likewise.
13470         * misc/ustat.c: Likewise.
13471         * misc/utimes.c: Likewise.
13472         * misc/vhangup.c: Likewise.
13473         * misc/writev.c: Likewise.
13474         * posix/_exit.c: Likewise.
13475         * posix/alarm.c: Likewise.
13476         * posix/execve.c: Likewise.
13477         * posix/fexecve.c: Likewise.
13478         * posix/fork.c: Likewise.
13479         * posix/fpathconf.c: Likewise.
13480         * posix/getaddrinfo.c: Likewise.
13481         * posix/getegid.c: Likewise.
13482         * posix/geteuid.c: Likewise.
13483         * posix/getgid.c: Likewise.
13484         * posix/getgroups.c: Likewise.
13485         * posix/getlogin.c: Likewise.
13486         * posix/getlogin_r.c: Likewise.
13487         * posix/getpgid.c: Likewise.
13488         * posix/getpid.c: Likewise.
13489         * posix/getppid.c: Likewise.
13490         * posix/getresgid.c: Likewise.
13491         * posix/getresuid.c: Likewise.
13492         * posix/getsid.c: Likewise.
13493         * posix/getuid.c: Likewise.
13494         * posix/glob64.c: Likewise.
13495         * posix/nanosleep.c: Likewise.
13496         * posix/pathconf.c: Likewise.
13497         * posix/pause.c: Likewise.
13498         * posix/posix_madvise.c: Likewise.
13499         * posix/pread.c: Likewise.
13500         * posix/pread64.c: Likewise.
13501         * posix/pwrite.c: Likewise.
13502         * posix/pwrite64.c: Likewise.
13503         * posix/sched_getaffinity.c: Likewise.
13504         * posix/sched_getp.c: Likewise.
13505         * posix/sched_gets.c: Likewise.
13506         * posix/sched_primax.c: Likewise.
13507         * posix/sched_primin.c: Likewise.
13508         * posix/sched_rr_gi.c: Likewise.
13509         * posix/sched_setaffinity.c: Likewise.
13510         * posix/sched_setp.c: Likewise.
13511         * posix/sched_sets.c: Likewise.
13512         * posix/sched_yield.c: Likewise.
13513         * posix/setgid.c: Likewise.
13514         * posix/setlogin.c: Likewise.
13515         * posix/setpgid.c: Likewise.
13516         * posix/setresgid.c: Likewise.
13517         * posix/setresuid.c: Likewise.
13518         * posix/setsid.c: Likewise.
13519         * posix/setuid.c: Likewise.
13520         * posix/sleep.c: Likewise.
13521         * posix/spawni.c: Likewise.
13522         * posix/sysconf.c: Likewise.
13523         * posix/times.c: Likewise.
13524         * posix/wait.c: Likewise.
13525         * posix/wait3.c: Likewise.
13526         * posix/wait4.c: Likewise.
13527         * posix/waitpid.c: Likewise.
13528         * resolv/gai_sigqueue.c: Likewise.
13529         * resource/getpriority.c: Likewise.
13530         * resource/getrlimit.c: Likewise.
13531         * resource/getrusage.c: Likewise.
13532         * resource/nice.c: Likewise.
13533         * resource/setpriority.c: Likewise.
13534         * resource/setrlimit.c: Likewise.
13535         * resource/ulimit.c: Likewise.
13536         * rt/aio_cancel.c: Likewise.
13537         * rt/aio_fsync.c: Likewise.
13538         * rt/aio_read.c: Likewise.
13539         * rt/aio_sigqueue.c: Likewise.
13540         * rt/aio_suspend.c: Likewise.
13541         * rt/aio_write.c: Likewise.
13542         * rt/clock_getres.c: Likewise.
13543         * rt/clock_gettime.c: Likewise.
13544         * rt/clock_nanosleep.c: Likewise.
13545         * rt/clock_settime.c: Likewise.
13546         * rt/lio_listio.c: Likewise.
13547         * rt/mq_close.c: Likewise.
13548         * rt/mq_getattr.c: Likewise.
13549         * rt/mq_notify.c: Likewise.
13550         * rt/mq_open.c: Likewise.
13551         * rt/mq_receive.c: Likewise.
13552         * rt/mq_send.c: Likewise.
13553         * rt/mq_setattr.c: Likewise.
13554         * rt/mq_timedreceive.c: Likewise.
13555         * rt/mq_timedsend.c: Likewise.
13556         * rt/mq_unlink.c: Likewise.
13557         * rt/shm_open.c: Likewise.
13558         * rt/shm_unlink.c: Likewise.
13559         * rt/timer_create.c: Likewise.
13560         * rt/timer_delete.c: Likewise.
13561         * rt/timer_getoverr.c: Likewise.
13562         * rt/timer_gettime.c: Likewise.
13563         * rt/timer_settime.c: Likewise.
13564         * setjmp/__longjmp.c: Likewise.
13565         * setjmp/setjmp.c: Likewise.
13566         * signal/kill.c: Likewise.
13567         * signal/killpg.c: Likewise.
13568         * signal/raise.c: Likewise.
13569         * signal/sigaction.c: Likewise.
13570         * signal/sigaltstack.c: Likewise.
13571         * signal/sigblock.c: Likewise.
13572         * signal/sigignore.c: Likewise.
13573         * signal/sigintr.c: Likewise.
13574         * signal/signal.c: Likewise.
13575         * signal/sigpause.c: Likewise.
13576         * signal/sigpending.c: Likewise.
13577         * signal/sigqueue.c: Likewise.
13578         * signal/sigreturn.c: Likewise.
13579         * signal/sigset.c: Likewise.
13580         * signal/sigsetmask.c: Likewise.
13581         * signal/sigstack.c: Likewise.
13582         * signal/sigsuspend.c: Likewise.
13583         * signal/sigtimedwait.c: Likewise.
13584         * signal/sigvec.c: Likewise.
13585         * signal/sigwait.c: Likewise.
13586         * signal/sigwaitinfo.c: Likewise.
13587         * signal/sysv_signal.c: Likewise.
13588         * socket/accept.c: Likewise.
13589         * socket/accept4.c: Likewise.
13590         * socket/bind.c: Likewise.
13591         * socket/connect.c: Likewise.
13592         * socket/getpeername.c: Likewise.
13593         * socket/getsockname.c: Likewise.
13594         * socket/getsockopt.c: Likewise.
13595         * socket/isfdtype.c: Likewise.
13596         * socket/listen.c: Likewise.
13597         * socket/recv.c: Likewise.
13598         * socket/recvfrom.c: Likewise.
13599         * socket/recvmsg.c: Likewise.
13600         * socket/send.c: Likewise.
13601         * socket/sendmsg.c: Likewise.
13602         * socket/sendto.c: Likewise.
13603         * socket/setsockopt.c: Likewise.
13604         * socket/shutdown.c: Likewise.
13605         * socket/sockatmark.c: Likewise.
13606         * socket/socket.c: Likewise.
13607         * socket/socketpair.c: Likewise.
13608         * stdio-common/ctermid.c: Likewise.
13609         * stdio-common/cuserid.c: Likewise.
13610         * stdio-common/remove.c: Likewise.
13611         * stdio-common/rename.c: Likewise.
13612         * stdio-common/renameat.c: Likewise.
13613         * stdio-common/tempname.c: Likewise.
13614         * stdlib/getcontext.c: Likewise.
13615         * stdlib/makecontext.c: Likewise.
13616         * stdlib/setcontext.c: Likewise.
13617         * stdlib/swapcontext.c: Likewise.
13618         * stdlib/system.c: Likewise.
13619         * streams/fattach.c: Likewise.
13620         * streams/fdetach.c: Likewise.
13621         * streams/getmsg.c: Likewise.
13622         * streams/getpmsg.c: Likewise.
13623         * streams/putmsg.c: Likewise.
13624         * streams/putpmsg.c: Likewise.
13625         * sysdeps/unix/bsd/getpt.c: Likewise.
13626         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13627         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13628         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13630         Likewise.
13631         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13632         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13633         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13634         * sysvipc/msgctl.c: Likewise.
13635         * sysvipc/msgget.c: Likewise.
13636         * sysvipc/msgrcv.c: Likewise.
13637         * sysvipc/msgsnd.c: Likewise.
13638         * sysvipc/semctl.c: Likewise.
13639         * sysvipc/semget.c: Likewise.
13640         * sysvipc/semop.c: Likewise.
13641         * sysvipc/semtimedop.c: Likewise.
13642         * sysvipc/shmat.c: Likewise.
13643         * sysvipc/shmctl.c: Likewise.
13644         * sysvipc/shmdt.c: Likewise.
13645         * sysvipc/shmget.c: Likewise.
13646         * termios/tcdrain.c: Likewise.
13647         * termios/tcflow.c: Likewise.
13648         * termios/tcflush.c: Likewise.
13649         * termios/tcgetattr.c: Likewise.
13650         * termios/tcgetpgrp.c: Likewise.
13651         * termios/tcsendbrk.c: Likewise.
13652         * termios/tcsetattr.c: Likewise.
13653         * termios/tcsetpgrp.c: Likewise.
13654         * time/adjtime.c: Likewise.
13655         * time/clock.c: Likewise.
13656         * time/getitimer.c: Likewise.
13657         * time/gettimeofday.c: Likewise.
13658         * time/setitimer.c: Likewise.
13659         * time/settimeofday.c: Likewise.
13660         * time/stime.c: Likewise.
13661         * time/time.c: Likewise.
13663 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13665         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13666         /usr/old/bin.
13668         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13669         instead of spaces.
13670         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13672 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13674         [BZ #14796]
13675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13676         FE_TONEAREST before applying Dekker multiplication and Knuth
13677         addition.  Clear inexact exceptions and check for exact zero
13678         results afterwards.
13679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13680         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13682         * math/libm-test.inc (fma_test): Add more tests.
13683         (fma_test_towardzero): Likewise.
13684         (fma_test_downward): Likewise.
13685         (fma_test_upward): Likewise.
13686         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13687         function.
13688         (libc_fesetround): New macro.
13689         (libc_fesetroundf): Likewise.
13690         (libc_fesetroundl): Likewise.
13691         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13692         function.
13693         (libc_fesetround_387): Likewise.
13694         (libc_fesetroundf): New macro.
13695         (libc_fesetround): Likewise.
13696         (libc_fesetroundl): Likewise.
13697         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13698         function.
13699         (libc_fesetroundf): New macro.
13700         (libc_fesetround): Likewise.
13701         (libc_fesetroundl): Likewise.
13702         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13703         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13704         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13705         libm_hidden_ver.
13706         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13707         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13708         libm_hidden_def.
13709         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13710         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13711         libm_hidden_ver.
13712         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13713         libm_hidden_def.
13715         [BZ #3439]
13716         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13717         integer constant usable in #if and use that to give value to enum
13718         constant.
13719         (FE_DIVBYZERO): Likewise.
13720         (FE_UNDERFLOW): Likewise.
13721         (FE_OVERFLOW): Likewise.
13722         (FE_INVALID): Likewise.
13723         (FE_INVALID_SNAN): Likewise.
13724         (FE_INVALID_ISI): Likewise.
13725         (FE_INVALID_IDI): Likewise.
13726         (FE_INVALID_ZDZ): Likewise.
13727         (FE_INVALID_IMZ): Likewise.
13728         (FE_INVALID_COMPARE): Likewise.
13729         (FE_INVALID_SOFTWARE): Likewise.
13730         (FE_INVALID_SQRT): Likewise.
13731         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13732         (FE_TONEAREST): Likewise.
13733         (FE_TOWARDZERO): Likewise.
13734         (FE_UPWARD): Likewise.
13735         (FE_DOWNWARD): Likewise.
13736         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13737         (FE_DIVBYZERO): Likewise.
13738         (FE_OVERFLOW): Likewise.
13739         (FE_UNDERFLOW): Likewise.
13740         (FE_INEXACT): Likewise.
13741         (FE_TONEAREST): Likewise.
13742         (FE_DOWNWARD): Likewise.
13743         (FE_UPWARD): Likewise.
13744         (FE_TOWARDZERO): Likewise.
13745         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13746         (FE_UNDERFLOW): Likewise.
13747         (FE_OVERFLOW): Likewise.
13748         (FE_DIVBYZERO): Likewise.
13749         (FE_INVALID): Likewise.
13750         (FE_TONEAREST): Likewise.
13751         (FE_TOWARDZERO): Likewise.
13752         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13753         (FE_OVERFLOW): Likewise.
13754         (FE_UNDERFLOW): Likewise.
13755         (FE_DIVBYZERO): Likewise.
13756         (FE_INEXACT): Likewise.
13757         (FE_TONEAREST): Likewise.
13758         (FE_TOWARDZERO): Likewise.
13759         (FE_UPWARD): Likewise.
13760         (FE_DOWNWARD): Likewise.
13761         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13762         (FE_DIVBYZERO): Likewise.
13763         (FE_OVERFLOW): Likewise.
13764         (FE_UNDERFLOW): Likewise.
13765         (FE_INEXACT): Likewise.
13766         (FE_TONEAREST): Likewise.
13767         (FE_DOWNWARD): Likewise.
13768         (FE_UPWARD): Likewise.
13769         (FE_TOWARDZERO): Likewise.
13771 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13773         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13775 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13777         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13778         commands.  Quote $PWD.
13779         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13780         -x" by "export".
13781         (remove_newlines): Remove.
13783 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13785         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13786         * stdlib/stdlib.h (atof): Moved to ...
13787         * include/bits/stdlib-float.h: Here.  New file.
13788         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13789         * stdlib/bits/stdlib-float.h: New file.
13790         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13791         -mno-sse -mno-mmx.
13792         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13793         <xmmintrin.h>.
13795 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13797         * conform/conformtest.pl (@headers): Add fenv.h.
13798         * conform/data/fenv.h-data: New file.
13799         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13800         include of <math/fenv.h>.
13802         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13803         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13804         && !UNIX98].  Enables tests for XOPEN2K8.
13805         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13806         POSIX2008]: Likewise.
13808         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13809         (struct rusage): Do not expect type or its members.
13811         [BZ #3439]
13812         * math/math.h (FP_NAN): Define macro to integer constant usable in
13813         #if and use that to give value to enum constant.
13814         (FP_INFINITE): Likewise.
13815         (FP_ZERO): Likewise.
13816         (FP_SUBNORMAL): Likewise.
13817         (FP_NORMAL): Likewise.
13819 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13821         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13822         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13823         arguments.
13825 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13827         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13828         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13829         autoconf-time if not.
13830         * configure.in: Remove AC_PREREQ.
13832 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13834         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13835         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13836         of the internal implementation.
13838 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13840         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13841         except include of <misc/sys/syslog.h>.
13843 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13846         function returns with a NULL context exit with zero.
13848 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13850         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13852 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13854         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13855         (run_program_cmd): This.
13856         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13857         (tst_langinfo): New variable.  Use it.
13859 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13861         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13862         floating point opcodes.
13864 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13866         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13867         variable.
13869         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13871         * sysdeps/mach/hurd/powerpc: Remove directory.
13872         * sysdeps/mach/powerpc: Likewise.
13874 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13876         * scripts/check-local-headers.sh: Ignore c++ headers.
13878 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13880         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13881         __libc_cleanup_region_start argument.
13883 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13885         [BZ #14784]
13886         [BZ #14785]
13887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13888         x * y using scaling, not as x * y + z.
13889         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13890         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13891         * math/libm-test.inc (fma_test): Add more tests.
13892         (fma_test_towardzero): Likewise.
13893         (fma_test_downward): Likewise.
13894         (fma_test_upward): Likewise.
13896 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13898         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13900 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13902         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13903         New variable.
13905 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13907         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13909 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13912         Fix sort order.
13913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13914         Likewise.
13916 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13919         Fix the order of the list for glibc 2.17.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13921         Likewise.
13923 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13927 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13929         [BZ #14610]
13930         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13931         for low part of x being zero before using __atanl (y).
13932         * math/libm-test.inc (atan2_test): Add another test.
13934         * manual/install.texi (Configuring and compiling): Document
13935         general use of test-wrapper and test-wrapper-env.
13936         * INSTALL: Regenerated.
13938         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13939         (__fma): Do not extract and scale down low bits on after-rounding
13940         systems when result rounded to normal precision would have normal
13941         exponent.
13942         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13943         (__fmal): Do not extract and scale down low bits on after-rounding
13944         systems when result rounded to normal precision would have normal
13945         exponent.
13946         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13947         (__fmal): Do not extract and scale down low bits on after-rounding
13948         systems when result rounded to normal precision would have normal
13949         exponent.
13950         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13951         macro.
13952         (fma_test): Add more tests.
13953         (fma_test_towardzero): Likewise.
13954         (fma_test_downward): Likewise.
13955         (fma_test_upward): Likewise.
13957 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13959         * sysdeps/i386/tininess.h: Renamed to ...
13960         * sysdeps/x86/tininess.h: This.
13961         * sysdeps/x86_64/tininess.h: Removed.
13963 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13965         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13966         input.  Use $(build-program-cmd).
13967         ($(objpfx)tst-array1-static.out): Likewise.
13968         ($(objpfx)tst-array2.out): Likewise.
13969         ($(objpfx)tst-array3.out): Likewise.
13970         ($(objpfx)tst-array4.out): Likewise.
13971         ($(objpfx)tst-array5.out): Likewise.
13972         ($(objpfx)tst-array5-static.out): Likewise.
13974 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13976         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13977         if defined.
13979         * nss/nsswitch.h (nss_interface_function): Provide new
13980         macro for use with NSS functions.
13981         * grp/initgroups.c: Use new macro.
13982         * nss/getXXbyYY.c: Likewise.
13983         * nss/getXXbyYY_r.c: Likewise.
13984         * nss/getXXent.c: Likewise.
13985         * nss/getXXent_r.c: Likewise.
13986         * sysdeps/posix/getaddrinfo.c: Likewise.
13988 2012-10-30  Andreas Jaeger  <aj@suse.de>
13990         * po/ru.po: Update Russion translation from translation project.
13992 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13994         [BZ #14152]
13995         [BZ #14783]
13996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13997         result and shift together with sticky bit instead of replicating
13998         round-to-nearest rounding.
13999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14000         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14001         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14002         missing underflow exceptions.
14003         (fma_test_towardzero): Add more tests.
14004         (fma_test_downward): Likewise.
14005         (fma_test_upward): Likewise.
14007         [BZ #14047]
14008         * sysdeps/generic/tininess.h: New file.
14009         * sysdeps/i386/tininess.h: Likewise.
14010         * sysdeps/sh/tininess.h: Likewise.
14011         * sysdeps/x86_64/tininess.h: Likewise.
14012         * stdlib/tst-strtod-underflow.c: Likewise.
14013         * stdlib/tst-tininess.c: Likewise.
14014         * stdlib/strtod_l.c: Include <tininess.h>.
14015         (round_and_return): Do not set errno for exact underflow cases.
14016         Force an underflow exception when setting errno for underflow.
14017         Determine underflow based on rounding to normal precision if
14018         TININESS_AFTER_ROUNDING.
14019         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14020         ERANGE for exact underflow cases.
14021         * stdlib/Makefile (tests): Add tst-tininess and
14022         tst-strtod-underflow.
14023         ($(objpfx)tst-tininess): Use $(link-libm).
14024         ($(objpfx)tst-strtod-underflow): Likewise.
14026 2012-10-30  Andreas Jaeger  <aj@suse.de>
14028         [BZ#14767]
14029         * elf/Makefile (tests): Remove conditional for have-initfini-array
14030         since this is now always required and the variable does not exist
14031         anymore.
14032         (tests-static): Likewise.
14033         (modules-names): Likewise.
14035         * po/eo.po: Add Esperanto translation from translation project.
14037         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14038         merged with constructor/destructor.
14039         (init_array): Likewise.
14040         * elf/tst-array2dep.c (fini_array): Likewise.
14041         (init_array): Likewise.
14043 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14045         * manual/message.texi: Delete @cartouche tags.
14047 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14049         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14050         EOPNOTSUPP.
14051         * sysdeps/mach/hurd/fsync.c: Likewise.
14053         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14054         [_POSIX_REALTIME_SIGNALS]: Change condition to
14055         [_POSIX_REALTIME_SIGNALS > 0].
14057 2012-10-27  Andreas Jaeger  <aj@suse.de>
14059         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14060         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14061         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14062         [__WORDSIZE != 64]: Likewise.
14064 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14066         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14067         *  iconvdata/tst-tables.sh: Likewise.
14069 2012-10-25  David S. Miller  <davem@davemloft.net>
14071         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14072         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14073         of strtoull.
14075         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14076         ifunc-impl-list.c
14077         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14078         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14079         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14080         file.
14082 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14084         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14085         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14086         __getdirentries.
14088 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14089             Jim Blandy  <jimb@codesourcery.com>
14091         * scripts/cross-test-ssh.sh: New file.
14092         * manual/install.texi (Configuring and compiling): Document use of
14093         cross-test-ssh.sh.
14094         * INSTALL: Regenerated.
14096 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14098         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14099         EOPNOTSUPP.
14101 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14103         * Makeconfig (run-program-prefix): Fix comment.
14105 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14106             Jim Blandy  <jimb@codesourcery.com>
14108         * Makeconfig (test-wrapper): New variable,
14109         (test-wrapper-env): Likewise.
14110         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14111         (run-built-tests): Define to yes.
14112         (run-program-prefix): Use $(test-wrapper).
14113         (built-program-cmd): Likewise.
14114         * Rules (make-test-out): Use $(test-wrapper-env) and
14115         $(host-built-program-cmd).
14116         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14117         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14118         tst-pathopt.sh.
14119         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14120         $(test-wrapper-env) to tst-rtld-load-self.sh.
14121         ($(objpfx)order2.out): Use $(test-wrapper).
14122         ($(objpfx)tst-initorder.out): Likewise.
14123         ($(objpfx)tst-initorder2.out): Likewise.
14124         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14125         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14126         (test_wrapper_env): New variable.  Use it to run ld.so.
14127         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14128         Use it to run ld.so.
14129         (test_wrapper_env): Likewise.
14130         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14131         $(test-wrapper) to run-iconv-test.sh.
14132         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14133         (ICONV): Use $test_wrapper.
14134         * posix/Makefile ($(objpfx)globtest.out): Pass
14135         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14136         globtest.sh, not $(run-program-prefix).
14137         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14138         (test_wrapper): Likewise.
14139         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14140         set together with run_via_rtld_prefix.
14141         (run_program_prefix): Define in terms of test_wrapper and
14142         run_via_rtld_prefix.
14144 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14146         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14147         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14148         Targets removed.
14150         [BZ #14743]
14151         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14152         Declare __clock_getres, __clock_gettime, __clock_settime,
14153         __clock_nanosleep, and __clock_getcpuclockid.
14154         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14155         Remove librt_hidden_def (clock_gettime).
14156         * sysdeps/unix/clock_gettime.c: Likewise.
14157         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14158         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14159         * rt/clock_getres.c: Define __clock_getres as an alias.
14160         * sysdeps/posix/clock_getres.c: Likewise.
14161         * rt/clock_settime.c: Define __clock_settime as an alias.
14162         * sysdeps/unix/clock_settime.c: Likewise.
14163         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14164         * sysdeps/unix/clock_nanosleep.c: Likewise.
14165         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14166         * rt/clock-compat.c: New file.
14167         * rt/Makefile (librt-routines): Add clock-compat and move
14168         $(clock-routines) to ...
14169         (routines): ... here, new variable.
14170         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14171         Don't add get_clockfreq here.
14172         * rt/Versions (libc: GLIBC_2.17): New version set.
14173         Add clock_* symbols here.
14174         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14175         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14176         (GLIBC_2.17): Add clock_* symbols.
14177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14179         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14181         Likewise.
14182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14183         Likewise.
14184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14188         * NEWS: Mention the move.
14190         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14191         Use __open, __read, __close rather than their public counterparts.
14192         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14193         (__get_clockfreq_via_cpuinfo): Likewise.
14194         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14195         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14197         * config.h.in (HAVE_IFUNC): New #undef.
14198         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14199         was successful.
14200         * configure: Regenerated.
14202 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14204         * configure.in: Move READELF check to start of file.
14205         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14206         libc_cv_asm_gnu_indirect_function in the process.
14207         * configure: Regenerated.
14209 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14211         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14212         send the output to /dev/null.
14213         (libc_cv_cc_with_libunwind): Likewise.
14214         (libc_cv_as_noexecstack): Likewise.
14215         * configure: Regenerate.
14217 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14219         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14221         * posix/globtest.sh (TMPDIR): Do not set.
14222         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14223         (testout): Likewise.
14225 2012-10-24  Andreas Jaeger  <aj@suse.de>
14227         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14228         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14229         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14230         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14231         posix_fadvise64, posix_fallocate64.
14233         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14234         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14235         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14236         Likewise.
14237         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14238         Likewise.
14239         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14242         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14243         <bits/fcntl-linux.h>.
14244         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14246         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14247         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14248         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14249         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14250         [__WORDSIZE != 64]: Likewise.
14252 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14254         * Makeconfig (run-built-tests): New variable.
14255         * Rules [$(cross-compiling) = yes]: Change condition to
14256         [$(run-built-tests) = no].
14257         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14258         to [$(run-built-tests) = yes].
14259         * elf/Makefile [$(cross-compiling) = no]: Likewise
14260         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14261         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14262         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14263         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14264         * io/Makefile [$(cross-compiling) = no]: Likewise.
14265         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14266         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14267         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14268         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14269         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14270         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14271         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14272         * string/Makefile [$(cross-compiling) = no]: Likewise.
14274         * posix/Makefile ($(objpfx)globtest.out): Pass
14275         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14276         $(rtld-installed-name).
14277         * posix/globtest.sh (elf_objpfx): Remove variable.
14278         (rtld_installed_name): Likewise.
14279         (library_path): Likewise.
14280         (run_program_prefix): New variable.  Use for running globtest
14281         binary.
14283 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14284             Joseph Myers  <joseph@codesourcery.com>
14286         * Makeconfig (host-built-program-cmd): New variable.
14287         * elf/Makefile (tst-stackguard1-ARGS): Use
14288         $(host-built-program-cmd).
14289         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14290         (tst-spawn-ARGS): Likewise.
14291         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14293 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14294             Jim Blandy  <jimb@codesourcery.com>
14296         * Makeconfig (run-via-rtld-prefix): New variable.
14297         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14298         (built-program-cmd): Likewise.
14300 2012-10-22  Andreas Jaeger  <aj@suse.de>
14302         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14303         __O_RSYNC if it exists, otherwise to O_SYNC.
14305 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14306             Joseph Myers  <joseph@codesourcery.com>
14308         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14309         /dev/null.
14310         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14311         from /dev/null
14312         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14313         /dev/null.
14315 2012-10-22  Andreas Jaeger  <aj@suse.de>
14317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14318         Define always.
14319         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14322         bits/fcntl-linux.h.
14324         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14325         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14328         to __O_LARGEFILE.
14329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14330         to __O_LARGEFILE.
14332 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14333             Joseph Myers  <joseph@codesourcery.com>
14335         * config.make.in (NM): New variable.
14337 2012-10-21  Andreas Jaeger  <aj@suse.de>
14339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14340         definitions and declarations that are provided by
14341         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14343 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14345         [BZ #14683]
14346         * elf/Makefile (tests-static): Add tst-leaks1-static.
14347         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14348         ($(objpfx)tst-leaks1-static): New rule.
14349         ($(objpfx)tst-leaks1-static-mem): Likewise.
14350         (tst-leaks1-static-ENV): New macro.
14351         * elf/dl-open.c (dl_open_worker): Check the main application
14352         only if SHARED is defined.
14353         * elf/tst-leaks1-static.c: New file.
14355 2012-10-20  Andreas Jaeger  <aj@suse.de>
14357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14358         generic values for Linux.
14359         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14360         and declarations that are provided by <bits/fcntl-linux.h> and
14361         include <bits/fcntl-linux.h>.
14362         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14363         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14365 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14367         * io/fcntl.h: Move include of <bits/types.h> to the top and
14368         include it unconditionally.
14370 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14372         * wcsmbs/Makefile (tests-ifunc): New variable.
14373         (tests): Add $(tests-ifunc).
14374         * wcsmbs/test-wcschr-ifunc.c: New file.
14375         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14376         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14377         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14378         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14379         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14381         * string/Makefile (tests-ifunc): New variable.
14382         (tests): Add $(tests-ifunc).
14383         * string/test-memccpy.c (TEST_NAME): New macro.
14384         * string/test-memchr.c (TEST_NAME): Likewise.
14385         * string/test-memcmp.c (TEST_NAME): Likewise.
14386         * string/test-memcpy.c (TEST_NAME): Likewise.
14387         * string/test-memmem.c (TEST_NAME): Likewise.
14388         * string/test-memmove.c (TEST_NAME): Likewise.
14389         * string/test-memset.c (TEST_NAME): Likewise.
14390         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14391         * string/test-stpcpy.c (TEST_NAME): Likewise.
14392         * string/test-stpncpy.c (TEST_NAME): Likewise.
14393         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14394         * string/test-strcasestr.c (TEST_NAME): Likewise.
14395         * string/test-strcat.c (TEST_NAME): Likewise.
14396         * string/test-strchr.c (TEST_NAME): Likewise.
14397         * string/test-strcmp.c(TEST_NAME): Likewise.
14398         * string/test-strcpy.c (TEST_NAME): Likewise.
14399         * string/test-strcspn.c (TEST_NAME): Likewise.
14400         * string/test-strlen.c (TEST_NAME): Likewise.
14401         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14402         * string/test-strncmp.c (TEST_NAME): Likewise.
14403         * string/test-strncpy.c (TEST_NAME): Likewise.
14404         * string/test-strnlen.c (TEST_NAME): Likewise.
14405         * string/test-strpbrk.c (TEST_NAME): Likewise.
14406         * string/test-strrchr.c (TEST_NAME): Likewise.
14407         * string/test-strspn.c (TEST_NAME): Likewise.
14408         * string/test-strstr.c (TEST_NAME): Likewise.
14409         * string/test-bcopy-ifunc.c: New file.
14410         * string/test-bzero-ifunc.c: Likewise.
14411         * string/test-memccpy-ifunc.c: Likewise.
14412         * string/test-memchr-ifunc.c: Likewise.
14413         * string/test-memcmp-ifunc.c: Likewise.
14414         * string/test-memcpy-ifunc.c: Likewise.
14415         * string/test-memmem-ifunc.c: Likewise.
14416         * string/test-memmove-ifunc.c: Likewise.
14417         * string/test-mempcpy-ifunc.c: Likewise.
14418         * string/test-memset-ifunc.c: Likewise.
14419         * string/test-rawmemchr-ifunc.c: Likewise.
14420         * string/test-stpcpy-ifunc.c: Likewise.
14421         * string/test-stpncpy-ifunc.c: Likewise.
14422         * string/test-strcasecmp-ifunc.c: Likewise.
14423         * string/test-strcasestr-ifunc.c: Likewise.
14424         * string/test-strcat-ifunc.c: Likewise.
14425         * string/test-strchr-ifunc.c: Likewise.
14426         * string/test-strchrnul-ifunc.c: Likewise.
14427         * string/test-strcmp-ifunc.c: Likewise.
14428         * string/test-strcpy-ifunc.c: Likewise.
14429         * string/test-strcspn-ifunc.c: Likewise.
14430         * string/test-strlen-ifunc.c: Likewise.
14431         * string/test-strncasecmp-ifunc.c: Likewise.
14432         * string/test-strncat-ifunc.c: Likewise.
14433         * string/test-strncmp-ifunc.c: Likewise.
14434         * string/test-strncpy-ifunc.c: Likewise.
14435         * string/test-strnlen-ifunc.c: Likewise.
14436         * string/test-strpbrk-ifunc.c: Likewise.
14437         * string/test-strrchr-ifunc.c: Likewise.
14438         * string/test-strspn-ifunc.c: Likewise.
14439         * string/test-strstr-ifunc.c: Likewise.
14441         * debug/Makefile (tests-ifunc): New variable.
14442         (tests): Add $(tests-ifunc).
14443         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14444         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14445         * debug/test-stpcpy_chk-ifunc.c: New file.
14446         * debug/test-strcpy_chk-ifunc.c: Likewise.
14448 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14450         [BZ #13601]
14451         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14452         header is not read in.
14454 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14456         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14457         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14458         directly.  Pass built executable to script as
14459         $(built-program-cmd).
14460         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14461         $testprogram without using LD_LIBRARY_PATH and $ldso.
14463         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14464         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14465         $(rtld-installed-name).
14466         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14467         (rtld_installed_name): Likewise.
14468         (library_path): Likewise.
14469         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14470         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14471         $(run-program-prefix) to tst-tables.sh.
14472         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14473         it to run tst-table-from and tst-table-to.
14474         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14475         Pass it to tst-table.sh.
14476         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14477         $(run-program-prefix) to tst-gettext.sh.
14478         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14479         tst-translit.sh.
14480         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14481         tst-gettext2.sh.
14482         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14483         to run tst-gettext.
14484         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14485         to run tst-gettext2.
14486         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14487         to run tst-translit.
14488         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14489         $(run-program-prefix) to tst-mtrace.sh.
14490         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14491         to run tst-mtrace.
14492         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14493         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14494         $(rtld-installed-name).
14495         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14496         (rtld_installed_name): Likewise.
14497         (run_program_prefix): New variable.  Use it to run wordexp-test.
14499         * Makeconfig (ARCH): Remove all definitions.
14500         (machine): Likewise.
14501         [ARCH]: Remove conditional code.
14502         [!objdir]: Give error.
14503         [!objdir] (objpfx): Remove.
14504         [!objdir] (common-objpfx): Likewise.
14505         [!objdir] (common-objdir): Likewise.
14506         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14507         AC_CONFIG_FILES call.
14508         * configure: Regenerated.
14510         [BZ #13888]
14511         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14512         or TMPDIR.
14513         (testout): Likewise.
14515         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14516         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14517         $(rtld-installed-name).
14518         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14519         (rtld_installed_name): Likwise.
14520         (runit): Remove function.
14521         (run_getconf): New variable,  Use it for running getconf binary.
14523 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14525         [BZ #14716]
14526         * string/test-memmem.c (check_result): New function.
14527         (do_one_test): Use it.
14528         (check1): New function.
14529         (test_main): Use it.
14531 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14533         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14535 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14537         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14538         (_G_LSEEK64): Likewise.
14539         (_G_MMAP64): Likewise.
14540         (_G_FSTAT64): Likewise.
14541         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14542         (_G_LSEEK64): Likewise.
14543         (_G_MMAP64): Likewise.
14544         (_G_FSTAT64): Likewise.
14545         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14546         unconditional.  Call __mmap64 directly.
14547         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14548         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14549         __lseek64 directly.
14550         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14551         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14552         __mmap64 directly.
14553         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14554         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14555         __lseek64 directly.
14556         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14557         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14558         __lseek64 directly.
14559         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14560         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14561         __lseek64 directly.
14562         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14563         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14564         __fxstat64 directly.
14565         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14566         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14567         unconditional.
14568         (freopen64) [!_G_OPEN64]: Remove conditional code.
14569         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14570         unconditional.
14571         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14572         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14573         unconditional.
14574         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14575         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14576         unconditional.
14577         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14578         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14579         unconditional.
14580         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14581         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14582         unconditional.
14583         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14584         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14585         unconditional.
14586         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14587         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14588         unconditional.
14589         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14591 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14593         [BZ #12140]
14594         * manual/memory.texi (Malloc Tunable Parameters): Add note
14595         about free list pointers overwriting some perturb bytes.
14596         Wording suggested by Roland McGrath.
14598 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14600         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14601         (lgamma_test): Likewise.
14602         (tgamma_test): Likewise.
14604 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14606         [BZ #14700]
14607         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14608         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14610 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14612         * NEWS: Mention BZ #14716.
14613         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14614         when removing AVAILABLE1_USES_J macro.
14616 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14618         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14619         (__bswap_64): __uint64_t for unsigned 64-bit int.
14621 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14623         * include/string.h (memmem): Declare libc hidden alias.
14624         * string/memmem.c (memmem): Define libc hidden alias.
14625         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14626         __read, __close instead of open, read, close.
14628 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14631         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14632         global and hidden.
14633         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14634         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14635         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14636         Likewise.
14637         (__rawmemchr_sse2): Likewise.
14638         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14639         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14640         (__strchr_sse2): Likewise.
14641         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14642         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14643         (__strcasecmp_sse2): Likewise.
14644         (__strncasecmp_sse2): Likewise.
14645         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14646         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14647         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14648         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14649         (__strrchr_sse2): Likewise.
14650         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14651         ifunc-impl-list.c.
14652         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14653         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14654         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14655         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14656         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14657         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14658         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14659         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14660         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14661         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14662         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14663         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14664         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14665         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14666         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14667         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14668         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14669         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14670         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14671         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14672         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14673         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14674         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14675         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14676         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14677         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14678         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14679         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14680         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14681         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14683         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14684         global and hidden.
14685         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14686         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14687         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14688         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14689         Likewise.
14690         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14691         Likewise.
14692         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14693         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14694         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14695         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14696         ifunc-impl-list.c.
14697         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14698         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14699         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14700         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14701         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14702         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14703         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14704         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14705         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14706         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14707         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14708         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14709         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14710         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14711         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14712         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14713         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14714         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14715         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14716         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14717         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14718         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14719         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14720         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14721         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14722         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14723         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14724         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14725         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14726         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14727         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14728         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14729         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14730         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14731         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14732         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14733         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14734         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14735         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14736         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14737         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14739         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14740         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14741         * include/ifunc-impl-list.h: New file.
14742         * misc/ifunc-impl-list.c: Likewise.
14743         * misc/Makefile (routines): Add ifunc-impl-list.
14744         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14745         * string/test-string.h: Include <ifunc-impl-list.h>.
14746         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14747         impl_array): New variables.
14748         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14749         are defined.
14750         (test_init): Call __libc_ifunc_impl_list to initialize
14751         func_list if TEST_IFUNC and TEST_NAME are defined.
14753         * string/Makefile (strop-tests): Add bcopy and bzero.
14754         * string/test-bcopy.c: New file.
14755         * string/test-bzero.c: Likewise.
14756         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14757         defined.
14758         * string/test-memset.c: Support bzero test if TEST_BZERO is
14759         defined.
14760         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14761         __libc_memmove.
14762         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14763         __libc_memset.
14764         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14765         of memset.
14767 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14769         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14770         * configure: Regenerated.
14772         * Makeconfig (+link-static-before-libc): Don't include
14773         $(link-static-libc).
14775         * libio/libio.h (_IO_pos_t): Remove.
14777 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14779         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14780         McGrath.
14782 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14784         * crypt/crypt-entry.c: Include fips-private.h.
14785         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14786         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14787         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14788         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14790 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14792         * crypt/crypt-private.h: Include stdbool.h.
14793         (_ufc_setup_salt_r): Return bool.
14794         * crypt/crypt-entry.c: Include errno.h.
14795         (__crypt_r): Return NULL with EINVAL for bad salt.
14796         * crypt/crypt_util.c (bad_for_salt): New.
14797         (_ufc_setup_salt_r): Check that salt is long enough and within
14798         the specified alphabet.
14799         * crypt/badsalttest.c: New file.
14800         * crypt/Makefile (tests): Add it.
14801         ($(objpfx)badsalttest): New.
14803 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14805         * NEWS: Add entry for BZ #14602.
14807 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14809         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14810         type-generic.
14811         * math/libm-test.inc: Update comment listing what functions and
14812         macros are tested.
14813         (isgreater_test): New function.
14814         (isgreaterequal_test): Likewise.
14815         (isless_test): Likewise.
14816         (islessequal_test): Likewise.
14817         (islessgreater_test): Likewise.
14818         (isunordered_test): Likewise.
14819         (main): Call the new functions.
14821 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14823         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14824         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14825         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14826         * sysdeps/i386/configure: Regenerated.
14827         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14828         * sysdeps/mach/configure: Regenerated.
14829         * sysdeps/mach/hurd/configure: Regenerated.
14830         * sysdeps/powerpc/configure: Regenerated.
14831         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14832         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14833         * sysdeps/s390/s390-32/configure: Regenerated.
14834         * sysdeps/s390/s390-64/configure: Regenerated.
14835         * sysdeps/sh/configure: Regenerated.
14836         * sysdeps/sparc/configure: Regenerated.
14837         * sysdeps/unix/sysv/linux/configure: Regenerated.
14838         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14839         * sysdeps/x86_64/configure: Regenerated.
14841         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14842         defined.  Don't check if MAP is NULL.
14844 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14846         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14847         (_G_stat64): Likewise.
14848         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14849         (_G_stat64): Likewise.
14850         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14851         instead of struct _G_stat64.
14852         * libio/fileops.c (mmap_remap_check): Likewise.
14853         (decide_maybe_mmap): Likewise.
14854         (_IO_new_file_seekoff): Likewise.
14855         (_IO_file_stat): Likewise.
14856         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14857         _G_off64_t.
14858         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14859         instead of struct _G_stat64.
14860         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14862 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14864         [BZ #14602]
14865         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14866         Replace with ...
14867         (CHECK_EOL): New macro.
14868         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14869         CHECK_EOL.
14870         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14871         Replace with CHECK_EOL.
14872         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14873         Replace with CHECK_EOL.
14875 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14877         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14878         type-generic.
14879         * math/libm-test.inc: Update comment listing what functions and
14880         macros are tested.
14881         (finite_test): New function.
14882         (isinf_test): Likewise.
14883         (isnan_test): Likewise.
14884         (fpclassify_test): Test subnormal input.
14885         (isfinite_test): Likewise.
14886         (isnormal_test): Likewise.
14887         (main): Call the new functions.
14889 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14891         [BZ #14660]
14892         * Makerules (%.dynsym): Force C locale when running
14893         $(OBJDUMP) --dynamic-syms.
14895 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14897         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14898         <stdint.h>.
14900 2012-10-06  David S. Miller  <davem@davemloft.net>
14902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14903         upper 32-bits of the length value in %o2 since we use branch-on-register
14904         tests which consider the entire 64-bit register.
14906 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14908         * string/test-strstr.c (check2): Add a test for page boundary.
14910 2012-10-05  David S. Miller  <davem@davemloft.net>
14912         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14913         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14914         file.
14915         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14916         sysdep_routines.
14917         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14918         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14919         and bzero when HWCAP_SPARC_CRYPTO is present.
14921 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14923         [BZ #14602]
14924         * string/test-strstr.c (check2): New function.
14925         (test_main): Call check2.
14927         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14928         and bug-strchr1.
14929         * string/bug-strcasestr1.c (do_test): Moved to ...
14930         * string/test-strcasestr.c (check1): Here.  New function.
14931         (do_one_test): Break out result checking code into ...
14932         (check_result): This.  New function.
14933         (do_one_test): Call check_result.
14934         (test_main): Call check1.
14935         * string/bug-strchr1.c (do_test): Moved to ...
14936         * string/test-strchr.c (check1): Here.  New function.
14937         (do_one_test): Break out result checking code into ...
14938         (check_result): This.  New function.
14939         (do_one_test): Call check_result.
14940         (test_main): Call check1.
14941         * string/bug-strstr1.c (main): Moved to ...
14942         * string/test-strstr.c (check1): Here.  New function.
14943         (do_one_test): Break out result checking code into ...
14944         (check_result): This.  New function.
14945         (do_one_test): Call check_result.
14946         (test_main): Call check1.
14947         * string/bug-strcasestr1.c: Removed.
14948         * string/bug-strchr1.c: Likewise.
14949         * string/bug-strstr1.c: Likewise.
14951         * elf/Makefile (dl-routines): Add hwcaps.
14952         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14953         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14954         (_dl_important_hwcaps): Moved to ...
14955         * elf/dl-hwcaps.c: Here.  New file.
14956         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14958         [BZ #14557]
14959         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14960         if IS_IN_rtld isn't defined.
14962         * elf/dl-support.c (_dl_sysinfo_map): New.
14963         Include "get-dynamic-info.h" and "setup-vdso.h".
14964         (_dl_non_dynamic_init): Call setup_vdso.
14965         * elf/dynamic-link.h: Don't include <assert.h>.
14966         (elf_get_dynamic_info): Moved to ...
14967         * elf/get-dynamic-info.h: Here.  New file.
14968         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14969         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14970         * elf/setup-vdso.h: Here.  New file.
14971         * elf/rtld.c: Include "setup-vdso.h".
14972         (dl_main): Call setup_vdso.
14974 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14976         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14977         creal in comment listing functions tested.  List finite, isinf,
14978         isnan, isless, islessequal, isgreater, isgreaterequal,
14979         islessgreater, isunordered, lgamma_r and pow10 as functions and
14980         macros not tested.  Mention which functions not tested are aliases
14981         for other functions.  Fix typo.  Note that signs of NaNs are not
14982         tested.
14984         * scripts/config.guess: Update from config.git.
14985         * scripts/config.sub: Likewise.
14987 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14989         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14990         * misc/madvise.c (madvise): Renamed to __madvise.
14991         Make madvise a weak alias.
14992         * include/sys/mman.h: Declare __madvise.
14993         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14994         * sysdeps/unix/syscalls.list
14995         (madvise): Make __madvise the strong name, and madvise a weak alias.
14996         * sysdeps/unix/sysv/linux/syscalls.list
14997         (madvise, mmap): Remove redundant entries.
14998         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14999         * malloc/malloc.c (mtrim): Likewise.
15000         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15002 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15004         * sysdeps/mach/hurd/dl-cache.c: File removed.
15005         * config.h.in (USE_LDCONFIG): New #undef.
15006         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15007         * configure: Regenerated.
15008         * elf/Makefile (dl-routines): Add dl-cache only under
15009         [$(use-ldconfig) = yes].
15010         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15011         cache on [USE_LDCONFIG].
15012         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15013         [USE_LDCONFIG].
15014         * elf/rtld.c (dl_main): Likewise.
15016 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15018         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15019         _SC_LEVEL4_CACHE_LINESIZE.
15021 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15023         * sysdeps/unix/bsd/confstr.h: File removed.
15025 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15027         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15028         sys/sdt-config.h.
15030 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15032         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15033         Make 'mapoff' field ElfW(Off) rather than off_t.
15035 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15037         * nscd/Makefile: Remove nscd-cflags and all its users.
15038         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15039         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15041         [BZ #10631]
15042         * malloc.c (malloc_printerr): Clarify error message.
15044 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15046         [BZ #14648]
15047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15048         Set bit_FMA_Usable if FMA is supported.
15049         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15050         macro.
15051         (bit_FMA4_Usable): Updated.
15052         (index_FMA_Usable): New macro.
15053         (CPUID_FMA): Likewise
15054         (HAS_FMA): Defined with bit_FMA_Usable.
15056 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15058         * bits/types.h (__swblk_t): Type removed.
15059         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15060         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15062         (__SWBLK_T_TYPE): Likewise.
15063         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15064         (__SWBLK_T_TYPE): Likewise.
15065         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15066         (__SWBLK_T_TYPE): Likewise.
15067         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15068         (__SWBLK_T_TYPE): Likewise.
15070 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15071             Honza Horak <hhorak@redhat.com>
15073         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15074         (xdr_mapname): Use YPMAXMAP as maxsize.
15075         (xdr_peername): Use YPMAXPEER as maxsize.
15076         (xdr_keydat): Use YPAXRECORD as maxsize.
15077         (xdr_valdat): Use YPMAXRECORD as maxsize.
15079 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15081         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15083         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15084         * csu/init-first.c: ... here.
15085         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15086         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15087         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15088         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15089         * sysdeps/i386/init-first.c: File removed.
15090         * sysdeps/sh/init-first.c: File removed.
15092 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15094         [BZ #14645]
15095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15096         if x * y might underflow to zero and z is zero.
15097         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15099         * math/libm-test.inc (min_subnorm_value): New variable.
15100         (fma_test): Add more tests.
15101         (fma_test_towardzero): Likewise.
15102         (fma_test_downward): Likewise
15103         (fma_test_upward): Likewise.
15104         (initialize): Set min_subnorm_value.
15106 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15108         [BZ #14638]
15109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15110         0 + 0.
15111         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15112         mode for addition resulting in exact zero.
15113         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15114         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15115         exact 0 + 0.
15116         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15118         * math/libm-test.inc (fma_test): Add more tests.
15119         (fma_test_towardzero): New function.
15120         (fma_test_downward): Likewise.
15121         (fma_test_upward): Likewise.
15122         (main): Call the new functions.
15124 2012-09-28  David S. Miller  <davem@davemloft.net>
15126         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15128 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15130         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15131         instead of SIGALRM.
15133         * sysdeps/gnu/_G_config.h: Moved to ...
15134         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15135         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15136         * sysdeps/generic/_G_config.h: ... here.
15138         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15140         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15142         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15143         Conditionalize target on [libnss_test1.so-version].
15145         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15147         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15148         (elfobjdir): Move out of conditionals.
15150         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15151         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15152         (__nss_lookup_function): Conditionalize label remove_from_tree on
15153         [!DO_STATIC_NSS || SHARED], matching its only use.
15155 2012-09-28  David S. Miller  <davem@davemloft.net>
15157         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15158         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15159         file.
15160         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15161         sysdep_routines.
15162         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15164         when HWCAP_SPARC_CRYPTO is present.
15166 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15168         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15170 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15172         [BZ #6530]
15173         * stdio-common/vfprintf.c (process_string_arg): Revert
15174         2000-07-22 change.
15176 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15178         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15179         for testcase.
15180         * stdio-common/tst-sprintf.c: Include <locale.h>
15181         (main): Test sprintf's handling of incomplete multibyte
15182         characters.
15184 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15186         * elf/dl-runtime.c (VERSYMIDX): Removed.
15187         * elf/dl-version.c (VERSYMIDX): Likewise.
15188         * elf/do-rel.h (VERSYMIDX): Likewise.
15189         (VALIDX): Likewise.
15190         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15191         * elf/rtld.c (VALIDX): Likewise.
15192         (ADDRIDX): Likewise.
15193         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15194         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15195         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15196         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15197         (VALIDX): Likewise.
15198         (ADDRIDX): Likewise.
15200 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15202         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15204 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15206         [BZ #11438]
15207         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15208         to global scope.
15209         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15210         addresses are in the same scope as 192.0.2/24.
15211         * posix/gai.conf: Document new scope table defaults.
15213 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15215         [BZ #5298]
15216         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15217         for ftell.  Compute offsets from write pointers instead.
15218         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15220 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15222         [BZ #14543]
15223         * libio/Makefile (tests): New test case tst-fseek.
15224         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15225         combination works in wide mode.
15226         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15227         state when the external buffer state changes.
15229 2012-09-27  David S. Miller  <davem@davemloft.net>
15231         [BZ #14376]
15232         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15233         pass reloc->r_addend in as the 'high' argument to
15234         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15238 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15240         * rt/tst-aio2.c: Include <pthread.h>.
15241         * rt/tst-aio3.c: Likewise.
15243 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15245         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15247 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15249         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15250         contents on [SHARED].
15252 2012-09-26  Marek Polacek  <polacek@redhat.com>
15254         [BZ #14530]
15255         [BZ #13741]
15256         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15257         for C++ and GCC <4.3 as well as for non GCC compilers.
15259 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15263 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15265         * Makefile.in (all, install): Declare with .PHONY.
15266         Reported by Michael Hope <michael.hope@linaro.org>.
15268 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15270         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15271         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15272         system header.
15273         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15274         Likewise.
15275         (sydep_routines): Add the new and the internal functions.
15276         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15277         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15279         (GLIBC_2.17): Add the new function.
15280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15281         (GLIBC_2.17): Likewise.
15282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15283         (GLIBC_2.17): Likewise.
15284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15285         (GLIBC_2.17): Likewise.
15286         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15288 2012-09-25  Alan Modra  <amodra@gmail.com>
15290         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15291         Add release barrier before setting once_control to say
15292         initialisation is done.  Add hints on lwarx.  Use macro in
15293         place of isync.
15294         (clear_once_control): Add release barrier.
15296 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15298         [BZ #13629]
15299         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15300         specially.
15301         * math/s_clog10.c (__clog10): Likewise.
15302         * math/s_clog10f.c (__clog10f): Likewise.
15303         * math/s_clog10l.c (__clog10l): Likewise.
15304         * math/s_clogf.c (__clogf): Likewise.
15305         * math/s_clogl.c (__clogl): Likewise.
15306         * math/Makefile (libm-calls): Add x2y2m1.
15307         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15308         (__x2y2m1): Likewise.
15309         (__x2y2m1l): Likewise.
15310         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15311         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15312         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15313         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15314         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15315         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15316         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15317         * sysdeps/i386/fpu/libm-test-ulps: Update.
15318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15320         [BZ #14621]
15321         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15322         int as type of variable DEPTH.
15323         (glob): Use size_t instead of int as type of variables NEWCOUNT
15324         and OLD_PATHC.
15326 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15328         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15329         Add s_sincosf-sse2.
15330         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15331         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15332         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15333         macros for using routine as __sincosf_ia32.
15334         Use macro for function declaration and weak_alias.
15335         * sysdeps/i386/fpu/libm-test-ulps: Update.
15337         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15340         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15341         subnormal argument.
15342         * math/s_cexpf.c (__cexpf): Likewise.
15343         * math/s_csinf.c (__csinf): Likewise.
15344         * math/s_csinhf.c (__csinhf): Likewise.
15345         * math/s_ctanf.c (__ctanf): Likewise.
15346         * math/s_ctanhf.c (__ctanhf): Likewise.
15347         * math/s_ccosh.c (__ccoshf): Likewise.
15348         * math/s_cexp.c (__cexpl): Likewise.
15349         * math/s_csin.c (__csin): Likewise.
15350         * math/s_csinh.c (__csinh): Likewise.
15351         * math/s_ctan.c (__ctan): Likewise.
15352         * math/s_ctanh.c (ctanh): Likewise.
15353         * math/s_ccoshl.c (__ccoshl): Likewise.
15354         * math/s_cexpl.c (__cexpl): Likewise.
15355         * math/s_csinl.c (__csinl): Likewise.
15356         * math/s_csinhl.c (__csinhl): Likewise.
15357         * math/s_ctanl.c (__ctanl): Likewise.
15358         * math/s_ctanhl.c (__ctanhl): Likewise.
15360 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15362         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15363         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15364         (_IO_off_t): Define to __off_t, not _G_off_t.
15365         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15366         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15367         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15368         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15369         type of __dummy and __dummy2 fields.
15370         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15371         (_G_ssize_t): Likewise.
15372         (_G_off_t): Likewise.
15373         (_G_pid_t): Likewise.
15374         (_G_uid_t): Likewise.
15375         (_G_wchar_t): Likewise.
15376         (_G_wint_t): Likewise.
15377         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15378         (_G_ssize_t): Likewise.
15379         (_G_off_t): Likewise.
15380         (_G_pid_t): Likewise.
15381         (_G_uid_t): Likewise.
15382         (_G_wchar_t): Likewise.
15383         (_G_wint_t): Likewise.
15384         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15385         (_G_ssize_t): Likewise.
15386         (_G_off_t): Likewise.
15387         (_G_pid_t): Likewise.
15388         (_G_uid_t): Likewise.
15389         (_G_wchar_t): Likewise.
15390         (_G_wint_t): Likewise.
15392 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15394         * malloc/arena.c: Include malloc-sysdep.h.
15395         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15396         is sufficient to shrink the heap or an unmap is needed.
15397         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15398         new function check_may_shrink_heap.
15399         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15400         new function check_may_shrink_heap.
15402 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15404         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15405         comments.
15407 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15409         * catgets/test-gencat.sh: Add "set -e".
15410         * elf/tst-pathopt.sh: Likewise.
15411         * grp/tst_fgetgrent.sh: Likewise.
15412         * iconvdata/run-iconv-test.sh: Likewise.
15413         * intl/tst-gettext.sh: Likewise.
15414         * intl/tst-gettext2.sh: Likewise.
15415         * intl/tst-gettext4.sh: Likewise.
15416         * intl/tst-gettext6.sh: Likewise.
15417         * intl/tst-translit.sh: Likewise.
15418         * io/ftwtest-sh: Likewise.
15419         * libio/test-freopen.sh: Likewise.
15420         * malloc/tst-mtrace.sh: Likewise.
15421         * posix/globtest.sh: Likewise.
15422         * posix/tst-getconf.sh: Likewise.
15423         * posix/wordexp-tst.sh: Likewise.
15424         * stdio-common/tst-printf.sh: Likewise.
15425         * stdio-common/tst-unbputc.sh: Likewise.
15426         * stdlib/tst-fmtmsg.sh: Likewise.
15427         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15428         * catgets/Makefile: Do not specify -e option when running
15429         testsuite shell scripts.
15430         * elf/Makefile: Likewise.
15431         * grp/Makefile: Likewise.
15432         * iconvdata/Makefile: Likewise.
15433         * intl/Makefile: Likewise.
15434         * io/Makefile: Likewise.
15435         * libio/Makefile: Likewise.
15436         * malloc/Makefile: Likewise.
15437         * posix/Makefile: Likewise.
15438         * stdio-common/Makefile: Likewise.
15439         * stdlib/Makefile: Likewise.
15440         * sysdeps/x86_64/Makefile: Likewise.
15442         * io/ftwtest-sh: Add copyright header.
15443         * posix/globtest.sh: Likewise.
15444         * posix/tst-getconf.sh: Likewise.
15445         * posix/wordexp-tst.sh: Likewise.
15446         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15448 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15450         [BZ #13679]
15451         * Makeconfig (+link): Defined as $(+link-static) if
15452         $(build-shared) isn't yes.
15453         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15454         isn't yes.
15455         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15457         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15459         [BZ #14562]
15460         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15461         new chunk size with MALLOC_ALIGN_MASK.
15463 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15465         [BZ #5044]
15466         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15467         <rounding-mode.h>.
15468         (__printf_fphex): Determine rounding using get_rounding_mode and
15469         round_away.
15470         * stdio-common/tst-printf-round.c (struct hex_test): New
15471         structure.
15472         (hex_tests): New variable.
15473         (test_hex_in_one_mode): New function.
15474         (do_test): Also run tests for hex float output.
15476 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15478         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15479         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15480         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15481         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15482         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15483         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15484         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15485         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15487 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15489         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15490         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15491         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15492         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15494 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15496         [BZ #14579]
15497         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15498         mode only.
15499         * elf/tst-rtld-load-self.sh: New test.
15500         * elf/Makefile: Run it.
15502 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15504         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15505         (tst-writev-ENV): Remove.
15506         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15508 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15510         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15512 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15514         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15515         unconditional.
15516         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15517         Likewise.
15518         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15519         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15520         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15521         Likewise.
15523 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15525         [BZ #14587]
15526         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15527         * config.make.in (have-cpp-asm-debuginfo): Removed.
15528         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15529         * configure: Regenerated.
15531 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #5044]
15534         * stdio-common/printf_fp.c: Include <stdbool.h> and
15535         <rounding-mode.h>.
15536         (___printf_fp): Determine rounding using get_rounding_mode and
15537         round_away.
15538         * stdio-common/tst-printf-round.c: New file.
15539         * stdio-common/Makefile (tests): Add tst-printf-round.
15540         (link-libm): New variable.
15541         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15543 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15545         [BZ #14576]
15546         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15547         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15548         Likewise.
15549         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15550         Likewise.
15552 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15554         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15555         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15556         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15557         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15559 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15561         [BZ #14518]
15562         * include/rounding-mode.h: New file.
15563         * sysdeps/generic/get-rounding-mode.h: Likewise.
15564         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15565         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15566         (MAX_VALUE): New macro.
15567         (MIN_VALUE): Likewise.
15568         (overflow_value): New function.
15569         (underflow_value): Likewise.
15570         (round_and_return): Use overflow_value and underflow_value to
15571         determine return values in overflow and underflow cases.  Use
15572         round_away to determine rounding depending on rounding mode.
15573         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15574         determine return values in overflow and underflow cases.
15575         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15576         (struct test_results): New structure.
15577         (struct test): Use struct test_results to store expected results
15578         for all rounding modes.
15579         (TEST): Include expected results for all rounding modes.
15580         (test_in_one_mode): New function.
15581         (do_test): Use test_in_one_mode to compute and check results.
15582         Check results for all rounding modes.
15583         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15584         $(link-libm).
15586 2012-12-09  Allan McRae  <allan@archlinux.org>
15588         * sysdeps/i386/fpu/libm-test-ulps: Update
15590 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15592         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15593         (_G_int32_t): Likewise.
15594         (_G_uint16_t): Likewise.
15595         (_G_uint32_t): Likewise.
15596         (_G_HAVE_BOOL): Likewise.
15597         (_G_HAVE_ATEXIT): Likewise.
15598         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15599         (_G_HAVE_IO_FILE_OPEN): Likewise.
15600         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15601         (_G_int32_t): Likewise.
15602         (_G_uint16_t): Likewise.
15603         (_G_uint32_t): Likewise.
15604         (_G_HAVE_BOOL): Likewise.
15605         (_G_HAVE_ATEXIT): Likewise.
15606         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15607         (_G_HAVE_IO_FILE_OPEN): Likewise.
15608         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15609         (_G_int32_t): Likewise.
15610         (_G_uint16_t): Likewise.
15611         (_G_uint32_t): Likewise.
15612         (_G_HAVE_BOOL): Likewise.
15613         (_G_HAVE_ATEXIT): Likewise.
15614         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15615         (_G_HAVE_IO_FILE_OPEN): Likewise.
15617 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15619         * csu/libc-tls.c: Update copyright years.
15621 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15623         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15624         [!_G_USING_THUNKS]: Remove conditional code.
15625         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15626         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15628         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15629         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15630         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15631         (_G_VTABLE_LABEL_PREFIX): Likewise.
15632         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15633         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15634         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15635         (_G_VTABLE_LABEL_PREFIX): Likewise.
15636         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15637         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15638         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15639         (_G_VTABLE_LABEL_PREFIX): Likewise.
15640         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15642 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15644         * libio/Makefile: Include ../Makeconfig before tests.
15645         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15646         only if $(build-shared) is yes.
15648         * iconv/gconv_db.c: Update copyright years.
15650 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15652         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15653         unwind info if defined PIC. Fix special cases description.
15654         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15656         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15657         DP_HI_MASK entry.
15658         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15660 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15662         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15664         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15665         is NULL.
15667         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15668         (LDLIBS-tst-chk4): This.
15669         (LDFLAGS-tst-chk5): Renamed to ...
15670         (LDLIBS-tst-chk5): This.
15671         (LDFLAGS-tst-chk6): Renamed to ...
15672         (LDLIBS-tst-chk6): This.
15673         (LDFLAGS-tst-lfschk4): Renamed to ...
15674         (LDLIBS-tst-lfschk4): This.
15675         (LDFLAGS-tst-lfschk5): Renamed to ...
15676         (LDLIBS-tst-lfschk5): This.
15677         (LDFLAGS-tst-lfschk6): Renamed to ...
15678         (LDLIBS-tst-lfschk6): This.
15680         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15681         on $(common-objpfx)soversions.mk.
15683 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15685         [BZ #10014]
15686         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15687         example host name.
15689 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15691         * malloc/arena.c (arena_get_retry): New function that gets
15692         another arena for the caller to try its request on.
15693         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15694         current arena cannot fulfill the request.
15695         (__libc_memalign): Likewise.
15696         (__libc_memalign): Likewise.
15697         (__libc_pvalloc): Likewise.
15698         (__libc_calloc): Likewise.
15700 2012-09-05  John Tobey  <john.tobey@gmail.com>
15702         [BZ #13542]
15703         * manual/arith.texi (Operations on Complex): Fix description
15704         of carg branch cut.
15706 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15708         [BZ #10014]
15709         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15710         host name.
15712         [BZ #10038]
15713         * manual/memory.texi (Memory): Make order of menu items match
15714         order of sections.
15716 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15718         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15719         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15720         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15722 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15724         * csu/libc-tls.c (static_dtv): Renamed to ...
15725         (_dl_static_dtv): This.  Make it global.
15726         (_dl_initial_dtv): Removed.
15727         (__libc_setup_tls): Updated.
15728         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15729         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15730         DL_INITIAL_DTV.
15732 2012-09-06  Petr Machata  <pmachata@redhat.com>
15734         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15735         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15736         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15737         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15739 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15741         [BZ #14545]
15742         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15743         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15744         freeing dtv[-1].
15746 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15748         [BZ #14544]
15749         * Makeconfig (link-static-before-libc): Replace $(+prector)
15750         with $(+prectorT).
15751         (link-static-after-libc): Replace $(+postctor) with
15752         $(+postctorT).
15753         (link-bounded): Replace $(+prector)/$(+postctor) with
15754         $(+prectorT)/$(+postctorT).
15755         (+prectorT): New macro.
15756         (+postctorT): Likewise.
15758 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15760         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15761         (round_str): Handle values above the maximum for IBM long double
15762         as inexact.
15763         * stdlib/tst-strtod-round.c (tests): Regenerated.
15765 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15767         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15768         assembler flag.
15769         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15770         zarch_nohighgprs around the zarch optimized routines.
15771         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15772         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15773         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15774         for zarch.
15776 2012-09-05  David S. Miller  <davem@davemloft.net>
15778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15780         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15781         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15782         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15783         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15784         entries.
15786 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15788         * malloc/arena.c: Fold copyright years.
15789         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15791 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15793         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15795 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15797         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15799 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15801         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15802         change internal state upon failure.
15804 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15806         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15807         * malloc/memusage.c (mmap): Likewise.
15808         (mmap64, mremap): Likewise.  Adjust name in comment.
15810 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15812         * libio/fileops.c: Fix typos in comments.
15813         * libio/oldfileops.c: Likewise.
15814         * libio/wfileops.c: Likewise.
15816 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15818         [BZ #1349]
15819         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15820         (tst-malloc-usable-ENV): Set environment for test case.
15821         * malloc/hooks.c (malloc_check_get_size): New function to get
15822         requested size.
15823         * malloc/malloc.c (musable): Use malloc_check_get_size.
15824         * malloc/tst-malloc-usable.c: New test case.
15826 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15828         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15830 2012-09-05  Allan McRae  <allan@archlinux.org>
15832         [BZ #13966]
15833         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15834         determine header location.
15835         * configure: Regenerated.
15837 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15839         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15840         float format.
15841         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15842         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15843         format.
15844         (test): Regenerate.
15846 2012-09-04  David S. Miller  <davem@davemloft.net>
15848         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15849         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15850         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15852 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15854         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15855         failures.
15857         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15859 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15861         [BZ #9914]
15862         * libio/iogetdelim.c: Include <limits.h>.
15863         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15864         + len + 1 would overflow.
15866 2012-09-03  Andreas Jaeger  <aj@suse.de>
15868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15869         * sysdeps/i386/fpu/libm-test-ulps: Update.
15871 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15873         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15874         Add s_sinf-sse2, s_conf-sse2.
15876         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15877         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15878         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15879         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15881         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15882         for using routine as __sinf_ia32.
15883         Use macro for function declaration and weak_alias.
15884         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15885         for using routine as __cosf_ia32.
15886         Use macro for function declaration and weak_alias.
15888         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15889         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15891         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15892         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15895         * math/libm-test.inc (cos_test): Add more test cases.
15896         (sin_test): Likewise.
15897         (sincos_test): Likewise.
15899 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15901         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15902         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15903         hidden.
15904         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15906 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15908         [BZ #14538]
15909         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15910         first element of the GOT.
15911         (elf_machine_load_address): Return the difference between
15912         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15914 2012-09-01  Allan McRae  <allan@archlinux.org>
15916         [BZ #13412]
15917         * configure.in (AWK): Require gawk version 3.0 or later.
15918         * configure: Regenerated.
15920 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15922         * sysdeps/unix/sysv/linux/kernel-features.h
15923         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15924         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15925         [__NR_clock_getres]: Make code unconditional.
15926         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15927         (clock_getcpuclockid): Remove code left unreachable by removal of
15928         conditionals.
15929         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15930         code unconditional.
15931         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15932         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15933         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15934         Make code unconditional.
15935         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15936         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15937         * sysdeps/unix/sysv/linux/clock_settime.c
15938         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15939         conditional code.
15940         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15941         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15943 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15945         [BZ #14476]
15946         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15947         scripts/test-installation.pl.
15949         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15950         and $ld_so_version if it is set.
15952 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15954         [BZ #14516]
15955         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15956         failure if reading from procfs failed.
15957         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15959 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15961         * sysdeps/unix/sysv/linux/kernel-features.h
15962         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15963         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15964         Remove conditional code.
15965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15966         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15967         Remove conditional code.
15968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15969         * sysdeps/unix/sysv/linux/i386/fxstat.c
15970         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15972         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15973         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15975         * sysdeps/unix/sysv/linux/i386/lxstat.c
15976         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15977         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15978         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15979         Remove conditional code.
15980         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15981         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15982         Remove conditional code.
15983         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15984         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15985         <kernel-features.h>.
15986         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15987         Remove.
15988         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15989         Remove conditional code.
15990         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15991         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15992         Remove conditional.
15994 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15996         [BZ #5400]
15997         * NEWS: Add fixed bug number.
15999 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16001         [BZ #14519]
16002         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16003         underflowing exponent in case of negative sign.
16004         * stdlib/tst-strtod-round-data: Add more tests.
16005         * stdlib/tst-strtod-round.c (tests): Regenerated.
16007         [BZ #3479]
16008         * stdlib/strtod_l.c (NDIG): Remove.
16009         (HEXNDIG): Likewise.
16010         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16011         smallest representable value.
16012         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16013         lie within an exact representation of 1/2 ulp of the result.
16014         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16015         unconditionally.
16016         (TENS_P9_IDX): Define unconditionally.
16017         (TENS_P9_SIZE): Likewise.
16018         (TENS_P10_IDX): Likewise.
16019         (TENS_P10_SIZE): Likewise.
16020         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16021         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16022         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16023         entries for 10^2^13 and 10^2^14.
16024         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16025         (TENS_P13_IDX): Define.
16026         (TENS_P13_SIZE): Likewise.
16027         (TENS_P14_IDX): Likewise.
16028         (TENS_P14_SIZE): Likewise.
16029         (_fpioconst_pow10): Change array size to
16030         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16031         unconditional.
16032         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16033         1024]: Add entries for 10^2^13 and 10^2^14.
16034         [LAST_POW10 > _LAST_POW10]: Remove #error.
16035         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16036         (_fpioconst_pow10): Change array size to
16037         FPIOCONST_POW10_ARRAY_SIZE.
16038         * stdlib/gen-fpioconst.c: New file.
16039         * stdlib/gen-tst-strtod-round.c: Likewise.
16040         * stdlib/tst-strtod-round-data: Likewise.
16041         * stdlib/tst-strtod-round.c: Likewise.
16042         * stdlib/Makefile (tests): Add tst-strtod-round.
16044         [BZ #14459]
16045         * stdlib/strtod_l.c: Include <stdint.h>.
16046         (NDEBUG): Do not define.
16047         (round_and_return): Change EXPONENT parameter to type intmax_t.
16048         Rearrange calculations to avoid internal overflow possibilities.
16049         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16050         Rearrange calculations to avoid internal overflow possibilities.
16051         Assert that number fits inside MPNSIZE limbs.
16052         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16053         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16054         calculations and add assertions to avoid internal overflow
16055         possibilities.  Add casts to avoid signed/unsigned operations.
16056         * stdlib/tst-strtod-overflow.c: New file.
16057         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16059 2012-08-25  Marek Polacek  <polacek@redhat.com>
16061         * time/time.h: Fix some typos in comments.
16063 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16065         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16066         * posix/tst-rfc3484-2.c: Likewise.
16067         * posix/tst-rfc3484-3.c: Likewise.
16069 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16071         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16072         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16074 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16076         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16077         #include of fxstatat64.c.
16079 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16081         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16082         * shadow/getspent_r.c: Likewise.
16083         * shadow/getspnam.c: Likewise.
16084         * shadow/getspnam_r.c: Likewise.
16085         * gshadow/getsgent.c: Likewise.
16086         * gshadow/getsgent_r.c: Likewise.
16087         * gshadow/getsgnam.c: Likewise.
16088         * gshadow/getsgnam_r.c: Likewise.
16089         * inet/getnetbyad.c: Likewise.
16090         * inet/getnetbyad_r.c: Likewise.
16091         * inet/getnetbynm.c: Likewise.
16092         * inet/getnetbynm_r.c: Likewise.
16093         * inet/getnetent.c: Likewise.
16094         * inet/getnetent_r.c: Likewise.
16095         * inet/getproto.c: Likewise.
16096         * inet/getproto_r.c: Likewise.
16097         * inet/getprtent.c: Likewise.
16098         * inet/getprtent_r.c: Likewise.
16099         * inet/getprtname.c: Likewise.
16100         * inet/getprtname_r.c: Likewise.
16101         * inet/getrpcbyname.c: Likewise.
16102         * inet/getrpcbyname_r.c: Likewise.
16103         * inet/getrpcbynumber.c: Likewise.
16104         * inet/getrpcbynumber_r.c: Likewise.
16105         * inet/getrpcent.c: Likewise.
16106         * inet/getrpcent_r.c: Likewise.
16107         * inet/getaliasent.c: Likewise.
16108         * inet/getaliasent_r.c: Likewise.
16109         * inet/getaliasname.c: Likewise.
16110         * inet/getaliasname_r.c: Likewise.
16111         * nscd/getgrgid_r.c: Likewise.
16112         * nscd/getgrnam_r.c: Likewise.
16113         * nscd/gethstbyad_r.c: Likewise.
16114         * nscd/gethstbynm3_r.c: Likewise.
16115         * nscd/getpwnam_r.c: Likewise.
16116         * nscd/getpwuid_r.c: Likewise.
16117         * nscd/getsrvbynm_r.c: Likewise.
16118         * nscd/getsrvbypt_r.c: Likewise.
16119         * nscd/gai.c: Likewise.
16121         * configure.in (build_nscd): New substituted variable, set
16122         by --disable-build-nscd and defaults to $use_nscd.
16123         * configure: Regenerated.
16124         * config.make.in (build-nscd): New substituted variable.
16125         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16126         Change conditional to require [$(build-nscd) = yes] as well.
16127         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16129         [BZ# 13696]
16130         * configure.in (use_nscd): New substituted variable, set by
16131         --disable-nscd.  If enabled, define USE_NSCD.
16132         * configure: Regenerated.
16133         * config.h.in: Add USE_NSCD.
16134         * config.make.in (use-nscd): New substituted variable.
16135         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16136         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16137         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16138         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16139         (CFLAGS-getgrnam_r.c): Likewise.
16140         (CFLAGS-initgroups.c): Likewise.
16141         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16142         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16143         Variables removed.
16144         * inet/getnetgrent_r.c
16145         (nscd_setnetgrent): New function, broken out of ...
16146         (setnetgrent): ... here.  Call it.
16147         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16148         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16149         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16150         * nscd/Makefile (routines, aux): Move definitions after include of
16151         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16152         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16153         Conditionalize on [USE_NSCD].
16154         (is_nscd, nscd_init_cb): Likewise.
16155         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16156         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16157         * nss/nss_db/db-init.c: Likewise.
16158         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16159         [USE_NSCD].
16160         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16161         (make_request): Use it.
16162         (cache_valid_p): New function.
16163         (__check_pf): Use it.
16164         * NEWS: Add item for --disable-nscd.
16166 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16168         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16169         to support sed >= 4.2.1-20-ga9bf076.
16170         * configure: Regenerated.
16172 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16174         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16175         Conditionalize whole body on [IREL].
16177 2012-08-22  Jeff Law <law@redhat.com>
16179         [BZ #14505]
16180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16181         if the family is PF_UNSPEC.
16183 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16185         * Makerules (lib-version): Rename from V.
16186         (install-lib-nosubdir): Change V to lib-version.
16188 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16190         [BZ #14252]
16191         * powerpc32/power6/wcschr.c: New file.
16192         * powerpc32/power6/wcscpy.c: New file.
16193         * powerpc32/power6/wcsrchr.c: New file.
16194         * powerpc64/power6/wcschr.c: New file.
16195         * powerpc64/power6/wcscpy.c: New file.
16196         * powerpc64/power6/wcsrchr.c: New file.
16198 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16200         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16201         (two_way_short_needle): Use it.
16202         * string/strstr.c (AVAILABLE1_USES_J): Define.
16203         * string/strcasestr.c: Likewise.
16205         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16206         array references.
16207         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16209         [BZ #11607]
16210         * NEWS: Add an entry.
16211         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16212         define their defaults.
16213         (two_way_short_needle): Detect end-of-string on-the-fly.
16214         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16215         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16216         * string/bug-strcasestr1.c: New test.
16217         * string/Makefile: Run it.
16219 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16221         [BZ #11607]
16222         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16223         the first character.
16225 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16227         * csu/elf-init.c (__libc_csu_irel): Function removed.
16228         * csu/libc-start.c (apply_irel): New function.
16229         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16231 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16233         * sysdeps/unix/sysv/linux/kernel-features.h
16234         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16235         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16236         <kernel-features.h>.
16237         [__NR_fadvise64_64]: Make code unconditional.
16238         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16239         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16240         !__NR_fadvise64_64)]: Likewise.
16241         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16242         !__NR_fadvise64_64))]: Likewise.
16243         [__NR_fadvise64]: Make code unconditional.
16244         [!__NR_fadvise64]: Remove conditional code.
16245         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16246         <kernel-features.h>.
16247         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16248         unconditional.
16249         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16250         conditional code.
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16252         not include <kernel-features.h>.
16253         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16254         unconditional.
16255         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16256         conditional code.
16257         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16258         include <kernel-features.h>.
16259         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16260         unconditional.
16261         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16262         conditional code.
16264 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16266         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16267         slight instruction rearrangements per scrollpipe analysis.
16268         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16270 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16272         * manual/syslog.texi (syslog; vsyslog, closelog):
16273         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16274         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16276         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16277         DSOCAPS to match condition on defining it.
16279 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16281         * sysdeps/unix/sysv/linux/kernel-features.h
16282         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16284         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16285         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16287         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16288         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16290         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16291         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16293         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16294         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16296         * sysdeps/unix/sysv/linux/kernel-features.h
16297         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16298         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16299         unconditional.
16300         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16301         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16302         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16303         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16304         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16305         Make code unconditional.
16306         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16307         (__mmap64) [!__NR_mmap2]: Likewise.
16308         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16309         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16310         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16311         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16312         [__NR_mmap2]: Make code unconditional.
16313         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16314         (__mmap64) [!__NR_mmap2]: Likewise.
16316 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16318         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16320 2012-08-18  Andreas Jaeger  <aj@suse.de>
16322         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16324 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16326         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16327         * include/unistd.h (__have_sock_cloexec): Likewise.
16328         (__have_pipe2): Likewise.
16329         (__have_dup3): Likewise.
16331 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16333         [BZ #9685]
16334         * include/unistd.h (__have_pipe2): Change define into an extern int.
16335         (__have_dup3): Likewise.
16336         * socket/have_sock_cloexec.c: Include fcntl.h.
16337         (__have_pipe2): New variable.
16338         (__have_dup3): Likewise.
16340 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16342         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16344 2012-08-17  Marek Polacek  <polacek@redhat.com>
16346         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16347         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16349 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16351         * configure.in: Add AC_SUBST for sysheaders.
16352         * configure: Regenerated.
16353         * config.make.in (sysheaders): New substituted variable.
16355         * sysdeps/unix/mkfifo.c: Moved ...
16356         * sysdeps/posix/mkfifo.c: ... here.
16357         * sysdeps/unix/mkfifoat.c: Moved ...
16358         * sysdeps/posix/mkfifoat.c: ... here.
16360         * sysdeps/unix/utime.c: Moved ...
16361         * sysdeps/posix/utime.c: ... here.
16363         * sysdeps/unix/time.c: Moved ...
16364         * sysdeps/posix/time.c: ... here.
16365         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16366         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16368         * sysdeps/unix/nice.c: Moved ...
16369         * sysdeps/posix/nice.c: ... here.
16371         * sysdeps/unix/alarm.c: Moved ...
16372         * sysdeps/posix/alarm.c: ... here.
16374         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16376 2012-08-17  Jeff Law <law@redhat.com>
16378         * intl/Makefile (codeset_mo): New variable.
16379         ($(codeset_mo)): New target.
16380         (tst-codeset.out): Depend on that.  Remove explicit rule.
16381         (tst-gettext3.out, tst-gettext5.out): Likewise.
16382         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16383         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16384         * intl/tst-codeset.sh: Remove.
16385         * intl/tst-gettext3.sh: Likewise.
16386         * intl/tst-gettext5.sh: Likewise.
16388 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16390         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16391         * sysdeps/unix/syscalls.list: ... here.
16393         * sysdeps/posix/getaddrinfo.c
16394         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16395         (gaiconf_init, gaiconf_reload): Use them.
16396         [!_STATBUF_ST_NSEC]
16397         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16398         Define using time_t rather than struct timespec.
16400         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16401         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16402         Macros removed.
16403         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16404         [!NO_THREADS].
16405         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16406         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16407         Likewise.
16409         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16410         __libc_cleanup_push argument.
16412         * bits/param.h: New file.
16413         * misc/sys/param.h: New file.
16414         * include/sys/param.h: New file.
16415         * misc/Makefile (headers): Add bits/param.h.
16416         * sysdeps/generic/sys/param.h: File removed.
16417         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16418         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16419         * sysdeps/mach/hurd/bits/param.h: New file.
16420         * sysdeps/mach/hurd/sys/param.h: File removed.
16422         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16423         last change.
16425         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16426         [_IO_MTSAFE_IO].
16427         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16428         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16429         New macros.
16431         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16432         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16433         rather than -D_IO_MTSAFE_IO conditionally.
16434         * stdio-common/Makefile (CPPFLAGS): Likewise.
16435         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16436         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16437         Use $(libio-mtsafe).
16438         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16439         of -D_IO_MTSAFE_IO.
16440         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16441         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16442         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16443         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16444         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16445         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16446         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16447         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16448         (CFLAGS-fread_u_chk.c): Likewise.
16449         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16450         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16451         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16452         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16453         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16454         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16455         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16456         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16457         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16459         * libio/Makefile: Test [$(libc-reentrant) = yes]
16460         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16462         * Makeconfig
16463         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16464         * sysdeps/pthread/configure: File removed.
16465         * sysdeps/pthread/Makeconfig: New file.
16466         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16467         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16469 2012-08-16  Gary Benson  <gbenson@redhat.com>
16471         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16472         unmapping the first object in a namespace.
16474 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16476         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16477         (__internal_setnetgrent): ... this.  Add internal_function to
16478         definition.  Add libc_hidden_def.
16479         (setnetgrent): Update caller.
16480         (internal_endnetgrent): Renamed to ...
16481         (__internal_endnetgrent): ... this.  Add internal_function to
16482         definition.  Add libc_hidden_def.
16483         (endnetgrent): Update caller.
16484         (internal_getnetgrent_r): Renamed to ...
16485         (__internal_getnetgrent_r): ... this.  Add internal_function to
16486         definition.  Add libc_hidden_def.
16487         (__getnetgrent_r): Update caller.
16488         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16490 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16492         * stdlib/longlong.h: Update from GCC.
16494 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16496         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16497         on _QL, which is set by umul_ppmm but never used.
16498         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16499         variables, which are set by GMP macros but never used.
16500         * stdio-common/_itowa.c (_itowa): Likewise.
16501         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16502         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16504 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16506         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16507         struct La_sh_regs is not constant.
16508         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16509         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16510         and struct La_sparc64_regs are not constant.
16512 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16514         * sysdeps/unix/sysv/linux/kernel-features.h
16515         (__ASSUME_POSIX_TIMERS): Remove.
16516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16518         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16519         Make code unconditional.
16520         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16521         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16522         Make code unconditional.
16523         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16524         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16525         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16526         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16527         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16528         Make code unconditional.
16529         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16530         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16531         (__libc_missing_posix_timers): Remove.
16533 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16535         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16536         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16538         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16540         * elf/dl-sym.c: Include <stdlib.h>.
16542         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16543         constants, which avoids warnings in 32-bit builds.
16545         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16546         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16548         * misc/lseek.c: File moved to ...
16549         * io/lseek.c: ... here.
16551         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16553         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16554         shifting LEN more than 31 bits at once.
16556 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16558         [BZ #14195]
16559         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16560         segmentation fault for a case of two empty input strings.
16561         * string/test-strncasecmp.c (check1): Renamed to...
16562         (bz12205): ...this.
16563         (bz14195): Add new testcase for two empty input strings and N > 0.
16564         (test_main): Call new testcase, adapt for renamed function.
16566 2012-08-15  Andreas Jaeger  <aj@suse.de>
16568         [BZ #14090]
16569         * crypt/md5test2.c: New test, based on test supplied by Serge
16570         Belyshev <belyshev@depni.sinp.msu.ru>.
16571         * crypt/Makefile (xtests): Add md5test-giant..
16572         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16574 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16576         [BZ #14090]
16577         * crypt/md5.c (md5_process_block): Don't assume the buffer
16578         length is less than 2**32.
16579         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16580         length is less than 2**64.
16582 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16584         * string/str-two-way.h: Include <sys/param.h>.
16585         (MAX): Macro removed.
16587         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16588         Move #define and #undef of memmove to just before and after
16589         including <string.h>.
16591         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16592         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16593         and after including <string.h>.  Move declarations of
16594         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16595         to before #include "string/memmove.c".
16597         * include/dirent.h: Declare __getdirentries.
16599         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16600         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16602 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16604         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16605         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16606         * sysdeps/i386/configure: Regenerated.
16607         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16608         STABS_CURRENT_FILE, and STABS_FUN.
16609         (END): Remove call to STABS_FUN_END.
16610         (STABS_CURRENT_FILE1): Delete.
16611         (STABS_CURRENT_FILE): Likewise.
16612         (STABS_FUN): Likewise.
16613         (STABS_FUN_END): Likewise.
16614         (STABS_FUN2): Likewise.
16615         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16616         * sysdeps/x86_64/configure: Regenerated.
16618 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16620         * elf/dl-open.c: Include <atomic.h>.
16621         * elf/dl-lookup.c: Likewise.
16623 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16625         * sysdeps/unix/sysv/linux/kernel-features.h
16626         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16627         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16628         unconditionally.
16629         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16630         unconditionally.
16631         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16632         condition on __ASSUME_CLONE_THREAD_FLAGS.
16634 2012-08-14  Andreas Jaeger  <aj@suse.de>
16636         * sysdeps/i386/fpu/libm-test-ulps: Update.
16638 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16640         * include/atomic.h (atomic_exchange_and_add): Split into ...
16641         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16642         New atomic macros.
16644 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16648 2012-08-13  Jeff Law <law@redhat.com>
16650         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16651         null byte in the output string.
16653 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16655         * sysdeps/unix/sysv/linux/kernel-features.h
16656         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16657         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16658         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16659         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16660         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16661         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16662         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16664 2012-08-09  Jeff Law <law@redhat.com>
16666         [BZ #13939]
16667         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16668         When avoid_arena is set, don't retry in the that arena.  Pick the
16669         next one, whatever it might be.
16670         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16671         (arena_lock): Pass in new parameter to arena_get2.
16672         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16673         arena_get2.
16674         (__libc_malloc): Unify retrying after main arena failure with
16675         __libc_memalign version.
16676         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16678 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16680         [BZ #14166]
16681         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16682         to __redirect_strstr.
16683         (__strstr_sse42): Use typeof __redirect_strstr.
16684         (__strstr_ia32): Likewise.
16685         (__libc_strstr): New prototype.
16686         (strstr): Renamed to ...
16687         (__libc_strstr): This.
16688         (strstr): New strong alias of __libc_strstr.
16689         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16690         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16691         __redirect_time.
16692         Include <time.h>.
16693         (__libc_time): New prototype.
16694         (time_ifunc): Replace time with __libc_time.
16695         (time): New strong alias and hidden definition of __libc_time.
16696         (__GI_time): Remove strong alias.
16697         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16698         Include <stddef.h>.
16699         (memmove): Redefined to __redirect_memmove.
16700         (__memmove_sse2): Use typeof __redirect_memmove.
16701         (__memmove_ssse3): Likewise.
16702         (__memmove_ssse3_back): Likewise.
16703         (__libc_memmove): New prototype.
16704         (memmove): Renamed to ...
16705         (__libc_memmove): This.
16706         (memmove): New strong alias of __libc_memmove.
16708 2012-08-08  Mark Salter  <msalter@redhat.com>
16710         * elf/elf.h
16711         (R_MN10300_TLS_GD): Define.
16712         (R_MN10300_TLS_LD): Likewise.
16713         (R_MN10300_TLS_LDO): Likewise.
16714         (R_MN10300_TLS_GOTIE): Likewise.
16715         (R_MN10300_TLS_IE): Likewise.
16716         (R_MN10300_TLS_LE): Likewise.
16717         (R_MN10300_TLS_DTPMOD): Likewise.
16718         (R_MN10300_TLS_DTPOFF): Likewise.
16719         (R_MN10300_TLS_TPOFF): Likewise.
16720         (R_MN10300_SYM_DIFF): Likewise.
16721         (R_MN10300_ALIGN): Likewise.
16722         (R_MN10300_NUM): Update.
16724 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16726         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16727         Remove.
16729 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16731         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16733         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16734         sysdeps/unix -> sysdeps/posix move.
16735         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16737 2012-08-07      Allan McRae     <allan@archlinux.org>
16739         [BZ #14303]
16740         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16741         (SUNOS_CPP): Likewise.
16742         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16743         not found.
16744         (open_input): Call CPP using execvp.
16746 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16748         * sysdeps/unix/sysv/linux/kernel-features.h
16749         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16750         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16751         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16752         (__ASSUME_WAITID_SYSCALL): Likewise.
16753         * sysdeps/unix/sysv/linux/dl-execstack.c
16754         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16755         code unconditional.
16756         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16757         conditional code.
16758         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16759         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16760         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16761         code.
16762         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16763         unconditional.
16764         [__ASSUME_WAITID_SYSCALL]: Likewise.
16765         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16767 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16769         * sysdeps/unix/closedir.c: Renamed to ...
16770         * sysdeps/posix/closedir.c: ... here.
16771         * sysdeps/unix/dirfd.c: Renamed to ...
16772         * sysdeps/posix/dirfd.c: ... here.
16773         * sysdeps/unix/dirstream.h: Renamed to ...
16774         * sysdeps/posix/dirstream.h: ... here.
16775         * sysdeps/unix/fdopendir.c: Renamed to ...
16776         * sysdeps/posix/fdopendir.c: ... here.
16777         * sysdeps/unix/opendir.c: Renamed to ...
16778         * sysdeps/posix/opendir.c: ... here.
16779         * sysdeps/unix/readdir.c: Renamed to ...
16780         * sysdeps/posix/readdir.c: ... here.
16781         * sysdeps/unix/readdir_r.c: Renamed to ...
16782         * sysdeps/posix/readdir_r.c: ... here.
16783         * sysdeps/unix/rewinddir.c: Renamed to ...
16784         * sysdeps/posix/rewinddir.c: ... here.
16785         * sysdeps/unix/seekdir.c: Renamed to ...
16786         * sysdeps/posix/seekdir.c: ... here.
16787         * sysdeps/unix/telldir.c: Renamed to ...
16788         * sysdeps/posix/telldir.c: ... here.
16789         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16790         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16791         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16792         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16794         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16795         * bits/fcntl.h: ... here.
16797         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16798         not 0.
16799         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16800         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16801         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16802         (struct flock): Move l_start, l_len to the beginning.
16803         Use __pid_t for l_pid.
16804         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16805         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16806         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16807         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16808         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16809         [__USE_LARGEFILE64] (struct flock64): New type.
16810         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16812         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16813         * bits/dirent.h: ... here.
16815         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16816         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16818 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16820         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16821         Change from 2.6.0 to 2.6.16.
16822         * sysdeps/unix/sysv/linux/configure: Regenerated.
16823         * sysdeps/unix/sysv/linux/kernel-features.h
16824         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16825         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16826         version.
16827         (__ASSUME_UTIMES): Likewise.
16828         (__ASSUME_CLONE_STOPPED): Remove.
16829         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16830         architectures, not kernel version.
16831         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16832         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16833         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16834         (__ASSUME_WAITID_SYSCALL): Likewise.
16835         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16836         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16837         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16838         refer to older versions.
16840 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16842         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16843         Define alphasort64 as an alias.
16844         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16845         Define versionsort64 as an alias.
16846         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16847         Define scandir64 as an alias.
16848         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16849         Define scandirat64 as an alias.
16850         * dirent/alphasort64.c (alphasort64):
16851         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16852         * dirent/versionsort64.c: Likewise.
16853         * dirent/scandir64.c: Likewise.
16854         * dirent/scandirat64.c: Likewise.
16855         * sysdeps/wordsize-64/alphasort.c: File removed.
16856         * sysdeps/wordsize-64/alphasort64.c: File removed.
16857         * sysdeps/wordsize-64/scandir.c: File removed.
16858         * sysdeps/wordsize-64/scandir64.c: File removed.
16859         * sysdeps/wordsize-64/scandirat.c: File removed.
16860         * sysdeps/wordsize-64/scandirat64.c: File removed.
16861         * sysdeps/wordsize-64/versionsort.c: File removed.
16862         * sysdeps/wordsize-64/versionsort64.c: File removed.
16863         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16864         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16865         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16866         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16867         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16868         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16869         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16870         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16872         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16874         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16876         [defined __arch64__ || defined __sparcv9]
16877         (__INO_T_MATCHES_INO64_T): New macro.
16878         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16879         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16880         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16881         * sysdeps/unix/sysv/linux/bits/dirent.h
16882         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16883         (_DIRENT_MATCHES_DIRENT64): New macro.
16885         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16886         Define lockf64 as an alias.
16887         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16888         Define fseeko64 as an alias.
16889         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16890         Define ftello64 as an alias.
16891         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16892         Define _IO_fgetpos64 and fgetpos64 as aliases.
16893         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16894         Define _IO_fsetpos64 and fsetpos64 as aliases.
16895         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16896         Conditionalize body on this.
16897         * libio/fseeko64.c: Likewise.
16898         * libio/ftello64.c: Likewise.
16899         * libio/iofgetpos64.c: Likewise.
16900         * libio/iofsetpos64.c: Likewise.
16901         * sysdeps/wordsize-64/lockf.c: File removed.
16902         * sysdeps/wordsize-64/lockf64.c: File removed.
16903         * sysdeps/wordsize-64/fseeko.c: File removed.
16904         * sysdeps/wordsize-64/fseeko64.c: File removed.
16905         * sysdeps/wordsize-64/ftello.c: File removed.
16906         * sysdeps/wordsize-64/ftello64.c: File removed.
16907         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16908         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16909         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16910         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16911         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16912         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16913         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16914         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16915         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16916         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16917         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16918         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16919         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16920         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16922         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16924         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16925         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16926         [defined __arch64__ || defined __sparcv9]
16927         (__OFF_T_MATCHES_OFF64_T): New macro.
16928         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16929         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16930         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16931         (__OFF_T_MATCHES_OFF64_T): New macro.
16933 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16935         * stdlib/secure-getenv.c (__secure_getenv): Replace
16936         GLIBC_2_16 with GLIBC_2_17.
16938 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16940         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16941         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16943 2012-08-03  David S. Miller  <davem@davemloft.net>
16945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16947 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16949         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16950         Remove.
16951         (__ASSUME_CORRECT_SI_PID): Likewise.
16952         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16953         (__ASSUME_TMPFS_NAME): Likewise.
16954         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16955         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16956         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16957         (HAVE_AUX_SECURE): Make definition unconditional.
16958         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16959         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16961 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16963         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16964         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16965         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16966         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16967         __eloop_threshold instead of SYMLOOP_MAX.
16969         * sysdeps/generic/eloop-threshold.h: New file.
16970         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16971         of MAXSYMLINKS.
16972         * elf/chroot_canon.c (chroot_canon): Likewise.
16974 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16976         [BZ #13717]
16977         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16978         Change to 2.6.0 everywhere.
16979         * sysdeps/unix/sysv/linux/configure: Regenerated.
16980         * sysdeps/unix/sysv/linux/kernel-features.h
16981         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16982         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16983         kernel versions.
16984         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16985         (__ASSUME_FUTEX_REQUEUE): Remove.
16986         (__ASSUME_STATFS64): Define unconditionally.
16987         (__ASSUME_AT_SECURE): Likewise.
16988         (__ASSUME_CORRECT_SI_PID): Likewise.
16989         (__ASSUME_TGKILL): Define without depending on kernel version for
16990         i386.
16991         (__ASSUME_UTIMES): Likewise.
16992         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16993         kernel version.
16994         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16995         (__ASSUME_TMPFS_NAME): Likewise.
16996         * README: Update reference to Linux kernel versions.
16998 2012-08-02  Marek Polacek  <polacek@redhat.com>
17000         [BZ# 14150]
17001         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17002         libc_cv_asm_type_prefix with %.
17003         * configure: Regenerated.
17004         * include/libc-symbols.h: Remove comment about
17005         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17006         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17007         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17008         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17009         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17010         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17011         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17012         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17013         * elf/tst-unique2mod1.c: Likewise.
17014         * elf/tst-unique1mod2.c: Likewise.
17015         * elf/tst-unique1mod1.c: Likewise.
17016         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17017         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17018         Replace ASM_TYPE_DIRECTIVE with .type.
17019         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17020         * sysdeps/i386/sysdep.h: Likewise.
17021         * sysdeps/x86_64/sysdep.h: Likewise.
17022         * sysdeps/sh/sysdep.h: Likewise.
17023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17024         Do not define ASM_TYPE_DIRECTIVE.
17025         * sysdeps/powerpc/sysdep.h: Likewise.
17026         * sysdeps/powerpc/powerpc32/sysdep.h:
17027         Replace ASM_TYPE_DIRECTIVE with .type.
17028         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17029         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17030         * sysdeps/i386/fpu/e_powf.S: Likewise.
17031         * sysdeps/i386/fpu/e_expl.S: Likewise.
17032         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17033         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17034         * sysdeps/i386/fpu/e_pow.S: Likewise.
17035         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17036         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17037         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17038         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17039         * sysdeps/i386/fpu/e_log2.S: Likewise.
17040         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17041         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17042         * sysdeps/i386/fpu/e_powl.S: Likewise.
17043         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17044         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17045         * sysdeps/i386/fpu/e_logl.S: Likewise.
17046         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17047         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17048         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17049         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17050         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17051         * sysdeps/i386/fpu/e_log.S: Likewise.
17052         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17053         * sysdeps/i386/fpu/e_logf.S: Likewise.
17054         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17055         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17056         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17057         * sysdeps/i386/fpu/e_log10.S: Likewise.
17058         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17059         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17060         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17061         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17062         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17063         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17064         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17065         * sysdeps/i386/i686/strtok.S: Likewise.
17066         * sysdeps/i386/i386-mcount.S: Likewise.
17067         * sysdeps/i386/strtok.S: Likewise.
17068         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17069         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17070         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17071         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17072         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17073         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17074         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17075         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17076         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17077         * sysdeps/x86_64/_mcount.S: Likewise.
17078         * sysdeps/x86_64/strtok.S: Likewise.
17079         * sysdeps/sh/_mcount.S: Likewise.
17081 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17083         * libio/iofopen.c: Include <fcntl.h>.
17084         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17085         (_IO_fopen64, fopen64): Define as aliases.
17086         * libio/iofopen64.c: Include <fcntl.h>.
17087         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17088         Conditionalize body on this.
17089         * sysdeps/wordsize-64/iofopen.c: File removed.
17090         * sysdeps/wordsize-64/iofopen64.c: File removed.
17092 2012-08-01  Marek Polacek  <polacek@redhat.com>
17094         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17095         Use dlfcn directly instead of a variable.
17096         (binfmt-subdir): Do not define.
17097         (dlfcn): Likewise.
17099 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17101         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17102         Remove all definitions.
17103         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17104         <kernel-features.h>.
17105         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17106         (miss_F_GETOWN_EX): Remove all definitions.
17107         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17108         macro definition.
17109         [!__ASSUME_FCNTL64]: Remove conditional code.
17110         [__ASSUME_FCNTL64]: Make code unconditional.
17111         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17112         <kernel-features.h>.
17113         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17114         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17115         (lockf64) [__NR_fcntl64]: Make code unconditional.
17116         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17118         * sysdeps/unix/sysv/linux/kernel-features.h
17119         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17120         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17121         Make code unconditional.
17122         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17123         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17125         [__NR_vfork]: Make code unconditional.
17126         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17127         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17129         [__NR_vfork]: Make code unconditional.
17130         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17131         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17133 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17135         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17136         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17138         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17139         Define mkstemp64 as an alias.
17140         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17141         Define mkstemps64 as an alias.
17142         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17143         Define mkostemp64 as an alias.
17144         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17145         Define mkostemps64 as an alias.
17146         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17147         Conditionalize body on this.
17148         * misc/mkostemp64.c: Likewise.
17149         * misc/mkostemps64.c: Likewise.
17150         * misc/mkstemps64.c: Likewise.
17151         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17152         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17153         * sysdeps/wordsize-64/mkostemp.c: File removed.
17154         * sysdeps/wordsize-64/mkstemp.c: File removed.
17155         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17156         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17157         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17158         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17160         [BZ #14138]
17161         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17162         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17163         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17164         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17166         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17167         compat_symbol macros from <shlib-compat.h> rather than the underlying
17168         default_symbol_version and symbol_version macros, so that DEFAULT
17169         lines in shlib-versions are respected.
17170         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17172 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17174         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17175         Declare with warn_unused_result.
17176         (setgid, setregid, setegid, setresgid): Likewise.
17177         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17178         Likewise.
17179         * WUR-REPORT: Remove set*id functions.
17181 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17183         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17185 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17187         [BZ #10191]
17188         * include/sys/socket.h (__libc_accept, __libc_accept4):
17189         Add attribute_hidden.
17190         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17192         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17193         use of PTR_MANGLE.
17194         * inet/getnetgrent_r.c (setup): Likewise.
17196         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17198 2012-07-31  David S. Miller  <davem@davemloft.net>
17200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17202 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17204         [BZ #13629]
17205         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17206         value between 1.0 and 2.0 and smaller part has absolute value less
17207         than 1.0.
17208         * math/s_clog10.c (__clog10): Likewise.
17209         * math/s_clog10f.c (__clog10f): Likewise.
17210         * math/s_clog10l.c (__clog10l): Likewise.
17211         * math/s_clogf.c (__clogf): Likewise.
17212         * math/s_clogl.c (__clogl): Likewise.
17213         * math/libm-test.inc (clog_test): Add more tests.
17214         (clog10_test): Likewise.
17215         * sysdeps/i386/fpu/libm-test-ulps: Update.
17216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17218 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17220         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17221         Exit with zero in case no suitable GID is found, and write a
17222         message to standard error.
17224 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17226         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17227         rather than to 1.
17228         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17229         (MAXPATHLEN): Removed.
17230         (NOGROUP, NODEV): New macros.
17231         (setbit, clrbit, isset, isclr): New macros.
17232         (howmany, roundup, powerof2): New macros.
17233         (DEV_BSIZE): New macro.
17235         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17236         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17238         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17239         definition on [!__NO_LONG_DOUBLE_MATH].
17241         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17242         PTR_MANGLE and PTR_DEMANGLE.
17244         * socket/accept4.c (accept4): Rename to __libc_accept4.
17245         Define accept4 as a weak alias.
17247         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17248         on [_DIRENT_HAVE_D_TYPE].
17249         * io/ftw.c (ftw_dir): Likewise.
17251         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17253         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17255         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17256         Use the BSD numbers rather than the arbitrary ones we had.
17257         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17258         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17259         (SIGXCPU, SIGXFSZ): New macros.
17260         (_NSIG): Now 32.
17262         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17263         initializer on [_LIBC_REENTRANT].
17265         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17266         definitions inside [_POSIX_MAPPED_FILES].
17268         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17270         * dirent/opendir.c: Include <fcntl.h>.
17272         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17273         (__libc_getspecific): Likewise.
17274         (__libc_key_create): Likewise.
17276         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17277         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17278         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17279         (tmpfile64): Define as alias.
17280         * sysdeps/wordsize-64/tmpfile.c: File removed.
17281         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17282         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17283         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17285         * stdio-common/vfscanf.c: Include <stdbool.h>.
17286         * nss/makedb.c: Likewise.
17287         * stdio-common/_i18n_number.h: Likewise.
17288         * argp/argp-help.c: Likewise.
17289         * posix/wordexp.c: Likewise.
17290         * sysdeps/posix/spawni.c: Likewise.
17291         * nss/nss_files/files-initgroups.c: Likewise.
17292         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17293         * nss/nss_files/files-initgroups.c: Likewise.
17294         * nss/nss_db/db-netgrp.c: Likewise.
17295         * nss/nss_db/db-initgroups.c: Likewise.
17296         * io/fchmodat.c: Include <sys/stat.h>.
17298         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17299         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17301         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17302         [HAVE_MMAP].
17304         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17305         Add multiple inclusion protection.
17307 2012-07-27  David S. Miller  <davem@davemloft.net>
17309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17311 2012-07-27  Gary Benson  <gbenson@redhat.com>
17313         [BZ #14298]
17314         * elf/rtld.c: Include <stap-probe.h>.
17315         (dl_main): Added static probes "init_start" and "init_complete".
17316         * elf/dl-load.c: Include <stap-probe.h>.
17317         (lose): Take new parameter "nsid".
17318         Added static probe "map_failed".
17319         (_dl_map_object_from_fd): Pass namespace id to lose.
17320         Added static probe "map_start".
17321         (open_verify): Pass namespace id to lose.
17322         * elf/dl-open.c: Include <stap-probe.h>.
17323         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17324         and "reloc_complete".
17325         * elf/dl-close.c: Include <stap-probe.h>.
17326         (_dl_close_worker): Added static probes "unmap_start" and
17327         "unmap_complete".
17328         * elf/rtld-debugger-interface.txt: New file documenting the above.
17330 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17332         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17333         rather than a string variable.
17334         * sunrpc/rpc_main.c (h_output): Likewise.
17335         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17337 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17339         * inet/check_native.c: New file.
17341 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17343         [BZ #13629]
17344         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17345         if larger part has absolute value 1.0.
17346         * math/s_clog10.c (__clog10): Likewise.
17347         * math/s_clog10f.c (__clog10f): Likewise.
17348         * math/s_clog10l.c (__clog10l): Likewise.
17349         * math/s_clogf.c (__clogf): Likewise.
17350         * math/s_clogl.c (__clogl): Likewise.
17351         * math/libm-test.inc (clog_test): Add more tests.
17352         (clog10_test): Likewise.
17353         * sysdeps/i386/fpu/libm-test-ulps: Update.
17354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17356         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17357         (pltexit): Likewise.
17358         (La_regs): Likewise.
17359         (La_retval): Likewise.
17360         (int_retval): Likewise.
17361         Update #error for removed macros to refer only to definitions in
17362         tst-audit.h.
17363         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17364         macro.
17365         (pltexit): Likewise.
17366         (La_regs): Likewise.
17367         (La_retval): Likewise.
17368         (int_retval): Likewise.
17369         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17370         macro.
17371         (pltexit): Likewise.
17372         (La_regs): Likewise.
17373         (La_retval): Likewise.
17374         (int_retval): Likewise.
17375         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17376         macro.
17377         (pltexit): Likewise.
17378         (La_regs): Likewise.
17379         (La_retval): Likewise.
17380         (int_retval): Likewise.
17381         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17382         macro.
17383         (pltexit): Likewise.
17384         (La_regs): Likewise.
17385         (La_retval): Likewise.
17386         (int_retval): Likewise.
17387         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17388         macro.
17389         (pltexit): Likewise.
17390         (La_regs): Likewise.
17391         (La_retval): Likewise.
17392         (int_retval): Likewise.
17393         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17394         macro.
17395         (pltexit): Likewise.
17396         (La_regs): Likewise.
17397         (La_retval): Likewise.
17398         (int_retval): Likewise.
17399         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17400         macro definitions in tst-audit.h.
17401         * sysdeps/i386/tst-audit.h: New file.
17402         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17403         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17404         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17405         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17406         * sysdeps/sh/tst-audit.h: Likewise.
17407         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17408         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17409         * sysdeps/x86_64/tst-audit.h: Likewise.
17411 2012-07-26  Andreas Jaeger  <aj@suse.de>
17413         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17414         ptrace.
17416         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17417         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17418         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17419         PTRACE_O_MASK.
17420         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17421         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17422         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17424         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17425         value.
17427         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17428         _sigsys.
17429         (si_call_addr, si_syscall, si_arch): Define new macro.
17430         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17431         _sigsys.
17432         (si_call_addr, si_syscall, si_arch): Define new marcro.
17433         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17434         _sigsys.
17435         (si_call_addr, si_syscall, si_arch): Define new macro.
17436         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17437         _sigsys.
17438         (si_call_addr, si_syscall, si_arch): Define new macro.
17440 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17442         [BZ #13717]
17443         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17444         Change to 2.4.21 where previously 2.4.1.
17445         * sysdeps/unix/sysv/linux/configure: Regenerated.
17446         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17447         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17448         Linux kernel version.
17449         (__ASSUME_STD_AUXV): Remove.
17450         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17451         kernel version.
17452         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17453         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17454         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17455         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17456         (__ASSUME_NETLINK_SUPPORT): Likewise.
17457         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17458         (__no_netlink_support): Remove conditional definition.
17459         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17460         Remove.
17461         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17462         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17463         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17464         (if_nameindex_ioctl): Remove.
17465         (if_nameindex_netlink): Do not handle __no_netlink_support.
17466         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17467         code.
17468         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17469         Remove conditional code.
17470         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17471         code.
17472         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17473         unconditional.
17474         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17475         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17476         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17477         Remove.
17478         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17479         [!__ASSUME_STD_AUXV]: Remove conditional code.
17480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17481         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17482         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17484         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17485         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17486         code.
17487         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17489         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17490         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17491         conditional code.
17492         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17494         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17495         code.
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17497         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17498         conditional code.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17500         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17501         code unconditional.
17502         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17503         conditional code.
17504         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17505         unconditional.
17506         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17507         conditional code.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17509         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17510         unconditional.
17511         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17512         conditional code.
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17514         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17515         code unconditional.
17516         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17517         conditional code.
17518         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17519         unconditional.
17520         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17521         conditional code.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17523         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17524         code unconditional.
17525         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17526         conditional code.
17527         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17528         unconditional.
17529         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17530         conditional code.
17532 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17534         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17535         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17536         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17537         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17538         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17539         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17540         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17541         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17542         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17543         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17544         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17545         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17546         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17547         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17548         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17549         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17550         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17551         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17552         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17554         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17555         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17556         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17558 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17560         * Versions.def: Add GLIBC_2.17.
17561         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17562         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17563         Introduce __libc_secure_getenv.
17564         * stdlib/Versions (2.17): Add secure_getenv
17565         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17566         * stdlib/secure-getenv.c: Rename __secure_getenv to
17567         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17568         symbol __secure_getenv for GLIBC_2.0.
17569         * stdlib/tst-secure-getenv.c: New.
17570         * stdlib/Makefile (tests): Add testcase.
17571         * manual/startup.texi (Environment Access): Document
17572         secure_getenv.
17573         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17574         __libc_secure_getenv.
17575         * inet/ruserpass.c (ruserpass): Likewise.
17576         * malloc/mtrace.c (mtrace): Likewise.
17577         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17578         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17579         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17580         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17581         HAVE_SECURE_GETENV.
17582         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17583         __secure_getenv to __libc_secure_getenv.
17584         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17586         Likewise.
17587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17588         Likewise.
17589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17597 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17599         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17600         (struct La_i86_retval): Likewise.
17601         (struct La_x86_64_regs): Likewise.
17602         (struct La_x86_64_retval): Likewise.
17603         (struct La_x32_regs): Likewise.
17604         (struct La_x32_retval): Likewise.
17605         (struct La_ppc32_regs): Likewise.
17606         (struct La_ppc32_retval): Likewise.
17607         (struct La_ppc64_regs): Likewise.
17608         (struct La_ppc64_retval): Likewise.
17609         (struct La_sh_regs): Likewise.
17610         (struct La_sh_retval): Likewise.
17611         (struct La_s390_32_regs): Likewise.
17612         (struct La_s390_32_retval): Likewise.
17613         (struct La_s390_64_regs): Likewise.
17614         (struct La_s390_64_retval): Likewise.
17615         (struct La_sparc32_regs): Likewise.
17616         (struct La_sparc32_retval): Likewise.
17617         (struct La_sparc64_regs): Likewise.
17618         (struct La_sparc64_retval): Likewise.
17619         (struct audit_ifaces): Remove architecture-specific pltenter and
17620         pltexit members.
17621         * sysdeps/i386/ldsodefs.h: New file.
17622         * sysdeps/powerpc/ldsodefs.h: Likewise.
17623         * sysdeps/s390/ldsodefs.h: Likewise.
17624         * sysdeps/sh/ldsodefs.h: Likewise.
17625         * sysdeps/sparc/ldsodefs.h: Likewise.
17626         * sysdeps/x86_64/ldsodefs.h: Likewise.
17628 2012-07-25  Marek Polacek  <polacek@redhat.com>
17630         [BZ #6808]
17631         * math/libm-test.inc (yn_test): Add another test.
17632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17633         to ERANGE when the result is +-Inf.
17634         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17635         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17636         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17637         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17639 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17641         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17642         equal to 0.
17643         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17644         clock_t.
17645         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17647 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17649         * configure.in <sysdeps resolving>: Correct printing
17650         Implies_before.
17651         * configure: Regenerate.
17653 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17655         * math/w_ilogb.c: Include <limits.h>.
17656         * math/w_ilogbl.c: Likewise.
17658 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17660         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17661         va_copy.  Document allowing for unavailable va_copy only as
17662         pre-C99 compatibility.
17663         * manual/string.texi (Copying and Concatenation): Use va_copy
17664         instead of __va_copy in concat example.
17666 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17668         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17669         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17670         it if not null.
17672         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17673         with O_NOLINK passed to __file_name_lookup.
17675         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17676         with O_NOLINK passed to __file_name_lookup.
17678         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17679         negative N or less than NGIDS.
17681         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17682         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17683         enough.  Use memcpy instead of strncpy.
17685 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17687         * elf/Makefile (check-data): Remove.
17688         (localplt.data): New vpath directive.
17689         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17690         instead of $(check-data).
17691         * scripts/data/localplt-generic.data: Move to ...
17692         * sysdeps/generic/localplt.data: ... here.
17693         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17694         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17695         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17697         ... here.
17698         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17700         ... here.
17701         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17703         ... here.
17704         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17706         ... here.
17707         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17709         ... here.
17710         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17712         ... here.
17714 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17716         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17717         PPC32 and PPC64 files.
17718         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17719         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17721 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17723         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17724         __makecontext_ret to ...
17725         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17726         ... here and call exit if uc_link is NULL.  New file.
17727         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17728         __makecontext_ret.S.
17729         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17730         __makecontext_ret to ...
17731         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17732         ... here and call exit if uc_link is NULL.  New file.
17733         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17734         __makecontext_ret.S.
17736 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17738         * elf/elf.h (R_390_IRELATIVE): New definition.
17739         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17740         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17741         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17742         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17743         (elf_machine_lazy_rel): Likewise.
17744         * sysdeps/s390/dl-irel.h: New file.
17745         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17746         * sysdeps/s390/s390-64/memset.S: New asm code.
17747         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17748         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17749         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17750         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17751         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17752         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17753         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17754         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17755         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17756         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17757         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17758         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17759         * sysdeps/s390/s390-32/memset.S: New asm code.
17760         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17762 2012-07-17  Marek Polacek  <polacek@redhat.com>
17764         [BZ #14349]
17765         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17766         * sysdeps/s390/s390-64/configure.in: Likewise.
17767         * sysdeps/sparc/configure.in: Likewise.
17768         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17769         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17770         * sysdeps/i386/configure.in: Likewise.
17771         * sysdeps/x86_64/configure.in: Likewise.
17772         * sysdeps/sh/configure.in: Likewise.
17773         * sysdeps/s390/s390-32/configure: Regenerated.
17774         * sysdeps/s390/s390-64/configure: Likewise.
17775         * sysdeps/x86_64/configure: Likewise.
17776         * sysdeps/sh/configure: Likewise.
17777         * sysdeps/powerpc/powerpc64/configure: Likewise.
17778         * sysdeps/powerpc/powerpc32/configure: Likewise.
17779         * sysdeps/sparc/configure: Likwise.
17780         * sysdeps/i386/configure: Likewise.
17782         * elf/dl-open.c: Comment fixes.
17784 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17786         * Makefile [CXX] (check-data): Remove.
17787         [CXX] (c++-types.data): New vpath directive.
17788         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17789         vpath.  Do not allow for C++ type data being missing.
17790         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17791         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17792         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17793         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17794         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17795         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17796         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17798         ... here.
17799         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17801         ... here.
17802         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17804         ... here.
17805         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17807         ... here.
17808         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17810         ... here.
17811         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17813         ... here.
17814         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17816         ... here.
17817         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17820         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17821         definitions to architecture-specific files.
17822         (TLS_IE): Likewise.
17823         (TLS_LD): Likewise.
17824         (TLS_GD): Likewise.
17825         * sysdeps/i386/tls-macros.h: New file.
17826         * sysdeps/powerpc/tls-macros.h: Likewise.
17827         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17828         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17829         * sysdeps/sh/tls-macros.h: Likewise.
17830         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17831         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17832         * sysdeps/x86_64/tls-macros.h: Likewise.
17834 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17836         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17837         zero value for regular exit case.
17839         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17840         (__start_context): Preserve zero value for regular exit case.
17842 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17843             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17845         * manual/setjmp.texi (setcontext): Clarify normal process
17846         termination when uc_link is the null pointer.
17847         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17848         exit call.
17850 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17852         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17853         preprocessor.  Test for each exception mask separately.
17855 2012-07-16  Andreas Jaeger  <aj@suse.de>
17857         * po/ru.po: Update from translation team.
17859 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17861         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17862         equal to 0.
17863         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17864         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17865         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17866         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17867         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17869 2012-07-13  Andreas Jaeger  <aj@suse.de>
17871         * po/fr.po: Update from translation team.
17873 2012-07-12  Marek Polacek  <polacek@redhat.com>
17875         [BZ #14173]
17876         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17877         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17878         loop condition.
17880 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17882         [BZ #13717]
17883         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17884         Change to 2.4.1 where previously 2.4.0.
17885         * sysdeps/unix/sysv/linux/configure: Regenerated.
17886         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17887         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17888         version.
17889         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17890         (__ASSUME_AT_CLKTCK): Remove.
17891         (__ASSUME_AT_PAGESIZE): Likewise.
17892         (__ASSUME_AT_XID): Likewise.
17893         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17894         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17895         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17896         unconditionally.
17897         (HAVE_AUX_PAGESIZE): Likewise.
17898         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17899         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17900         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17902 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17904         [BZ #14307]
17905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17906         the temporary buffer used to invoke __gethostbyname2_r,
17907         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17908         host_data / struct gaih_addrtuple.
17909         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17910         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17911         header file nss/nsswitch.h.
17912         * nss/nsswitch.h (global scope): Add definition of implementation
17913         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17914         resolv/nss_dns/dns-host.c).
17916 2012-07-11  Andreas Jaeger  <aj@suse.de>
17918         * po/fr.po: Update from translation team.
17920         * po/sv.po: Update from translation team
17921         * po/fr.po: Another update from translation team.
17923 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17925         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17926         for subnormals or multiply small sinh result by itself.
17927         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17930 2012-07-11  David S. Miller  <davem@davemloft.net>
17932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17934 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17936         [BZ #14347]
17937         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17938         (INTERNAL_MARK): Shift it here.
17940 2012-07-10  Marek Polacek  <polacek@redhat.com>
17942         [BZ #14151]
17943         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17944         libc_cv_asm_global_directive with .globl.
17945         * configure: Regenerated.
17946         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17947         with .globl.
17948         * sysdeps/i386/configure: Regenerated.
17949         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17950         with .globl.
17951         * sysdeps/x86_64/configure: Regenerated.
17952         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17953         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17954         * elf/tst-unique2mod2.c: Likewise.
17955         * elf/tst-unique2mod1.c: Likewise.
17956         * elf/tst-unique1mod2.c: Likewise.
17957         * elf/tst-unique1mod1.c: Likewise.
17958         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17959         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17960         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17961         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17962         * sysdeps/mach/sysdep.h: Likewise.
17963         * sysdeps/i386/sysdep.h: Likewise.
17964         * sysdeps/i386/i386-mcount.S: Likewise.
17965         * sysdeps/x86_64/_mcount.S: Likewise.
17966         * sysdeps/x86_64/sysdep.h: Likewise.
17967         * sysdeps/sh/_mcount.S: Likewise.
17968         * sysdeps/sh/sysdep.h: Likewise.
17969         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17970         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17971         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17972         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17973         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17974         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17975         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17976         * locale/localeinfo.h: Likewise.
17977         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17978         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17980 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17982         [BZ #14336]
17983         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17984         system".
17985         * manual/message.texi (The Uniforum approach): Likewise.
17986         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17987         (glibc iconv Implementation): Likewise.
17989 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17991         [BZ #14337]
17992         * math/s_clog.c (__clog): Avoid scaling a value down where that
17993         could result in underflow.
17994         * math/s_clog10.c (__clog10): Likewise.
17995         * math/s_clog10f.c (__clog10f): Likewise.
17996         * math/s_clog10l.c (__clog10l): Likewise.
17997         * math/s_clogf.c (__clogf): Likewise.
17998         * math/s_clogl.c (__clogl): Likewise.
17999         * math/libm-test.inc (clog_test): Add more tests.
18000         (clog10_test): Likewise.
18001         * sysdeps/i386/fpu/libm-test-ulps: Update.
18002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18004 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18006         [BZ #14283]
18007         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18008         by 7 not 8 to examine high bit of fractional part.
18010         [BZ #14042]
18011         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18012         for call to __mcount_internal.
18013         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18014         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18015         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18017 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18019         [BZ #14154]
18020         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18021         approximation for values within 0x1p-13f of an odd multiple of
18022         pi/4.
18023         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18024         exception.  Add more tests.
18025         * sysdeps/i386/fpu/libm-test-ulps: Update.
18027         [BZ #6778]
18028         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18029         inputs and return -1 for them.  Do not check for +Inf in case not
18030         reachable for +Inf.
18031         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18032         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18033         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18034         and return -1 for them.  Do not check for +Inf in case not
18035         reachable for +Inf.
18036         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18037         define.
18038         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18039         and return -1 for them.  Do not check for +Inf in case not
18040         reachable for +Inf.
18041         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18042         spurious underflow.
18043         * sysdeps/i386/fpu/libm-test-ulps: Update.
18044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18046 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18048         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18050 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18052         [BZ #14157]
18053         [BZ #14331]
18054         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18055         could result in spurious underflow.  Scale down values above
18056         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18057         * math/s_csqrtf.c (__csqrtf): Likewise.
18058         * math/s_csqrtl.c (__csqrtl): Likewise.
18059         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18060         spurious underflow.
18061         * sysdeps/i386/fpu/libm-test-ulps: Update.
18062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18064 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18066         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18067         xopen-msg.sed.
18068         * catgets/xopen-msg.awk: New file.
18069         * catgets/xopen-msg.sed: Removed.
18071         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18072         po2text.sed.
18073         * intl/po2test.awk: New file.
18074         * intl/po2test.sed: Removed.
18076 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18078         [BZ #14328]
18079         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18080         or multiply small sinh result by itself.
18081         * math/s_ctanf.c (__ctanf): Likewise.
18082         * math/s_ctanh.c (__ctanh): Likewise.
18083         * math/s_ctanhf.c (__ctanhf): Likewise.
18084         * math/s_ctanhl.c (__ctanhl): Likewise.
18085         * math/s_ctanl.c (__ctanl): Likewise.
18086         * math/libm-test.inc (ctan_test_tonearest): New function.
18087         (ctan_test_towardzero): Likewise.
18088         (ctan_test_downward): Likewise.
18089         (ctan_test_upward): Likewise.
18090         (ctanh_test_tonearest): Likewise.
18091         (ctanh_test_towardzero): Likewise.
18092         (ctanh_test_downward): Likewise.
18093         (ctanh_test_upward): Likewise.
18094         (main): Call these new functions.
18095         * sysdeps/i386/fpu/libm-test-ulps: Update.
18096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18098 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18100         * .gitignore: Delete /ports entry.
18102 2012-07-03  Andreas Jaeger  <aj@suse.de>
18104         * po/bg.po: Update from translation team.
18105         * po/cs.po: Likewise.
18106         * po/de.po: Likewise.
18107         * po/hr.po: Likewise.
18108         * po/nl.pl: Likewise.
18109         * po/pl.po: Likewise.
18110         * po/vi.po: Likewise.
18112 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18114         * Makeconfig [!+link] (+link-before-libc): New variable.
18115         [!+link] (+link-after-libc): Likewise.
18116         [!+link] (+link-tests): Likewise.
18117         [!+link] (+link): Define in terms of $(+link-before-libc) and
18118         $(+link-after-libc).
18119         [!+link-static] (+link-static-before-libc): New variable.
18120         [!+link-static] (+link-static-after-libc): Likewise.
18121         [!+link-static] (+link-static-tests): Likewise.
18122         [!+link-static] (+link-static): Define in terms of
18123         $(+link-static-before-libc) and $(+link-static-after-libc).
18124         [build-shared] (link-libc-before-gnulib): New variable.
18125         [build-shared] (link-libc-tests): Likewise.
18126         [build-shared] (link-libc): Define in terms of
18127         $(link-libc-before-gnulib).
18128         [!build-shared] (link-libc-tests): New variable.
18129         (link-libc-static-tests): New variable.
18130         [!gnulib] (gnulib-arch): New variable.
18131         [!gnulib] (gnulib-tests): Likewise.
18132         [!gnulib] (static-gnulib-arch): Likewise.
18133         [!gnulib] (static-gnulib-tests): Likewise.
18134         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18135         Define with "=" instead of ":=".
18136         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18137         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18138         * Rules (binaries-all-notests): New variable.
18139         (binaries-all-tests): Likewise.
18140         (binaries-static-notests): Likewise.
18141         (binaries-static-tests): Likewise.
18142         (binaries-all): Define using $(binaries-all-notests) and
18143         $(binaries-all-tests).
18144         (binaries-static): Define using $(binaries-static-notests) and
18145         $(binaries-static-tests).
18146         (binaries-shared-tests): New variable.
18147         (binaries-shared-notests): Likewise.
18148         (binaries-shared): Remove variable.
18149         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18150         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18151         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18152         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18153         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18154         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18155         * elf/Makefile (sln-modules): New variable.
18156         (extra-objs): Add $(sln-modules:=.o).
18157         (ldconfig-modules): Add static-stubs.
18158         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18159         * elf/static-stubs.c: New file.
18161         [BZ #14283]
18162         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18163         by 7 not 8 to examine high bit of fractional part.  Use volatile
18164         variables when splitting into final array of floats if
18165         __FLT_EVAL_METHOD__ != 0.
18166         * math/libm-test.inc (cos_test): Add another test.
18167         (sin_test): Likewise.
18168         * sysdeps/i386/fpu/libm-test-ulps: Update.
18170         [BZ #14273]
18171         * math/libm-test.inc (cosh_test): Add more tests.
18173         * version.h (RELEASE): Set to "development".
18174         (VERSION): Set to "2.16.90".
18176 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18178         * NEWS: Update copyright. Remove last-updated date.
18179         Mention math library bug fixes and timezone data changes.
18180         * README: Mention GNU/Hurd, x32, and HPPA support status.
18182 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18184         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18186 2012-06-27  Andreas Jaeger  <aj@suse.de>
18188         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18190 2012-06-25  Andreas Jaeger  <aj@suse.de>
18192         * sysdeps/s390/fpu/libm-test-ulps: Update.
18194 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18195             Thomas Schwinge  <thomas@codesourcery.com>
18197         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18198         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18200         fanotify_mark.
18202 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18204         * sysdeps/mach/start.c: Remove file.
18205         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18206         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18207         * sysdeps/sh/init-first.c: Likewise.
18209         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18210         registers for frame unwinding purposes, add CFI directives.
18211         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18213         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18214         Likewise.
18216         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18217         __fortify_fail returning.
18218         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18220         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18221         sysdeps/sh/____longjmp_chk.S.
18222         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18223         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18224         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18225         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18227         * sysdeps/sh/abort-instr.h: New file.
18228         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18229         process in case exit returns.
18231         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18232         initialize the GOT register before use.
18234         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18235         calculation of ARGC > 4.
18237         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18238         meaningful names to some local labels.
18240 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18241             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18243         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18244         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18245         (__arch_compare_and_exchange_val_16_acq): Likewise.
18246         (__arch_compare_and_exchange_val_32_acq): Likewise.
18247         (atomic_exchange_and_add): Fix gUSA sequence.
18248         (atomic_add): Likewise.
18249         (atomic_add_negative): Likewise.
18250         (atomic_add_zero): Likewise.
18251         (atomic_bit_test_set): Likewise.
18253 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18255         [BZ #13579]
18256         * include/link.h (struct link_map): Add l_free_initfini.
18257         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18258         l_initfini.
18259         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18260         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18261         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18262         set.
18264 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18266         * configure.in: Use AC_LANG_SOURCE.
18267         * configure: Regenerate.
18269 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18271         * configure.in (libc_cv_localstatedir): New substituted variable.
18272         * configure: Regenerated.
18273         * config.make.in (localstatedir): New variable, substituted from
18274         libc_cv_localstatedir.
18275         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18276         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18277         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18278         * sysdeps/gnu/configure: Regenerated.
18280 2012-06-21  Jeff Law  <law@redhat.com>
18282         [BZ #14277]
18283         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18284         free.  Simplify list management for _LIBC case.
18286 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18288         [BZ #14273]
18289         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18290         Clear sign bit of 64-bit integer value before comparing against
18291         overflow value.
18293         * sysdeps/mach/configure: Regenerated.
18295 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18297         [BZ #14278]
18298         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18300 2012-06-21  Jeff Law  <law@redhat.com>
18302         [BZ #13882]
18303         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18304         uint16_t for elements in the "seen" array to avoid char overflows.
18305         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18306         * elf/dl-open.c (dl_open_worker): Likewise.
18308 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18310         * scripts/list-sources.sh: Scan PORTS for translations.
18311         * po/libc.pot: Regenerated.
18313 2012-06-21  Andreas Jaeger  <aj@suse.de>
18315         [BZ #12194]
18316         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18317         warning.
18318         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18319         * bits/byteswap-16.h (__bswap_16): Likewise.
18320         * bits/byteswap.h (__bswap_constant_16): Likewise.
18322 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18324         [BZ #14117]
18325         * sysdeps/i386/fpu_control.h: Removed.
18326         * sysdeps/x86_64/fpu_control.h: Moved to ...
18327         * sysdeps/x86/fpu_control.h: Here.
18329         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18330         (_FPU_SETCW): Likewise.
18332 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18334         [BZ #14117]
18335         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18336         * sysdeps/x86/fpu/bits/mathinline.h: This.
18337         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18339         [BZ #14050]
18340         [BZ #14117]
18341         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18342         functions if __x86_64__ is defined.
18344 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18346         * string/endian.h: Add !__ASSEMBLER__ condition for including
18347         conversion interfaces.
18349 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18351         [BZ #14241]
18352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18353         of ABS(x) in calculating zero to negative powers other than odd
18354         integers.
18355         * math/libm-test.inc (pow_test): Add more tests.
18357 2012-06-15  Andreas Jaeger  <aj@suse.de>
18359         * manual/contrib.texi (Contributors): Update entry of Liubov
18360         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18361         Machado Filho.
18363 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18365         * string/string.h: Add __wur to GNU version of strerror_r.
18367 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18369         [BZ #14229]
18370         * string/Makefile (tests): Add tst-strtok_r.
18371         * string/tst-strtok_r.c: New file.
18372         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18373         RAX_LP/RDX_LP on SAVE_PTR.
18375 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18377         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18379 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18381         * libm_test.inc (csqrt_test): Allow more spurious underflow
18382         exceptions.
18383         (j0_test): Likewise.
18384         (j1_test): Likewise.
18385         (y0_test): Likewise.
18386         (y1_test): Likewise.
18388 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18390         * po/Makefile (libc.pot): Use UTF-8 charset.
18392 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18394         [BZ #14210]
18395         Suppress sign-conversion warning from FD_SET.
18396         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18397         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18398         not unsigned long int.
18399         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18401 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18403         [BZ #14050]
18404         [BZ #14117]
18405         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18406         __extern_always_inline instead of __extern_inline.
18407         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18408         (__signbit): Likewise.
18409         (__signbitl): Support C++ namespace.
18410         (lrintf): New inline function.
18411         (lrint): Likewise.
18412         (llrintf): Likewise.
18413         (llrint): Likewise.
18414         (fmaxf): Likewise.
18415         (fmax): Likewise.
18416         (fminf): Likewise.
18417         (fmin): Likewise.
18418         (rint): Likewise.
18419         (rintf): Likewise.
18420         (ceil): Likewise.
18421         (ceilf): Likewise.
18422         (floor): Likewise.
18423         (floorf): Likewise.
18424         (nearbyint): Likewise.
18425         (nearbyintf): Likewise.
18427 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18429         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18430         non-default versions.
18432 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18434         [BZ #14218]
18435         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18437 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18439         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18440         (FE_UPWARD, FE_DOWNWARD): Don't define.
18441         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18442         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18444         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18445         reading it.
18446         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18447         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18449 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18451         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18453         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18454         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18456 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18458         [BZ #14117]
18459         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18460         * sysdeps/i386/fpu/Implies: New file.
18461         * sysdeps/x86_64/fpu/Implies: Likewise.
18462         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18463         * sysdeps/x86/fpu/bits/fenv.h: This.
18465         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18466         __SSE_MATH__.
18468 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18470         [BZ #14134]
18471         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18472         character 0xffff that matches the last element of the
18473         conversion table.
18475 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18477         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18478         fmodl commit.
18480 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18483         values higher than 25.6283.
18485 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18487         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18488         subnormal exponent extraction and add some __builtin_expect.
18489         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18490         Fix for subnormal mantissa calculation.
18492 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18494         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18495         cpu2 is -1 and errno is not ENOSYS.
18497 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18499         [BZ #14117]
18500         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18501         * sysdeps/x86/bits/string.h: This.
18502         * sysdeps/x86_64/bits/string.h: Removed.
18504         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18505         if not compiling for x86-64, but compiling for >= i486.
18507         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18508         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18510         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18511         New macro from Linux kernel 3.4.0.
18512         (FP_XSTATE_MAGIC2): Likewise.
18513         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18514         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18515         (struct _fpx_sw_bytes): New struct.
18516         (struct _xsave_hdr): Likewise.
18517         (struct _ymmh_state): Likewise.
18518         (struct _xstate): Likewise.
18520         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18521         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18522         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18523         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18524         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18525         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18527         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18528         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18529         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18530         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18531         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18532         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18534 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18536         [BZ #13743]
18537         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18538         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18539         (sysdep_headers): Include sys/platform/ppc.h.
18540         * sysdeps/powerpc/test-gettimebase.c: Test for
18541         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18542         * manual/Makefile (appendices): Include platform.texi.
18543         * manual/contrib.texi (Contributors): Update @node pointers.
18544         * manual/maint.texi (Maintenance): Likewise.
18545         (Platform): New node.
18546         * manual/platform.texi: New file.  Document the new features.
18548 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18549             Jakub Jelinek  <jakub@redhat.com>
18551         [BZ #14188]
18552         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18553         where __builtin_expect is unavailable.
18555 2012-06-03  David S. Miller  <davem@davemloft.net>
18557         * stdlib/longlong.h: Updated from GCC.
18559 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18561         [BZ #14042]
18562         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18563         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18564         __mcount_internal.
18565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18566         (GLIBC_2.16): Likewise.
18568 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18570         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18572 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18575         (default-abi): New variable.
18576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18577         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18578         variable.
18579         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18580         Likewise.
18581         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18582         Likewise.
18583         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18584         Likewise.
18586         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18587         definition.  Document in comment.
18589 2012-06-01  David S. Miller  <davem@davemloft.net>
18591         * stdlib/longlong.h: Updated from GCC.
18593 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18595         [BZ #14117]
18596         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18597         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18598         sys/debugreg.h sys/io.h here.
18599         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18600         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18601         sys/io.h.
18602         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18603         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18604         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18605         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18606         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18607         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18609         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18610         Define only if __x86_64__ is defined.
18612 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18614         [BZ #14048]
18615         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18616         Use int64_t for variable i.
18617         * math/libm-test.inc (fmod_test): Add more tests.
18619         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18620         z computation is not scheduled after fetestexcept.
18621         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18622         Use math_force_eval instead of asm to ensure calculation scheduled
18623         before exception test.
18624         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18625         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18627 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18630         computation is not scheduled after fetestexcept.
18632 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18634         [BZ #14117]
18635         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18636         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18638 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18640         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18641         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18643 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18645         [BZ #14117]
18646         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18647         <bits/wordsize.h>.
18648         (__WCHAR_MIN): Support __WORDSIZE == 64.
18649         (__WCHAR_MAX): Likewise.
18651         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18652         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18654         [BZ #14183]
18655         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18656         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18658         [BZ #14117]
18659         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18660         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18662         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18663         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18665         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18666         Defined to 1 if __x86_64__ isn't defined.
18667         (_STAT_VER_LINUX_OLD): New.
18668         (st_atime): Remove duplicate.
18669         (st_mtime): Likewise.
18670         (st_ctime): Likewise.
18672 2012-05-31  David S. Miller  <davem@davemloft.net>
18674         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18675         entries.
18677 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18679         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18680         gen-libm-test.pl.
18682         [BZ #14132]
18683         * elf/dl-reloc.c: Include <_itoa.h>.
18684         (_dl_reloc_bad_type): Remove use of INTUSE.
18685         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18686         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18687         * stdio-common/psiginfo.c (psiginfo): Likewise.
18688         * stdio-common/psignal.c (psignal): Likewise.
18689         * string/strsignal.c (strsignal): Likewise.
18690         * include/signal.h (_sys_siglist): Declare hidden proto.
18691         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18692         INTVARDEF with libc_hidden_data_def.
18693         * stdio-common/itoa-udigits.c: Likewise.
18694         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18695         (_itoa_lower_digits_internal): Remove declaration.
18696         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18697         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18698         (_sys_sigabbrev_internal): Remove aliases.
18699         (_sys_siglist): Define hidden alias.
18701 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18704         bits/sysctl.h.
18706 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18708         [BZ #14117]
18709         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18710         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18712         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18713         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18714         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18715         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18716         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18717         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18719         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18720         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18721         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18723         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18724         with __addr.
18725         (insw): Likewise.
18726         (insl): Likewise.
18727         (outsb): Likewise.
18728         (outsw): Likewise.
18729         (outsl): Likewise.
18731         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18732         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18733         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18735         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18736         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18737         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18738         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18739         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18740         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18742         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18743         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18745         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18746         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18748         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18749         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18750         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18752         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18753         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18754         to ...
18755         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18757         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18758         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18759         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18761         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18762         for x86-64.
18763         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18765 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18767         * math/math.h (M_El): Use two more decimal places.
18768         (M_LOG2El): Likewise.
18769         (M_LOG10El): Likewise.
18770         (M_LN2l): Likewise.
18771         (M_LN10l): Likewise.
18772         (M_PIl): Likewise.
18773         (M_PI_2l): Likewise.
18774         (M_PI_4l): Likewise.
18775         (M_1_PIl): Likewise.
18776         (M_2_PIl): Likewise.
18777         (M_2_SQRTPIl): Likewise.
18778         (M_SQRT2l): Likewise.
18779         (M_SQRT1_2l): Likewise.
18781 2012-05-31  David S. Miller  <davem@davemloft.net>
18783         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18784         values between float registers.
18785         * sysdeps/sparc/sparc64/memset.S: Likewise.
18786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18788 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18790         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18791         -D_FORTIFY_SOURCE=1.
18792         (CPPFLAGS-tst-longjmp_chk.c): Define.
18793         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18794         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18795         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18796         CFLAGS-tst-wchar-h.c.
18798 2012-05-31  Marek Polacek  <polacek@redhat.com>
18800         [BZ #14132]
18801         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18802         __endmntent_internal): Remove declaration.
18803         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18804         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18805         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18807 2012-05-30  David S. Miller  <davem@davemloft.net>
18809         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18810         (___Q_simulate_exceptions): Use real FP ops rather than writing
18811         into the %fsr.
18812         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18813         Likewise.
18815 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18817         [BZ #14117]
18818         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18819         * sysdeps/x86/bits/xtitypes.h: This.
18821         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18822         * sysdeps/x86/bits/wordsize.h: This.
18824         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18825         * sysdeps/x86/bits/huge_vall.h: This.
18827         * sysdeps/i386/bits/select.h: Removed.
18828         * sysdeps/x86_64/bits/select.h: Renamed to ...
18829         * sysdeps/x86/bits/select.h: This.
18831         * sysdeps/i386/bits/setjmp.h: Removed.
18832         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18833         * sysdeps/x86/bits/setjmp.h: This.
18835         * sysdeps/i386/bits/mathdef.h: Removed.
18836         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18837         * sysdeps/x86/bits/mathdef.h: This.
18839 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18841         [BZ #14132]
18842         * include/sys/socket.h (__connect_internal)
18843         (__libc_sa_len_internal): Remove declaration.
18844         (__connect, __libc_sa_len): Declare hidden_proto.
18845         (SA_LEN): Remove use of INTUSE.
18846         * socket/connect.c: Add libc_hidden_def.
18847         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18848         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18849         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18850         alias.
18851         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18852         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18853         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18854         of adding _internal alias.
18856 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18858         [BZ #14117]
18859         * sysdeps/i386/bits/link.h: Removed.
18860         * sysdeps/i386/bits/linkmap.h: Likewise.
18861         * sysdeps/x86_64/bits/link.h: Renamed to ...
18862         * sysdeps/x86/bits/link.h: This.
18863         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18864         * sysdeps/x86/bits/linkmap.h: This.
18866         * sysdeps/i386/bits/endian.h: Removed.
18867         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18868         * sysdeps/x86/bits/endian.h: This.
18870         * sysdeps/i386/bits/byteswap.h: Removed.
18871         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18872         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18873         * sysdeps/x86/bits/byteswap.h: This.
18874         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18875         * sysdeps/x86/bits/byteswap-16.h: This.
18876         * sysdeps/i386/Implies: Add x86.
18877         * sysdeps/x86_64/Implies: Likewise.
18879 2012-05-30  David S. Miller  <davem@davemloft.net>
18881         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18882         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18883         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18884         (FP_TRAPPING_EXCEPTIONS): Define.
18885         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18886         (FP_TRAPPING_EXCEPTIONS): Define.
18887         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18888         subnormals only when inexact has been signalled or underflow
18889         exceptions are enabled.
18890         (_FP_PACK_CANONICAL): Likewise.
18892 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18894         [BZ #14183]
18895         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18896         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18898 2012-05-30  Richard Henderson  <rth@twiddle.net>
18900         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18901         with #ifndef NOT_IN_libc.
18903         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18904         marked to avoid plt entry.
18906 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18908         [BZ #14112]
18909         * Makeconfig (default-abi): New macro.
18910         (abi-includes): Likewise.
18911         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18912         $(abi-$(default-abi)-lib-soname) for soname if defined.
18913         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18914         abi-variants.
18915         * Makefile (installed-stubs): Likewise.
18916         * include/stubs-biarch.h: Removed.
18917         * scripts/lib-names.awk: Only handle one library at a time.
18918         * scripts/soversions.awk: Remove WORDSIZE support.
18919         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18920         entries.
18921         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18922         Removed.
18923         (syscall-list-default-condition): Likewise.
18924         (syscall-list-default-condition): Likewise.
18925         (syscall-list-includes): Likewise.
18926         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18927         syscall-list-* with abi-*.  Handle undefined abi-variants.
18928         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18929         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18930         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18931         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18932         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18933         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18934         Removed.
18935         (syscall-list-32-options): Likewise.
18936         (syscall-list-32-condition): Likewise.
18937         (syscall-list-64-options): Likewise.
18938         (syscall-list-64-condition): Likewise.
18939         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18940         macro.
18941         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18942         Renamed to ...
18943         (abi-*): This.
18944         (abi-64-ld-soname): New macro.
18945         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18946         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18947         Renamed to ...
18948         (abi-*): This.
18949         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18950         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18952 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18954         * sysdeps/unix/sysv/linux/kernel-features.h
18955         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18956         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18957         include <kernel-features.h>.
18958         [!__NR_ftruncate64]: Remove conditional code.
18959         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18960         [__NR_ftruncate64]: Make code unconditional.
18961         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18962         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18963         include <kernel-features.h>.
18964         [!__NR_ftruncate64]: Remove conditional code.
18965         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18966         [__NR_ftruncate64]: Make code unconditional.
18967         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18969         include <kernel-features.h>.
18970         [!__NR_ftruncate64]: Remove conditional code.
18971         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18972         [__NR_ftruncate64]: Make code unconditional.
18973         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18975         include <kernel-features.h>.
18976         [!__NR_ftruncate64]: Remove conditional code.
18977         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18978         [__NR_ftruncate64]: Make code unconditional.
18979         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18981         * configure.in (libc_cv_fpie): Weaken to a compile test using
18982         LIBC_TRY_CC_OPTION.
18983         * configure: Regenerated.
18985 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18991         Refreshed.
18992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18998         Refreshed.
19000 2012-05-27  David S. Miller  <davem@davemloft.net>
19002         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19003         (___Q_zero): New.
19004         (__Q_simulate_exceptions): Return void.  Change to simulate
19005         exceptions by writing into the %fsr.
19006         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19007         (__Qp_handle_exceptions): Likewise.
19008         (numbers): Delete.
19009         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19010         __Qp_handle_exceptions.
19011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19012         __Qp_handle_exceptions.
19013         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19014         as unused and give dummy FP_RND_NEAREST initializer.
19015         (FP_INHIBIT_RESULTS): Define.
19016         (___Q_simulate_exceptions): Update declaration.
19017         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19018         formatting.
19019         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19020         as unused and give dummy FP_RND_NEAREST initializer.
19021         (__Qp_handle_exceptions): Update declaration.
19022         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19023         formatting.
19025 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19027         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19028         the temporary FPU control word.
19029         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19030         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19031         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19032         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19033         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19034         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19035         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19036         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19037         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19038         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19039         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19041 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19043         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19044         fields.
19046 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19048         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19049         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19050         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19051         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19052         Likewise.
19053         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19054         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19055         Likewise.
19057 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19059         * po/h.po: Update from translation team.
19061 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19063         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19065         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19066         handling of denormals.
19067         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19068         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19069         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19070         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19072         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19074         Likewise.
19076 2012-05-26  Marek Polacek  <polacek@redhat.com>
19078         [BZ #14152]
19079         * math/libm-test.inc (fma_test): Don't always expect underflow
19080         exception.
19082 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19084         [BZ #12416]
19085         * elf/tst-execstack.c: Include stackinfo.h.
19086         (do_test): Adjust test case to ensure that pthread_getattr_np
19087         behaviour remains the same after marking stack executable.
19089 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19091         * sysdeps/unix/sysv/linux/kernel-features.h
19092         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19093         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19094         kernel-features.h.
19095         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19096         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19097         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19098         kernel-features.h.
19099         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19100         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19102 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19104         * configure.in: Define the default includes to being none.
19105         * configure: Regenerated.
19107 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19109         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19110         * sysdeps/x86_64/setjmp.S: Likewise.
19111         * sysdeps/i386/bsd-setjmp.S: Likewise.
19112         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19113         * sysdeps/i386/setjmp.S: Likewise.
19114         * sysdeps/i386/__longjmp.S: Likewise.
19115         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19116         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19118         * include/stap-probe.h: New file.
19119         * configure.in: Handle --enable-systemtap.
19120         * configure: Regenerated.
19121         * config.h.in (USE_STAP_PROBE): New #undef.
19122         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19123         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19124         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19126 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19128         [BZ #13717]
19129         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19130         to 2.4.0 where earlier.
19131         * sysdeps/unix/sysv/linux/configure: Regenerated.
19132         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19133         <kernel-features.h>.
19134         [__ASSUME_32BITUIDS]: Make code unconditional.
19135         [!__ASSUME_32BITUIDS]: Remove conditional code.
19136         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19137         <kernel-features.h>.
19138         [__ASSUME_32BITUIDS]: Make code unconditional.
19139         [!__ASSUME_32BITUIDS]: Remove conditional code.
19140         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19141         [__ASSUME_32BITUIDS]: Make code unconditional.
19142         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19143         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19144         <kernel-features.h>.
19145         [__ASSUME_32BITUIDS]: Make code unconditional.
19146         [!__ASSUME_32BITUIDS]: Remove conditional code.
19147         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19148         <kernel-features.h>.
19149         [__ASSUME_32BITUIDS]: Make code unconditional.
19150         [!__ASSUME_32BITUIDS]: Remove conditional code.
19151         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19152         <kernel-features.h>.
19153         [__ASSUME_32BITUIDS]: Make code unconditional.
19154         [!__ASSUME_32BITUIDS]: Remove conditional code.
19155         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19156         <kernel-features.h>.
19157         [__ASSUME_32BITUIDS]: Make code unconditional.
19158         [!__ASSUME_32BITUIDS]: Remove conditional code.
19159         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19160         <kernel-features.h>.
19161         [__ASSUME_32BITUIDS]: Make code unconditional.
19162         [!__ASSUME_32BITUIDS]: Remove conditional code.
19163         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19164         <kernel-features.h>.
19165         [__ASSUME_32BITUIDS]: Make code unconditional.
19166         [!__ASSUME_32BITUIDS]: Remove conditional code.
19167         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19168         <kernel-features.h>.
19169         [__ASSUME_32BITUIDS]: Make code unconditional.
19170         [!__ASSUME_32BITUIDS]: Remove conditional code.
19171         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19172         <kernel-features.h>.
19173         [__ASSUME_32BITUIDS]: Make code unconditional.
19174         [!__ASSUME_32BITUIDS]: Remove conditional code.
19175         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19176         <kernel-features.h>.
19177         [__ASSUME_32BITUIDS]: Make code unconditional.
19178         [!__ASSUME_32BITUIDS]: Remove conditional code.
19179         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19180         <kernel-features.h>.
19181         [__ASSUME_32BITUIDS]: Make code unconditional.
19182         [!__ASSUME_32BITUIDS]: Remove conditional code.
19183         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19184         <kernel-features.h>.
19185         [__NR_setresgid] (__setresgid): Do not declare.
19186         [__ASSUME_32BITUIDS]: Make code unconditional.
19187         [!__ASSUME_32BITUIDS]: Remove conditional code.
19188         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19189         <kernel-features.h>.
19190         [__NR_setresuid] (__setresuid): Do not declare.
19191         [__ASSUME_32BITUIDS]: Make code unconditional.
19192         [!__ASSUME_32BITUIDS]: Remove conditional code.
19193         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19194         <kernel-features.h>.
19195         [__ASSUME_32BITUIDS]: Make code unconditional.
19196         [!__ASSUME_32BITUIDS]: Remove conditional code.
19197         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19198         <kernel-features.h>.
19199         [__ASSUME_32BITUIDS]: Make code unconditional.
19200         [!__ASSUME_32BITUIDS]: Remove conditional code.
19201         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19202         <kernel-features.h>.
19203         [__ASSUME_32BITUIDS]: Make code unconditional.
19204         [!__ASSUME_32BITUIDS]: Remove conditional code.
19205         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19206         <kernel-features.h>.
19207         [__ASSUME_32BITUIDS]: Make code unconditional.
19208         [!__ASSUME_32BITUIDS]: Remove conditional code.
19209         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19210         <kernel-features.h>.
19211         [__ASSUME_32BITUIDS]: Make code unconditional.
19212         [!__ASSUME_32BITUIDS]: Remove conditional code.
19213         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19214         <kernel-features.h>.
19215         [__ASSUME_32BITUIDS]: Make code unconditional.
19216         [!__ASSUME_32BITUIDS]: Remove conditional code.
19217         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19218         <kernel-features.h>.
19219         [__ASSUME_32BITUIDS]: Make code unconditional.
19220         [!__ASSUME_32BITUIDS]: Remove conditional code.
19221         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19222         <kernel-features.h>.
19223         [__ASSUME_32BITUIDS]: Make code unconditional.
19224         [!__ASSUME_32BITUIDS]: Remove conditional code.
19225         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19226         <kernel-features.h>.
19227         [__ASSUME_32BITUIDS]: Make code unconditional.
19228         [!__ASSUME_32BITUIDS]: Remove conditional code.
19229         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19230         <kernel-features.h>.
19231         [__ASSUME_32BITUIDS]: Make code unconditional.
19232         [!__ASSUME_32BITUIDS]: Remove conditional code.
19233         * sysdeps/unix/sysv/linux/kernel-features.h
19234         (__ASSUME_SETRESUID_SYSCALL): Remove.
19235         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19236         (__ASSUME_32BITUIDS): Likewise.
19237         (__ASSUME_LDT_WORKS): Likewise.
19238         (__ASSUME_O_DIRECTORY): Likewise.
19239         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19240         architecture but not kernel version.
19241         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19242         (__ASSUME_MMAP2_SYSCALL): Likewise.
19243         (__ASSUME_STAT64_SYSCALL): Likewise.
19244         (__ASSUME_IPC64): Likewise.
19245         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19246         <kernel-features.h>.
19247         [__ASSUME_32BITUIDS]: Make code unconditional.
19248         [!__ASSUME_32BITUIDS]: Remove conditional code.
19249         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19250         <kernel-features.h>.
19251         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19252         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19253         132096]: Remove conditional code.
19254         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19255         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19256         <kernel-features.h>.
19257         [__ASSUME_32BITUIDS]: Make code unconditional.
19258         [!__ASSUME_32BITUIDS]: Remove conditional code.
19259         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19260         <kernel-features.h>.
19261         [__ASSUME_32BITUIDS]: Make code unconditional.
19262         [!__ASSUME_32BITUIDS]: Remove conditional code.
19263         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19264         <kernel-features.h>.
19265         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19266         unconditional.
19267         (__setresgid): Do not declare.
19268         [__ASSUME_32BITUIDS]: Make code unconditional.
19269         [!__ASSUME_32BITUIDS]: Remove conditional code.
19270         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19271         <kernel-features.h>.
19272         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19273         unconditional.
19274         (__setresuid): Do not declare.
19275         [__ASSUME_32BITUIDS]: Make code unconditional.
19276         [!__ASSUME_32BITUIDS]: Remove conditional code.
19277         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19278         <kernel-features.h>.
19279         [__ASSUME_32BITUIDS]: Make code unconditional.
19280         [!__ASSUME_32BITUIDS]: Remove conditional code.
19281         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19282         <kernel-features.h>.
19283         [__ASSUME_32BITUIDS]: Make code unconditional.
19284         [!__ASSUME_32BITUIDS]: Remove conditional code.
19286 2012-05-25  Richard Henderson  <rth@twiddle.net>
19288         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19289         dl_hwcap to ifunc resolver.
19290         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19291         elf_ifunc_invoke.
19292         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19293         dl_hwcap to ifunc resolver.
19294         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19296 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19298         [BZ #14153]
19299         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19300         for |x| <= 2**-26, not 2**-57.
19301         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19302         exception.
19304 2012-05-24  Jeff Law  <law@redhat.com>
19306         * stdio-common/Makefile (tests): Add bug25.
19307         * stdio-common/bug25.c: New test.
19309 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19311         [BZ #13576]
19312         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19313         multiple of MALLOC_ALIGNMENT in size.
19314         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19316 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19318         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19319         Require >= 256.
19320         (FILENAME_MAX): Use macro-int-constant.
19321         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19322         (_IOFBF): Use macro-int-constant.
19323         (_IOLBF): Likewise.
19324         (_IONBF): Likewise.
19325         (SEEK_CUR): Likewise.
19326         (SEEK_END): Likewise.
19327         (SEEK_SET): Likewise.
19328         (TMP_MAX): Likewise.
19329         (EOF): Use macro-int-constant.  Require < 0.
19330         (NULL): Use macro-constant.  Require == 0.
19331         (stdin): Require type to be FILE *.
19332         (stdout): Likewise.
19333         (stderr): Likewise.
19334         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19335         macro-int-constant.
19336         (EXIT_SUCCESS): Likewise.
19337         (NULL): Use macro-constant.  Require == 0.
19338         (RAND_MAX): Use macro-int-constant.
19339         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19340         [C99-based standards] (strtof): Require function.
19341         [C99-based standards] (strtold): Likewise.
19342         [C99-based standards] (strtoll): Likewise.
19343         [C99-based standards] (strtoull): Likewise.
19344         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19345         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19346         [ISO || ISO99 || ISO11] (math.h): Likewise.
19347         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19348         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19351 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19353         [BZ #14132]
19354         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19355         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19356         * intl/dgettext.c (DCGETTEXT): Likewise.
19357         * intl/gettext.c (DCGETTEXT): Likewise.
19358         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19359         * posix/regex_internal.h (gettext): Likewise.
19360         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19361         Remove declaration.
19362         * include/argz.h (__argz_count_internal)
19363         (__argz_stringify_internal): Remove declaration.
19364         (__argz_count, __argz_stringify): Declare hidden proto.
19365         * intl/dcgettext.c: Remove use of INTDEF.
19366         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19367         * string/argz-stringify.c: Likewise.
19368         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19369         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19370         Declare hidden proto.
19371         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19372         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19373         Declare hidden proto.
19374         * include/stdio.h (__asprintf_internal): Don't declare.
19375         (__asprintf): Don't define as macro.  Declare hidden proto.
19376         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19377         (__fsetlocking): Declare hidden proto.
19378         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19379         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19380         hidden proto.
19381         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19382         (_IO_setlinebuf): Remove use of INTUSE.
19383         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19384         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19385         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19386         Remove declaration.
19387         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19388         (_IO_do_flush): Remove use of INTUSE.
19389         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19390         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19391         (_IO_adjust_column, _IO_least_wmarker)
19392         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19393         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19394         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19395         (_IO_default_doallocate, _IO_wdefault_doallocate)
19396         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19397         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19398         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19399         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19400         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19401         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19402         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19403         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19404         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19405         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19406         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19407         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19408         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19409         proto.
19410         (_IO_flush_all_internal, _IO_adjust_column_internal)
19411         (_IO_default_uflow_internal, _IO_default_finish_internal)
19412         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19413         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19414         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19415         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19416         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19417         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19418         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19419         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19420         (_IO_file_close_internal, _IO_file_close_it_internal)
19421         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19422         (_IO_file_init_internal, _IO_file_attach_internal)
19423         (_IO_file_fopen_internal, _IO_file_read_internal)
19424         (_IO_file_sync_internal, _IO_file_seek_internal)
19425         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19426         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19427         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19428         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19429         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19430         (_IO_list_all_internal, _IO_link_in_internal)
19431         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19432         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19433         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19434         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19435         (_IO_do_write_internal, _IO_padn_internal)
19436         (_IO_getline_info_internal, _IO_getline_internal)
19437         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19438         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19439         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19440         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19441         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19442         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19443         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19444         with libc_hidden_ver, remove use of INTUSE.
19445         * libio/genops.c: Likewise.
19446         * libio/freopen.c: Likewise.
19447         * libio/freopen64.c: Likewise.
19448         * libio/iofclose.c: Likewise.
19449         * libio/iofdopen.c: Likewise.
19450         * libio/iofflush.c: Likewise.
19451         * libio/iofflush_u.c: Likewise.
19452         * libio/iofgets.c: Likewise.
19453         * libio/iofgets_u.c: Likewise.
19454         * libio/iofopen.c: Likewise.
19455         * libio/iofopncook.c: Likewise.
19456         * libio/iofread.c: Likewise.
19457         * libio/iofread_u.c: Likewise.
19458         * libio/ioftell.c: Likewise.
19459         * libio/iofwrite.c: Likewise.
19460         * libio/iogetline.c: Likewise.
19461         * libio/iogets.c: Likewise.
19462         * libio/iogetwline.c: Likewise.
19463         * libio/iopadn.c: Likewise.
19464         * libio/iopopen.c: Likewise.
19465         * libio/ioseekoff.c: Likewise.
19466         * libio/ioseekpos.c: Likewise.
19467         * libio/iosetbuffer.c: Likewise.
19468         * libio/iosetvbuf.c: Likewise.
19469         * libio/ioungetc.c: Likewise.
19470         * libio/ioungetwc.c: Likewise.
19471         * libio/iovdprintf.c: Likewise.
19472         * libio/iovsprintf.c: Likewise.
19473         * libio/iovsscanf.c: Likewise.
19474         * libio/memstream.c: Likewise.
19475         * libio/obprintf.c: Likewise.
19476         * libio/oldfileops.c: Likewise.
19477         * libio/oldiofclose.c: Likewise.
19478         * libio/oldiofdopen.c: Likewise.
19479         * libio/oldiofopen.c: Likewise.
19480         * libio/oldiopopen.c: Likewise.
19481         * libio/oldstdfiles.c: Likewise.
19482         * libio/putc.c: Likewise.
19483         * libio/setbuf.c: Likewise.
19484         * libio/setlinebuf.c: Likewise.
19485         * libio/stdfiles.c: Likewise.
19486         * libio/strops.c: Likewise.
19487         * libio/vasprintf.c: Likewise.
19488         * libio/vscanf.c: Likewise.
19489         * libio/vsnprintf.c: Likewise.
19490         * libio/vswprintf.c: Likewise.
19491         * libio/wfiledoalloc.c: Likewise.
19492         * libio/wfileops.c: Likewise.
19493         * libio/wgenops.c: Likewise.
19494         * libio/wmemstream.c: Likewise.
19495         * libio/wstrops.c: Likewise.
19496         * libio/__fpurge.c: Likewise.
19497         * libio/__fsetlocking.c: Likewise.
19498         * assert/assert.c: Likewise.
19499         * debug/fgets_chk.c: Likewise.
19500         * debug/fgets_u_chk.c: Likewise.
19501         * debug/fread_chk.c: Likewise.
19502         * debug/fread_u_chk.c: Likewise.
19503         * debug/gets_chk.c: Likewise.
19504         * debug/obprintf_chk.c: Likewise.
19505         * debug/vasprintf_chk.c: Likewise.
19506         * debug/vdprintf_chk.c: Likewise.
19507         * debug/vsnprintf_chk.c: Likewise.
19508         * debug/vsprintf_chk.c: Likewise.
19509         * malloc/mtrace.c: Likewise.
19510         * misc/error.c: Likewise.
19511         * misc/syslog.c: Likewise.
19512         * stdio-common/asprintf.c: Likewise.
19513         * stdio-common/fxprintf.c: Likewise.
19514         * stdio-common/getw.c: Likewise.
19515         * stdio-common/isoc99_fscanf.c: Likewise.
19516         * stdio-common/isoc99_scanf.c: Likewise.
19517         * stdio-common/isoc99_vfscanf.c: Likewise.
19518         * stdio-common/isoc99_vscanf.c: Likewise.
19519         * stdio-common/isoc99_vsscanf.c: Likewise.
19520         * stdio-common/printf-prs.c: Likewise.
19521         * stdio-common/printf_fp.c: Likewise.
19522         * stdio-common/printf_fphex.c: Likewise.
19523         * stdio-common/printf_size.c: Likewise.
19524         * stdio-common/putw.c: Likewise.
19525         * stdio-common/scanf.c: Likewise.
19526         * stdio-common/sprintf.c: Likewise.
19527         * stdio-common/tmpfile.c: Likewise.
19528         * stdio-common/vfprintf.c: Likewise.
19529         * stdio-common/vfscanf.c: Likewise.
19530         * stdlib/strfmon_l.c: Likewise.
19531         * sunrpc/openchild.c: Likewise.
19532         * sunrpc/xdr_stdio.c: Likewise.
19533         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19534         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19536 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19538         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19540         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19541         in the third column, to generate for the shared library an IFUNC
19542         that uses _dl_vdso_vsym.
19543         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19544         * Makeconfig (object-suffixes-noshared): New variable.
19546         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19547         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19548         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19549         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19551         [BZ #14132]
19552         * include/sys/time.h (__gettimeofday): Remove macro.
19553         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19554         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19555         Remove INTDEF.
19556         (__gettimeofday): Add libc_hidden_def.
19557         (gettimeofday): Add libc_hidden_weak.
19558         * sysdeps/mach/gettimeofday.c: Likewise.
19559         * sysdeps/posix/gettimeofday.c: Likewise.
19560         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19561         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19563         (__gettimeofday_internal): Remove strong_alias.
19564         (__gettimeofday): Add libc_hidden_def.
19565         (gettimeofday): Add libc_hidden_weak.
19566         * sysdeps/unix/syscalls.list (gettimeofday):
19567         Remove __gettimeofday_internal alias.
19569 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19570             H.J. Lu  <hongjiu.lu@intel.com>
19572         [BZ #12495]
19573         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19574         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19575         (largebin_index_32_big): New.
19576         (largebin_index): Use it for 16-byte alignment.
19577         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19578         correction with front_misalign.
19580 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19584         Likewise.
19585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19586         Likewise.
19587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19588         Likewise.
19589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19590         Likewise.
19591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19592         Likewise.
19593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19594         Likewise.
19595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19596         Likewise.
19597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19598         Likewise.
19599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19600         Likewise.
19601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19602         Likewise.
19603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19604         Likewise.
19605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19606         Likewise.
19608         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19609         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19611 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19613         [BZ #10846]
19614         [BZ #14036]
19615         * math/libm-test.inc (exp_test): Add test from bug 14036.
19616         (pow_test): Add test from bug 10846.
19618         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19619         and other flags.
19620         (special_function): Do not include flags in test name.
19621         (parse_args): Likewise.
19622         * sysdeps/i386/fpu/libm-test-ulps: Update.
19623         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19624         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19625         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19628         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19629         exceptions.
19630         * math/libm-test.inc ("Philosophy"): Update comment about
19631         exception testing.
19632         (UNDERFLOW_EXCEPTION): New macro.
19633         (UNDERFLOW_EXCEPTION_OK): Likewise.
19634         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19635         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19636         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19637         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19638         (INVALID_EXCEPTION_OK): Update value.
19639         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19640         (OVERFLOW_EXCEPTION_OK): Likewise.
19641         (IGNORE_ZERO_INF_SIGN): Likewise.
19642         (test_exceptions): Handle underflow exceptions.
19643         (acos_test): Update for underflow exception expectations.
19644         (cexp_test): Likewise.
19645         (clog_test): Likewise.
19646         (clog10_test): Likewise.
19647         (csqrt_test): Likewise.
19648         (ctan_test): Likewise.
19649         (ctanh_test): Likewise.
19650         (exp_test): Likewise.
19651         (exp10_test): Likewise.
19652         (exp2_test): Likewise.
19653         (expm1_test): Likewise.
19654         (fma_test): Likewise.
19655         (j0_test): Likewise.
19656         (jn_test): Likewise.
19657         (nexttoward_test): Likewise.
19658         (pow_test): Likewise.
19659         (scalbn_test): Likewise.
19660         (scalbln_test): Likewise.
19661         (tan_test): Likewise.
19662         (y1_test): Likewise.
19663         * sysdeps/i386/fpu/libm-test-ulps: Update.
19664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19666 2012-05-23  David S. Miller  <davem@davemloft.net>
19668         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19669         (__libc_sigaction): Remove unused local variables.
19671 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19673         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19675 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19677         mktime: avoid signed integer overflow
19678         * time/mktime.c (__mktime_internal): Do not mishandle the case
19679         where diff == INT_MIN.
19681         mktime: simplify computation of average
19682         * time/mktime.c (ranged_convert): Use new time_t_avg function
19683         instead of rolling our own (probably-slower) code.
19685         mktime: do not assume signed right shift propagates sign bit
19686         * time/mktime.c (isdst_differ): New static function.
19687         (__mktime_internal): No need to normalize tm_isdst now.
19688         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19689         tm_isdst values.
19691         mktime: merge another wrapv change from gnulib
19692         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19693         from some compilers.
19695         mktime: remove incorrect attempt at unusual arithmetics
19696         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19697         The code didn't really work on such machines anyway.
19698         (TYPE_MINIMUM): Assume two's complement.
19699         (twos_complement_arithmetic): Verify that long_int and time_t
19700         are two's complement (or unsigned, in the latter case).
19702         mktime: check signed shifts on long_int and time_t, too
19703         * time/mktime.c (SHR): Check that shifts work as desired
19704         on the types long_int and time_t too, as SHR is used on
19705         such types.
19707         mktime: do not assume 'long' is wide enough
19708         * time/mktime.c (verify): Move decl up.
19709         (long_int): New type.
19710         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19711         to remove assumption in the code that 'long' is wide enough to
19712         store year values.  This assumption is not true on x32 and on
19713         some non-glibc platforms.
19715         mktime: merge wrapv change from gnulib
19716         * time/mktime.c (WRAPV): New macro.
19717         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19718         (guess_time_tm, __mktime_internal): Do not assume that signed
19719         integer overflow wraps around; modern compilers generate code
19720         where this assumption is no longer valid.
19722 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19724         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19725         Replace "jmp L(pseudo_end)" with "ret".
19726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19727         Likewise.
19729 2012-05-23  Andreas Jaeger  <aj@suse.de>
19731         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19732         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19734 2012-05-23  Andreas Jaeger  <aj@suse.de>
19735             Maximilian Attems  <max@stro.at>
19737         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19738         New macros.
19740 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19742         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19743         code so that pseudo_end is just ret and the stack pointer is
19744         correct also for static library in error case.
19746 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19748         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19749         move to syscalls.list.
19750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19755         * manual/install.texi (Running make install): Do not mention Linux
19756         kernel version for which pt_chown is not needed.
19757         (Linux): Do not mention problems with nscd with 2.0 kernels.
19758         * INSTALL: Regenerated.
19760 2012-05-23  Andreas Jaeger  <aj@suse.de>
19762         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19763         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19764         macro.
19765         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19766         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19767         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19768         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19769         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19770         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19771         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19772         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19773         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19774         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19775         * sysdeps/unix/sysv/linux/bits/in.h
19776         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19778 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19780         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19781         (PREPARE_VERSION): Just use assert instead, it will be elided
19782         under [NDEBUG] anyway.
19784 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19786         * sysdeps/unix/sysv/linux/Makefile: Include
19787         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19788         (sysdep_routines): Remove sysctl.
19789         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19790         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19791         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19792         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19793         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19795 2012-05-22  Andreas Jaeger  <aj@suse.de>
19797         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19798         that pseudo_end is just ret and the stack pointer is correct also
19799         for static library in error case.
19801 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19803         [BZ #14122]
19804         * nss/nsswitch.c (defconfig_entries): New variable.
19805         (__nss_database_lookup): Don't leak defconfig entries.
19806         (nss_parse_service_list): Don't leak on error paths.
19807         (free_database_entries): New function.
19808         (free_defconfig): New function.
19809         (free_mem): Move common code to free_database_entries.
19811 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19813         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19814         Add arch_prctl.
19815         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19817         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19818         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19820         New macro.
19821         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19822         (INTERNAL_SYSCALL_TYPES): Likewise.
19823         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19824         (LOAD_REGS_TYPES_[1-6]): Likewise.
19825         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19826         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19828 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19830         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19831         copysignl for GLIBC_2_0.
19832         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19833         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19835         logbl for GLIBC_2_0.
19836         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19837         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19839 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19841         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19842         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19844         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19845         Use "neg %eax".
19847         * time/mktime.c: Update copyright years.
19849 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19851         mktime: merge comment-quoting-style change from gnulib
19852         * time/mktime.c: Quote 'like this' in comments.
19853         The GNU coding standards suggest that we no longer quote `like this',
19854         as "`" and "'" are typically rendered asymmetrically nowadays.
19855         The typical gnulib style is to quote 'like this' when quoting
19856         code, and "like this" when quoting English.
19858         * time/mktime.c (compile-command): Add "-I.".
19860         mktime: merge mktime-internal.h change from gnulib
19861         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19863         mktime: merge time_r change from gnulib
19864         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19866         mktime: merge DEBUG change from gnulib
19867         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19868         case system <time.h> has a #define.
19870         mktime: merge <sys/types.h> change from gnulib
19871         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19872         since <time.t> is now guaranteed to define time_t.
19874         mktime: merge HAVE_CONFIG_H change from gnulib
19875         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19877 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19880         Use "neg %eax".
19882         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19883         __rlim_t cast.
19884         (struct rusage): Use anonymous union to pad each field to
19885         __syscall_slong_t.
19887 2012-05-21  David S. Miller  <davem@davemloft.net>
19889         * Makefules (o-iterator): Remove .s cases.
19890         (compile-command.s): Delete.
19891         (COMPILE.s): Delete.
19892         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19894 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19896         * configure.in (libc_cv_predef_stack_protector): Only consider
19897         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19898         * configure: Regenerated.
19900 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19903         New macro.  Use R*LP on int and pointer.
19904         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19905         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19906         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19907         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19909         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19910         [__WORDSIZE_TIME64_COMPAT32] instead of
19911         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19912         (struct utmp): Likewise.
19913         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19914         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19915         Renamed to ...
19916         (__WORDSIZE_TIME64_COMPAT32): This.
19917         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19918         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19919         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19920         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19921         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19922         (__WORDSIZE_TIME64_COMPAT32): New macro.
19924 2012-05-21  Andreas Jaeger  <aj@suse.de>
19926         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19927         only if [SHARED]. Add prototype for __wcschr_ia32.
19929 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19931         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19932         of %rbp unmolested in the jmp_buf while mangling the low bits.
19933         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19934         unmolested high bits of %rbp while demangling the low bits.
19935         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19937 2012-05-21  Andreas Jaeger  <aj@suse.de>
19939         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19940         * sunrpc/svc_simple.c: Use it for registerrpc.
19941         * sunrpc/xcrypt.c: Use it for passwd2des.
19943         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19945 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19947         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19948         Don't define if [__SYSCALL_WORDSIZE != 32].
19949         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19950         New macro.
19952 2012-05-21  Bruno Haible  <bruno@clisp.org>
19953             Andreas Jaeger  <aj@suse.de>
19955         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19956         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19957         inptr and inend for must_buffer_ch.
19958         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19959         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19960         * stdio-common/Makefile (tests): Remove bug15.
19961         (bug15-ENV): Remove macro.
19962         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19963         anymore.
19965 2012-05-19  Andreas Jaeger  <aj@suse.de>
19966             Roland McGrath  <roland@hack.frob.com>
19968         * manual/contrib.texi: Completely rewritten. It contains now an
19969         alphabetical list of contributors and their contributions.
19971 2012-05-21  Richard Henderson  <rth@twiddle.net>
19973         * misc/getauxval.c (__getauxval): Use unsigned long int.
19974         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19975         (getauxval): Use unsigned long int.
19977 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19979         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19981 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19983         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19984         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19985         __alignof__ (long double).
19987 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19991 2012-05-20  Richard Henderson  <rth@twiddle.net>
19993         * misc/getauxval.c: New file.
19994         * misc/sys/auxv.h: New file.
19995         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19996         (routines): Add getauxval.
19997         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19998         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19999         * elf/dl-sysdep.c (_dl_auxv): Remove.
20000         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20001         * elf/dl-support.c (_dl_auxv): New variable.
20002         (_dl_aux_init): Initialize it.
20003         * manual/startup.texi (Auxiliary Vector): New node.
20004         * sysdeps/generic/bits/hwcap.h: New file.
20005         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20006         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20007         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20008         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20009         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20010         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20012         Update.
20013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20016         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20022 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20026 2012-05-19  David S. Miller  <davem@davemloft.net>
20028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20030 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20032         [BZ #14123]
20033         * math/s_ccosh.c: Include <float.h>
20034         (__ccosh): Avoid internal overflow calculating sinh and cosh
20035         values before multiplying by sin and cos values.
20036         * math/s_ccoshf.c: Likewise.
20037         * math/s_ccoshl.c: Likewise.
20038         * math/s_csin.c: Likewise.
20039         * math/s_csinf.c: Likewise.
20040         * math/s_csinl.c: Likewise.
20041         * math/s_csinh.c: Likewise.
20042         * math/s_csinhf.c: Likewise.
20043         * math/s_csinhl.c: Likewise.
20044         * math/libm-test.inc (ccos_test): Add more tests.
20045         (ccosh_test): Likewise.
20046         (csin_test): Likewise.
20047         (csinh_test): Likewise.
20048         * sysdeps/i386/fpu/libm-test-ulps: Update.
20049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20053         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20054         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20056         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20058 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20060         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20061         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20062         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20063         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20064         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20065         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20066         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20067         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20068         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20069         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20070         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20071         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20072         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20073         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20074         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20075         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20076         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20077         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20078         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20079         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20080         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20081         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20082         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20083         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20084         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20085         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20086         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20087         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20088         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20089         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20090         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20092 2012-05-18  Andreas Jaeger  <aj@suse.de>
20094         * csu/.gitignore: Delete.
20096 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20098         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20099         (timex): Use __syscall_slong_t.
20101 2012-05-18  Andreas Jaeger  <aj@suse.de>
20102             Carlos O'Donell  <carlos_odonell@mentor.com>
20104         * manual/install.texi (Configuring and compiling): Update
20105         description about files modified in the source directory.
20106         * INSTALL: Regenerated.
20108 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20110         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20111         value.  Use "or" to set return value to -1.
20112         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20113         negate return value.
20115 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20117         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20118         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20119         failure if the compiler has Graphite support disabled.
20120         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20121         Likewise.
20122         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20123         CFLAGS-memmove.c): Likewise.
20124         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20125         Likewise.
20127 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20129         * sysdeps/x86_64/x32/_itoa.h: New file.
20131         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20132         getdents system call only if kernel and user dirents have the
20133         same d_ino and d_off.
20135         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20136         LLONG_MAX != LONG_MAX.
20137         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20138         (_fitoa_word): Likewise.
20140         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20141         years.
20142         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20143         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20144         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20146         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20147         include <bits/wordsize.h>.  Check __x86_64__ instead of
20148         __WORDSIZE.
20149         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20150         if __x86_64__ is defined.  Use anonymous union on fpstate.
20152         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20153         anonymous union.
20155 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20157         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20158         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20159         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20160         Refer to _rtld_local_ro instead of _rtld_global_ro.
20161         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20162         Likewise.
20163         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20164         Likewise.
20165         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20166         Likewise.
20167         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20168         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20169         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20171         * sysdeps/powerpc/powerpc32/dl-machine.c
20172         (__elf_machine_runtime_setup) [PROF]: Don't reference
20173         _dl_prof_resolve.
20175 2012-05-18  Andreas Jaeger  <aj@suse.de>
20177         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20178         function only available for GCCs before 3.4 since GCC 3.4
20179         introduced a builtin.
20180         (lrint): Likewise.
20181         (llrintf): Likewise.
20182         (llrint): Likewise.
20183         (fmaxf): Likewise.
20184         (fmax): Likewise.
20185         (fminf): Likewise.
20186         (fmin): Likewise.
20187         (rint): Likewise.
20188         (rintf): Likewise.
20189         (nearbyint): Likewise.
20190         (nearbyintf): Likewise.
20191         (ceil): Likewise.
20192         (ceilf): Likewise.
20193         (floor): Likewise.
20194         (floorf): Likewise.
20196 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20198         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20199         on both fields and cast pointer to __syscall_ulong_t.
20201         * bits/types.h (__fsword_t): New type.
20202         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20203         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20204         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20205         (__FSWORD_T_TYPE): Likewise.
20206         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20207         (__FSWORD_T_TYPE): Likewise.
20208         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20209         (__FSWORD_T_TYPE): Likewise.
20210         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20211         (__FSWORD_T_TYPE): Likewise.
20212         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20213         __SWORD_TYPE with __fsword_t.
20214         (statfs64): Likewise.
20216 2012-05-17  David S. Miller  <davem@davemloft.net>
20218         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20220 2012-05-17  Andreas Jaeger  <aj@suse.de>
20222         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20223         warning.
20225 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20227         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20229 2012-05-17  Andreas Jaeger  <aj@suse.de>
20231         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20232         when it is used.
20234 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20236         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20238 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20240         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20241         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20243 2012-05-17  Andreas Jaeger  <aj@suse.de>
20244             Carlos O'Donell  <carlos_odonell@mentor.com>
20246         [BZ #14059]
20247         * sysdeps/x86_64/multiarch/init-arch.h
20248         (bit_YMM_Usable): Rename to...
20249         (bit_AVX_Usable): ... this.
20250         (bit_FMA4_Usable): New macro.
20251         (bit_XMM_state): New macro.
20252         (bit_YMM_state): New macro.
20253         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20254         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20255         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20256         (CPUID_OSXSAVE): New macro.
20257         (CPUID_AVX): New macro.
20258         (CPUID_FMA4): New macro.
20259         (index_YMM_Usable): Rename to...
20260         (index_AVX_Usable): ... this.
20261         (HAS_AVX): Use HAS_ARCH_FEATURE.
20262         (HAS_FMA4): Likewise.
20263         (HAS_YMM_USABLE): Remove.
20264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20265         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20266         are present.
20267         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20268         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20269         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20270         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20271         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20273 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20275         * math/libm-test.c: Support platforms without multiple rounding modes.
20276         * math/bug-nextafter.c: Support platforms without FP exceptions.
20277         * math/bug-nexttoward.c: Likewise.
20278         * math/test-fenv.c: Likewise.
20279         * math/test-misc.c: Likewise.
20280         * stdlib/bug-getcontext.c: Likewise.
20282 2012-05-17  Andreas Jaeger  <aj@suse.de>
20284         * manual/examples/search.c (critter_cmp): Change signature to
20285         avoid warnings.
20286         * manual/string.texi (Collation Functions): Likewise.
20288 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20290         * bits/types.h: Fold copyright years.
20291         * bits/typesizes.h: Likewise.
20292         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20293         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20294         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20295         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20296         * time/time.h: Likewise.
20298 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20300         [BZ #208]
20301         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20302         in instead of returning them.  Return void.
20303         (__libc_mallinfo): Accumulate over all arenas.
20304         (__malloc_stats): Adjust for change in int_mallinfo interface.
20306 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20308         [BZ #10375]
20309         * configure.in (NM): Add AC_CHECK_TOOL for it.
20310         (libc_extra_cflags): New substituted variable.
20311         Check for -fstack-protector being used implicitly.
20312         * configure: Regenerated.
20313         * config.make.in (config-extra-cflags): New variable,
20314         gets @libc_extra_cflags@.
20315         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20317         [BZ #10375]
20318         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20319         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20320         * configure: Regenerated.
20321         * config.make.in (CPPUNDEFS): New substituted variable.
20322         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20323         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20324         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20326 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20328         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20329         (mq_attr): Use __syscall_slong_t.
20331 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20333         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20334         Check __x86_64__ instead of __WORDSIZE.
20335         (_STAT_VER_LINUX): Likewise.
20336         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20337         __syscall_ulong_t and __syscall_slong_t.
20338         (stat64): Likewise.
20340 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20342         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20344 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20346         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20348 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20350         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20351         __syscall_ulong_t.
20353         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20354         include <bits/wordsize.h>.  Check __x86_64__ instead of
20355         __WORDSIZE.
20356         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20357         defined.
20358         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20360         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20361         include <bits/wordsize.h>.  Check __x86_64__ instead of
20362         __WORDSIZE.
20363         (user_regs_struct): Use "__extension__ unsigned long long"
20364         instead of "unsigned long" if __x86_64__ is defined.
20365         (user): Likewise.  Pad after pointer field if __ILP32__ is
20366         defined.
20368 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20370         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20371         versions 5 to 9.
20372         * configure: Regenerated.
20373         * manual/install.texi (texinfo): Increase version requirement to
20374         4.5 or later.
20375         * INSTALL: Regenerated.
20377         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20379 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20381         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20383         * sysdeps/x86_64/x32/ffs.c: New file.
20385         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20386         __syscall_ulong_t.
20387         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20388         defined.  Use __syscall_ulong_t.
20389         (shminfo): Use __syscall_ulong_t.
20390         (shm_info): Likewise.
20392         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20393         __syscall_ulong_t.
20395         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20396         <bits/wordsize.h>.
20397         (msgqnum_t): Use __syscall_ulong_t.
20398         (msglen_t): Likewise.
20399         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20400         __syscall_ulong_t.
20402         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20403         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20405         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20407         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20408         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20410         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20411         __syscall_slong_t.
20413         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20414         include <bits/wordsize.h>.  Check __x86_64__ instead of
20415         __WORDSIZE.
20417         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20418         "unsigned long long int" if __x86_64__ is defined.
20419         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20421         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20422         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20423         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20425         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20426         <stdint.h>.
20427         (GET_PC): Cast to uintptr_t first.
20428         (GET_FRAME): Likewise.
20429         (GET_STACK): Likewise.
20431         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20432         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20433         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20434         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20435         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20436         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20437         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20438         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20439         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20440         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20441         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20442         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20443         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20444         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20446         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20447         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20448         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20449         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20450         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20451         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20452         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20453         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20454         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20455         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20456         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20457         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20458         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20459         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20461 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20463         * Makerules (+depfiles): Also collect depfiles from .oS in
20464         $(extra-objs).
20465         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20466         .oS, $(libnldbl-routines)).
20468         * Makerules (native-compile-mkdep-flags): Define.
20469         * sunrpc/Makefile (extra-objs): Add $(addprefix
20470         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20471         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20472         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20473         calling $(make-target-directory).
20475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20477         * bits/types.h (__snseconds_t): Removed.
20478         * time/time.h (struct timespec): Replace __snseconds_t with
20479         __syscall_slong_t.
20480         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20481         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20482         Likewise.
20483         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20484         (__SNSECONDS_T_TYPE): Likewise.
20485         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20486         (__SNSECONDS_T_TYPE): Likewise.
20487         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20488         (__SNSECONDS_T_TYPE): Likewise.
20490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20492         * sysdeps/mach/hurd/bits/typesizes.h
20493         (__SYSCALL_SLONG_TYPE): New macro.
20494         (__SYSCALL_ULONG_TYPE): Likewise.
20496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20498         * bits/types.h (__syscall_slong_t): New type.
20499         (__syscall_ulong_t): Likewise.
20501         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20502         (__SYSCALL_ULONG_TYPE): Likewise.
20503         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20504         (__SYSCALL_SLONG_TYPE): Likewise.
20505         (__SYSCALL_ULONG_TYPE): Likewise.
20506         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20507         (__SYSCALL_SLONG_TYPE): Likewise.
20508         (__SYSCALL_ULONG_TYPE): Likewise.
20509         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20510         (__SYSCALL_SLONG_TYPE): Likewise.
20511         (__SYSCALL_ULONG_TYPE): Likewise.
20513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20515         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20516         Add sigaltstack-offsets.sym.
20517         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20518         <sigaltstack-offsets.h>.
20519         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20520         longjmp_msg pointer.
20521         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20522         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20523         signal stack.
20524         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20526 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20528         * elf/stackguard-macros.h: Remove file.
20529         * sysdeps/generic/stackguard-macros.h: New file.
20530         * sysdeps/i386/stackguard-macros.h: Likewise.
20531         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20532         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20533         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20534         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20535         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20536         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20537         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20538         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20539         <elf/stackguard-macros.h>.
20541         [BZ #14109]
20542         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20543         __aligned__ in attribute.
20544         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20545         (gregset_t): Likewise.
20547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20549         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20550         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20551         * sysdeps/x86_64/x32/Implies-after: New file.
20553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20555         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20556         and access return value for _dl_profile_fixup.  Use R10_LP to
20557         load frame size.
20559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20561         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20565         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20566         * sysdeps/x86_64/x32/sysdep.h: New file.
20568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20570         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20571         * sysdeps/x86_64/setjmp.S: Likewise.
20573 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20575         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20576         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20577         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20578         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20579         remove unused global constant.
20581 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20583         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20584         include of <not-cancel.h>.
20586 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20588         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20590 2012-05-15  Jeff Law  <law@redhat.com>
20591             Andreas Jaeger  <aj@suse.de>
20593         [BZ #13594]
20594         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20595         out from...
20596         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20597         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20598         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20599         code changing __hst_map_handle.map.
20601 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20603         * configure.in (sysnames): Look for Implies-before and Implies-after
20604         files.
20605         * configure: Regenerated.
20607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20609         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20610         8-byte data alignment with LP_SIZE alignment.
20612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20614         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20615         into R10_LP.
20617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20619         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20623         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20624         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20625         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20626         Likewise.
20627         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20631         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20632         (stackinfo_sub_sp): Likewise.
20634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20636         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20637         RAX_LP.
20639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20641         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20642         into R*_LP.
20644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20646         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20647         sizes into R*_LP.
20649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20651         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20655         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20656         into R11_LP and load __x86_64_shared_cache_size_half into
20657         R8_LP.
20659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20661         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20662         R8_LP.
20664 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20667         logb for POWER7.
20668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20669         logbf for POWER7.
20670         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20671         logbl for POWER7.
20672         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20673         powerpc32/power7/fpu/s_logb.c via #include.
20674         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20675         powerpc32/power7/fpu/s_logbf.c via #include.
20676         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20677         powerpc32/power7/fpu/s_logbl.c via #include.
20679 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20681         * README.libm: Remove file.
20683 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20685         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20686         count for x32.  Use R*_LP and omit operand-size suffix.
20688 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20690         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20691         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20692         * sysdeps/x86_64/x32/shlib-versions: New file.
20694 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20696         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20697         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20698         Use _dl_fatal_printf instead.
20700 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20702         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20703         set if not set by the user.  Do not allow for being unset.
20704         * sysdeps/unix/sysv/linux/configure: Regenerated.
20706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20708         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20709         the `q' suffix from lea and replace .quad with ASM_ADDR.
20711 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20714         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20715         instead of $17.
20716         (PTR_DEMANGLE): Likewise.
20718 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20720         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20721         (LP_OP): Likewise.
20722         (ASM_ADDR): Likewise.
20723         (RAX_LP): Likewise.
20724         (RBP_LP): Likewise.
20725         (RBX_LP): Likewise.
20726         (RCX_LP): Likewise.
20727         (RDI_LP): Likewise.
20728         (RSI_LP): Likewise.
20729         (RSP_LP): Likewise.
20730         (R8_LP): Likewise.
20731         (R9_LP): Likewise.
20732         (R10_LP): Likewise.
20733         (R10_LP): Likewise.
20734         (R11_LP): Likewise.
20735         (R12_LP): Likewise.
20736         (R13_LP): Likewise.
20737         (R14_LP): Likewise.
20738         (R15_LP): Likewise.
20740 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20742         * sysdeps/x86_64/x32/dl-machine.h: New file.
20744 2012-05-14  Andreas Jaeger  <aj@suse.de>
20746         * manual/Makefile (subdir): Remove export of subdir.
20747         (all): Remove target.
20748         (.PHONY): Remove all from list.
20749         (mkinstalldirs): Remove.
20750         (.PHONY): Remove installdirs from list.
20751         ($(inst_infodir)/libc.info): Use make-target-directory.
20752         (installdirs): Remove.
20753         (subdir_%): Remove.
20754         (glibc-targets): Remove.
20755         (lib): Remove.
20756         (stubs): Remove.
20757         ($(objpfx)stubs ../po/manual.pot): Remove.
20758         ($(objpfx)stamp%): Remove.
20759         (make-target-directory): Remove.
20760         (subdir_install): Remove.
20761         (routines): Remove.
20762         (aux): Remove.
20763         (sources): Remove.
20764         (objects): Remove.
20765         (headers): Remove.
20767         [BZ #13750]
20768         * manual/.gitignore: Remove, it's not needed anymore.
20769         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20770         all files in it.
20771         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20772         directory.
20773         (texis): Renamed to $(objpfx)texis.
20774         (texis-path): New, contains path to generated files.
20775         (chapters.%): Use texis-path for complete path, add extra argument
20776         libc-texinfo.sh.
20777         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20778         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20779         (summary,texi, stamp-summary): Use complete path of
20780         files. Generate files in build dir.
20781         (dir-add.texi): Build in build dir.
20782         (libm-err.texi,stamp-libm-err): Likewise.
20783         (version.texi, stamp-version): Likewise.
20784         (.%c.texi): Likewise.
20785         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20786         (mostlyclean): Remove target.
20787         (realclean): Remove target.
20788         (generated): Add new variable with contents from mostlyclean and
20789         realclean, remove entries duplicated in common-mostlyclean, add
20790         stamp-libm-err and stamp-version.
20791         (generated-dirs): Add libc directory.
20792         ($(inst_infodir)/libc.info): Install files from build dir.
20794         * manual/install.texi (Configuring and compiling): Adjust since
20795         the info files are not part of the tar ball anymore.
20797 2012-05-14  Andreas Jaeger  <aj@suse.de>
20799         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20800         variable.
20802 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20804         [BZ #13717]
20805         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20806         to 2.2.0 where earlier.
20807         * sysdeps/unix/sysv/linux/configure: Regenerated.
20808         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20809         Remove conditional code.
20810         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20811         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20812         Remove conditional code.
20813         [!__NR_lchown]: Likewise.
20814         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20815         [__NR_lchown]: Likewise.
20816         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20817         comment referencing __ASSUME_LCHOWN_SYSCALL.
20818         * sysdeps/unix/sysv/linux/i386/sigaction.c
20819         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20820         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20821         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20822         Remove conditional code.
20823         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20824         (__protocol_available): Remove #if 0 code.
20825         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20826         conditional code.
20827         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20828         * sysdeps/unix/sysv/linux/kernel-features.h
20829         (__ASSUME_GETCWD_SYSCALL): Don't define.
20830         (__ASSUME_REALTIME_SIGNALS): Likewise.
20831         (__ASSUME_PREAD_SYSCALL): Likewise.
20832         (__ASSUME_PWRITE_SYSCALL): Likewise.
20833         (__ASSUME_POLL_SYSCALL): Likewise.
20834         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20835         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20836         non-SPARC.
20837         (__ASSUME_SIOCGIFNAME): Don't define.
20838         (__ASSUME_MSG_NOSIGNAL): Likewise.
20839         (__ASSUME_SENDFILE): Define unconditionally.
20840         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20841         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20842         conditional code.
20843         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20844         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20845         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20846         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20847         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20848         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20849         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20851         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20854         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20855         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20857         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20860         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20861         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20863         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20866         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20867         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20869         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20870         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20872         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20873         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20874         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20875         Remove conditional code.
20876         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20877         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20878         Remove conditional code.
20879         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20880         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20881         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20882         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20883         Remove conditional code.
20884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20885         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20886         Remove conditional code.
20887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20888         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20889         Remove conditional code.
20890         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20891         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20892         Remove conditional code.
20893         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20894         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20895         Remove conditional code.
20896         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20897         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20898         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20899         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20900         * sysdeps/unix/sysv/linux/sigaction.c
20901         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20902         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20903         * sysdeps/unix/sysv/linux/sigpending.c
20904         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20905         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20906         * sysdeps/unix/sysv/linux/sigprocmask.c
20907         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20908         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20909         * sysdeps/unix/sysv/linux/sigsuspend.c
20910         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20911         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20912         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20913         (__libc_missing_rt_sigs): Remove.
20914         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20915         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20916         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20917         Remove conditional code.
20918         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20919         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20920         return 1.
20921         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20922         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20923         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20924         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20926 2012-05-14  Andreas Jaeger  <aj@suse.de>
20928         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20929         it's not used in glibc.
20930         (__coshm1): Likewise.
20931         (__acosh1p): Likewise.
20932         (__sgn): Likewise.
20934         * manual/string.texi (Copying and Concatenation): Add missing
20935         variable in concat example.
20936         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20940         [BZ #14103]
20941         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20942         __builtin_clzl with __builtin_clzll.
20944 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20946         [BZ #14104]
20947         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20948         libc_freeres_ptr.
20950 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20952         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20953         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20954         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20955         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20957 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20959         * NEWS: Update ia64 info.
20961 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20963         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20964         used as bcopy.
20966 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20968         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20969         * sysdeps/unix/syscalls.list (dup3): Likewise.
20970         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20971         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20973 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20975         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20976         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20978 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20980         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20981         thread pointer.
20982         (TLS_IE): Use mov/add instead of movq/addq to load thread
20983         pointer.
20984         (TLS_GD_PREFIX): New.
20985         (TLS_GD): Use it.
20987 2012-05-11  David S. Miller  <davem@davemloft.net>
20989         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20990         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20991         (_FPU_SETCW): Likewise.
20993 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20995         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20996         is 32-byte aligned.
20998 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21000         [BZ #11837]
21001         * iconvdata/gb18030.c: Update tables.
21002         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21003         characters specially.
21004         (BODY for TO_LOOP): Add encoding of missing ranges.
21006 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21008         [BZ #13673]
21009         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21010         * sysdeps/mach/hurd/dup3.c: Likewise.
21011         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21012         * sysdeps/powerpc/memmove.c:: Likewise.
21014 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21016         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21017         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21019 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21021         * elf/elf.h (R_X86_64_RELATIVE64): New.
21022         (R_X86_64_NUM): Updated.
21023         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21024         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21025         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21026         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21027         tst-quad1pie tst-quad2pie
21028         (modules-names): Add tst-quadmod1 tst-quadmod2.
21029         ($(objpfx)tst-quad1): New dependency.
21030         ($(objpfx)tst-quad2): Likewise.
21031         ($(objpfx)tst-quad1pie): Likewise.
21032         ($(objpfx)tst-quad2pie): Likewise.
21033         * sysdeps/x86_64/tst-quad1.c: New file.
21034         * sysdeps/x86_64/tst-quad1pie.c: New file.
21035         * sysdeps/x86_64/tst-quad2.c: Likewise.
21036         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21037         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21038         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21039         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21040         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21042 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21044         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21045         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21046         * streams/stropts.h (t_scalar_t): Define type.
21048         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21049         (_PATH_PRESERVE): Set to "/var/lib".
21050         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21052         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21053         instead of int.
21055         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21056         if __dir_mkfile succeeded.
21058         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21059         checking for _hurd_dtablesize.  Unlock it right after having
21060         finished _hurd_dtable allocation.
21062 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21064         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21065         * sysdeps/mach/hurd/configure: Regenerated.
21066         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21067         special-casing to...
21068         * sysdeps/gnu/configure.in: ... this new file.
21069         * sysdeps/unix/sysv/linux/configure: Regenerated.
21070         * sysdeps/gnu/configure: New generated file.
21072         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21073         for Linux: use nsec instead of usec, as well as:
21074         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21075         members of type struct timespec.
21076         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21077         New macros.
21078         (struct stat64): Likewise.
21079         (_STATBUF_ST_NSEC): New macro.
21080         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21082         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21083         __strtoul_internal rather than strtoul.
21085 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21087         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21088         and reject them.
21090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21092         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21093         which preserves existing values.
21094         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21096 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21098         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21099         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21100         greater than FD_SETSIZE.
21102 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21104         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21105         allocated, call __vm_protect to finish enabling the existing space, and
21106         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21107         allocate the remainder.
21109 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21111         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21112         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21114 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21116         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21117         sysdeps/mach/hurd/readlink.c.
21119         * posix/tst-sysconf.c (posix_options): Only use
21120         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21121         _POSIX_SYNCHRONIZED_IO when they are defined
21122         * sysdeps/mach/hurd/bits/posix_opt.h:
21123         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21124         (_XOPEN_REALTIME): Undefine macro.
21125         (_XOPEN_REALTIME_THREADS): Undefine macro.
21126         (_XOPEN_SHM): Undefine macro.
21127         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21128         macro to -1.
21129         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21130         macro to -1.
21131         (_POSIX_ASYNC_IO): Undefine macro.
21132         (_POSIX_PRIORITIZED_IO): Undefine macro.
21133         (_POSIX_SPIN_LOCKS): Define macro to -1.
21135         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21136         SA_NODEFER, SA_RESETHAND.
21137         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21138         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21139         F_DUPFD_CLOEXEC.
21141 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21143         * elf/Makefile (pldd-modules): Define unconditionally.
21145 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21147         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21151         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21152         Return ENOENT when name is empty.
21153         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21157         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21159         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21163         Fix mlock in all cases except non-readable pages.
21164         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21165         instead of VM_PROT_ALL as parameter to __vm_wire function.
21167         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21168         (__mkdir): When path is `/', just fail with EEXIST.
21169         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21173         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21174         <sys/uio.h> (for writev).
21175         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21176         and <sys/param.h> (for MIN).
21178 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21180         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21181         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21182         if interrupted.
21184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21186         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21187         Depend on against $(link-rpcuserlibs).
21189 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21191         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21192         (__libc_stack_end): Do not use attribute_relro.
21193         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21194         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21195         to libthread-provided value.
21196         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21197         attribute_relro.
21199 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21201         [BZ #3748]
21202         * bits/libc-lock.h (__libc_once_get): New macro.
21203         * sysdeps/mach/bits/libc-lock.h: Likewise.
21204         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21205         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21206         instead of using implementation details.
21208         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21209         * libio/freopen.c: Likewise.
21210         * libio/freopen64.c: Likewise.
21211         * misc/syslog.c: Likewise.
21212         * nscd/connections.c: Likewise.
21213         * nscd/netgroupcache.c: Likewise.
21214         * sysdeps/posix/getcwd.c: Likewise.
21216 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21218         * math/w_ilogbf.c: Add #include <limits.h>.
21220 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21222         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21223         path instead of returning without unlocking.
21225         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21226         immediate-write ioctls.
21227         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21229 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21231         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21232         __builtin_frame_address instead of making assumptions about the
21233         location of the return address relative to DATA.  Force early load of
21234         the return address.
21235         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21236         __builtin_frame_address.
21238         dup3 for GNU Hurd.
21239         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21240         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21241         implement dup3 and do some further code clean-ups.
21242         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21243         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21247         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21249         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21250         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21251         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21252         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21253         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21254         d->port.lock.
21256         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21257         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21258         when handler == SIG_ERR, not when handler != SIG_ERR.
21260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21262         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21263         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21264         definitions.
21266         accept4 for GNU Hurd.
21267         * include/sys/socket.h (__libc_accept4): New prototype.
21268         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21269         to implement __libc_accept4.
21270         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21271         __libc_accept4.
21272         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21274         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21275         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21276         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21277         signal-defines.sym.
21279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21281         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21285         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21286         assertion on O_CLOEXEC flag.
21287         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21288         * hurd/intern-fd.c: Likewise.
21289         * hurd/port2fd.c: Likewise.
21291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21293         [BZ #3906]
21294         * bits/in.h (IPV6_PKTINFO): Define new macro.
21295         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21297 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21299         [BZ #13954]
21300         [BZ #13955]
21301         [BZ #13956]
21302         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21303         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21304         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21305         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21306         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21307         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21308         * math/libm-test.inc (logb_test) : Additional logb tests.
21310 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21311             Andreas Jaeger  <aj@suse.de>
21313         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21314         * configure: Regenerated.
21315         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21316         * config.make.in (link-obsolete-rpc): New substituted variable.
21317         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21318         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21319         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21320         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21321         so that libc.a contains the symbols.
21322         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21323         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21324         * sunrpc/auth_none.c: Likewise.
21325         * sunrpc/auth_unix.c: Likewise.
21326         * sunrpc/authdes_prot.c: Likewise.
21327         * sunrpc/authuxprot.c: Likewise.
21328         * sunrpc/clnt_gen.c: Likewise.
21329         * sunrpc/clnt_perr.c: Likewise.
21330         * sunrpc/clnt_raw.c: Likewise.
21331         * sunrpc/clnt_simp.c: Likewise.
21332         * sunrpc/clnt_tcp.c: Likewise.
21333         * sunrpc/clnt_udp.c: Likewise.
21334         * sunrpc/clnt_unix.c: Likewise.
21335         * sunrpc/des_crypt.c: Likewise.
21336         * sunrpc/des_soft.c: Likewise.
21337         * sunrpc/get_myaddr.c: Likewise.
21338         * sunrpc/key_call.c: Likewise.
21339         * sunrpc/key_prot.c: Likewise.
21340         * sunrpc/netname.c: Likewise.
21341         * sunrpc/pm_getmaps.c: Likewise.
21342         * sunrpc/pm_getport.c: Likewise.
21343         * sunrpc/pmap_clnt.c: Likewise.
21344         * sunrpc/pmap_prot.c: Likewise.
21345         * sunrpc/pmap_prot2.c: Likewise.
21346         * sunrpc/pmap_rmt.c: Likewise.
21347         * sunrpc/publickey.c: Likewise.
21348         * sunrpc/rpc_cmsg.c: Likewise.
21349         * sunrpc/rpc_common.c: Likewise.
21350         * sunrpc/rpc_dtable.c: Likewise.
21351         * sunrpc/rpc_prot.c: Likewise.
21352         * sunrpc/rpc_thread.c: Likewise.
21353         * sunrpc/rtime.c: Likewise.
21354         * sunrpc/svc.c: Likewise.
21355         * sunrpc/svc_auth.c: Likewise.
21356         * sunrpc/svc_raw.c: Likewise.
21357         * sunrpc/svc_run.c: Likewise.
21358         * sunrpc/svc_tcp.c: Likewise.
21359         * sunrpc/svc_udp.c: Likewise.
21360         * sunrpc/svc_unix.c: Likewise.
21361         * sunrpc/svcauth_des.c: Likewise.
21362         * sunrpc/xcrypt.c: Likewise.
21363         * sunrpc/xdr.c: Likewise.
21364         * sunrpc/xdr_array.c: Likewise.
21365         * sunrpc/xdr_float.c: Likewise.
21366         * sunrpc/xdr_intXX_t.c: Likewise.
21367         * sunrpc/xdr_mem.c: Likewise.
21368         * sunrpc/xdr_rec.c: Likewise.
21369         * sunrpc/xdr_ref.c: Likewise.
21370         * sunrpc/xdr_sizeof.c: Likewise.
21371         * sunrpc/xdr_stdio.c: Likewise.
21373 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21375         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21376         change.  Update copyright years.
21378 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21380         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21382 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21383             Joseph Myers  <joseph@codesourcery.com>
21384             Paul Pluzhnikov  <ppluzhnikov@google.com>
21386         [BZ #14012]
21387         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21388         requiring rpcgen.
21389         [cross-compiling] (extra-libs): Likewise.
21390         [cross-compiling] (extra-libs-others): Likewise.
21391         [cross-compiling] (librpcsvc-routines): Likewise.
21392         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21393         [cross-compiling] (omit-deps): Likewise.
21394         (sunrpc-CPPFLAGS): New variable.
21395         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21396         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21397         (cross-rpcgen-objs): New variable.
21398         (extra-objs): Append $(cross-rpcgen-objs).
21399         ($(cross-rpcgen-objs)): New rule.
21400         ($(objpfx)cross-rpcgen): Likewise.
21401         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21402         comment.
21403         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21404         ($(objpfx)x%.stmp): Likewise.
21405         * sunrpc/proto.h [IS_IN_build] (_): Define.
21406         [IS_IN_build] (_libc_intl_domainname): Likewise.
21408 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21410         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21411         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21412         and R_X86_64_TPOFF64.
21414 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21416         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21417         sysdeps/unix/sysv/syscalls.list.
21418         (stime): Likewise.
21419         (utime): Likewise.
21420         * sysdeps/unix/sysv/syscalls.list: Remove file.
21422 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21424         [BZ #3440]
21425         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21426         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21427         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21428         (__LC_IDENTIFICATION): Make these macros useful in #if
21429         expressions, as required by C99.
21431 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21433         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21434         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21435         after this.
21437 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21439         * stdlib/longlong.h: Updated from GCC.
21441 2012-05-09  Andreas Jaeger  <aj@suse.de>
21443         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21444         default is first entry.
21445         (run_mode): Set type.
21446         (main): Remove informal message about syslog.
21447         (options): Fix typo.
21449         [BZ #14053]
21450         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21451         to asm.
21452         (lrint): Likewise.
21453         (llrintf): Likewise.
21454         (llrint): Likewise.
21455         (rint): Likewise.
21456         (rintf): Likewise.
21457         (nearbyint): Likewise.
21458         (nearbyintf): Likewise.
21460 2012-05-09  Andreas Jaeger  <aj@suse.de>
21461             Pedro Alves  <palves@redhat.com>
21463         * nscd/nscd.c (run_mode): Use enum.
21464         (main): Cleanup coding style issue.
21466 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21467             Andreas Jaeger  <aj@suse.de>
21469         * nscd/nscd.c (go_background): Replaced with...
21470         (run_mode): ... this.
21471         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21472         (options): Add -F --foreground.
21473         (main): Implement it.
21474         (parse_opt): Parse it.
21476 2012-05-09  Andreas Jaeger  <aj@suse.de>
21478         [BZ #14083]
21479         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21480         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21481         -Wconversion warning.
21482         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21483         Likewise.
21485 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21487         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21488         == 0.
21489         (LC_ALL): Use macro-int-constant.
21490         (LC_COLLATE): Likewise.
21491         (LC_CTYPE): Likewise.
21492         (LC_MESSAGES): Likewise.
21493         (LC_MONETARY): Likewise.
21494         (LC_NUMERIC): Likewise.
21495         (LC_TIME): Likewise.
21496         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21497         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21498         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21499         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21500         Specify type.
21501         [C99-based standards] (float_t): Expect type.
21502         [C99-based standards] (double_t): Expect type.
21503         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21504         type.
21505         [C99-based standards] (HUGE_VALL): Likewise.
21506         [C99-based standards] (INFINITY): Likewise.
21507         [C99-based standards] (NAN): Likewise.
21508         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21509         [C99-based standards] (FP_NAN): Likewise.
21510         [C99-based standards] (FP_NORMAL): Likewise.
21511         [C99-based standards] (FP_SUBNORMAL): Likewise.
21512         [C99-based standards] (FP_ZERO): Likewise.
21513         [C99-based standards] (FP_FAST_FMA): Use
21514         optional-macro-int-constant.  Specify type.  Require == 1.
21515         [C99-based standards] (FP_FAST_FMAF): Likewise.
21516         [C99-based standards] (FP_FAST_FMAL): Likewise.
21517         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21518         [C99-based standards] (FP_ILOGBNAN): Likewise.
21519         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21520         Specify type.
21521         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21522         [C99-based standards] (math_errhandling): Specify type.
21523         [ISO99 || ISO11] (signgam): Do not allow.
21524         [non-C99-based standards] (copysignf): Do not allow.
21525         [non-C99-based standards] (exp2f): Likewise.
21526         [non-C99-based standards] (log2f): Likewise.
21527         [non-C99-based standards] (modff): Allow.
21528         [non-C99-based standards] (erff): Do not allow.
21529         [non-C99-based standards] (erfcf): Likewise.
21530         [non-C99-based standards] (gammaf): Likewise.
21531         [non-C99-based standards] (hypotf): Likewise.
21532         [non-C99-based standards] (j0f): Likewise.
21533         [non-C99-based standards] (j1f): Likewise.
21534         [non-C99-based standards] (jnf): Likewise.
21535         [non-C99-based standards] (lgammaf): Likewise.
21536         [non-C99-based standards] (tgammaf): Likewise.
21537         [non-C99-based standards] (y0f): Likewise.
21538         [non-C99-based standards] (y1f): Likewise.
21539         [non-C99-based standards] (ynf): Likewise.
21540         [non-C99-based standards] (isnanf): Likewise.
21541         [non-C99-based standards] (acoshf): Likewise.
21542         [non-C99-based standards] (asinhf): Likewise.
21543         [non-C99-based standards] (atanhf): Likewise.
21544         [non-C99-based standards] (cbrtf): Likewise.
21545         [non-C99-based standards] (expm1f): Likewise.
21546         [non-C99-based standards] (ilogbf): Likewise.
21547         [non-C99-based standards] (log1pf): Likewise.
21548         [non-C99-based standards] (logbf): Likewise.
21549         [non-C99-based standards] (nextafterf): Likewise.
21550         [non-C99-based standards] (remainderf): Likewise.
21551         [non-C99-based standards] (rintf): Likewise.
21552         [non-C99-based standards] (scalbf): Likewise.
21553         [non-C99-based standards] (copysignl): Likewise.
21554         [non-C99-based standards] (exp2l): Likewise.
21555         [non-C99-based standards] (log2l): Likewise.
21556         [non-C99-based standards] (modfl): Allow.
21557         [non-C99-based standards] (erfl): Do not allow.
21558         [non-C99-based standards] (erfcl): Likewise.
21559         [non-C99-based standards] (gammal): Likewise.
21560         [non-C99-based standards] (hypotl): Likewise.
21561         [non-C99-based standards] (j0l): Likewise.
21562         [non-C99-based standards] (j1l): Likewise.
21563         [non-C99-based standards] (jnl): Likewise.
21564         [non-C99-based standards] (lgammal): Likewise.
21565         [non-C99-based standards] (tgammal): Likewise.
21566         [non-C99-based standards] (y0l): Likewise.
21567         [non-C99-based standards] (y1l): Likewise.
21568         [non-C99-based standards] (ynl): Likewise.
21569         [non-C99-based standards] (isnanl): Likewise.
21570         [non-C99-based standards] (acoshl): Likewise.
21571         [non-C99-based standards] (asinhl): Likewise.
21572         [non-C99-based standards] (atanhl): Likewise.
21573         [non-C99-based standards] (cbrtl): Likewise.
21574         [non-C99-based standards] (expm1l): Likewise.
21575         [non-C99-based standards] (ilogbl): Likewise.
21576         [non-C99-based standards] (log1pl): Likewise.
21577         [non-C99-based standards] (logbl): Likewise.
21578         [non-C99-based standards] (nextafterl): Likewise.
21579         [non-C99-based standards] (remainderl): Likewise.
21580         [non-C99-based standards] (rintl): Likewise.
21581         [non-C99-based standards] (scalbl): Likewise.
21582         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21583         [non-C99-based standards] (FP_*): Do not allow.
21584         [C99-based standards] (FP_*): Change to
21585         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21586         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21587         allow.
21588         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21589         (SIG_ERR): Likewise.
21590         [X/Open-based standards] (SIG_HOLD): Likewise.
21591         (SIG_IGN): Likewise.
21592         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21593         positive value.
21594         (SIGFPE): Likewise.
21595         (SIGILL): Likewise.
21596         (SIGINT): Likewise.
21597         (SIGSEGV): Likewise.
21598         (SIGTER): Likewise.
21599         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21600         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21601         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21602         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21603         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21604         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21605         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21606         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21607         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21608         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21609         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21610         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21611         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21612         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21613         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21614         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21615         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21616         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21617         [X/Open-based standards] (SIGTRAP): Likewise.
21618         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21619         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21620         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21621         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21622         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21623         allow.
21625 2012-05-08  Ian Wienand  <ianw@vmware.com>
21627         [BZ #14080]
21628         * time/tzset.c (__tzset_parse_tz): Update default rules for
21629         daylight time changes in the Energy Policy Act of 2005.
21631 2012-05-09  Andreas Jaeger  <aj@suse.de>
21633         [BZ #13983]
21634         * elf/ldconfig.c (parse_conf): Change string to make clear that
21635         ldconfig only issued a warning if ld.so.conf does not exist.
21637 2012-05-08  David S. Miller  <davem@davemloft.net>
21639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21640         movxtod instead of popping the value on the stack.
21642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21644 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21646         * config.h.in: Add HAVE_ARM_PCS_VFP.
21648 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21650         [BZ #13979]
21651         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21652         checking but the checks are disabled for any reason.
21654 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21656         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21657         and ELF64_R_TYPE with ELFW(R_TYPE).
21659 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21661         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21662         (ulimit): Likewise.
21664         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21665         (settimeofday): Likewise.
21667 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21669         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21670         a struct th_u2 inside the union, and move tu_block/tu_code into
21671         a new th_u3 union of tu_block/tu_code inside of that.  Move
21672         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21673         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21674         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21675         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21676         (th_stuff): Change to th_u1.tu_stuff.
21677         (th_data): Define.
21678         (th_msg): Change to th_u1.th_u2.tu_data.
21680 2012-05-07  David S. Miller  <davem@davemloft.net>
21682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21684         [BZ #14074]
21685         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21686         (SETUP_PIC_REG): Use it.
21687         (SETUP_PIC_REG_LEAF): Use it.
21689 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21691         [BZ #13885]
21692         [BZ #13923]
21693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21694         USE_AS_EXPM1L.
21695         (EXPL_FINITE): Likewise.
21696         (FLDLOG): Likewise.
21697         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21698         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21699         e_expl.S.
21700         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21701         USE_AS_EXPM1L.
21702         (EXPL_FINITE): Likewise.
21703         (FLDLOG): Likewise.
21704         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21705         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21706         e_expl.S.
21707         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21708         test of -max_value argument for long double.
21709         * sysdeps/i386/fpu/libm-test-ulps: Update.
21710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21712 2012-05-06  David S. Miller  <davem@davemloft.net>
21714         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21715         quad soft-float symbols whose references which are compiler
21716         generated.
21717         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21719 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21721         [BZ #13884]
21722         [BZ #13914]
21723         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21724         USE_AS_EXP10L.
21725         (EXPL_FINITE): Likewise.
21726         (FLDLOG): Likewise.
21727         (c0): Likewise.
21728         (c1): Likewise.
21729         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21730         Adjust comments for base varying.
21731         (__expl_finite): Change alias to EXPL_FINITE.
21732         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21733         e_expl.S.
21734         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21735         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21736         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21737         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21738         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21739         USE_AS_EXP10L.
21740         (EXPL_FINITE): Likewise.
21741         (FLDLOG): Likewise.
21742         (c0): Likewise.
21743         (c1): Likewise.
21744         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21745         Adjust comments for base varying.
21746         (__expl_finite): Change alias to EXPL_FINITE.
21747         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21748         tests for bugs.
21749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21751         [BZ #14064]
21752         * math/libm-test.inc (check_float_internal): Correct ulp
21753         calculation for subnormal expected results.
21755 2012-05-06  Andreas Jaeger  <aj@suse.de>
21757         * Makeconfig (+math-flags): New, set to -frounding-math.
21758         (+cflags): Add +math-flags so that all of glibc gets compiled with
21759         it.
21761         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21763 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21765         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21766         Disable one test.
21768         [BZ #13787]
21769         [BZ #13922]
21770         [BZ #14036]
21771         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21772         (__ieee754_expl): Allow for and saturate large arguments.
21773         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21774         (u_threshold): Likewise.
21775         (__exp): Call __ieee754_exp before checking for overflow and
21776         underflow.
21777         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21778         (u_threshold): Likewise.
21779         (__expf): Call __ieee754_expf before checking for overflow and
21780         underflow.
21781         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21782         (u_threshold): Likewise.
21783         (__expl): Call __ieee754_expl before checking for overflow and
21784         underflow.
21785         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21786         (__ieee754_expl): Allow for and saturate large arguments.
21787         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21788         missing overflow exception on overflow.
21789         (expm1_test): Do not allow missing overflow exception on overflow.
21791         * sysdeps/i386/fpu/e_expl.c: Move to ...
21792         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21793         rather than using inline asm.
21794         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21795         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21796         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21798         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21799         (nice): Likewise.
21800         (poll): Likewise.
21801         (signal): Likewise.
21802         (time): Likewise.
21803         (times): Likewise.
21805 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21807         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21808         sysdeps/unix/common/syscalls.list.
21809         (fchmod): Likewise.
21810         (fchown): Likewise.
21811         (ftruncate): Likewise.
21812         (getrusage): Likewise.
21813         (gettimeofday): Likewise.
21814         (setpgid): Likewise.
21815         (setregid): Likewise.
21816         (setreuid): Likewise.
21817         (sigaction): Likewise.
21818         (truncate): Likewise.
21819         (vhangup): Likewise.
21820         * sysdeps/unix/common/syscalls.list: Remove file.
21821         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21822         * sysdeps/unix/sysv/linux/Implies: Likewise.
21824 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21826         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21828         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21829         Moved to ...
21830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21831         Here.
21832         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21833         to ...
21834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21835         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21836         to ...
21837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21838         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21839         to ...
21840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21841         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21842         to ...
21843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21844         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21845         to ...
21846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21847         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21848         to ...
21849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21850         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21851         to ...
21852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21853         Here.
21854         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21855         to ...
21856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21857         Here.
21858         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21859         to ...
21860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21861         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21862         Moved to ...
21863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21864         Here.
21865         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21866         to ...
21867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21869 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21871         * sysdeps/unix/common/bits/dirent.h: Remove file.
21872         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21874         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21875         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21876         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21877         * sysdeps/unix/bsd/isatty.c: Likewise.
21878         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21879         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21880         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21882 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21884         [BZ #13563]
21885         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21886         long double comparison inaccuracies.
21887         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21890 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21892         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21893         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21895 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21897         [BZ #14049]
21898         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21899         nonzero digits before rounding a hex value.
21900         * stdlib/tst-strtod.c (tests): Add another test.
21902 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21904         * sysdeps/s390/fpu/libm-test-ulps: Update.
21906 2012-05-03  Andreas Jaeger  <aj@suse.de>
21908         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21909         does not get optimized out.
21910         (malloc_opt_barrier): New.
21912 2012-05-03  Andreas Jaeger  <aj@suse.de>
21913             Roland McGrath  <roland@hack.frob.com>
21915         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21916         intermediate file deletion.
21917         (generated): Add .symlist files.
21919 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21921         [BZ #13775]
21922         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21923         Redirect under this condition.
21924         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21925         [__USE_GNU] (__dprintf_chk): Not under this condition.
21926         [__USE_GNU] (__vdprintf_chk): Likewise.
21927         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21928         under this condition.
21929         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21930         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21931         [__USE_XOPEN2K8] (vdprintf): Likewise.
21932         [__USE_GNU] (__dprintf_chk): Not under this condition.
21933         [__USE_GNU] (__vdprintf_chk): Likewise.
21934         [__USE_GNU] (dprintf): Likewise.
21935         [__USE_GNU] (vdprintf): Likewise.
21937 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21939         * elf/Makefile (common-generated): Set this instead of generated for
21940         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21941         $(all-built-dso)-derived lists.
21943 2012-05-03  Andreas Jaeger  <aj@suse.de>
21945         * sysdeps/i386/fpu/libm-test-ulps: Update.
21947         * FAQ: Removed.
21948         * FAQ.in: Likewise.
21949         * scripts/gen-FAQ.pl: Likewise.
21950         * manual/install.texi (Installation): Point to online location of
21951         FAQ.
21952         * Makefile (files-for-dist): Remove FAQ.
21953         (FAQ): Remove.
21955 2012-05-02  Allan McRae  <allan@archlinux.org>
21957         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21958         (LDFLAGS-reldepmod5.so): Likewise.
21959         (LDFLAGS-reldep6mod1.so): Likewise.
21960         (LDFLAGS-reldep6mod4.so): Likewise.
21961         (LDFLAGS-reldep8mod3.so): Likewise.
21962         (LDFLAGS-unload4mod1.so): Likewise.
21963         (LDFLAGS-unload4mod2.so): Likewise.
21964         (LDFLAGS-tst-initorder): Likewise.
21965         (LDFLAGS-tst-initordera2.so): Likewise.
21966         (LDFLAGS-tst-initordera3.so): Likewise.
21967         (LDFLAGS-tst-initordera4.so): Likewise.
21968         (LDFLAGS-tst-initorderb2.so): Likewise.
21969         (LDFLAGS-noload): Likewise.
21970         (LDFLAGS-next): Likewise.
21971         (LDFLAGS-order2mod1.so): Likewise.
21972         (LDFLAGS-order2mod2.so): Likewise.
21973         (LDFLAGS-tst-initorder2): Likewise.
21974         (LDFLAGS-tst-initorder2a.so): Likewise.
21975         (LDFLAGS-tst-initorder2b.so): Likewise.
21976         (LDFLAGS-tst-initorder2c.so): Likewise.
21977         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21979 2012-05-02  David S. Miller  <davem@davemloft.net>
21981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21983 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21985         [BZ #14055]
21986         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21988 2012-05-02  Andreas Jaeger  <aj@suse.de>
21990         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21991         since we manipulate rounding mode.
21992         (CPPFLAGS-test-idouble.c): Likewise.
21993         (CPPFLAGS-test-ifloat.c): Likewise.
21994         (CFLAGS-test-ldouble.c): Likewise.
21995         (CFLAGS-test-double.c): Likewise.
21996         (CFLAGS-test-float.c): Likewise.
21997         (CFLAGS-test-misc.c): Likewise.
21998         (CFLAGS-test-test-fenv.c): Likewise.
22000 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22002         [BZ #2550]
22003         [BZ #2570]
22004         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22005         comparisons to determine direction to adjust input.
22007 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22009         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22010         output to the target.
22012         * scripts/localplt.awk: New file.
22013         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22014         (check-localplt-CFLAGS): Variable removed.
22015         ($(all-built-dso:=.jmprel)): New static pattern rule.
22016         (generated): Add those targets.
22017         (localplt-built-dso): New variable.
22018         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22020         * elf/check-localplt.c: File removed.
22022         * scripts/check-execstack.awk: New file.
22023         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22024         (check-execstack-CFLAGS): Variable removed.
22025         ($(objpfx)check-execstack.h): Target removed.
22026         ($(objpfx)execstack-default): New target.
22027         (generated): Add that instead of check-execstack.h.
22028         ($(all-built-dso:=.phdr)): New static pattern rule.
22029         (generated): Add those targets.
22030         * elf/check-execstack.c: File removed.
22032         * scripts/check-textrel.awk: New file.
22033         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22034         (check-textrel-CFLAGS): Variable removed.
22035         (all-built-dso): Use := to define.o
22036         ($(all-built-dso:=.dyn)): New static pattern rule.
22037         (generated): Add those targets.
22038         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22039         * config.make.in (READELF): New substituted variable.
22040         * elf/check-textrel.c: File removed.
22042 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22044         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22045         allow.
22046         * conform/data/ctype.h-data [C99-based standards] (isblank):
22047         Expect function.
22048         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22049         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22050         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22051         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22052         Specify type.  Require positive value.
22053         (EILSEQ): Likewise.
22054         (ERANGE): Likewise.
22055         [ISO || POSIX] (EILSEQ): Do not expect.
22056         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22057         Specify type.  Require positive value.
22058         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22059         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22060         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22061         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22062         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22063         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22064         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22065         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22066         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22067         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22068         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22069         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22070         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22071         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22072         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22073         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22074         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22075         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22076         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22077         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22078         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22079         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22080         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22081         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22082         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22083         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22084         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22085         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22086         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22087         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22088         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22089         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22090         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22091         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22092         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22093         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22094         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22095         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22096         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22097         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22098         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22099         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22100         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22101         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22102         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22103         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22104         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22105         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22106         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22107         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22108         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22109         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22110         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22111         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22112         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22113         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22114         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22115         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22116         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22117         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22118         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22119         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22120         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22121         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22122         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22123         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22124         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22125         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22126         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22127         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22128         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22129         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22130         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22131         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22132         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22133         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22134         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22135         Require >= 2.
22136         (FLT_ROUNDS): Expect as macro, not constant.
22137         (FLT_MANT_DIG): Use macro-int-constant.
22138         (DBL_MANT_DIG): Likewise.
22139         (LDBL_MANT_DIG): Likewise.
22140         (FLT_DIG): Likewise.
22141         (DBL_DIG): Likewise.
22142         (LDBL_DIG): Likewise.
22143         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22144         (DBL_MIN_EXP): Likewise.
22145         (LDBL_MIN_EXP): Likewise.
22146         (FLT_MAX_EXP): Use macro-int-constant.
22147         (DBL_MAX_EXP): Likewise.
22148         (LDBL_MAX_EXP): Likewise.
22149         (FLT_MAX_10_EXP): Likewise.
22150         (DBL_MAX_10_EXP): Likewise.
22151         (LDBL_MAX_10_EXP): Likewise.
22152         (FLT_MAX): Use macro-constant.
22153         (DBL_MAX): Likewise.
22154         (LDBL_MAX): Likewise.
22155         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22156         (DBL_EPSILON): Likewise.
22157         (LDBL_EPSILON): Likewise.
22158         (FLT_MIN): Likewise.
22159         (DBL_MIN): Likewise.
22160         (LDBL_MIN): Likewise.
22161         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22162         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22163         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22164         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22165         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22166         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22167         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22168         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22169         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22170         [ISO11] (FLT_TRUE_MIN): Likewise.
22171         [ISO11] (LDBL_TRUE_MIN): Likewise.
22172         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22173         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22174         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22175         (SCHAR_MAX): Likewise.
22176         (UCHAR_MAX): Likewise.
22177         (CHAR_MIN): Likewise.
22178         (CHAR_MAX): Likewise.
22179         (MB_LEN_MAX): Use macro-int-constant.
22180         (SHRT_MIN): Use macro-int-constant.  Specify type.
22181         (SHRT_MAX): Likewise.
22182         (USHRT_MAX): Likewise.
22183         (INT_MAX): Likewise.
22184         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22185         bound negative.
22186         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22187         bound with "U".
22188         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22189         bound with "L".
22190         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22191         bound negative.  Suffix upper bound with "L".
22192         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22193         bound with "UL".
22194         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22195         Specify type.
22196         [C99-based standards] (LLONG_MAX): Likewise.
22197         [C99-based standards] (ULLONG_MAX): Likewise.
22198         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22199         == 0.
22200         [ISO11] (max_align_t): Require type.
22201         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22203         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22204         from $CFLAGS, without defining away __attribute__ calls.
22205         (checknamespace): Use $CFLAGS_namespace.
22207         * conform/conformtest.pl (@keywords): Only include C99 keywords
22208         for standards based on C99 or C11.
22210         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22211         Disable tests.
22212         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22213         UNIX98]: Likewise.
22215         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22216         usability of symbols in #if.
22218         * conform/conformtest.pl: If macro or constant types start
22219         "promoted:", expect the symbol to be of the following type
22220         promoted by the integer promotions.
22222         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22223         in one place.  Also handle "macro-constant".
22225         * conform/conformtest.pl: Only accept expected macro values with
22226         "==".  Parse all "macro" lines in one place.
22227         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22229         * conform/conformtest.pl: Handle braced types on "constant" lines
22230         instead of handling "typed-constant".
22231         * conform/data/signal.h-data: Use "constant" instead of
22232         "typed-constant".
22234         * conform/conformtest.pl: Handle "optional-" at start of lines in
22235         one place rather than duplicating several cases.  Handle each
22236         format of "macro" line with initial "optional-".
22238         * conform/conformtest.pl: Only accept expected constant or
22239         optional-constant values with "==".  Parse all "constant" lines in
22240         one place.  Parse all "optional-constant" lines in one place.
22241         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22242         * conform/data/fmtmsg.h-data: Likewise.
22243         * conform/data/netinet/in.h-data: Likewise.
22244         * conform/data/tar.h-data: Likewise.
22245         * conform/data/limits.h-data: Use "==" form on "constant" and
22246         "optional-constant" lines.
22248         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22249         Use -std=c99 for XOPEN2K.
22250         (@knownproblems): Remove.
22251         (newtoken): Don't check %isknown.
22253         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22254         Do not expect macro.
22255         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22256         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22257         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22258         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22259         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22260         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22261         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22262         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22263         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22264         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22265         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22266         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22267         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22268         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22269         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22270         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22271         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22272         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22273         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22274         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22275         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22276         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22277         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22278         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22279         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22280         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22281         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22282         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22283         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22284         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22285         [XPG3] (acosh): Likewise.
22286         [XPG3] (asinh): Likewise.
22287         [XPG3] (atanh): Likewise.
22288         [XPG3] (cbrt): Likewise.
22289         [XPG3] (expm1): Likewise.
22290         [XPG3] (ilogb): Likewise.
22291         [XPG3] (log1p): Likewise.
22292         [XPG3] (logb): Likewise.
22293         [XPG3] (nextafter): Likewise.
22294         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22295         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22296         [XPG3] (remainder): Likewise.
22297         [XPG3] (rint): Likewise.
22298         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22299         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22300         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22301         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22302         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22303         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22304         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22305         [UNIX98 || XOPEN2K] (scalb): Expect.
22306         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22307         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22308         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22309         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22310         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22311         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22312         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22313         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22314         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22315         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22316         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22317         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22318         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22319         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22320         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22321         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22322         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22323         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22324         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22325         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22326         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22327         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22328         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22329         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22330         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22331         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22332         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22333         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22334         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22335         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22336         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22337         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22338         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22339         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22340         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22341         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22342         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22343         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22344         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22345         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22346         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22347         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22348         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22349         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22350         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22351         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22352         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22353         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22354         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22355         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22356         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22357         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22358         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22359         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22360         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22361         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22362         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22363         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22364         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22365         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22366         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22367         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22368         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22369         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22370         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22371         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22372         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22373         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22374         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22375         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22376         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22377         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22378         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22379         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22380         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22381         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22382         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22383         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22384         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22385         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22386         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22387         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22388         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22389         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22390         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22391         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22392         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22393         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22394         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22395         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22396         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22397         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22398         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22399         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22400         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22401         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22402         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22403         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22404         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22405         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22406         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22407         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22408         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22409         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22410         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22411         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22412         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22413         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22414         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22415         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22416         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22417         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22418         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22419         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22420         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22421         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22422         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22423         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22424         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22425         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22426         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22427         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22428         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22429         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22430         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22431         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22432         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22433         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22434         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22435         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22436         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22437         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22438         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22439         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22440         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22441         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22442         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22444         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22445         _XOPEN_SOURCE_EXTENDED for XPG4.
22447         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22449         * Makeconfig (localtime): Remove variable.
22450         (inst_localtime-file): Likewise.
22452 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22455         Update.
22456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22457         Update.
22458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22459         Update.
22460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22461         Update.
22462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22463         Update.
22464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22465         Update.
22466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22467         Update.
22468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22469         Update.
22470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22471         Update.
22473 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22475         [BZ #2550]
22476         [BZ #2570]
22477         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22478         comparisons to determine direction to adjust input.
22479         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22480         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22481         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22482         Likewise.
22483         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22484         Likewise.
22485         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22486         Likewise.
22487         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22488         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22489         Likewise.
22490         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22491         Likewise.
22492         * math/libm-test.inc (nexttoward_test): Add more tests.
22494 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22496         [BZ #14040]
22497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22498         in version GLIBC_2.1, not GLIBC_2.0.
22499         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22500         Likewise.
22502 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22504         [BZ #13942]
22505         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22506         (1 - x) * (1 + x).
22507         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22508         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22509         * math/libm-test.inc (acos_test): Add more tests.
22510         (asin_test): Likewise.
22511         * sysdeps/i386/fpu/libm-test-ulps: Update.
22512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22514         [BZ #14034]
22515         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22516         of square root.
22517         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22518         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22519         * math/libm-test.inc (acos_test_tonearest): New function.
22520         (acos_test_towardzero): Likewise.
22521         (acos_test_downward): Likewise.
22522         (acos_test_upward): Likewise.
22523         (asin_test_tonearest): Likewise.
22524         (asin_test_towardzero): Likewise.
22525         (asin_test_downward): Likewise.
22526         (asin_test_upward): Likewise.
22527         (main): Call the new functions.
22528         * sysdeps/i386/fpu/libm-test-ulps: Update.
22529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22531         [BZ #13884]
22532         [BZ #13924]
22533         * math/e_exp10.c: Include <float.h>.
22534         (__ieee754_exp10): Handle underflow here rather than multiplying
22535         large negative argument by M_LN10.
22536         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22537         of __ieee754_expf.
22538         * math/e_exp10l.c: Include <float.h>.
22539         (__ieee754_exp10l): Handle underflow here rather than multiplying
22540         large negative argument by M_LN10l.
22541         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22542         spurious overflow exception on underflow.
22544 2012-04-29  Marek Polacek  <polacek@redhat.com>
22546         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22547         (__fortify_function): New macro.
22548         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22549         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22550         __extern_always_inline.
22551         * libio/bits/stdio2.h: Likewise.
22552         * libio/bits/stdio.h: Likewise.
22553         * string/string.h: Likewise.
22554         * string/bits/string3.h: Likewise.
22555         * include/stdio.h: Likewise.
22556         * stdlib/bits/stdlib.h: Likewise.
22557         * stdlib/stdlib.h: Likewise.
22558         * rt/bits/mqueue2.h: Likewise.
22559         * rt/mqueue.h: Likewise.
22560         * posix/bits/unistd.h: Likewise.
22561         * posix/unistd.h: Likewise.
22562         * io/bits/poll2.h: Likewise.
22563         * io/bits/fcntl2.h: Likewise.
22564         * io/fcntl.h: Likewise.
22565         * io/sys/poll.h: Likewise.
22566         * misc/bits/syslog.h: Likewise.
22567         * misc/bits/syslog-ldbl.h: Likewise.
22568         * misc/sys/syslog.h: Likewise.
22569         * socket/bits/socket2.h: Likewise.
22570         * socket/sys/socket.h: Likewise.
22571         * debug/tst-chk1.c: Likewise.
22572         * wcsmbs/bits/wchar2.h: Likewise.
22573         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22574         * wcsmbs/wchar.h: Likewise.
22576 2012-04-29  Andreas Jaeger  <aj@suse.de>
22578         * Makerules (tests): Remove enable-check-abi protection.
22579         (check-abi-warn): Remove.
22580         (check-abi-%): Remove check-abi-warn usage.
22582         * configure.in: Remove check-abi configure option.
22583         * configure: Regenerated.
22584         * config.make.in (enable-check-abi): Remove.
22586 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22588         [BZ #14033]
22589         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22590         double functions to double *_finite functions.
22592         [BZ #13941]
22593         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22594         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22595         LDBL_MIN_EXP.
22596         * stdio-common/Makefile (tests): Add tst-sprintf3.
22597         * stdio-common/tst-sprintf3.c: New file.
22599         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22600         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22602 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22604         * conform/conformtest.pl: Remove duplicate typed-constant
22605         handling.
22607 2012-04-28  David S. Miller  <davem@davemloft.net>
22609         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22610         (check-abi-%): Remove AWK script prerequisite and explicit
22611         abilist directory.
22612         (check-abi): Rewrite to just diff the symlist with the abilist.
22613         (config-tls, config-abi-config): Delete, no longer used.
22614         (update-abi-%): Remove AWK script and explicit abilist directory.
22615         (update-abi): Rewrite to simply compare and conditionally copy the
22616         symlist and the sysdep abilist file.  Remove update-abi-config
22617         checks.
22618         * abilist/ld.abilist: Remove.
22619         * abilist/libBrokenLocale.abilist: Remove.
22620         * abilist/libanl.abilist: Remove.
22621         * abilist/libcrypt.abilist: Remove.
22622         * abilist/libdl.abilist: Remove.
22623         * abilist/librt.abilist: Remove.
22624         * abilist/libthread_db.abilist: Remove.
22625         * abilist/libutil.abilist: Remove.
22626         * scripts/extract-abilist.awk: Remove.
22627         * scripts/merge-abilist.awk: Remove.
22628         * sysdeps/generic/libcidn.abilist: New file.
22629         * sysdeps/generic/libnss_compat.abilist: New file.
22630         * sysdeps/generic/libnss_db.abilist: New file.
22631         * sysdeps/generic/libnss_dns.abilist: New file.
22632         * sysdeps/generic/libnss_files.abilist: New file.
22633         * sysdeps/generic/libnss_hesiod.abilist: New file.
22634         * sysdeps/generic/libnss_nis.abilist: New file.
22635         * sysdeps/generic/libnss_nisplus.abilist: New file.
22636         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22637         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22638         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22639         file.
22640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22641         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22642         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22643         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22644         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22645         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22646         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22647         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22648         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22649         file.
22650         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22651         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22652         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22653         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22654         file.
22655         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22656         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22657         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22658         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22659         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22660         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22661         file.
22662         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22663         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22664         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22665         file.
22666         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22668         New file.
22669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22670         New file.
22671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22672         New file.
22673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22674         New file.
22675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22676         New file.
22677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22678         New file.
22679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22680         New file.
22681         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22682         New file.
22683         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22684         New file.
22685         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22686         New file.
22687         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22688         New file.
22689         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22690         New file.
22691         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22692         New file.
22693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22694         file.
22695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22696         New file.
22697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22698         New file.
22699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22700         file.
22701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22702         New file.
22703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22704         New file.
22705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22706         file.
22707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22708         New file.
22709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22710         New file.
22711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22712         New file.
22713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22714         New file.
22715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22716         New file.
22717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22718         New file.
22719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22721         file.
22722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22723         New file.
22724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22725         file.
22726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22727         file.
22728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22729         file.
22730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22731         file.
22732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22733         file.
22734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22735         New file.
22736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22737         file.
22738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22739         file.
22740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22741         New file.
22742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22743         file.
22744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22746         file.
22747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22748         New file.
22749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22750         file.
22751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22752         file.
22753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22754         file.
22755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22756         file.
22757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22758         file.
22759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22760         New file.
22761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22762         file.
22763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22764         file.
22765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22766         New file.
22767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22768         file.
22769         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22770         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22771         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22772         file.
22773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22774         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22775         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22776         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22777         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22778         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22779         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22780         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22781         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22782         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22785         file.
22786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22787         New file.
22788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22789         file.
22790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22791         file.
22792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22793         file.
22794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22795         file.
22796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22797         file.
22798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22799         New file.
22800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22801         New file.
22802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22803         file.
22804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22805         New file.
22806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22807         file.
22808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22810         file.
22811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22812         New file.
22813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22814         file.
22815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22816         file.
22817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22818         file.
22819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22820         file.
22821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22822         file.
22823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22824         New file.
22825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22826         New file.
22827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22828         file.
22829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22830         New file.
22831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22832         file.
22834 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22836         * conform/conformtest.pl: Fix typo in handling typed-constant from
22837         allow-header.
22839 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22841         * README: Cut down references to pre-2.6 Linux kernels and
22842         Linuxthreads.  Update lists of configurations in libc and ports
22843         and sort alphabetically.  Say "or newer" with Linux kernel version
22844         requirements.
22846         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22848 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22850         [BZ #887]
22851         * math/libm-test.inc (logb_test_downward): New test to expose
22852         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22853         rounding mode.
22855 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22857         [BZ #14027]
22858         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22859         to be done.
22860         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22861         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22863 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22865         * sysdeps/unix/i386/brk.S: Remove file.
22866         * sysdeps/unix/i386/dl-brk.S: Likewise.
22867         * sysdeps/unix/i386/pipe.S: Likewise.
22868         * sysdeps/unix/i386/sigreturn.S: Likewise.
22869         * sysdeps/unix/i386/syscall.S: Likewise.
22870         * sysdeps/unix/i386/vfork.S: Likewise.
22871         * sysdeps/unix/i386/wait.S: Likewise.
22873         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22874         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22876         * configure.in (arm*-none*): Do not allow without
22877         --enable-hacker-mode.
22878         (netbsd*): Remove case setting base_os.
22879         (386bsd*): Likewise.
22880         (freebsd*): Likewise.
22881         (bsdi*): Likewise.
22882         (osf*): Likewise.
22883         (sunos*): Likewise.
22884         (ultrix*): Likewise.
22885         (newsos*): Likewise.
22886         (dynix*): Likewise.
22887         (*bsd*): Likewise.
22888         (sysv*): Likewise.
22889         (isc*): Likewise.
22890         (esix*): Likewise.
22891         (sco*): Likewise.
22892         (minix*): Likewise.
22893         (irix4*): Likewise.
22894         (irix6*): Likewise.
22895         (solaris[2-9]*): Likewise.
22896         (none): Likewise.
22897         * configure: Regenerated.
22899 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22901         [BZ #11521]
22902         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22903         overflow or cancellation in calculating denominator.
22904         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22905         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22906         down expression to avoid unexpected rounding in newer GCCs.
22907         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22909 2012-04-26  David S. Miller  <davem@davemloft.net>
22911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22912         long-double compat symbols.
22913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22927 2012-04-25  David S. Miller  <davem@davemloft.net>
22929         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22930         HWCAP_* values only after the memory barriers have been defined.
22931         (atomic_full_barrier): Define.
22932         (atomic_read_barrier): Define.
22933         (atomic_write_barrier): Define.
22935 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22937         * shlib-versions: Add libgcc_s version information.
22938         * sysdeps/generic/libgcc_s.h: Remove.
22939         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22940         libgcc_s.h.
22941         * sysdeps/gnu/unwind-resume.c: Likewise.
22942         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22944 2012-04-25  David S. Miller  <davem@davemloft.net>
22946         * sysdeps/unix/sparc/brk.S: Delete.
22947         * sysdeps/unix/sparc/dl-brk.S: Delete.
22948         * sysdeps/unix/sparc/pipe.S: Delete.
22949         * sysdeps/unix/sparc/sysdep.S: Delete.
22950         * sysdeps/unix/sparc/sysdep.h: Delete.
22951         * sysdeps/unix/sparc/vfork.S: Delete.
22952         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22953         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22954         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22955         ret_ERRVAL, r0, r1, MOVE): Define.
22956         (JUMPTARGET): Remove.
22957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22958         sysdeps/unix/sparc/sysdep.h
22959         (ENTRY, END): Remove.
22960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22962 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22964         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22965         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22966         -DIS_IN_build.
22968         * timezone/README: Update upstream location and email address for
22969         tzcode and tzdata.
22970         * timezone/zdump.c: Update from tzcode 2012b.
22971         * timezone/zic.c: Likewise.
22973         * configure.in (libc_cv_as_needed): Remove test.
22974         * configure: Regenerated.
22975         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22976         conditional definition.
22977         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22978         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22979         * config.make.in (have-as-needed): Remove variable.
22981 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22982             Paul Pluzhnikov  <ppluzhnikov@google.com>
22984         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22985         strings correctly.
22987 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22989         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22990         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22991         * sysdeps/sh/strlen.S: Likewise.
22993 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22995         * sysdeps/unix/fork.S: Remove file.
22996         * sysdeps/unix/i386/fork.S: Likewise.
22997         * sysdeps/unix/sparc/fork.S: Likewise.
22999         * sysdeps/unix/system.c: Remove file.
23000         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23002         * sysdeps/unix/getegid.S: Remove file.
23003         * sysdeps/unix/geteuid.S: Likewise.
23005 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23007         * scripts/check-localplt.awk: New file.
23008         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23009         of diff.
23010         * scripts/data/localplt-generic.data: Add a comment.
23012         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23013         NODE when __dir_mkfile failed.
23014         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23015         Reported by Ludovic Courtès <ludo@gnu.org>.
23017 2012-04-24  Andreas Jaeger  <aj@suse.de>
23019         * Makerules (common-clean): Also remove gen-as-const-headers
23020         files.
23022 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23024         * Makerules (native-compile): Do not change working directory for
23025         build.  Use $(OUTPUT_OPTION) in command.
23026         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23028 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23030         [BZ #13886]
23031         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23032         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23033         * math/libm-test.inc (floor_test): Add more tests.
23034         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23036 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23038         * sysdeps/unix/getdents.c: Remove file.
23039         * sysdeps/unix/sysv/getdents.c: Likewise.
23040         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23042         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23043         sysdeps/unix/mman/syscalls.list.
23044         (mmap): Likewise.
23045         (mprotect): Likewise.
23046         (msync): Likewise.
23047         (munmap): Likewise.
23048         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23049         * sysdeps/unix/mman/syscalls.list: Remove.
23050         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23052         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23053         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23054         * configure: Regenerated.
23055         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23056         $(libgcc_s_suffix).
23057         * config.make.in (libgcc_s_suffix): Remove variable.
23059 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23061         * sysdeps/unix/sysv/gethostname.c: Move to ...
23062         * sysdeps/posix/gethostname.c: ... here.
23064         * sysdeps/unix/execve.S: Remove file.
23066         * sysdeps/unix/_exit.S: Remove file.
23068 2012-04-23  Andreas Jaeger  <aj@suse.de>
23070         [BZ #13739]
23071         * manual/Makefile: Remove make dist support, there's no
23072         need for a stand-alone documentation tar ball.
23073         (TEXI2DVI): Define always, it's not in Makeconfig.
23074         (dist): Removed.
23075         (tar-it): Removed.
23076         (edition): Removed.
23077         (glibc-doc-$(edition).tar): Removed
23078         (%.Z): Removed.
23079         (%.gz): Removed.
23080         (%.uu): Removed.
23081         (ETAGS): Remove, it's in Makeconfig.
23082         (move-if-change): Remove, it's in Makeconfig.
23084 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23086         [BZ #13970]
23087         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23088         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23089         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23090         (strtod_l, strtof_l, strtold_l): Remove __wur.
23091         It is not necessarily an error to ignore strtol's return value.
23092         One can reliably look at the stored endptr to decide whether
23093         the number had valid syntax.
23095 2012-04-21  Andreas Jaeger  <aj@suse.de>
23097         [BZ #13739]
23098         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23100 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23102         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23103         * sysdeps/unix/sysv/Versions: Remove file.
23105 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23107         [BZ #13927]
23108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23110 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23112         [BZ #7064]
23113         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23114         version from __vm86.
23116 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23118         * sysdeps/unix/common/lxstat.c: Remove file.
23119         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23121         * sysdeps/unix/sysv/Makefile: Remove file.
23123         * sysdeps/unix/sysv/direct.h: Remove file.
23125         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23126         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23127         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23128         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23129         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23130         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23131         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23133         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23135         * sysdeps/unix/xmknod.c: Remove file.
23136         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23138         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23140         * sysdeps/unix/sysv/i386/time.S: Remove file.
23142         * sysdeps/unix/fxstat.c: Remove file.
23143         * sysdeps/unix/xstat.c: Likewise.
23144         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23146         * sysdeps/unix/sysv/sigaction.c: Remove file.
23148         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23149         (sysdep_headers): Remove variable.
23150         [termio.h not in sysdep_headers] (generated): Likewise.
23151         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23152         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23153         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23154         * sysdeps/unix/sysv/tcflow.c: Likewise.
23155         * sysdeps/unix/sysv/tcflush.c: Likewise.
23156         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23157         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23158         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23159         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23160         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23162         * sysdeps/unix/siglist.c: Remove file.
23164         * sysdeps/unix/getppid.S: Remove file.
23166         * sysdeps/unix/mkdir.c: Remove file.
23167         * sysdeps/unix/rmdir.c: Likewise.
23169 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23171         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23172         ERR_MAX value.
23173         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23174         errlist-compat value.
23176 2012-04-18  David S. Miller  <davem@davemloft.net>
23178         * sysdeps/generic/memcopy.h (reg_char): Delete.
23179         * debug/strcat_chk.c: Use char, not reg_char.
23180         * debug/strcpy_chk.c: Likewise.
23181         * debug/strncat_chk.c: Likewise.
23182         * debug/strncpy_chk.c: Likewise.
23183         * string/memchr.c: Likewise.
23184         * string/memrchr.c: Likewise.
23185         * string/rawmemchr.c: Likewise.
23186         * string/strcat.c: Likewise.
23187         * string/strchr.c: Likewise.
23188         * string/strchrnul.c: Likewise.
23189         * string/strcmp.c: Likewise.
23190         * string/strcpy.c: Likewise.
23191         * string/strncat.c: Likewise.
23192         * string/strncmp.c: Likewise.
23193         * string/strncpy.c: Likewise.
23195 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23197         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23198         __builtin_memcopy is called when src and dest ranges are known to not
23199         overlap.
23201 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23203         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23204         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23205         fwd_align_merge macro call.
23206         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23207         bwd_align_merge macro call.
23208         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23210 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23212         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23213         bwd_align_merge macros.
23214         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23215         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23216         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23218 2012-04-18  David S. Miller  <davem@davemloft.net>
23220         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23222 2012-04-18  Andreas Jaeger  <aj@suse.de>
23224         [BZ# 6794]
23225         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23226         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23227         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23229         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23230         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23231         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23233         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23234         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23235         Adjust for changed ldbl-128 files.
23237         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23238         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23239         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23241 2012-04-17  David S. Miller  <davem@davemloft.net>
23243         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23245 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23247         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23248         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23249         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23250         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23251         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23252         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23254 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23256         [BZ #6794]
23257         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23258         * math/libm-test.inc: Add ilogb errno and exception tests.
23259         * math/w_ilogb.c: New file: ilogb wrapper.
23260         * math/w_ilogbf.c: New file: ilogbf wrapper.
23261         * math/w_ilogbl.c: New file: ilogbl wrapper.
23262         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23263         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23264         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23265         exception being thrown with 0.0 as argument.
23266         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23267         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23268         exception being thrown with 0.0 as argument.
23269         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23270         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23271         exception being thrown with 0.0 as argument.
23272         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23273         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23274         exception being thrown with 0.0 as argument.
23275         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23276         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23277         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23278         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23279         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23280         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23281         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23282         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23283         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23285 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23287         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23288         with altivec.
23290 2012-04-16  Marek Polacek  <polacek@redhat.com>
23292         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23294 2012-04-16  Marek Polacek  <polacek@redhat.com>
23296         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23297         operands of fdivp instruction.
23299 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23301         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23302         * elf/tst-auditmod3b.c: Likewise.
23303         * elf/tst-auditmod4b.c: Likewise.
23304         * elf/tst-auditmod5b.c: Likewise.
23305         * elf/tst-auditmod6b.c: Likewise.
23306         * elf/tst-auditmod6c.c: Likewise.
23307         * elf/tst-auditmod7b.c: Likewise.
23308         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23309         * sysdeps/x86_64/preconfigure.in: Likewise.
23310         * sysdeps/x86_64/preconfigure: Regenerated.
23312 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23314         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23315         __ILP32__.
23317 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23319         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23320         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23322 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23324         [BZ #13973]
23325         * locale/iso-639.def: Fix gl language name. Spotted by
23326         Yaron Shahrabani.
23328 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23330         [BZ #2074]
23331         * libio/libio.h (__io_write_fn): Update comment.
23333 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23335         [BZ #2074]
23336         * stdio.texi (Hook Functions): The user provided writer function
23337         is not allowed to return -1.
23339 2012-04-11  David S. Miller  <davem@davemloft.net>
23341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23343 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23345         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23346         Add a leading slash to rtkaio.
23348 2012-04-11  Jim Meyering  <meyering@redhat.com>
23350         [BZ #11959]
23351         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23352         It is not necessarily an error to ignore fwrite's return
23353         value.  One can reliably use ferror to test for errors after
23354         the fact.
23356 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23358         * bits/types.h (__snseconds_t): New type.
23359         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23361         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23362         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23363         (__SNSECONDS_T_TYPE): Likewise.
23364         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23365         (__SNSECONDS_T_TYPE): Likewise.
23366         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23367         (__SNSECONDS_T_TYPE): Likewise.
23369 2012-04-10  Andreas Jaeger  <aj@suse.de>
23371         [BZ #2636]
23372         * manual/time.texi (Processor Time): Return type of times is
23373         elapsed real time since an arbitrary point in the past.
23374         (CPU Time): Move CLK_TCK from here...
23375         (Processor Time): ...to here.  Correct description.
23376         * manual/conf.texi (Constants for Sysconf): Correct description of
23377         _SC_CLK_TCK.
23379 2012-04-10  David S. Miller  <davem@davemloft.net>
23381         [BZ #13967]
23382         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23383         where the is a gap between DT_REL(A) and DT_JMPREL.
23385 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23387         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23388         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23389         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23391 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23393         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23394         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23395         (dl_main): Handle --inhibit-cache.
23396         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23397         _dl_inhibit_cache.
23398         * elf/dl-load.c (_dl_map_object): Use it.
23399         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23401 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23403         [BZ #13872]
23404         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23405         (__ieee754_powl): Saturate large exponents rather than testing for
23406         overflow of y*log2(x).
23407         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23408         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23409         exceptions.
23411         [BZ #11521]
23412         * math/s_ctan.c: Include <float.h>.
23413         (__ctan): Avoid internal overflow or cancellation in calculating
23414         denominator.
23415         * math/s_ctanf.c: Likewise.
23416         * math/s_ctanl.c: Likewise.
23417         * math/s_ctanh.c: Likewise.
23418         * math/s_ctanhf.c: Likewise.
23419         * math/s_ctanhl.c: Likewise.
23420         * math/libm-test.inc (ctan_test): Add more tests.
23421         (ctanh_test): Likewise.
23422         * sysdeps/i386/fpu/libm-test-ulps: Update.
23423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23425 2012-04-09  Andreas Jaeger  <aj@suse.de>
23427         [BZ #6894]
23428         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23429         is an optional BSD extension.
23431         [BZ #10254]
23432         * manual/stdio.texi (Opening Streams): Document additional fopen
23433         parameters.
23435 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23437         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23438         %eax without telling the compiler.
23440 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23442         [BZ # 13963]
23443         * manual/install.texi: Use sourceware.org.
23445 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23447         [BZ #13873]
23448         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23449         (__ieee754_pow): Generate overflow and underflow using huge*huge
23450         and tiny*tiny rather than just returning constant infinity or zero
23451         for large exponents.
23452         * math/libm-test.inc (pow_test): Require overflow exceptions for
23453         applicable cases of large exponents.
23455         [BZ #706]
23456         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23457         (__ieee754_pow): Use iterative multiplication algorithm only for
23458         integer exponents with absolute value below 1024.  Check for odd
23459         integer exponents when using algorithm for real exponents.
23460         * math/libm-test.inc (pow_test): Add more tests.
23461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23463 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23465         [BZ #13705]
23466         * math/libm-test.inc (exp_test): Do not allow overflow exception
23467         on underflow test.
23469 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23471         [BZ #13705]
23472         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23473         instead of __kernel_standard_f.
23475 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23477         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23478         * sysdeps/x86_64/memset_chk.S: Likewise.
23480 2012-04-08  Andreas Jaeger  <aj@suse.de>
23482         [BZ #10153]
23483         * manual/startup.texi (Environment Access): Describe return value
23484         for putenv and setenv.
23486         [BZ #6895]
23487         * manual/filesys.texi (Directory Entries): Add description for
23488         DT_LNK.
23490         [BZ #6890]
23491         * manual/filesys.texi (Directory Entries): Clarify that it's file
23492         system not operating system in the description of DT_UNKNOWN.
23494         [BZ #6578]
23495         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23497 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23499         [BZ #6649]
23500         * manual/llio.texi (Opening and Closing Files): Add cross
23501         reference to explain mode argument.
23503 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23505         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23506         * sysdeps/x86_64/memset_chk.S: Likewise.
23508 2012-04-07  David S. Miller  <davem@davemloft.net>
23510         * elf/elf.h (R_SPARC_WDISP10): Define.
23511         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23512         R_SPARC_SIZE32.
23513         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23514         R_SPARC_SIZE64 and R_SPARC_H34.
23516 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23518         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23519         conditions and remove no longer applicable assertion.
23521 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23523         * bits/byteswap.h: Include <features.h>.
23524         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23525         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23527 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23529         * bits/byteswap.h (__bswap_16): Removed.
23530         Include <bits/byteswap-16.h> to get __bswap_16.
23531         * sysdeps/i386/bits/byteswap.h: Likewise.
23532         * sysdeps/s390/bits/byteswap.h: Likewise.
23533         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23534         * bits/byteswap-16.h: New file.
23535         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23536         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23537         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23538         * string/Makefile (headers): Add bits/byteswap-16.h.
23540 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23542         [BZ #13895]
23543         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23544         extra indirection.
23545         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23546         * nss/tst-nss-static.c: New.
23548 2012-04-06  Robert Millan  <rmh@gnu.org>
23550         [BZ #6486]
23551         * manual/llio.texi (File Position Primitive): lseek
23552         refers to WHENCE when it really means OFFSET.
23554 2012-04-06  Andreas Jaeger  <aj@suse.de>
23556         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23557         strncmp declarations.
23559         * abilist/libc.abilist: Add __poll and __ppoll.
23561 2012-04-05  David S. Miller  <davem@davemloft.net>
23563         * scripts/check-local-headers.sh: Accept a host triplet in the
23564         path matched by the exclude regexp.
23566         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23567         definition.
23568         * sysdeps/powerpc/powerpc32/dl-machine.h
23569         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23570         * sysdeps/s390/s390-32/dl-machine.h
23571         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23572         * sysdeps/sparc/sparc32/dl-machine.h
23573         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23574         * sysdeps/sparc/sparc64/dl-machine.h
23575         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23577         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23578         lazy binding.
23579         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23580         undefined symbol errors.
23582         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23583         DT_NEEDED entries.
23585 2012-04-05  Michael Matz  <matz@suse.de>
23587         [BZ #13592]
23588         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23590 2012-04-05  Andreas Jaeger  <aj@suse.de>
23592         [BZ #13908]
23593         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23594         comment.
23596 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23598         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23599         which ROUND is no valid rounding mode.
23601 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23603         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23604         read again.
23605         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23607 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23609         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23610         an exception using FPU order intentionally.
23612 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23614         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23615         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23616         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23617         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23619 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23621         [BZ #12340]
23622         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23623         EINVAL when BUFLEN is too smal.
23625 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23627         [BZ #13553]
23628         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23629         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23631 2012-04-03  Andreas Jaeger  <aj@suse.de>
23633         [BZ #13938]
23634         * manual/setjmp.texi (System V contexts): Fix sentence.
23636         [BZ #13926]
23637         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23638         New macro for this case.
23639         [!__GNUC__] (__bswap_64): New inline function for this case.
23640         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23641         * bits/byteswap.h: Likewise.
23642         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23643         ull, guard with __GLIBC_HAVE_LONG_LONG.
23645         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23646         __GLIBC_HAVE_LONG_LONG.
23648         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23649         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23651 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23653         [BZ #13691]
23654         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23655         inptr and inend, rather than using last_ch.
23657 2012-04-02  David S. Miller  <davem@davemloft.net>
23659         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23660         * stdio-common/printf-parse.h (read_int): Change return type to
23661         'int', return -1 on INT_MAX overflow.
23662         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23663         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23664         overflows INT_MAX.  Check for overflow of in-format-string precision
23665         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23666         SIZE_MAX not INT_MAX for integer overflow test.
23667         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23668         skip the construct in the format string but do not record anything.
23669         * stdio-common/bug22.c: Adjust to test both width/prevision
23670         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23671         explicitly for proper errno values.
23673 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23675         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23676         CHAR_MAX.
23677         * string/test-strcmp.c [! WIDE]: Likewise.
23678         * time/tst-mktime2.c: Likewise for INT_MAX.
23679         * string/test-string.h: #include <sys/param.h> for MIN.
23681         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23682         * sysdeps/i386/init-first.c (init): Likewise.
23683         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23684         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23685         * sysdeps/sh/init-first.c (init): Likewise.
23687 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23689         * po/ru.po: Update from translation team.
23690         * po/vi.po: Likewise.
23692 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23694         * resolv/nss_dns/dns-host.c: Merge copyright years.
23696 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23698         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23699         Optimize memcpy with prefetch if
23700         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23701         src, dst pointers have unequal 16 byte alignments.
23703 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23705         [BZ #13928]
23706         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23707         from a CNAME entry and return the minimum ttl for the query.
23708         (gaih_getanswer_slice): Likewise.
23710 2012-03-30  Jeff Law  <law@redhat.com>
23712         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23713         due to long keys.
23714         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23715         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23717         * resolv/nss_dns/dns-host.c: Update copyright year.
23719 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23721         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23722         requests to save a system call.  Fix check that all bytes are sent.
23724         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23725         comments for sendmmsg.
23727 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23729         [BZ #13691]
23730         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23731         with only 1 character between 0x0041 and 0x01b0.
23732         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23733         * wcsmbs/tst-mbsnrtowcs.c: New file.
23735 2012-03-29  David S. Miller  <davem@davemloft.net>
23737         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23738         small copies by hand.
23740 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23742         [BZ #13761]
23743         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23744         _nss_compat_initgroups_dyn): Fall back to malloc/free
23745         for large group memberships.
23747 2012-03-28  David S. Miller  <davem@davemloft.net>
23749         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23750         that branches into memcpy.
23751         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23753         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23754         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23755         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23756         bits.
23757         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23758         implementation too.
23759         * sysdeps/sparc/mempcpy.S: New file.
23761         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23762         the IFUNC routine in the libc case.
23763         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23765         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23766         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23767         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23768         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23769         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23770         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23771         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23772         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23774         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23775         loop to 256 bytes instead of 64 bytes and fix test signedness.
23777         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23778         * sysdeps/sparc/sparc32/Makefile: rather than here...
23779         * sysdeps/sparc/sparc64/Makefile: and here.
23781 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23783         * malloc/mallocbug.c: Avoid warnings about unused variables.
23785 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23787         [BZ #13760]
23788         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23789         in the right place. Discard and retry query if response is
23790         larger than input buffer size.
23792 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23794         [BZ #369]
23795         [BZ #2678]
23796         [BZ #3866]
23797         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23798         x for large integer exponent.
23799         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23800         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23801         sign of result as needed afterwards.
23802         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23803         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23804         result for underflowing pow the same as for overflow.
23805         (__kernel_standard_l): Handle powl overflow and underflow here
23806         rather than calling __kernel_standard.
23807         * math/libm-test.inc (pow_test): Add more tests.
23809         [BZ #3868]
23810         [BZ #13879]
23811         [BZ #13910]
23812         [BZ #13911]
23813         [BZ #13912]
23814         [BZ #13913]
23815         [BZ #13915]
23816         [BZ #13916]
23817         [BZ #13917]
23818         [BZ #13918]
23819         [BZ #13919]
23820         [BZ #13920]
23821         [BZ #13921]
23822         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23823         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23824         (__kernel_standard_l): New function.
23825         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23826         __kernel_standard.
23827         * math/w_acosl.c (__acosl): Likewise.
23828         * math/w_asinl.c (__asinl): Likewise.
23829         * math/w_atan2l.c (__atan2l): Likewise.
23830         * math/w_atanhl.c (__atanhl): Likewise.
23831         * math/w_coshl.c (__coshl): Likewise.
23832         * math/w_exp10l.c (__exp10l): Likewise.
23833         * math/w_exp2l.c (__exp2l): Likewise.
23834         * math/w_fmodl.c (__fmodl): Likewise.
23835         * math/w_hypotl.c (__hypotl): Likewise.
23836         * math/w_j0l.c (__j0l, __y0l): Likewise.
23837         * math/w_j1l.c (__j1l, __y1l): Likewise.
23838         * math/w_jnl.c (__jnl, __ynl): Likewise.
23839         * math/w_lgammal.c (__lgammal): Likewise.
23840         * math/w_log10l.c (__log10l): Likewise.
23841         * math/w_log2l.c (__log2l): Likewise.
23842         * math/w_logl.c (__logl): Likewise.
23843         * math/w_powl.c (__powl): Likewise.
23844         * math/w_remainderl.c (__remainderl): Likewise.
23845         * math/w_scalbl.c (sysv_scalbl): Likewise.
23846         * math/w_sinhl.c (__sinhl): Likewise.
23847         * math/w_sqrtl.c (__sqrtl): Likewise.
23848         * math/w_tgammal.c (__tgammal): Likewise.
23849         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23850         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23851         * math/libm-test.inc (acos_test): Add more tests.
23852         (acosh_test): Likewise.
23853         (asin_test): Likewise.
23854         (atanh_test): Likewise.
23855         (exp_test): Likewise.
23856         (exp10_test): Likewise.
23857         (exp2_test): Likewise.
23858         (expm1_test): Likewise.
23859         (lgamma_test): Likewise.
23860         (log_test): Likewise.
23861         (log10_test): Likewise.
23862         (log1p_test): Likewise.
23863         (log2_test): Likewise.
23864         (pow_test): Do not allow some spurious overflow exceptions.
23865         (sqrt_test): Add more tests.
23866         (tgamma_test): Likewise.
23867         (y0_test): Likewise.
23868         (y1_test): Likewise.
23869         (yn_test): Likewise.
23871 2012-03-27  Anton Blanchard  <anton@samba.org>
23873         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23874         MAP_HUGETLB.
23875         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23876         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23877         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23879 2012-03-27  David S. Miller  <davem@davemloft.net>
23881         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23883         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23884         have-as-vis3 check.
23886 2012-03-27  Andreas Jaeger  <aj@suse.de>
23888         * sysdeps/x86_64/elf/configure.in: Moved to ...
23889         * sysdeps/x86_64/configure.in: ... here.
23890         * sysdeps/x86_64/elf/start.S: Moved to ...
23891         * sysdeps/x86_64/start.S: ... here.
23892         * sysdeps/x86_64/elf/configure: Delete.
23894         * sysdeps/x86_64/configure.in: Merge contents from
23895         sysdeps/i386/configure.in (without i686 check).
23897         * sysdeps/i386/elf/Versions: Merge into ...
23898         * sysdeps/i386/Versions: ... this.
23899         * sysdeps/i386/elf/Versions: Delete file.
23900         * sysdeps/i386/elf/start.S: Moved to ...
23901         * sysdeps/i386/start.S: ...here.
23902         * sysdeps/i386/elf/configure.in: Merge into...
23903         * sysdeps/i386/configure.in: ...here.
23904         * sysdeps/i386/elf/configure.in: Delete file.
23905         * sysdeps/i386/elf/configure: Delete file.
23907         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23908         * debug/backtracesyms.c: ... here.
23909         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23910         * debug/backtracesymsfd.c: ... here.
23911         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23912         * sysdeps/generic/ifunc-sel.h: ... here.
23914         * sysdeps/unix/i386/start.c: Delete file.
23915         * sysdeps/unix/sparc/start.c: Delete file.
23916         * sysdeps/unix/start.c: Delete file.
23918         * sysdeps/sh/elf/configure.in: Moved to ...
23919         * sysdeps/sh/configure.in: ... here.
23920         * sysdeps/sh/elf/start.S: Moved to ...
23921         * sysdeps/sh/start.S: ... here.
23922         * sysdeps/sh/elf/configure: Delete file.
23924         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23925         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23926         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23927         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23928         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23929         * sysdeps/powerpc/powerpc64/start.S: here.
23930         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23931         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23932         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23933         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23934         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23936         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23937         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23938         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23939         * sysdeps/powerpc/powerpc32/start.S: ... here.
23940         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23941         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23942         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23944         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23945         * sysdeps/powerpc/ifunc-sel.h: ... here.
23946         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23947         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23949         * sysdeps/sparc/elf/configure.in: Moved to ...
23950         * sysdeps/sparc/configure.in: ... here.
23951         * sysdeps/sparc/elf/configure: Delete file.
23952         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23953         * sysdeps/sparc/sparc32/start.S: ... here.
23954         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23955         * sysdeps/sparc/sparc64/start.S: ... here.
23956         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23957         * sysdeps/sparc/sparc32/Makefile: ... this.
23958         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23959         * sysdeps/sparc/sparc64/Makefile: ... this.
23961         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23962         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23963         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23964         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23965         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23966         * sysdeps/s390/s390-32/setjmp.S: ... here.
23967         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23968         * sysdeps/s390/s390-32/configure.in: ... here.
23969         * sysdeps/s390/s390-32/elf/configure: Delete file.
23970         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23971         * sysdeps/s390/s390-32/start.S: ... here.
23973         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23974         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23975         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23976         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23977         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23978         * sysdeps/s390/s390-64/setjmp.S: ... here.
23979         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23980         * sysdeps/s390/s390-64/configure.in: ... here
23981         * sysdeps/s390/s390-64/elf/configure: Delete file.
23982         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23983         * sysdeps/s390/s390-64/start.S: ... here.
23984         * sysdeps/s390/s390-64/elf/configure: Delete.
23986         * configure.in: Remove support for elf directories in sysdeps.
23988         * configure: Regenerated.
23989         * sysdeps/i386/configure: Regenerated.
23990         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23991         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23992         * sysdeps/s390/s390-32/configure: Regenerated.
23993         * sysdeps/s390/s390-64/configure: Regenerated.
23994         * sysdeps/sh/configure: Regenerated.
23995         * sysdeps/sparc/configure: Regenerated.
23996         * sysdeps/x86_64/configure: Regenerated.
23998 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24002         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24003         denormal result into account.
24005 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24007         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24008         Reported by Allan McRae <allan@archlinux.org>.
24010 2012-03-23  Jeff Law  <law@redhat.com>
24012         * nss/getnssent.c (__nss_getent): Fix typo.
24014 2012-03-23  David S. Miller  <davem@davemloft.net>
24016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24018 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24020         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24021         to pad to uint64_t for each field.
24022         (dl_tls_index): Replace unsigned long with uint64_t.
24024 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24025         Paul Pluzhnikov  <ppluzhnikov@google.com>
24027         [BZ #6528]
24028         * grp/Makefile (otherlibs): Don't set it.
24029         * inet/Makefile (otherlibs): Likewise.
24030         * login/Makefile (otherlibs): Likewise.
24031         * nscd/Makefile (otherlibs): Likewise.
24032         * posix/Makefile (otherlibs): Likewise.
24033         * pwd/Makefile (otherlibs): Likewise.
24034         * rt/Makefile (otherlibs): Likewise.
24035         * sunrpc/Makefile (otherlibs): Likewise.
24036         * nss/Makefile (otherlibs): Likewise.
24037         Add libnss_files to routines and static-only-routines.
24038         ($(objpfx)getent): Remove rule.
24039         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24040         static-only-routines.
24042 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24044         [BZ #13892]
24045         * math/s_cexp.c: Include <float.h>.
24046         (__cexp): Handle exp result overflowing not necessarily
24047         overflowing both real and imaginary parts of result.
24048         * math/s_cexpf.c: Likewise.
24049         * math/s_cexpl.c: Likewise.
24050         * math/libm-test.inc (cexp_test): Add more tests.
24051         * sysdeps/i386/fpu/libm-test-ulps: Update.
24052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24054 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24056         * include/link.h (ELFW): New macro.
24057         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24058         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24060 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24062         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24063         with uint64_t.
24065 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24067         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24068         declaration.
24069         (struct La_x32_retval): Likewise.
24071 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24073         * sysdeps/x86_64/preconfigure.in: New file.
24074         * sysdeps/x86_64/preconfigure: New generated file.
24076 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24078         [BZ #13824]
24079         * math/e_exp2l.c: Include <float.h>.
24080         (__ieee754_exp2l): Handle overflow and underflow cases
24081         separately.  Only pass fractional part of argument to
24082         __ieee754_expl.
24083         * math/libm-test.inc (exp2_test): Add more tests.
24085         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24086         negating x to take absolute value.
24087         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24088         Likewise.
24089         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24090         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24091         Likewise.
24092         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24093         computing low part if x was negated.
24094         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24096 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24098         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24099         la_x32_gnu_pltexit.
24100         (pltexit): Cast int_retval to ptrdiff_t.
24101         * elf/tst-auditmod3b.c: Likewise.
24102         * elf/tst-auditmod4b.c: Likewise.
24103         * elf/tst-auditmod5b.c: Likewise.
24104         * elf/tst-auditmod6b.c: Likewise.
24105         * elf/tst-auditmod6c.c: Likewise.
24106         * elf/tst-auditmod7b.c: Likewise.
24108         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24109         and x32_gnu_pltexit.
24111         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24112         __ELF_NATIVE_CLASS.
24113         (La_x32_regs): New macro.
24114         (La_x32_retval): Likewise.
24115         (la_x32_gnu_pltenter): New function prototype.
24116         (la_x32_gnu_pltexit): Likewise.
24118 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24120         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24121         exponent.
24123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24125         * configure.in (libc_cv_cc_nofma): Check for option to disable
24126         generation of FMA instructions.
24127         * configure: Regenerate.
24128         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24129         * sysdeps/ieee754/dbl-64/Makefile: New file.
24130         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24131         Remove brandred-fma4.
24132         (CFLAGS-brandred-fma4.c): Remove.
24133         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24134         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24135         define.
24136         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24137         define.
24139 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24141         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24142         LLONG_MAX != LONG_MAX.
24143         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24144         (_fitoa_word): Likewise.
24145         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24146         LLONG_MAX != LONG_MAX.
24147         * stdio-common/_itowa.h: Include <_itoa.h>.
24148         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24149         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24150         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24151         only if not defined.
24152         (_ITOA_WORD_TYPE): Likewise.
24153         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24154         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24156 2012-03-21  David S. Miller  <davem@davemloft.net>
24158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24160 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24162         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24163         of x86_64 when setting libc_cv_slibdir, libdir and
24164         libc_cv_localedir.
24165         * sysdeps/unix/sysv/linux/configure: Regenerated.
24167 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24169         * manual/lang.texi (Old Varargs): Remove section.
24170         (How Variadic): Update menu.
24171         (va_start): Do not mention varargs.h.
24173 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24174             Joseph Myers  <joseph@codesourcery.com>
24176         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24177         link test.
24178         * configure: Regenerated.
24180 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24182         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24183         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24184         conformtest.pl
24186 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24188         * NOTES: Remove.
24189         * Makefile (files-for-dist): Remove NOTES.
24190         (NOTES): Remove rule.
24191         * README: Don't refer to NOTES.
24192         * manual/creature.texi: Don't include macros.texi.
24193         * manual/intro.texi (creature.texi): Remove comment referring to
24194         NOTES.
24196         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24197         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24198         * configure: Regenerated.
24199         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24200         LIBC_TRY_CC_OPTION.
24201         (libc_cv_as_i686): Likewise.
24202         (libc_cv_cc_avx): Likewise.
24203         (libc_cv_cc_sse2avx): Likewise.
24204         (libc_cv_cc_fma4): Likewise.
24205         (libc_cv_cc_novzeroupper): Likewise.
24206         * sysdeps/i386/configure: Regenerated.
24208         [BZ #13883]
24209         * sysdeps/i386/fpu/s_cexp.S: Remove.
24210         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24211         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24212         * math/libm-test.inc (cexp_test): Add more tests.
24213         * sysdeps/i386/fpu/libm-test-ulps: Update.
24214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24216 2012-03-21  Allan McRae  <allan@archlinux.org>
24218         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24220 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24222         [BZ #13871]
24223         * math/w_exp2.c: Do not include <float.h>.
24224         (o_threshold, u_threshold): Remove.
24225         (__exp2): Calculate result before checking finiteness and calling
24226         __kernel_standard.
24227         * math/w_exp2f.c: Likewise.
24228         * math/w_exp2l.c: Likewise.
24229         * math/libm-test.inc (exp2_test): Require overflow exception for
24230         1e6 input.
24232         [BZ #3866]
24233         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24234         range of signed 64-bit integers before using fistpll.  Remove
24235         checks for whether integers fit in mantissa bits.
24236         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24237         the range of signed 32-bit integers before using fistpl.  Remove
24238         checks for whether integers fit in mantissa bits.
24239         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24240         (__ieee754_powl): Test for y outside the range of signed 64-bit
24241         integers before using fistpll.  Reduce 64-bit values to 63-bit
24242         ones as needed.
24243         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24244         divide-by-zero is raised for zero to large negative powers.
24245         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24246         (__ieee754_powl): Test for y outside the range of signed 64-bit
24247         integers before using fistpll.  Reduce 64-bit values to 63-bit
24248         ones as needed.
24249         * math/libm-test.inc (pow_test): Add more tests.
24251 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24253         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24254         <stdio-common/_itoa.h>.
24255         * debug/segfault.c: Likewise.
24256         * elf/dl-cache.c: Likewise.
24257         * elf/dl-minimal.c: Likewise.
24258         * elf/dl-misc.c: Likewise.
24259         * elf/dl-sysdep.c: Likewise.
24260         * elf/dl-version.c: Likewise.
24261         * elf/rtld.c: Likewise.
24262         * hurd/hurdsock.c: Likewise.
24263         * hurd/lookup-retry.c: Likewise.
24264         * malloc/malloc.c: Likewise.
24265         * malloc/mtrace.c: Likewise.
24266         * nscd/nscd_getgr_r.c: Likewise.
24267         * nscd/nscd_getpw_r.c: Likewise.
24268         * nscd/nscd_getserv_r.c: Likewise.
24269         * posix/getopt_init.c: Likewise.
24270         * posix/wordexp.c: Likewise.
24271         * stdio-common/_itoa.c: Likewise.
24272         * stdio-common/printf_fphex.c: Likewise.
24273         * stdio-common/vfprintf.c: Likewise.
24274         * string/_strerror.c: Likewise.
24275         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24276         * sysdeps/i386/i686/hp-timing.h: Likewise.
24277         * sysdeps/mach/_strerror.c: Likewise.
24278         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24279         * sysdeps/mach/hurd/sethostid.c: Likewise.
24280         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24281         * sysdeps/mach/xpg-strerror.c: Likewise.
24282         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24283         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24284         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24285         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24286         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24287         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24288         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24289         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24290         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24291         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24292         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24293         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24294         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24295         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24296         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24297         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24298         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24299         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24300         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24301         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24302         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24304         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24306         * stdio-common/_itoa.h: Moved to ...
24307         * sysdeps/generic/_itoa.h: Here.
24309         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24311         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24312         instead of "_itoa.h" and "_itowa.h".
24313         * stdio-common/vfprintf.: Likewise.
24315 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24317         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24318         <bits/wordsize.h>.
24319         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24320         (__signbit): Likwise.
24321         (llrintf): Likwise.
24322         (llrint): Likwise.
24324 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24326         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24327         __WORDSIZE != 64.
24329 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24331         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24332         OVERFLOW_EXCEPTION_OK.
24333         * math/libm-test.inc ("Philosophy"): Update comment about
24334         exception testing.
24335         (OVERFLOW_EXCEPTION): Define.
24336         (OVERFLOW_EXCEPTION_OK): Likewise.
24337         (INVALID_EXCEPTION_OK): Renumber.
24338         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24339         (IGNORE_ZERO_INF_SIGN): Likewise.
24340         (test_exceptions): Handle FE_OVERFLOW.
24341         (exp10_test): Expect overflow exceptions.
24342         (exp2_test): Likewise.
24343         (expm1_test): Likewise.
24344         (nextafter_test): Likewise.
24345         (pow_test): Likewise.
24346         (scalbn_test): Likewise.
24347         (scalbln_test): Likewise.
24349 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24351         * sysdeps/x86_64/bits/atomic.h
24352         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24353         64bit integer.
24354         (atomic_exchange_acq): Likewise.
24355         (__arch_exchange_and_add_body): Likewise.
24356         (__arch_add_body): Likewise.
24357         (atomic_add_negative): Likewise.
24358         (atomic_add_zero): Likewise.
24360 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24362         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24363         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24365 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24367         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24368         Check __x86_64__ instead of __WORDSIZE.
24370 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24372         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24374 2012-03-19  David S. Miller  <davem@davemloft.net>
24376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24378         * sysdeps/sparc/fpu/fenv_private.h: New file.
24379         * sysdeps/sparc/fpu/math_private.h: Use it.
24380         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24381         Remove.
24382         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24383         (libc_feholdexcept_setroundl): Remove.
24384         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24385         Remove.
24386         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24387         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24389 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24391         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24392         int64_t instead of long int.
24393         (INSERT_WORDS64): Likwise.
24395 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24397         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24398         _Unwind_GetCFA return to _Unwind_Ptr first.
24400 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24402         [BZ #13629]
24403         * math/s_clog.c: Include <float.h>.
24404         (__clog): Scale large or subnormal inputs.
24405         * math/s_clogf.c: Likewise.
24406         * math/s_clogl.c: Likewise.
24407         * math/s_clog10.c: Include <float.h>.
24408         (M_LOG10_2): Define.
24409         (__clog10): Scale large or subnormal inputs.
24410         * math/s_clog10f.c: Likewise.
24411         * math/s_clog10l.c: Likewise.
24412         * math/libm-test.inc (clog_test): Add more tests.
24413         (clog10_test): Likewise.
24414         * sysdeps/i386/fpu/libm-test-ulps: Update.
24415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24417         [BZ #11451]
24418         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24419         x and y.
24420         * math/libm-test.inc (atan2_test): Add another test.
24422         * Makerules (common-objdir-compile): Remove.
24423         * sysdeps/unix/Makefile (config-generated): Do not add
24424         $(unix-generated) to variable.
24425         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24426         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24427         Remove rule.
24428         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24429         Likewise.
24430         [generic bits/local_lim.h] (before-compile): Do not append to
24431         variable.
24432         [generic bits/local_lim.h] (common-generated): Likewise.
24433         [generic sys/param.h] (before-compile): Do not append to variable.
24434         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24435         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24436         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24437         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24438         include.
24439         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24440         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24441         [generic sys/param.h] ($(addprefix
24442         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24443         [generic sys/param.h] (common-generated): Do not append to
24444         variable.
24445         [generic sys/param.h] (sysdep_headers): Likewise.
24446         [generic bits/errno.h] (before-compile): Do not append to
24447         variable.
24448         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24449         rule.
24450         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24451         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24452         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24453         [generic bits/errno.h] (common-generated): Do not append to
24454         variable.
24455         [generic bits/ioctls.h] (before-compile): Do not append to
24456         variable.
24457         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24458         rule.
24459         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24460         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24461         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24462         rule.
24463         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24464         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24465         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24466         [generic bits/ioctls.h] (common-generated): Do not append to
24467         variable.
24468         [generic sys/syscall.h] (syscall.h): Remove variable.
24469         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24470         rule.
24471         [generic sys/syscall.h] (before-compile): Do not append to
24472         variable.
24473         [generic sys/syscall.h] (common-generated): Likewise.
24474         * sysdeps/unix/errnos-tmpl.c: Remove file.
24475         * sysdeps/unix/errnos.awk: Likewise.
24476         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24477         * sysdeps/unix/ioctls.awk: Likewise.
24478         * sysdeps/unix/mk-local_lim.c: Likewise.
24479         * sysdeps/unix/snarf-ioctls: Likewise.
24481 2012-03-19  Richard Henderson  <rth@twiddle.net>
24483         * sysdeps/i386/fpu/fenv_private.h: New file.
24484         * sysdeps/i386/fpu/math_private.h: Use it.
24485         (math_opt_barrier, math_force_eval): Remove.
24486         (libc_feholdexcept_setround_53bit): Remove.
24487         (libc_feupdateenv_53bit): Remove.
24488         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24489         (math_opt_barrier, math_force_eval): Remove.
24490         (libc_feholdexcept): Remove.
24491         (libc_feholdexcept_setround): Remove.
24492         (libc_fetestexcept, libc_fesetenv): Remove.
24493         (libc_feupdateenv_test): Remove.
24494         (libc_feupdateenv, libc_feholdsetround): Remove.
24495         (libc_feresetround): Remove.
24497         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24498         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24500         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24501         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24502         (libc_feupdateenv_testl): New.
24503         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24504         (libc_feupdateenv_testf): New.
24505         (libc_feupdateenv): Use libc_feupdateenv_test.
24506         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24507         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24509         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24510         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24511         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24512         (libc_feresetround_noex): New.
24513         (libc_feresetround_noexf): New.
24514         (libc_feresetround_noexl): New.
24515         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24516         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24517         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24518         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24519         SET_RESTORE_ROUND.
24520         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24521         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24522         (__cos): Likewise.
24523         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24524         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24525         SET_RESTORE_ROUND_NOEX.
24526         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24527         SET_RESTORE_ROUND_NOEXF.
24528         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24529         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24530         (libc_feholdsetroundf): New.
24531         (libc_feresetround, libc_feresetroundf): New.
24533         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24534         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24535         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24537         * sysdeps/generic/math_private.h: Include <fenv.h>.
24538         (default_libc_feholdexcept): New.
24539         (default_libc_feholdexcept_setround): New.
24540         (default_libc_fesetenv, default_libc_feupdateenv): New.
24541         (libc_feholdexcept): Only define if undefined.
24542         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24543         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24544         (libc_feholdexcept_setroundl): Likewise.
24545         (libc_feholdexcept_setround_53bit): Likewise.
24546         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24547         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24548         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24549         (libc_feupdateenv_53bit): Likewise.
24550         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24551         (libc_feholdexcept): Convert from macro to inline function.
24552         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24553         (libc_fesetenv, libc_feupdateenv): Likewise.
24555         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24556         not previously defined.
24557         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24558         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24559         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24560         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24561         * sysdeps/ieee754/flt-32/math_private.h: New file.
24562         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24563         math_private.h below SET_FLOAT_WORD.
24564         (__isnan, __isinf_ns, __finite): Remove.
24565         (__isnanf, __isinf_nsf, __finitef): Remove.
24567 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24571 2012-03-17  David S. Miller  <davem@davemloft.net>
24573         [BZ #6471]
24574         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24575         for 2.16.
24577 2012-03-16  David S. Miller  <davem@davemloft.net>
24579         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24580         warnings.
24582         [BZ #6471]
24583         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24584         properly.
24585         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24586         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24587         sysdep_routines when subdir is sysvipc.
24588         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24589         __getshmlba helper.
24591         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24593 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24595         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24596         [__LP64__].
24598 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24600         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24601         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24602         (__lround): Renamed to ...
24603         (__llround): This.  Replace long int with long long int.
24604         Define lround functions as aliases of llround functions.
24605         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24607 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24609         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24610         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24611         adresses to uintptr_t.  Replace "long int" and "unsigned long
24612         int" with "greg_t" on va_arg.
24614 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24616         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24617         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24619         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24620         Move e_machine check before EI_CLASS check.  Handle x32
24621         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24622         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24623         SKIP_EM_IA_64 and include
24624         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24626         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24627         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24628         (add_system_dir): New macro.
24630         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24631         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24633 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24635         [BZ #2551]
24636         [BZ #2552]
24637         [BZ #2553]
24638         [BZ #2554]
24639         [BZ #2562]
24640         [BZ #2563]
24641         [BZ #2565]
24642         [BZ #2566]
24643         [BZ #2576]
24644         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24645         (y0): Likewise.
24646         * math/w_j0f.c (j0f): Likewise.
24647         (y0f): Likewise.
24648         * math/w_j0l.c (__j0l): Likewise.
24649         (__y0l): Likewise.
24650         * math/w_j1.c (j1): Likewise.
24651         (y1): Likewise.
24652         * math/w_j1f.c (j1f): Likewise.
24653         (y1f): Likewise.
24654         * math/w_j1l.c (__j1l): Likewise.
24655         (__y1l): Likewise.
24656         * math/w_jn.c (jn): Likewise.
24657         (yn): Likewise.
24658         * math/w_jnf.c (jnf): Likewise.
24659         (ynf): Likewise.
24660         * math/w_jnl.c (__jnl): Likewise.
24661         (__ynl): Likewise.
24662         * math/libm-test.inc (j0_test): Add more tests.
24663         (j1_test): Likewise.
24664         (jn_test): Likewise.  Add trailing semicolon to existing test.
24665         (y0_test): Likewise.
24666         (y1_test): Likewise.
24667         * sysdeps/i386/fpu/libm-test-ulps: Update.
24668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24670         [BZ #13851]
24671         [BZ #13854]
24672         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24673         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24674         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24675         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24676         (__tanl): Set errno for infinite argument.
24677         * sysdeps/i386/fpu/mptan.c: Remove.
24678         * sysdeps/i386/fpu/s_tan.S: Likewise.
24679         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24680         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24681         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24682         * math/libm-test.inc (tan_test): Add more tests and enable more
24683         tests for double and long double.
24684         * sysdeps/i386/fpu/libm-test-ulps: Update.
24685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24687 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24689         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24690         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24692 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24694         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24695         * configure.in: Use it for both main tree and add-ons.
24696         * configure: Regenerated.
24698 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24700         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24702 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24704         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24705         in comment.
24707         [BZ #13851]
24708         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24709         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24710         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24711         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24712         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24713         infinite argument.
24714         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24715         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24716         != 0 for prec == 2.
24717         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24718         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24719         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24720         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24721         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24722         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24723         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24724         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24725         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24726         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24727         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24728         * math/libm-test.inc (cos_test): Add more tests and enable more
24729         tests for long double.
24730         (sin_test): Likewise.
24731         (sincos_test): Likewise.
24732         * sysdeps/i386/fpu/libm-test-ulps: Update.
24733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24735 2012-03-16  David S. Miller  <davem@davemloft.net>
24737         * sysdeps/sparc/fpu/math_private.h: New file.
24739 2012-03-15  David S. Miller  <davem@davemloft.net>
24741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24742         file.
24743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24745         file.
24746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24751         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24752         sysdep routines.
24753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24755         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24756         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24758         * sysdeps/sparc/sparc-ifunc.h: New file.
24759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24760         sparc-ifunc.h
24761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24763         Likewise.
24764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24765         Likewise.
24766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24770         Likewise.
24771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24776         Likewise.
24777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24778         Likewise.
24779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24785         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24786         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24793         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24797         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24798         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24799         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24800         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24801         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24802         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24804 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24806         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24807         scaling.
24808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24810 2012-03-15  Andreas Jaeger  <aj@suse.de>
24812         [BZ #13852]
24813         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24814         ieee754/flt-32 implementation for sin, cos and sincos.
24815         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24816         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24817         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24818         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24819         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24820         ieee754/flt-32 implementation for tan.
24822         * math/libm-test.inc (cos_test): Enable some large input tests for
24823         float as well
24824         (sin_test): Likewise.
24825         (sincos_test): Likewise.
24826         (tan_test): Add tests for large input.
24828         * sysdeps/i386/fpu/libm-test-ulps: Update.
24830 2012-03-15  Andreas Jaeger  <aj@suse.de>
24832         [BZ #13658]
24833         * math/libm-test.inc (cos_test): Add more test cases.
24834         (sin_test): Likewise.
24835         (sincos_test): Likewise.
24837 2012-03-15  Andreas Jaeger  <aj@suse.de>
24839         [BZ #13837]
24840         * math/libm-test.inc (cos_test): Add a test case for large input
24841         value.
24842         (sin_test): Likewise.
24843         (sincos_test): Likewise.
24845 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24846         Joseph Myers  <joseph@codesourcery.com>
24848         [BZ #13658]
24849         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24850         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24851         * sysdeps/i386/fpu/branred.c: Likewise.
24852         * sysdeps/i386/fpu/dosincos.c: Likewise.
24853         * sysdeps/i386/fpu/mpa.c: Likewise.
24854         * sysdeps/i386/fpu/s_cos.S: Likewise.
24855         * sysdeps/i386/fpu/s_sin.S: Likewise.
24856         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24857         * sysdeps/i386/fpu/sincos32.c: Likewise.
24859         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24860         Define.
24861         (libc_feupdateenv_53bit): Define.
24862         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24863         Define.
24864         (libc_feupdateenv_53bit): Define.
24866         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24867         53 bit (without extend i386 double precision).
24869         * math/libm-test.inc (sincos_test): Add tests for large input.
24870         (sin): Likewise.
24871         (cos): Likewise.
24873         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24875 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24879 2012-03-15  David S. Miller  <davem@davemloft.net>
24881         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24882         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24883         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24884         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24897         file.
24898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24900         file.
24901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24903         file.
24904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24906         file.
24907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24908         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24909         fmin/fmax sysdep routines.
24910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24912 2012-03-14  David S. Miller  <davem@davemloft.net>
24914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24917         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24918         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24919         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24920         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24921         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24934         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24935         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24936         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24937         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24938         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24939         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24940         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24941         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24942         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24943         routines.
24944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24945         file.
24946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24948         file.
24949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24951         file.
24952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24954         file.
24955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24957         file.
24958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24960         file.
24961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24962         file.
24963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24964         file.
24965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24966         file.
24967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24968         New file.
24969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24970         file.
24971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24972         file.
24973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24975         file.
24976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24978         file.
24979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24981         file.
24982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24984         VIS3 routines.
24986         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24987         New file.
24989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24991         * sysdeps/sparc/configure.in: New file.
24992         * sysdeps/sparc/configure: Generate.
24993         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24994         * configure: Regenerate.
24995         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24996         * config.make.in (have-as-vis3): New.
24997         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24998         available use -Av9d instead of -Av9a.
24999         * sysdeps/sparc/sparc64/Makefile: Likewise.
25000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25002         New file.
25003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25004         file.
25005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25006         New file.
25007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25008         file.
25009         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25010         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25011         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25012         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25013         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25015         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25016         fzeros/fnegs to load 0x80000000 into a float register instead of
25017         using the stack.
25018         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25020 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25023         bits/syscall.h.
25024         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25025         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25026         ($(inst_includedir)/bits/syscall.h): Remove rule.
25027         ($(objpfx)bits/syscall.d): Include instead of
25028         $(objpfx)syscall-list.d.
25029         (generated): Change syscall-list.h and syscall-list.d to
25030         bits/syscall.h and bits/syscall.d.
25032 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25034         [BZ #13846]
25035         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25037 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25039         [BZ #13841]
25040         * math/s_csqrt.c: Include <float.h>.
25041         (__csqrt): Scale large or subnormal inputs.
25042         * math/s_csqrtf.c: Likewise.
25043         * math/s_csqrtl.c: Likewise.
25044         * math/libm-test.inc (csqrt_test): Add more tests.
25045         * sysdeps/i386/fpu/libm-test-ulps: Update.
25046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25048         [BZ #13840]
25049         * math/libm-test.inc (hypot_test): Add more tests.
25051 2012-03-13  David S. Miller  <davem@davemloft.net>
25053         [BZ #13840]
25054         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25055         double-precision for the calculation instead of scaling.
25057 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25059         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25060         manipulate bits before adding and subtracting TWO52[sx].
25061         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25062         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25063         Likewise.
25064         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25066 2012-03-13  David S. Miller  <davem@davemloft.net>
25068         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25069         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25070         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25071         rtld-global-offsets.h
25072         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25074         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25075         large parameters.
25077         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25079         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25080         'err' in the ifdef scope in which it is actually used.
25082         * nss/nss_db/db-init.c: Include string.h
25084 2012-03-12  David S. Miller  <davem@davemloft.net>
25086         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25087         masking out of the most significant byte of random value used.
25088         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25089         Fix coding style in previous change.
25091         * sysdeps/unix/sysv/linux/kernel-features.h
25092         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25093         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25094         expression.
25095         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25096         later.
25098 2012-03-11  David S. Miller  <davem@davemloft.net>
25100         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25101         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25102         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25103         for 'resultvar' otherwise things get truncated on 64-bit.
25105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25106         Fix masking out of the most significant byte of random value used.
25108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25110 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25114 2012-03-09  David S. Miller  <davem@davemloft.net>
25116         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25117         variables with appropriate CPP guards.
25118         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25119         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25120         on resulting framesize and the management of the outregs buffer for pltexit.
25121         Preserve floating point return values across _dl_call_pltexit call.
25122         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25123         framesize and the management of the outregs buffer for pltexit.
25124         Preserve floating point return values across _dl_call_pltexit
25125         call.
25126         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25127         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25128         (print_exit): Fix format string for return register value.
25130 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25132         * sunrpc/Makefile (others): Add rpcgen.
25133         ($(objpfx)rpcgen): Remove special build rule and dependency on
25134         libc.
25135         * sunrpc/rpcgen.c: New file.
25137 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25139         [BZ #13673]
25140         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25141         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25142         * sysdeps/i386/crti.S: Likewise.
25143         * sysdeps/i386/crtn.S: Likewise.
25144         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25145         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25146         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25147         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25148         * sysdeps/sh/crti.S: Likewise.
25149         * sysdeps/sh/crtn.S: Likewise.
25150         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25152         [BZ #13673]
25153         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25154         with URL.
25155         * locale/programs/locfile-kw.gperf: Likewise.
25156         * locale/programs/charmap-kw.h: Regenerated.
25157         * locale/programs/locfile-kw.h: Likewise.
25159         [BZ #13673]
25160         * intl/plural.y: Replace FSF snail mail address with URL.
25161         * intl/plural.c: Regenerated.
25163 2012-03-09  Richard Henderson  <rth@twiddle.net>
25165         * include/math_private.h: Remove file.
25166         * math/math_private.h: Move file ...
25167         * sysdeps/generic/math_private.h: ... here.
25169         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25170         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25171         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25173         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25174         and <math_private.h>.
25175         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25176         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25177         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25178         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25179         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25180         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25181         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25185         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25186         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25187         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25188         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25189         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25190         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25191         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25192         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25193         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25194         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25195         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25196         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25197         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25198         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25199         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25200         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25201         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25202         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25204         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25208         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25209         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25210         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25211         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25212         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25213         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25214         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25215         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25216         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25217         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25218         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25219         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25220         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25221         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25222         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25223         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25224         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25225         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25226         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25227         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25228         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25229         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25230         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25231         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25232         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25233         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25234         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25235         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25236         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25237         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25238         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25239         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25240         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25241         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25242         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25243         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25244         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25246         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25247         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25248         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25249         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25250         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25252         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25253         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25254         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25255         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25256         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25257         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25258         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25259         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25262         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25263         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25264         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25265         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25266         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25267         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25268         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25269         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25270         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25271         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25272         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25273         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25274         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25275         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25276         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25277         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25278         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25279         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25280         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25281         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25282         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25283         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25284         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25285         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25286         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25287         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25288         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25289         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25290         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25291         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25292         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25293         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25294         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25295         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25296         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25297         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25298         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25299         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25300         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25301         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25302         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25303         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25304         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25305         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25306         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25307         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25308         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25309         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25310         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25311         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25312         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25313         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25314         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25315         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25316         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25317         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25318         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25319         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25320         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25321         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25322         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25323         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25324         * sysdeps/ieee754/k_standard.c: Likewise.
25325         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25326         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25327         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25328         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25329         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25330         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25331         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25332         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25333         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25334         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25335         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25337         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25338         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25339         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25340         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25341         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25342         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25343         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25344         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25345         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25346         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25347         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25348         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25349         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25350         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25351         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25352         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25353         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25354         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25355         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25356         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25357         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25358         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25359         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25360         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25361         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25362         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25363         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25364         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25365         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25366         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25367         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25368         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25369         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25370         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25371         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25372         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25373         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25374         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25375         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25376         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25377         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25378         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25379         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25380         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25381         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25382         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25383         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25384         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25385         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25386         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25387         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25388         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25395         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25396         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25397         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25398         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25399         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25400         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25401         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25402         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25403         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25404         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25405         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25408         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25410         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25413         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25416         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25417         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25418         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25419         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25420         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25421         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25422         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25423         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25424         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25426         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25427         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25428         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25429         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25430         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25431         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25432         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25433         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25434         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25435         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25436         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25437         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25438         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25439         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25440         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25441         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25442         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25443         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25444         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25445         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25446         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25447         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25448         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25450         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25451         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25452         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25453         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25454         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25455         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25457         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25458         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25459         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25460         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25461         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25462         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25463         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25464         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25465         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25466         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25467         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25468         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25469         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25470         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25471         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25472         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25473         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25474         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25475         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25476         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25477         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25478         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25479         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25480         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25483         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25484         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25485         * sysdeps/ieee754/s_lib_version.c: Likewise.
25486         * sysdeps/ieee754/s_matherr.c: Likewise.
25487         * sysdeps/ieee754/s_signgam.c: Likewise.
25488         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25489         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25490         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25491         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25492         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25493         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25494         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25495         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25496         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25497         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25498         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25499         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25500         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25501         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25502         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25503         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25504         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25505         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25506         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25507         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25508         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25510 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25512         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25513         * sunrpc/rpc_main.c: Likewise.
25514         * sunrpc/rpc_svcout.c: Likewise.
25516 2012-03-09  David S. Miller  <davem@davemloft.net>
25518         * include/math_private.h: New file.
25520 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25522         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25523         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25524         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25525         from <bits/socket_type.h>.
25526         (enum __socket_type): Don't define here.
25527         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25529         bits/socket_type.h.
25531         [BZ #13566]
25532         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25533         checking __USE_GNU.
25535         * Makerules ($(inst_includedir)/%.h): New rule.
25536         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25537         (install-others): Remove variable setting.
25538         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25540 2012-03-08  Richard Henderson  <rth@twiddle.net>
25542         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25543         from macro to inline function; merge with the
25544         !__LIBC_INTERNAL_MATH_INLINES version.
25545         (__ieee754_sqrtf): Likewise.
25547         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25548         to inline function.
25549         (__rintf, __floor, __floorf): Likewise.
25551         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25552         macro to inline function.
25553         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25555         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25556         not <math/math_private.h>.
25558 2012-03-08  David S. Miller  <davem@davemloft.net>
25560         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25561         copyright year.
25562         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25564 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25566         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25567         normalization.
25568         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25569         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25571 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25573         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25574         be defined individually, they must be defined as a block.  Define
25575         S for printing a string instead of hidint the different by using a
25576         macro for adding the 'l'.
25577         * stdio-common/tst-fphex-wide.c: Adjust.
25579 2012-03-07  Marek Polacek  <polacek@redhat.com>
25581         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25583 2012-03-08  Marek Polacek  <polacek@redhat.com>
25585         [BZ #13806]
25586         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25587         * stdio-common/tst-fphex.c: Define a few macros to make the
25588         test reusable.  Use them.
25589         * stdio-common/tst-fphex-wide.c: New file.
25591 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25593         [BZ #6911]
25594         * manual/macros.texi (gnusystems): New macro.
25595         (nongnusystems): Likewise.
25596         (gnulinuxhurdsystems): Likewise.
25597         (gnuhurdsystems): Likewise..
25598         (gnulinuxsystems): Likewise.
25599         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25600         variants of the GNU system, not "GNU system".
25601         * manual/conf.texi: Likewise.
25602         * manual/errno.texi: Likewise.  Update example of errno macro
25603         expansion.
25604         * manual/filesys.texi: Likewise.
25605         (getumask): Document as specific to GNU/Hurd.
25606         * manual/install.texi: Likewise.  Reword some references to
25607         GNU/Linux.
25608         * manual/intro.texi: Likewise.
25609         * manual/io.texi: Likewise.
25610         (File Name Portability): Detail which constraints are inapplicable
25611         to all GNU systems and which are only inapplicable to GNU/Hurd.
25612         * manual/job.texi: Likewise.
25613         * manual/llio.texi: Likewise.
25614         (O_NOCTTY): Document as present on GNU/Linux.
25615         * manual/maint.texi: Likewise.
25616         * manual/memory.texi: Likewise.
25617         * manual/pattern.texi: Likewise.
25618         * manual/pipe.texi: Likewise.
25619         * manual/process.texi: Likewise.
25620         * manual/resource.texi: Likewise.
25621         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25622         child on GNU/Hurd.
25623         * manual/setjmp.texi: Likewise.
25624         * manual/signal.texi: Likewise.
25625         * manual/startup.texi: Likewise.
25626         * manual/stdio.texi: Likewise.
25627         * manual/terminal.texi: Likewise.
25628         (ONLCR): Document as POSIX.
25629         (OXTABS): Document availability on GNU/Linux as XTABS.
25630         (ONOEOT): Document availability separately from other bits.
25631         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25632         * manual/time.texi: Likewise.
25633         * manual/users.texi: Likewise.
25634         * INSTALL: Regenerated.
25635         * sysdeps/gnu/errlist.c: Regenerated.
25637         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25638         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25639         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25640         puts.
25641         * configure: Regenerated.
25643 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25645         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25646         default includes instead of AC_HEADER_CHECK.
25647         * sysdeps/i386/configure: Regenerated.
25649         [BZ #10716]
25650         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25651         * math/s_cacoshf.c (__cacoshf): Likewise.
25652         * math/s_cacoshl.c (__cacoshl): Likewise.
25653         * math/s_casinh.c (__casinh): Set signs of result from argument.
25654         * math/s_casinhf.c (__casinhf): Likewise.
25655         * math/s_casinhl.c (__casinhl): Likewise.
25656         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25657         (casinh_test): Add more tests.
25658         * sysdeps/i386/fpu/libm-test-ulps: Update.
25659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25661 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25663         * po/zh_TW.po: Update from translation team.
25665         * login/Makefile (distribute): Remove variable.
25666         * catgets/Makefile: Likewise.
25667         * mach/Makefile: Likewise.
25668         * malloc/Makefile: Likewise.
25669         * misc/Makefile: Likewise.
25670         * iconv/Makefile: Likewise.
25671         * nscd/Makefile: Likewise.
25672         * hurd/Makefile: Likewise.
25673         * manual/Makefile: Likewise.
25674         * locale/Makefile: Likewise.
25675         * intl/Makefile: Likewise.
25676         * conform/Makefile: Likewise.
25677         * nss/Makefile: Likewise.
25678         * time/Makefile: Likewise.
25679         * soft-fp/Makefile: Likewise.
25680         * dirent/Makefile: Likewise.
25681         * gmon/Makefile: Likewise.
25682         * po/Makefile: Likewise.
25683         * rt/Makefile: Likewise.
25684         * socket/Makefile: Likewise.
25685         * math/Makefile: Likewise.
25686         * signal/Makefile: Likewise.
25687         * debug/Makefile: Likewise.
25688         * elf/Makefile: Likewise.
25689         * timezone/Makefile: Likewise.
25690         * stdlib/Makefile: Likewise.
25691         * iconvdata/Makefile: Likewise.
25692         * sunrpc/Makefile: Likewise.
25693         * io/Makefile: Likewise.
25694         * argp/Makefile: Likewise.
25695         * inet/Makefile: Likewise.
25696         * hesiod/Makefile: Likewise.
25697         * grp/Makefile: Likewise.
25698         * csu/Makefile: Likewise.
25699         * wctype/Makefile: Likewise.
25700         * crypt/Makefile: Likewise.
25701         * libio/Makefile: Likewise.
25702         * string/Makefile: Likewise.
25703         * nis/Makefile: Likewise.
25704         * resolv/Makefile: Likewise.
25705         * stdio-common/Makefile: Likewise.
25706         * wcsmbs/Makefile: Likewise.
25707         * dlfcn/Makefile: Likewise.
25708         * posix/Makefile: Likewise.
25710         [BZ #6959]
25711         * timezone/Makefile: Don't install timezone files, just the programs
25712         and scripts.
25714 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25716         * nss/databases.def: Add missing gshadow entry.
25718         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25720 2012-03-06  Marek Polacek  <polacek@redhat.com>
25722         [BZ #13726]
25723         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25724         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25725         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25726         * stdio-common/tst-long-dbl-fphex.c: New file.
25728 2012-03-06  David S. Miller  <davem@davemloft.net>
25730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25731         (set_obp_int): New function.
25732         (get_obp_int): New function.
25733         (__get_clockfreq_via_dev_openprom): Likewise.
25734         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25735         Avoid unused variable warnings on 'val' and use builtin_expect.
25736         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25737         __builtin_expect.
25738         (INLINE_CLONE_SYSCALL): Likewise.
25740 2012-03-05  David S. Miller  <davem@davemloft.net>
25742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25744 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25748         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25749         only for |x| >= 40.
25750         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25752 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25755         Replace gettimeofday with __vdso_gettimeofday.
25757         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25758         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25759         __vdso_clock_gettime and __vdso_getcpu.
25761         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25762         time with __vdso_time.
25764 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25766         * manual/lang.texi (size_t): Note types to which size_t may be
25767         equivalent with the GNU C Library, but do not describe when
25768         differences between them are significant.
25770 2012-03-05  Andreas Jaeger  <aj@suse.de>
25772         * sysdeps/i386/fpu/libm-test-ulps: Update.
25774 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25776         [BZ #3976]
25777         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25778         (__ieee754_pow): Save and restore rounding mode and use
25779         round-to-nearest for main computations.
25780         * math/libm-test.inc (pow_test_tonearest): New function.
25781         (pow_test_towardzero): Likewise.
25782         (pow_test_downward): Likewise.
25783         (pow_test_upward): Likewise.
25784         (main): Call the new functions.
25785         * sysdeps/i386/fpu/libm-test-ulps: Update.
25786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25788         [BZ #3976]
25789         * math/libm-test.inc (cosh_test_tonearest): New function.
25790         (cosh_test_towardzero): Likewise.
25791         (cosh_test_downward): Likewise.
25792         (cosh_test_upward): Likewise.
25793         (sinh_test_tonearest): Likewise.
25794         (sinh_test_towardzero): Likewise.
25795         (sinh_test_downward): Likewise.
25796         (sinh_test_upward): Likewise.
25797         (main): Call the new functions.
25798         * sysdeps/i386/fpu/libm-test-ulps: Update.
25799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25801 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25803         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25804         default stack guard is set in last bytes.
25805         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25807 2012-03-05  Kees Cook  <keescook@chromium.org>
25809         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25811         [BZ #13656]
25812         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25813         possibly allocate from heap instead of stack.
25814         * stdio-common/bug-vfprintf-nargs.c: New file.
25815         * stdio-common/Makefile (tests): Add nargs overflow test.
25817 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25821 2012-03-03  Marek Polacek  <polacek@redhat.com>
25823         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25824         * math/math_private.h: Likewise.
25825         * stdlib/tst-strtod.c: Likewise.
25826         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25827         * sysdeps/x86_64/bits/atomic.h: Likewise.
25829 2012-03-02  David S. Miller  <davem@davemloft.net>
25831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25835         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25836         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25837         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25838         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25840 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25842         [BZ #13792]
25843         * manual/examples/README: New file, says the example source files
25844         can be used under GPL>=2.
25845         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25846         line containing just "*/".
25847         * manual/examples/add.c: Add copyright header (GPL>=2).
25848         * manual/examples/argp-ex1.c: Likewise.
25849         * manual/examples/argp-ex2.c: Likewise.
25850         * manual/examples/argp-ex3.c: Likewise.
25851         * manual/examples/argp-ex4.c: Likewise.
25852         * manual/examples/atexit.c: Likewise.
25853         * manual/examples/db.c: Likewise.
25854         * manual/examples/dir.c: Likewise.
25855         * manual/examples/dir2.c: Likewise.
25856         * manual/examples/execinfo.c: Likewise.
25857         * manual/examples/filecli.c: Likewise.
25858         * manual/examples/filesrv.c: Likewise.
25859         * manual/examples/fmtmsgexpl.c: Likewise.
25860         * manual/examples/genpass.c: Likewise.
25861         * manual/examples/inetcli.c: Likewise.
25862         * manual/examples/inetsrv.c: Likewise.
25863         * manual/examples/isockad.c: Likewise.
25864         * manual/examples/longopt.c: Likewise.
25865         * manual/examples/memopen.c: Likewise.
25866         * manual/examples/memstrm.c: Likewise.
25867         * manual/examples/mkfsock.c: Likewise.
25868         * manual/examples/mkisock.c: Likewise.
25869         * manual/examples/mygetpass.c: Likewise.
25870         * manual/examples/pipe.c: Likewise.
25871         * manual/examples/popen.c: Likewise.
25872         * manual/examples/rprintf.c: Likewise.
25873         * manual/examples/search.c: Likewise.
25874         * manual/examples/select.c: Likewise.
25875         * manual/examples/setjmp.c: Likewise.
25876         * manual/examples/sigh1.c: Likewise.
25877         * manual/examples/sigusr.c: Likewise.
25878         * manual/examples/stpcpy.c: Likewise.
25879         * manual/examples/strdupa.c: Likewise.
25880         * manual/examples/strftim.c: Likewise.
25881         * manual/examples/strncat.c: Likewise.
25882         * manual/examples/subopt.c: Likewise.
25883         * manual/examples/swapcontext.c: Likewise.
25884         * manual/examples/termios.c: Likewise.
25885         * manual/examples/testopt.c: Likewise.
25886         * manual/examples/testpass.c: Likewise.
25887         * manual/examples/timeval_subtract.c: Likewise.
25889         [BZ #13792]
25890         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25891         function to ...
25892         * manual/timeval_subtract.c.texi: ... here, new file.
25894 2012-03-02  David S. Miller  <davem@davemloft.net>
25896         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25898 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25900         [BZ #3976]
25901         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25902         (__sin): Save and restore rounding mode and use round-to-nearest
25903         for all computations.
25904         (__cos): Save and restore rounding mode and use round-to-nearest
25905         for all computations.
25906         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25907         <fenv.h>.
25908         (tan): Save and restore rounding mode and use round-to-nearest for
25909         all computations.
25910         * math/libm-test.inc (cos_test_tonearest): New function.
25911         (cos_test_towardzero): Likewise.
25912         (cos_test_downward): Likewise.
25913         (cos_test_upward): Likewise.
25914         (sin_test_tonearest): Likewise.
25915         (sin_test_towardzero): Likewise.
25916         (sin_test_downward): Likewise.
25917         (sin_test_upward): Likewise.
25918         (tan_test_tonearest): Likewise.
25919         (tan_test_towardzero): Likewise.
25920         (tan_test_downward): Likewise.
25921         (tan_test_upward): Likewise.
25922         (main): Call the new functions.
25923         * sysdeps/i386/fpu/libm-test-ulps: Update.
25924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25926         [BZ #10135]
25927         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25928         small n, then large n, before computing and testing k+n.
25929         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25931         Likewise.
25932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25933         Likewise.
25934         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25935         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25936         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25937         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25938         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25940         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25941         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25942         * math/libm-test.inc (scalbn_test): Add more tests.
25943         (scalbln_test): Likewise.
25945         * manual/filesys.texi (mode_t): Describe constraints on size and
25946         signedness, not exact equivalence to a particular type.
25947         (ino_t): Likewise.
25948         (ino64_t): Likewise.
25949         (dev_t): Likewise.
25950         (nlink_t): Likewise.
25951         (blkcnt_t): Likewise.
25952         (blkcnt64_t): Likewise.
25953         * manual/llio.texi (off_t): Likewise.
25955         [BZ #3976]
25956         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25957         (__ieee754_exp): Save and restore rounding mode and use
25958         round-to-nearest for all computations.
25959         * math/libm-test.inc (exp_test_tonearest): New function.
25960         (exp_test_towardzero): Likewise.
25961         (exp_test_downward): Likewise.
25962         (exp_test_upward): Likewise.
25963         (main): Call the new functions.
25964         * sysdeps/i386/fpu/libm-test-ulps: Update.
25965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25967 2012-03-01  Chris Demetriou  <cgd@google.com>
25969         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25970         have predictable order.
25972 2012-03-01  David S. Miller  <davem@davemloft.net>
25974         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25976         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25977         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25978         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25979         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25981         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25982         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25983         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25985         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25986         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25987         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25988         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25989         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25993         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25994         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25995         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25997         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25998         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25999         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26000         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26001         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26002         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26003         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26004         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26005         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26006         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26007         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26008         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26010         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26011         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26013         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26014         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26015         * sysdeps/sparc/elf/configure: Regenerated.
26017 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26019         * configure.in (AS, LD): Require binutils 2.20 or later.
26020         * configure: Regenerated.
26021         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26022         as required minimum version.
26023         * INSTALL: Regenerated.
26025         [BZ #2541]
26026         [BZ #4108]
26027         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26028         before squaring exponent.
26029         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26030         bottom long double and 27 bits of top long double before squaring
26031         exponent.
26032         * math/libm-test.inc (erfc_test): Add more tests.
26033         * sysdeps/i386/fpu/libm-test-ulps: Update.
26034         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26037 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26039         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26040         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26041         containing bit-fields.
26042         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26043         * soft-fp/single.h (_FP_UNION_S): Likewise.
26044         * soft-fp/double.h (_FP_UNION_D): Likewise.
26046 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26048         [BZ #13786]
26049         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26050         not include ../strcmp.S.
26051         [USE_AS_STRNCASECMP_L]: Likewise.
26052         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26053         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26054         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26055         (__strncasecmp_l_ia32): Define as alias to
26056         __strncasecmp_l_nonascii.
26058         [BZ #5794]
26059         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26060         * sysdeps/i386/fpu/libm-test-ulps: Update.
26061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26063         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066 2012-02-29  Jeff Law  <law@redhat.com>
26068         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26069         out of bounds read.
26071 2012-02-29  Marek Polacek  <polacek@redhat.com>
26073         [BZ #13706]
26074         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26075         * elf/Makefile: Add rules to run tst-unused-dep.out.
26077 2012-02-28  David S. Miller  <davem@davemloft.net>
26079         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26080         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26081         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26082         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26083         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26084         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26086 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26088         * math/libm-test.inc (llround_test): Move one test from
26089         lround_test.  Use TEST_f_L in moved test.
26090         (lround_test): Move misplaced test to llround_test.  Add testcase
26091         from bug 2561.
26093 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26095         * sysdeps/x86_64/fpu/e_expf.S: New file.
26096         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26098 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26100         [BZ #13637]
26101         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26102         of remain_len that may cause incomplete multi-byte character and
26103         false match.
26104         * posix/bug-regex33.c: New file.
26105         * posix/Makefile (tests): Add bug-regex33.
26107 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26109         * manual/macros.texi: New file.
26110         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26111         * manual/libc.texinfo: Include macros.texi.
26112         * manual/creatute.texi: Likewise.
26113         * manual/install.texi: Likewise.
26114         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26115         @glibcadj{} in references to the GNU C Library.
26116         * manual/charset.texi: Likewise.
26117         * manual/conf.texi: Likewise.
26118         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26119         when not using those macros.
26120         * manual/creature.texi: Likewise.
26121         * manual/crypt.texi: Likewise.
26122         * manual/errno.texi: Likewise.
26123         * manual/filesys.texi: Likewise.
26124         * manual/header.texi: Likewise.
26125         * manual/install.texi: Likewise.
26126         * manual/intro.texi: Likewise.
26127         * manual/io.texi: Likewise.
26128         * manual/job.texi: Likewise.
26129         * manual/lang.texi: Likewise.
26130         * manual/libc.texiinfo: Likewise.
26131         * manual/llio.texi: Likewise.
26132         * manual/locale.texi: Likewise.
26133         * manual/maint.texi: Likewise.
26134         * manual/math.texi: Likewise.
26135         * manual/memory.texi: Likewise.
26136         * manual/message.texi: Likewise.
26137         * manual/nss.texi: Likewise.
26138         * manual/pattern.texi: Likewise.
26139         * manual/process.texi: Likewise.
26140         * manual/resource.texi: Likewise.
26141         * manual/search.texi: Likewise.
26142         * manual/setjmp.texi: Likewise.
26143         * manual/signal.texi: Likewise.
26144         * manual/socket.texi: Likewise.
26145         * manual/startup.texi: Likewise.
26146         * manual/stdio.texi: Likewise.
26147         * manual/string.texi: Likewise.
26148         * manual/sysinfo.texi: Likewise.
26149         * manual/syslog.texi: Likewise.
26150         * manual/terminal.texi: Likewise.
26151         * manual/time.texi: Likewise.
26152         * manual/users.texi: Likewise.
26153         * INSTALL: Regenerated.
26154         * NOTES: Regenerated.
26155         * sysdeps/gnu/errlist.c: Regenerated.
26157 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26159         * include/dirent.h: Include <dirstream.h> before
26160         <dirent/dirent.h>.
26162 2012-02-28  David S. Miller  <davem@davemloft.net>
26164         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26165         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26166         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26167         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26169 2012-02-27  David S. Miller  <davem@davemloft.net>
26171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26173         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26174         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26177         frame pointer instead of stack pointer relative arg slot.
26178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26179         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26180         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26182 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26184         [BZ #3992]
26185         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26187 2012-02-27  David S. Miller  <davem@davemloft.net>
26189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26193         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26194         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26195         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26196         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26198 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26200         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26201         later.  Allow versions 5-9.
26202         * configure: Regenerated.
26203         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26204         required minimum version and 4.6 as recommended version.  Do not
26205         mention bugs in GCC 2.7 and 2.8.
26206         * INSTALL: Regenerated.
26208 2012-02-27  David S. Miller  <davem@davemloft.net>
26210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26214         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26215         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26216         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26217         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26219         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26220         manipulate bits before adding and subtracting TWO112[sx].
26221         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26223 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26225         [BZ #13775]
26226         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26227         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26228         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26229         being in POSIX, because they are in 1003.1-2008.
26231         * rt/tst-aio.c: Include <fcntl.h>.
26232         * rt/tst-aio7.c: Likewise.
26233         * rt/tst-aio64.c: Likewise.
26235         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26237 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26239         * manual/install.texi (--with-headers): Describe headers as
26240         interface headers, not private headers.
26241         (Specific advice for GNU/Linux systems): Describe use of headers
26242         from "make headers_install", not private headers from older
26243         kernels.
26244         * INSTALL: Regenerated.
26245         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26246         Change to 2.6.19.
26247         * sysdeps/unix/sysv/linux/configure: Regenerated.
26249         * manual/llio.texi (fclean): Remove documentation.
26251         * manual/Makefile (libc-texi-generated): New variable.  Include
26252         version.texi.
26253         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26254         $(libc-texi-generated), not duplicated list of files.
26255         (version.texi, stamp-version): New rules.
26256         (realclean): Remove $(libc-texi-generated), not individual files
26257         from that list.  Do not remove dir-add.texinfo.
26258         * manual/libc.texinfo: Comment out uses of edition numbers and
26259         references to printed manual.  Remove last-updated dates.
26260         (EDITION): Comment out.
26261         (ISBN): Likewise.
26262         (VERSION, UPDATED): Remove.
26263         (version.texi): Include.
26265 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26267         * sysdeps/posix/spawni.c: Include <signal.h>.
26268         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26269         * sysdeps/pthread/aio_fsync.c: Likewise.
26271 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26273         * conform/Makefile (tests): Run only when not cross-compiling and
26274         when fast-check is not defined.
26276         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26277         * conform/data/limits.h-data: Fixes for POSIX2008.
26278         * conform/run-conformtest.sh: Run all tests.
26279         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26280         headers.
26281         * include/bits/dlfcn.h: Likewise.
26282         * include/langinfo.h: Likewise.
26283         * include/monetary.h: Likewise.
26284         * include/sys/poll.h: Likewise.
26286         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26287         for __USE_GNU.
26288         * posix/spawn.h: Define __need_sigset_t.
26289         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26290         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26291         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26292         to get sigevent_t only.
26293         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26294         only for __USE_GNU.
26295         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26296         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26297         process_vm_writev only for __USE_GNU.
26298         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26300         * conform/Makefile: For now ignore errors from run-conformtest.
26301         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26302         POSIX to avoid namespace pollution.  Don't prepend headers.
26303         * conform/data/aio.h-data: Fixes for POSIX testing.
26304         * conform/data/fcntl.h-data: Likewise.
26305         * conform/data/glob.h-data: Likewise.
26306         * conform/data/grp.h-data: Likewise.
26307         * conform/data/pthread.h-data: Likewise.
26308         * conform/data/pwd.h-data: Likewise.
26309         * conform/data/signal.h-data: Likewise.
26310         * conform/data/spawn.h-data: Likewise.
26311         * conform/data/stdio.h-data: Likewise.
26312         * conform/data/stdlib.h-data: Likewise.
26313         * conform/data/stropts.h-data: Likewise.
26314         * conform/data/sys/mman.h-data: Likewise.
26315         * conform/data/sys/stat.h-data: Likewise.
26316         * conform/data/sys/types.h-data: Likewise.
26317         * conform/data/sys/wait.h-data: Likewise.
26318         * conform/data/time.h-data: Likewise.
26319         * conform/data/unistd.h-data: Likewise.
26320         * conform/data/utime.h-data: Likewise.
26322         * io/sys/stat.h: fchmod was always in POSIX.
26323         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26324         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26325         * rt/aio.h: Define __need_timespec before including <time.h>.
26326         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26327         struct.  Add forward declaration of pthread_attr_t and use it in
26328         sigevent.
26329         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26330         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26331         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26332         always remove CLK_TCK definition.
26334 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26336         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26338 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26340         * conform/run-conformtest.sh: New file.
26341         * conform/Makefile: Run run-conformtest for tests.
26342         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26343         support.
26345         * conform/data/uchar.h-data: New file.
26346         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26347         * conform/data/arpa/inet.h-data: Likewise.
26348         * conform/data/assert.h-data: Likewise.
26349         * conform/data/complex.h-data: Likewise.
26350         * conform/data/cpio.h-data: Likewise.
26351         * conform/data/ctype.h-data: Likewise.
26352         * conform/data/dirent.h-data: Likewise.
26353         * conform/data/dlfcn.h-data: Likewise.
26354         * conform/data/errno.h-data: Likewise.
26355         * conform/data/fcntl.h-data: Likewise.
26356         * conform/data/float.h-data: Likewise.
26357         * conform/data/fmtmsg.h-data: Likewise.
26358         * conform/data/fnmatch.h-data: Likewise.
26359         * conform/data/ftw.h-data: Likewise.
26360         * conform/data/glob.h-data: Likewise.
26361         * conform/data/grp.h-data: Likewise.
26362         * conform/data/iconv.h-data: Likewise.
26363         * conform/data/inttypes.h-data: Likewise.
26364         * conform/data/langinfo.h-data: Likewise.
26365         * conform/data/libgen.h-data: Likewise.
26366         * conform/data/limits.h-data: Likewise.
26367         * conform/data/locale.h-data: Likewise.
26368         * conform/data/math.h-data: Likewise.
26369         * conform/data/monetary.h-data: Likewise.
26370         * conform/data/mqueue.h-data: Likewise.
26371         * conform/data/ndbm.h-data: Likewise.
26372         * conform/data/net/if.h-data: Likewise.
26373         * conform/data/netdb.h-data: Likewise.
26374         * conform/data/netinet/in.h-data: Likewise.
26375         * conform/data/nl_types.h-data: Likewise.
26376         * conform/data/poll.h-data: Likewise.
26377         * conform/data/pthread.h-data: Likewise.
26378         * conform/data/pwd.h-data: Likewise.
26379         * conform/data/regex.h-data: Likewise.
26380         * conform/data/sched.h-data: Likewise.
26381         * conform/data/search.h-data: Likewise.
26382         * conform/data/semaphore.h-data: Likewise.
26383         * conform/data/setjmp.h-data: Likewise.
26384         * conform/data/signal.h-data: Likewise.
26385         * conform/data/spawn.h-data: Likewise.
26386         * conform/data/stdarg.h-data: Likewise.
26387         * conform/data/stdio.h-data: Likewise.
26388         * conform/data/stdlib.h-data: Likewise.
26389         * conform/data/string.h-data: Likewise.
26390         * conform/data/strings.h-data: Likewise.
26391         * conform/data/stropts.h-data: Likewise.
26392         * conform/data/sys/ipc.h-data: Likewise.
26393         * conform/data/sys/mman.h-data: Likewise.
26394         * conform/data/sys/msg.h-data: Likewise.
26395         * conform/data/sys/resource.h-data: Likewise.
26396         * conform/data/sys/select.h-data: Likewise.
26397         * conform/data/sys/sem.h-data: Likewise.
26398         * conform/data/sys/shm.h-data: Likewise.
26399         * conform/data/sys/socket.h-data: Likewise.
26400         * conform/data/sys/stat.h-data: Likewise.
26401         * conform/data/sys/statvfs.h-data: Likewise.
26402         * conform/data/sys/time.h-data: Likewise.
26403         * conform/data/sys/timeb.h-data: Likewise.
26404         * conform/data/sys/times.h-data: Likewise.
26405         * conform/data/sys/types.h-data: Likewise.
26406         * conform/data/sys/uio.h-data: Likewise.
26407         * conform/data/sys/un.h-data: Likewise.
26408         * conform/data/sys/utsname.h-data: Likewise.
26409         * conform/data/sys/wait.h-data: Likewise.
26410         * conform/data/syslog.h-data: Likewise.
26411         * conform/data/tar.h-data: Likewise.
26412         * conform/data/termios.h-data: Likewise.
26413         * conform/data/utime.h-data: Likewise.
26414         * conform/data/utmpx.h-data: Likewise.
26415         * conform/data/varargs.h-data: Likewise.
26416         * conform/data/wchar.h-data: Likewise.
26417         * conform/data/wctype.h-data: Likewise.
26418         * conform/data/wordexp.h-data: Likewise.
26420         * include/stropts.h: New file.
26421         * include/uchar.h: New file.
26422         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26423         * include/assert.h: Likewise.
26424         * include/ctype.h: Likewise.
26425         * include/dirent.h: Likewise.
26426         * include/dlfcn.h: Likewise.
26427         * include/fcntl.h: Likewise.
26428         * include/fnmatch.h: Likewise.
26429         * include/glob.h: Likewise.
26430         * include/grp.h: Likewise.
26431         * include/libio.h: Likewise.
26432         * include/locale.h: Likewise.
26433         * include/math.h: Likewise.
26434         * include/net/if.h: Likewise.
26435         * include/netdb.h: Likewise.
26436         * include/netinet/in.h: Likewise.
26437         * include/pthread.h: Likewise.
26438         * include/pwd.h: Likewise.
26439         * include/regex.h: Likewise.
26440         * include/sched.h: Likewise.
26441         * include/search.h: Likewise.
26442         * include/setjmp.h: Likewise.
26443         * include/signal.h: Likewise.
26444         * include/stdio.h: Likewise.
26445         * include/stdlib.h: Likewise.
26446         * include/string.h: Likewise.
26447         * include/sys/cdefs.h: Likewise.
26448         * include/sys/mman.h: Likewise.
26449         * include/sys/msg.h: Likewise.
26450         * include/sys/resource.h: Likewise.
26451         * include/sys/select.h: Likewise.
26452         * include/sys/socket.h: Likewise.
26453         * include/sys/stat.h: Likewise.
26454         * include/sys/statvfs.h: Likewise.
26455         * include/sys/time.h: Likewise.
26456         * include/sys/times.h: Likewise.
26457         * include/sys/uio.h: Likewise.
26458         * include/sys/utsname.h: Likewise.
26459         * include/sys/wait.h: Likewise.
26460         * include/termios.h: Likewise.
26461         * include/time.h: Likewise.
26462         * include/ulimit.h: Likewise.
26463         * include/unistd.h: Likewise.
26464         * include/utime.h: Likewise.
26465         * include/wchar.h: Likewise.
26466         * include/wctype.h: Likewise.
26467         * include/wordexp.h: Likewise.
26469         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26471         * time/time.h: TIME_UTC must be a macro.
26472         Make timespec_get available for ISO C11 only as well.
26474 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26476         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26477         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26479 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26481         * configure.in: Use -o not -a in test for unsupported multi-arch.
26483 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26485         * manual/texinfo.tex: Update to version 2012-01-19.16.
26487 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26489         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26491 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26493         [BZ #13738]
26494         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26495         * manual/fdl-1.3.texi: New file.
26496         * manual/fdl-1.1.texi: File removed.
26498         [BZ #13738]
26499         * manual/libc.texinfo (FDL_VERSION): New @set.
26500         Use it for mention of FDL in cover text.
26501         (Documentation License): Use it in @include file name.
26503 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26504             Roland McGrath  <roland@hack.frob.com>
26506         [BZ #5461]
26507         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26508         not LONG_LONG_MAX and LONG_LONG_MIN.
26509         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26510         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26511         name.
26512         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26514 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26516         [BZ #2547]
26517         [BZ #11365]
26518         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26519         manipulate bits before adding and subtracting TWO23[sx].
26520         * math/libm-test.inc (nearbyint_test): Add more tests.
26522 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26524         [BZ #2548]
26525         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26526         bits before adding and subtracting TWO23[sx].
26527         * math/libm-test.inc (rint_test): Add more tests.
26528         (rint_test_tonearest): Likewise.
26529         (rint_test_towardzero): Likewise.
26530         (rint_test_downward): Likewise.
26531         (rint_test_upward: Likewise.
26533 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26535         [BZ #10110]
26536         * include/stdc-predef.h: New file.  Extracted from features.h.
26537         * include/features.h: Include stdc-predef.h.
26538         * Makefile (headers): Add stdc-predef.h.
26539         * CONFORMANCE (Compiler limitations): Update.
26541 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26543         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26545 2012-02-21  David S. Miller  <davem@davemloft.net>
26547         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26548         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26550 2012-02-20  David S. Miller  <davem@davemloft.net>
26552         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26553         using a normal save/restore sequence, rather than allocating a
26554         dummy stack frame just to store a frame pointer and restore.
26555         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26557 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26559         * manual/install.texi: Fix stray word in line-wrapped comment.
26561 2012-02-20  David S. Miller  <davem@davemloft.net>
26563         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26564         both binutils and gcc support GOTDATA.
26566         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26567         "rd %pc" in the PIC register setup sequences.
26569         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26570         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26571         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26572         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26573         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26575         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26576         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26578         (SYSCALL_ERROR_HANDLER): Likewise.
26579         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26580         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26582         (SYSCALL_ERROR_HANDLER): Likewise.
26584         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26585         (HAVE_GCC_GOTDATA): New.
26586         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26587         relocation support in both binutils and gcc.
26588         * sysdeps/sparc/elf/configure: Regenerate.
26590         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26591         * sysdeps/sparc/sparc32/elf/configure: Delete.
26592         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26593         * sysdeps/sparc/sparc64/elf/configure: Delete.
26594         * sysdeps/sparc/elf/configure.in: New file.
26595         * sysdeps/sparc/elf/configure: Generate.
26597         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26598         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26599         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26600         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26601         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26603 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26605         * manual/install.texi: Do not mention specific glibc version
26606         numbers.
26607         * manual/libc.texinfo (VERSION, UPDATED): Update.
26608         (@copying): Use @copyright{} and range of years.
26610 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26612         [BZ #13695]
26613         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26614         [crti.S not in sysdirs] (generated): Do not append.
26615         [crti.S not in sysdirs] (omit-deps): Likewise.
26616         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26617         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26618         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26619         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26620         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26621         Likewise.
26622         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26623         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26624         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26625         * csu/defs.awk: Remove file.
26626         * sysdeps/generic/initfini.c: Likewise.
26627         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26628         variable.
26629         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26630         Likewise.
26632 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26634         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26635         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26636         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26637         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26638         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26639         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26640         <bits/epoll.h>.
26641         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26642         (__EPOLL_PACKED): Define to empty if not defined by
26643         <bits/epoll.h>.
26644         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26646         bits/epoll.h.
26648 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26650         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26651         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26652         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26653         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26654         <bits/timerfd.h>.
26655         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26657         bits/timerfd.h.
26659 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26661         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26662         in C locale.
26663         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26664         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26668 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26670         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26671         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26673 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26675         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26676         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26677         defined.
26678         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26679         Likewise.
26680         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26681         entry for 2.16.
26683 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26685         * math/w_acos.c: Use non-signaling floating-point comparisons.
26686         * math/w_acosf.c: Likewise.
26687         * math/w_acosh.c: Likewise.
26688         * math/w_acoshf.c: Likewise.
26689         * math/w_acoshl.c: Likewise.
26690         * math/w_acosl.c: Likewise.
26691         * math/w_asin.c: Likewise.
26692         * math/w_asinf.c: Likewise.
26693         * math/w_asinl.c: Likewise.
26694         * math/w_atanh.c: Likewise.
26695         * math/w_atanhf.c: Likewise.
26696         * math/w_atanhl.c: Likewise.
26697         * math/w_exp2.c: Likewise.
26698         * math/w_exp2f.c: Likewise.
26699         * math/w_exp2l.c: Likewise.
26700         * math/w_j0.c: Likewise.
26701         * math/w_j0f.c: Likewise.
26702         * math/w_j0l.c: Likewise.
26703         * math/w_j1.c: Likewise.
26704         * math/w_j1f.c: Likewise.
26705         * math/w_j1l.c: Likewise.
26706         * math/w_jn.c: Likewise.
26707         * math/w_jnf.c: Likewise.
26708         * math/w_log.c: Likewise.
26709         * math/w_log10.c: Likewise.
26710         * math/w_log10f.c: Likewise.
26711         * math/w_log10l.c: Likewise.
26712         * math/w_log2.c: Likewise.
26713         * math/w_log2f.c: Likewise.
26714         * math/w_log2l.c: Likewise.
26715         * math/w_logf.c: Likewise.
26716         * math/w_logl.c: Likewise.
26717         * math/w_sqrt.c: Likewise.
26718         * math/w_sqrtf.c: Likewise.
26719         * math/w_sqrtl.c: Likewise.
26720         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26721         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26722         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26723         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26724         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26726 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26728         [BZ #9739]
26729         * manual/string.texi (strnlen): Use correct parameter name in
26730         equivalent expression.
26732 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26734         [BZ #11174]
26735         * manual/users.texi (seteuid): Consistently use neweuid for
26736         argument name.
26738 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26740         [BZ #13704]
26741         * manual/nss.texi (Services in the NSS configuration): Correct
26742         list of services in example configuration file.
26744 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26746         [BZ #11322]
26747         * manual/arith.texi: Remove statements about negative zero
26748         behaving identically to zero.
26750 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26752         [BZ #5993]
26753         * manual/install.texi: Do not document upgrading from libc5.
26755 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26757         [BZ #4596]
26758         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26760 2012-02-18  David S. Miller  <davem@davemloft.net>
26762         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26763         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26764         %o7 across the call.
26765         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26766         instead.
26767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26768         SETUP_PIC_REG_LEAF.
26769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26770         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26771         * sysdeps/sparc/crtn.S: Likewise.
26773 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26775         * aout/Makefile: Remove.
26777 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26779         [BZ #13058]
26780         * manual/examples/argp-ex1.c (main): Format definition in GNU
26781         style.
26782         * manual/examples/argp-ex2.c (main): Likewise.
26783         * manual/examples/argp-ex3.c (main): Likewise.
26784         * manual/examples/argp-ex4.c (main): Likewise.
26785         * manual/examples/longopt.c (main): Use new-style prototype
26786         definition.
26787         * manual/examples/strncat.c (main): Specify return type and use
26788         (void) for arguments.
26789         * manual/examples/subopt.c (main): Use char **argv argument.
26791 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26793         [BZ #5077]
26794         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26795         rounding modes.
26797 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26799         [BZ #6907]
26800         * manual/string.texi (strchr): Change when strchrnul is
26801         recommended.
26803 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26805         [BZ #174]
26806         * manual/locale.texi (setlocale): Document LOCPATH.
26808 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26810         [BZ #10210]
26811         * manual/process.texi (execle): Move @dots{} before last argument.
26813 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26815         [BZ #12047]
26816         * manual/charset.texi (Generic Charset Conversion): Fix typo
26817         (LC_TYPE -> LC_CTYPE).
26819 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26821         [BZ #5805]
26822         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26823         (scalbnf): Likewise.
26824         (scalbnl): Likewise.
26825         (scalbln): Likewise.
26826         (scalblnf): Likewise.
26827         (scalblnl): Likewise.
26828         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26829         (vwarnx): Likewise.
26830         (verr): Likewise.
26831         (verrx): Likewise.
26832         * manual/filesys.texi (telldir): Use braces around return type.
26833         * manual/llio.texi (mmap): Add space after comma.
26834         (mmap64): Likewise.
26835         * manual/math.texi (jn): Use @var{} on parameter names.
26836         (jnf): Likewise.
26837         (jnl): Likewise.
26838         (yn): Likewise.
26839         (ynf): Likewise.
26840         (ynl): Likewise.
26841         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26842         line.
26843         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26844         "...".
26845         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26846         (sched_get_priority_max): Likewise.
26847         * manual/signal.texi (sigvec): Add space after comma.
26848         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26849         names.
26850         (if_indextoname): Likewise.
26851         (if_freenameindex): Likewise.
26852         (sendto): Use ',' instead of '.' in prototype.
26853         * manual/startup.texi (syscall): Use @dots{} instead of literal
26854         "...".
26855         * manual/stdio.texi (__fpending): Separate initial words of
26856         paragraph from @deftypefun line.
26857         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26858         "...".
26859         (vsyslog): Use @var{} on parameter names.
26860         * manual/terminal.texi (stty): Use @var{} on parameter names.
26861         * manual/users.texi (getutmp): Use @var{} on parameter names.
26862         (getutmpx): Likewise.
26864 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26866         [BZ #6884]
26867         * manual/stdio.texi (fopen): Fix typos in description of
26868         ",ccs=STRING".
26870 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26872         [BZ #4026]
26873         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26874         get clock_id definition.
26876 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26878         [BZ #4822]
26879         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26880         (madvise): Cast every argument to void on its own.
26882 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26884         [BZ #9902]
26885         * manual/startup.texi (Exit Status): Fix typo.
26887 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26889         [BZ #10140]
26890         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26891         * manual/examples/argp-ex2.c: Likewise.
26892         * manual/examples/argp-ex3.c: Likewise.
26894 2012-02-16  Richard Henderson  <rth@redhat.com>
26896         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26897         * sysdeps/s390/s390-32/initfini.c: Remove.
26898         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26899         * sysdeps/s390/s390-64/initfini.c: Remove.
26901 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26903         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26904         compiler output for sysdeps/generic/initfini.c.
26905         * sysdeps/sh/elf/initfini.c: Remove file.
26907 2012-02-16  David S. Miller  <davem@davemloft.net>
26909         [BZ #11494]
26910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26912         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26913         * sysdeps/sparc/crti.S: New file.
26914         * sysdeps/sparc/crtn.S: New file.
26915         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26916         * sysdeps/sparc/sparc64/Makefile: Likewise.
26918 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26920         [BZ #3335]
26921         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26923 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26925         [BZ #4822]
26926         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26928         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26929         (write, read, close): Likewise.
26930         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26932 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26934         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26935         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26936         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26937         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26938         <bits/signalfd.h>.
26939         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26941         bits/signalfd.h.
26943 2012-02-14  Marek Polacek  <polacek@redhat.com>
26945         * sysdeps/x86_64/crti.S: New file.
26946         * sysdeps/x86_64/crtn.S: New file.
26947         * sysdeps/x86_64/elf/initfini.c: Remove file.
26949 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26951         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26952         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26953         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26954         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26955         <bits/inotify.h>.
26956         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26958         bits/inotify.h.
26960 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26962         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26963         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26964         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26965         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26966         <bits/eventfd.h>.
26967         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26969         bits/eventfd.h.
26971 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26973         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26974         __feraiseexcept instead of feraiseexcept.
26976         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26977         nanosleep invocations.
26978         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26979         strings, and add error checking for a nanosleep invocations.
26981 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26983         Replace FSF snail mail address with URLs, as per GNU coding standards.
26984         Most of the snail mail addresses were wrong anyway, and omitting
26985         them makes the source code easier to maintain.  Almost all of the
26986         changes are to license notices and to locale LC_IDENTIFICATION
26987         addresses, except for this one:
26988         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26989         not its snail mail address.
26991 2012-02-09  Richard Henderson  <rth@twiddle.net>
26993         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26994         of kernel-features.h.
26996         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26998 2012-02-08  Marek Polacek  <polacek@redhat.com>
27000         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27001         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27002         * sysdeps/gnu/_G_config.h: Likewise.
27003         * sysdeps/generic/_G_config.h: Likewise.
27005 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27007         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27008         tests.
27009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27011         * sysdeps/powerpc/powerpc32/crti.S: New file.
27012         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27013         * sysdeps/powerpc/powerpc64/crti.S: New file.
27014         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27016         * Makeconfig (have-initfini): Don't set.
27017         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27018         * configure.in (nopic_initfini): Don't substitute.
27019         * config.h.in (HAVE_INITFINI): Don't #undef.
27020         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27021         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27023 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27025         Support crti.S and crtn.S provided directly by architectures.
27026         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27027         [crti.S in sysdirs] (omit-deps): Likewise.
27028         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27029         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27030         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27031         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27032         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27033         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27034         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27035         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27036         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27037         compiler output for sysdeps/generic/initfini.c.
27038         * sysdeps/i386/elf/Makefile: Remove file.
27039         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27041 2012-02-07  Marek Polacek  <polacek@redhat.com>
27043         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27044         * sysdeps/gnu/_G_config.h: Likewise.
27045         * sysdeps/mach/hurd/_G_config.h: Likewise.
27047 2012-02-07  Marek Polacek  <polacek@redhat.com>
27049         * math/Makefile (tests): Add tst-CMPLX2.
27050         * math/tst-CMPLX2.c: New file.
27052 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27054         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27056         * math/libm-test.inc (jn_test): Add missing L suffix.
27058 2012-02-06  Marek Polacek  <polacek@redhat.com>
27060         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27061         * sysdeps/i386/fpu/e_powf.S: Likewise.
27062         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27063         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27064         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27065         * sysdeps/i386/fpu/e_pow.S: Likewise.
27066         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27067         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27068         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27069         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27070         * sysdeps/i386/fpu/e_log2.S: Likewise.
27071         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27072         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27073         * sysdeps/i386/fpu/e_powl.S: Likewise.
27074         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27075         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27076         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27077         * sysdeps/i386/fpu/e_logl.S: Likewise.
27078         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27079         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27080         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27081         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27082         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27083         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27084         * sysdeps/i386/fpu/e_log.S: Likewise.
27085         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27086         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27087         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27088         * sysdeps/i386/fpu/e_logf.S: Likewise.
27089         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27090         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27091         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27092         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27093         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27094         * sysdeps/i386/fpu/e_log10.S: Likewise.
27095         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27096         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27097         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27098         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27099         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27100         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27101         * sysdeps/i386/asm-syntax.h: Likewise.
27102         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27103         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27104         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27105         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27106         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27107         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27108         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27109         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27110         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27111         * sysdeps/powerpc/sysdep.h: Likewise.
27112         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27113         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27115 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27117         [BZ #411]
27118         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27120 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27122         * sysdeps/i386/sysdep.h: Include <features.h>.
27123         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27124         version.
27126 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27128         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27129         Define.
27130         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27131         LOAD_PIC_REG_STR.
27133 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27135         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27136         (SETUP_PIC_REG): Use GET_PC_THUNK.
27137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27138         macro.
27140 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27142         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27143         for non-PIC compilation.
27144         (SETUP_PIC_REG): Add .p2align directive.
27145         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27146         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27147         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27148         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27150         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27151         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27152         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27153         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27154         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27155         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27156         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27157         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27158         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27159         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27160         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27161         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27162         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27163         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27164         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27165         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27166         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27167         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27168         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27169         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27171         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27172         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27173         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27174         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27175         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27176         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27177         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27178         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27179         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27180         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27181         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27182         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27183         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27184         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27185         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27187 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27189         * math/tst-CMPLX.c: Include <stdio.h>.
27191 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27193         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27194         float.
27195         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27196         * sysdeps/sparc/bits/mathdef.h: Likewise.
27198 2012-01-31  Marek Polacek  <polacek@redhat.com>
27200         * libio/libio.h: Don't define _PARAMS.
27201         * locale/programs/config.h: Don't define PARAMS.
27202         * stdlib/strtol_l.c: Likewise.
27203         (__strtol_l): Remove PARAMS from the prototype.
27205 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27207         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27208         names.  Just use the correct names.  Remove unnecessary wrapper
27209         functions.
27210         * malloc/arena.c: Likewise.
27211         * malloc/hooks.c: Likewise.
27213         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27214         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27215         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27217 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27219         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27220         into tail calls.
27221         (update_get_addr): New function.
27222         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27223         GET_ADDR_MODULE parameter.
27225 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27227         * crypt/cert.c: Remove __STDC__ conditionals.
27228         * crypt/crypt-entry.c: Likewise.
27229         * crypt/crypt_util.c: Likewise.
27230         * libio/filedoalloc.c: Likewise.
27231         * libio/fileops.c: Likewise.
27232         * libio/genops.c: Likewise.
27233         * libio/iofclose.c: Likewise.
27234         * libio/iofdopen.c: Likewise.
27235         * libio/iofopen.c: Likewise.
27236         * libio/iofopen64.c: Likewise.
27237         * libio/iogetdelim.c: Likewise.
27238         * libio/iopopen.c: Likewise.
27239         * libio/obprintf.c: Likewise.
27240         * libio/oldfileops.c: Likewise.
27241         * libio/oldiofclose.c: Likewise.
27242         * libio/oldiofdopen.c: Likewise.
27243         * libio/oldiofopen.c: Likewise.
27244         * libio/oldiopopen.c: Likewise.
27245         * libio/wfiledoalloc.c: Likewise.
27246         * libio/wgenops.c: Likewise.
27247         * locale/programs/xmalloc.c: Likewise.
27248         * misc/syslog.c: Likewise.
27249         * stdio-common/xbug.c: Likewise.
27250         * string/memchr.c: Likewise.
27251         * string/memcmp.c: Likewise.
27252         * string/memrchr.c: Likewise.
27253         * string/rawmemchr.c: Likewise.
27254         * sysdeps/posix/getcwd.c: Likewise.
27255         * time/strftime_l.c: Likewise.
27257 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27259         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27260         * config.make.in (config-cflags-sse2avx): Define.
27261         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27262         Fix typo.
27264 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27266         * scripts/config.guess: Update from upstream config git repository.
27267         * scripts/config.sub: Likewise.
27269 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27271         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27272         (EM_NUM): Update.
27273         (R_TILEPRO_*, R_TILEGX_*): New macros.
27275         * scripts/firstversions.awk: Fix bug in version range handling.
27277         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27279         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27281         * include/sys/epoll.h: New file.
27282         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27283         libc_hidden_def.
27285 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27287         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27288         Avoid unnecessary __WORDSIZE == 64 test.
27289         (fmaxf): Use VEX format if possible.
27290         (fmax): Likewise.
27291         (fminf): Likewise.
27292         (fmin): Likewise.
27294         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27295         * math/math_private.h: Remove libc_fegetround* and
27296         libc_fesetround*.
27297         * sysdeps/i386/configure.in: Check for -msse2avx.
27298         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27299         also if SSE2AVX is defined.
27300         Remove libc_fegetround* and libc_fesetround*.
27301         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27302         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27303         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27304         of HAS_YMM_USABLE.
27305         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27306         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27307         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27308         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27309         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27311         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27313 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27315         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27316         size is not set.
27317         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27319 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27321         [BZ #13618]
27322         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27323         relocation.
27324         * Makeconfig (libm): Define.
27325         * elf/Makefile: Add rules to build and run tst-relsort1.
27326         * elf/tst-relsort1.c: New file.
27327         * elf/tst-relsort1mod1.c: New file.
27328         * elf/tst-relsort1mod2.c: New file.
27330 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27332         * math/s_ldexp.c: Remove __STDC__ conditionals.
27333         * math/s_ldexpf.c: Likewise.
27334         * math/s_ldexpl.c: Likewise.
27335         * math/s_nextafter.c: Likewise.
27336         * math/s_nexttowardf.c: Likewise.
27337         * math/s_significand.c: Likewise.
27338         * math/s_significandf.c: Likewise.
27339         * math/s_significandl.c: Likewise.
27340         * math/w_jnl.c: Likewise.
27341         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27342         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27343         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27344         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27345         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27346         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27347         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27348         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27349         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27350         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27351         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27352         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27353         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27354         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27355         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27356         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27357         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27358         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27360         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27361         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27362         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27363         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27365         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27366         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27367         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27368         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27369         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27370         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27371         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27372         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27373         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27374         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27375         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27376         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27377         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27378         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27379         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27380         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27381         * sysdeps/ieee754/k_standard.c: Likewise.
27382         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27384         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27385         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27386         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27387         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27388         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27389         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27390         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27391         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27392         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27393         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27394         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27395         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27396         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27397         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27398         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27399         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27400         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27401         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27402         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27403         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27404         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27405         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27406         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27407         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27408         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27411         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27412         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27413         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27414         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27415         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27416         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27417         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27418         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27419         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27420         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27421         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27422         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27423         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27426         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27428         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27429         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27430         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27431         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27434         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27435         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27436         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27437         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27438         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27439         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27440         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27441         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27442         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27443         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27444         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27446         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27448         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27449         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27450         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27451         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27452         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27453         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27455         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27456         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27457         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27458         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27459         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27460         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27461         * sysdeps/ieee754/s_matherr.c: Likewise.
27462         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27463         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27467 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27469         * crypt/md5.h: Remove __STDC__ conditionals.
27470         * libio/libioP.h: Likewise.
27471         * locale/programs/config.h: Likewise.
27472         * sysdeps/generic/sysdep.h: Likewise.
27473         * sysdeps/i386/asm-syntax.h: Likewise.
27474         * sysdeps/s390/asm-syntax.h: Likewise.
27475         * sysdeps/unix/sysdep.h: Likewise.
27476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27479 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27481         * libio/libio.h: Remove __STDC__ conditionals.
27482         * malloc/obstack.h: Likewise.
27483         * math/complex.h: Likewise.
27484         * math/math.h: Likewise.
27485         * sysdeps/generic/_G_config.h: Likewise.
27486         * sysdeps/gnu/_G_config.h: Likewise.
27487         * sysdeps/mach/hurd/_G_config.h: Likewise.
27488         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27489         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27490         * sysdeps/sparc/bits/mathdef.h: Likewise.
27492 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27494         [BZ #13583]
27495         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27496         Clean up HAS_* macros.
27497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27498         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27499         possible.
27500         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27501         HAS_AVX.
27502         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27503         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27504         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27505         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27506         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27508 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27510         * elf/tst-unique3.cc (gets): Remove declaration.
27511         * elf/tst-unique3lib.cc (gets): Likewise.
27512         * elf/tst-unique3lib2.cc (gets): Likewise.
27513         * elf/tst-unique4.cc (gets): Likewise.
27515 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27517         * include/stdio.h: Add C++ protection.  Add gets declarations and
27518         definitions.
27519         * debug/tst-chk1.c: Don't declare gets here.
27520         * stdio-common/tst-gets.c: Likewise.
27522 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27524         * posix/glob: Remove directory.
27526 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27528         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27530 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27532         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27533         of the non-standard EPFNOSUPPORT.
27535 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27537         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27538         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27539         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27541 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27543         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27545 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27547         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27548         transient errors.
27549         * nscd/grpcache.c (cache_addgr): Likewise.
27550         * nscd/hstcache.c (cache_addhst): Likewise.
27551         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27552         * nscd/pwdcache.c (cache_addpw): Likewise.
27553         * nscd/servicescache.c (cache_addserv): Likewise.
27555 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27557         * malloc/malloc.c: Various cleanups.
27558         * malloc/hooks.c: Likewise.
27560         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27561         * stdlib/bug-fmtmsg1.c: New file.
27563         * stdlib/fmtmsg.c (init): Add missing unlock.
27564         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27566 2012-01-12  Marek Polacek  <polacek@redhat.com>
27568         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27569         and _GNU_SOURCE.
27571 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27573         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27574         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27575         macro to ensure uniqueness of label name.
27576         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27577         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27579 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27581         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27583         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27584         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27585         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27586         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27588 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27590         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27592         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27593         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27594         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27596         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27598         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27599         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27600         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27603         * math/bits/math-finite.h: Add ldexp support.
27605 2012-01-10  Marek Polacek  <polacek@redhat.com>
27607         * locale/programs/localedef.h (show_archive_content): Add noreturn
27608         attribute.
27610 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27612         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27614 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27616         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27618         * io/Makefile (headers): Add bits/poll2.h.
27620 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27623         typo #include statement.
27625 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27627         * include/sys/cdefs.h: Define __attribute_alloc_size.
27628         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27629         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27630         * elf/pldd.c: Likewise.
27631         * iconv/iconv_charmap.c: Likewise.
27632         * iconv/iconvconfig.c: Likewise.
27633         * iconv/strtab.c: Likewise.
27634         * locale/programs/locale.c: Likewise.
27635         * locale/programs/localedef.h: Likewise.
27636         * locale/programs/simple-hash.c: Likewise.
27637         * nscd/nscd.h: Likewise.
27638         * nss/makedb.c: Likewise.
27639         * sysdeps/generic/ldconfig.h: Likewise.
27640         * locale/programs/localedef.c: Remove xmalloc prototype.
27641         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27643 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27645         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27646         appropriate.
27648 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27650         * math/Makefile (tests): Add tst-CMPLX.
27651         * math/tst-CMPLX.c: New file.
27653         * math/complex.h (CMPLXL): Fix typo.
27655         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27656         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27657         GLIBC_2.16.
27658         * debug/tst-chk1.c: Add poll and ppoll tests.
27659         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27660         * include/sys/poll.h: Add hidden proto for ppoll.
27661         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27662         * sysdeps/mach/hurd/ppoll.c: Likewise.
27663         * io/ppoll.c: Likewise.
27664         * debug/poll_chk.c: New file.
27665         * debug/ppoll_chk.c: New file.
27666         * include/bits/poll2.h: New file.
27667         * io/bits/poll2.h: New file.
27669         [BZ #1350]
27670         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27672         * configure.in: static is always set to yes.  Remove.
27673         * config.make.in: Don't set build-static.
27674         * Makeconfig: Remove use of build-static.
27675         * dlfcn/Makefile: Likewise.
27676         * elf/Makefile: Likewise.
27677         * math/Makefile: Likewise.
27678         * misc/Makefile: Likewise.
27679         * nptl/Makefile: Likewise.
27680         * sysdeps/mach/hurd/Makefile: Likewise.
27682         * configure.in: PWD_P is not used anymore.
27683         * config.make.in: Remove PWD_P entry.
27685         * configure.in: Remove last remnants of RANLIB.
27686         No need to check for signed size_t anymore.
27687         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27688         and IA-64.
27689         Remove __builtin_expect test because we require at least gcc 3.4.
27690         * aclocal.m4: Likewise.
27692         * wcsmbs/mbrtoc16.c: Implement using towc function.
27693         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27694         * wcsmbs/wcsmbsload.c: Likewise.
27695         * iconv/gconv_simple.c: Likewise.
27696         * iconv/gconv_int.h: Likewise.
27697         * iconv/gconv_builtin.h: Likewise.
27698         * iconv/iconv_prog.c: Remove CHAR16 handling.
27700         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27702         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27704         * configure.in: Remove --with-elf and --enable-bounded options.
27705         Dont set base_machine for ia64.  More non-ELF conditions removed.
27706         Remove testing and setting of leading underscore information.
27707         * config.make.in (build-bounded): Set to no.
27708         * config.h.in: Remove NO_UNDERSCORES entry.
27709         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27710         them.
27711         * csu/start.c: Remove !NO_UNDERSCORE code.
27712         * locale/localeinfo.h: Likewise.
27713         * sysdeps/generic/machine-gmon.h: Likewise.
27714         * sysdeps/generic/sysdep.h: Likewise.
27715         * sysdeps/i386/sysdep.h: Likewise.
27716         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27717         * sysdeps/mach/sysdep.h: Likewise.
27718         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27719         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27720         * sysdeps/sh/sysdep.h: Likewise.
27721         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27722         * sysdeps/unix/i386/sysdep.S: Likewise.
27723         * sysdeps/unix/sparc/start.c: Likewise.
27724         * sysdeps/unix/sparc/sysdep.S: Likewise.
27725         * sysdeps/unix/sparc/sysdep.h: Likewise.
27726         * sysdeps/unix/start.c: Likewise.
27727         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27728         * sysdeps/x86_64/sysdep.h: Likewise.
27730 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27732         [BZ #13553]
27733         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27734         for non-gcc.
27735         * argp/argp-fmtstream.h: Use const instead __const.
27736         * argp/argp.h: Likewise.
27737         * assert/assert.h: Likewise.
27738         * bits/fenv.h: Likewise.
27739         * bits/sched.h: Likewise.
27740         * bits/sigset.h: Likewise.
27741         * bits/sigthread.h: Likewise.
27742         * catgets/nl_types.h: Likewise.
27743         * conform/data/pthread.h-data: Likewise.
27744         * crypt/crypt-private.h: Likewise.
27745         * crypt/crypt.h: Likewise.
27746         * crypt/crypt_util.c: Likewise.
27747         * ctype/ctype.h: Likewise.
27748         * debug/execinfo.h: Likewise.
27749         * debug/mbsnrtowcs_chk.c: Likewise.
27750         * debug/mbsrtowcs_chk.c: Likewise.
27751         * debug/wcsnrtombs_chk.c: Likewise.
27752         * debug/wcsrtombs_chk.c: Likewise.
27753         * debug/wcstombs_chk.c: Likewise.
27754         * dirent/dirent.h: Likewise.
27755         * dlfcn/dlfcn.h: Likewise.
27756         * elf/neededtest4.c: Likewise.
27757         * grp/grp.h: Likewise.
27758         * gshadow/gshadow.h: Likewise.
27759         * iconv/gconv.h: Likewise.
27760         * iconv/gconv_int.h: Likewise.
27761         * iconv/gconv_simple.c: Likewise.
27762         * iconv/iconv.h: Likewise.
27763         * iconv/loop.c: Likewise.
27764         * iconv/skeleton.c: Likewise.
27765         * include/aio.h: Likewise.
27766         * include/aliases.h: Likewise.
27767         * include/argz.h: Likewise.
27768         * include/arpa/inet.h: Likewise.
27769         * include/assert.h: Likewise.
27770         * include/dirent.h: Likewise.
27771         * include/dlfcn.h: Likewise.
27772         * include/execinfo.h: Likewise.
27773         * include/fcntl.h: Likewise.
27774         * include/fenv.h: Likewise.
27775         * include/glob.h: Likewise.
27776         * include/grp.h: Likewise.
27777         * include/libintl.h: Likewise.
27778         * include/mntent.h: Likewise.
27779         * include/netdb.h: Likewise.
27780         * include/pwd.h: Likewise.
27781         * include/rpc/netdb.h: Likewise.
27782         * include/sched.h: Likewise.
27783         * include/search.h: Likewise.
27784         * include/shadow.h: Likewise.
27785         * include/signal.h: Likewise.
27786         * include/stdio.h: Likewise.
27787         * include/stdlib.h: Likewise.
27788         * include/string.h: Likewise.
27789         * include/sys/socket.h: Likewise.
27790         * include/sys/stat.h: Likewise.
27791         * include/sys/statfs.h: Likewise.
27792         * include/sys/statvfs.h: Likewise.
27793         * include/sys/syslog.h: Likewise.
27794         * include/sys/time.h: Likewise.
27795         * include/sys/uio.h: Likewise.
27796         * include/time.h: Likewise.
27797         * include/unistd.h: Likewise.
27798         * include/utmp.h: Likewise.
27799         * include/wchar.h: Likewise.
27800         * include/wctype.h: Likewise.
27801         * inet/aliases.h: Likewise.
27802         * inet/arpa/inet.h: Likewise.
27803         * inet/netinet/ether.h: Likewise.
27804         * inet/netinet/in.h: Likewise.
27805         * intl/libintl.h: Likewise.
27806         * io/bits/fcntl2.h: Likewise.
27807         * io/fcntl.h: Likewise.
27808         * io/ftw.h: Likewise.
27809         * io/sys/poll.h: Likewise.
27810         * io/sys/stat.h: Likewise.
27811         * io/sys/statfs.h: Likewise.
27812         * io/sys/statvfs.h: Likewise.
27813         * io/utime.h: Likewise.
27814         * libio/bits/stdio.h: Likewise.
27815         * libio/bits/stdio2.h: Likewise.
27816         * libio/libio.h: Likewise.
27817         * libio/libioP.h: Likewise.
27818         * libio/stdio.h: Likewise.
27819         * locale/lc-ctype.c: Likewise.
27820         * locale/locale.h: Likewise.
27821         * login/utmp.h: Likewise.
27822         * malloc/arena.c: Likewise.
27823         * malloc/malloc.c: Likewise.
27824         * malloc/malloc.h: Likewise.
27825         * malloc/mcheck.c: Likewise.
27826         * malloc/mtrace.c: Likewise.
27827         * math/bits/mathcalls.h: Likewise.
27828         * math/fenv.h: Likewise.
27829         * math/math_private.h: Likewise.
27830         * misc/bits/error.h: Likewise.
27831         * misc/bits/syslog.h: Likewise.
27832         * misc/err.h: Likewise.
27833         * misc/error.h: Likewise.
27834         * misc/fstab.h: Likewise.
27835         * misc/mntent.h: Likewise.
27836         * misc/regexp.h: Likewise.
27837         * misc/search.h: Likewise.
27838         * misc/sgtty.h: Likewise.
27839         * misc/sys/mman.h: Likewise.
27840         * misc/sys/syslog.h: Likewise.
27841         * misc/sys/uio.h: Likewise.
27842         * misc/sys/xattr.h: Likewise.
27843         * misc/ttyent.h: Likewise.
27844         * nis/rpcsvc/ypclnt.h: Likewise.
27845         * nss/nss.h: Likewise.
27846         * posix/bits/unistd.h: Likewise.
27847         * posix/fnmatch.h: Likewise.
27848         * posix/glob.h: Likewise.
27849         * posix/sched.h: Likewise.
27850         * posix/spawn.h: Likewise.
27851         * posix/sys/wait.h: Likewise.
27852         * posix/unistd.h: Likewise.
27853         * posix/wordexp.h: Likewise.
27854         * pwd/pwd.h: Likewise.
27855         * resolv/netdb.h: Likewise.
27856         * resource/sys/resource.h: Likewise.
27857         * rt/aio.h: Likewise.
27858         * rt/bits/mqueue2.h: Likewise.
27859         * rt/mqueue.h: Likewise.
27860         * shadow/shadow.h: Likewise.
27861         * signal/signal.h: Likewise.
27862         * socket/send.c: Likewise.
27863         * socket/sendto.c: Likewise.
27864         * socket/sys/socket.h: Likewise.
27865         * stdio-common/printf.h: Likewise.
27866         * stdlib/bits/stdlib.h: Likewise.
27867         * stdlib/fmtmsg.h: Likewise.
27868         * stdlib/monetary.h: Likewise.
27869         * stdlib/stdlib.h: Likewise.
27870         * stdlib/ucontext.h: Likewise.
27871         * streams/stropts.h: Likewise.
27872         * string/argz.h: Likewise.
27873         * string/bits/string2.h: Likewise.
27874         * string/string.h: Likewise.
27875         * string/strings.h: Likewise.
27876         * sunrpc/rpc/auth.h: Likewise.
27877         * sunrpc/rpc/auth_des.h: Likewise.
27878         * sunrpc/rpc/clnt.h: Likewise.
27879         * sunrpc/rpc/netdb.h: Likewise.
27880         * sunrpc/rpc/pmap_clnt.h: Likewise.
27881         * sunrpc/rpc/xdr.h: Likewise.
27882         * sysdeps/generic/inttypes.h: Likewise.
27883         * sysdeps/generic/net/if.h: Likewise.
27884         * sysdeps/generic/sys/swap.h: Likewise.
27885         * sysdeps/gnu/net/if.h: Likewise.
27886         * sysdeps/gnu/utmpx.h: Likewise.
27887         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27888         * sysdeps/i386/i486/bits/string.h: Likewise.
27889         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27890         * sysdeps/s390/bits/string.h: Likewise.
27891         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27892         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27893         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27894         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27895         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27896         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27897         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27898         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27899         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27900         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27901         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27902         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27903         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27904         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27905         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27906         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27907         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27909         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27910         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27911         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27912         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27913         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27914         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27915         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27916         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27917         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27918         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27919         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27920         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27921         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27922         * sysvipc/sys/ipc.h: Likewise.
27923         * sysvipc/sys/msg.h: Likewise.
27924         * sysvipc/sys/sem.h: Likewise.
27925         * sysvipc/sys/shm.h: Likewise.
27926         * termios/termios.h: Likewise.
27927         * time/sys/time.h: Likewise.
27928         * time/time.h: Likewise.
27929         * wcsmbs/bits/wchar2.h: Likewise.
27930         * wcsmbs/uchar.h: Likewise.
27931         * wcsmbs/wchar.h: Likewise.
27932         * wctype/wctype.h: Likewise.
27934         [BZ #13551]
27935         * Makeconfig: Remove all but ELF support including AIX support.
27936         * Makerules: Likewise.
27937         * config.h.in: Likewise.
27938         * config.make.in: Likewise.
27939         * configure: Likewise.
27940         * configure.in: Likewise.
27941         * csu/Makefile: Likewise.
27942         * csu/version.c: Likewise.
27943         * debug/Makefile: Likewise.
27944         * dlfcn/Makefile: Likewise.
27945         * elf/Makefile: Likewise.
27946         * extra-lib.mk: Likewise.
27947         * iconv/Makefile: Likewise.
27948         * include/libc-symbols.h: Likewise.
27949         * include/shlib-compat.h: Likewise.
27950         * resolv/Makefile: Likewise.
27951         * resolv/res_libc.c: Likewise.
27952         * rt/Makefile: Likewise.
27953         * sysdeps/i386/asm-syntax.h: Likewise.
27954         * sysdeps/i386/sysdep.h: Likewise.
27955         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27956         * sysdeps/mach/sysdep.h: Likewise.
27957         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27958         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27959         * sysdeps/s390/asm-syntax.h: Likewise.
27960         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27961         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27962         * sysdeps/sh/sysdep.h: Likewise.
27963         * sysdeps/unix/sparc/sysdep.h: Likewise.
27964         * sysdeps/wordsize-32/divdi3.c: Likewise.
27965         * sysdeps/x86_64/sysdep.h: Likewise.
27967         * argp/Versions: Remove _argp_unlock_xxx.
27969         [BZ #13559]
27970         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27971         * abilist/libBrokenLocale.abilist: Likewise.
27972         * abilist/libanl.abilist: Likewise.
27973         * abilist/libc.abilist: Likewise.
27974         * abilist/libcrypt.abilist: Likewise.
27975         * abilist/libdl.abilist: Likewise.
27976         * abilist/libm.abilist: Likewise.
27977         * abilist/libnsl.abilist: Likewise.
27978         * abilist/libpthread.abilist: Likewise.
27979         * abilist/libresolv.abilist: Likewise.
27980         * abilist/librt.abilist: Likewise.
27981         * abilist/libthread_db.abilist: Likewise.
27982         * abilist/libutil.abilist: Likewise.
27983         * abilist/libnss_db.abilist: New file.
27985         * scripts/abilist.awk: Add support for indirect functions.
27987         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27989         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27991         * shlib-versions: Remove entries for ports architectures.
27993         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27994         files in ports.
27995         * elf/stackguard-macros.h: Remove support for IA-64.
27996         * elf/tst-auditmod1.c: Likewise.
27997         * sysdeps/generic/ldsodefs.h: Likewise.
27999         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28000         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28001         configure files.
28003         [BZ #13552]
28004         * configure.in: Remove --enable-omitfp support.
28005         * FAQ.in: Adjust.
28006         * config.make.in: Likewise.
28007         * Makeconfig: Likewise.
28008         * manual/install.texi: Likewise.
28010         In case anyone cares, the IA-64 architecture could move to ports.
28011         * sysdeps/ia64/*: Removed.
28012         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28013         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28015         [BZ #13555]
28016         * configure.in: Remove entries for unsupported architectures.
28018         [BZ #13533]
28019         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28020         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28021         routines.
28022         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28023         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28024         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28025         fall back to using wcrtomb.
28026         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28027         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28028         renaming.
28029         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28030         * wcsmbs/tst-c16c32-1.c: New file.
28032         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28033         local variable.
28035         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28037         * elf/tst-unique3.cc: Add explicit declaration of gets.
28038         * elf/tst-unique3lib.cc: Likewise.
28039         * elf/tst-unique3lib2.cc: Likewise.
28040         * elf/tst-unique4.cc: Likewise.
28042         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28044 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28046         [BZ #13566]
28047         * assert/assert.h (static_assert): Don't define for C++.
28048         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28049         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28051 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28053         * iconv/loop.c (single loop): Fix assertion in storing of
28054         remaining bytes.
28056         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28058 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28060         * posix/getconf.c: Update copyright year.
28061         * nss/getent.c: Likewise.
28062         * nss/makedb.c: Likewise.
28063         * iconv/iconvconfig.c: Likewise.
28064         * iconv/iconv_prog.c: Likewise.
28065         * elf/ldconfig.c: Likewise.
28066         * elf/pldd.c: Likewise.
28067         * elf/sotruss.ksh: Likewise.
28068         * catgets/gencat.c: Likewise.
28069         * csu/version.c: Likewise.
28070         * elf/ldd.bash.in: Likewise.
28071         * elf/sprof.c (print_version): Likewise.
28072         * locale/programs/locale.c: Likewise.
28073         * locale/programs/localedef.c: Likewise.
28074         * login/programs/pt_chown.c: Likewise.
28075         * nscd/nscd.c (print_version): Likewise.
28076         * debug/xtrace.sh: Likewise.
28077         * malloc/memusage.sh: Likewise.
28078         * malloc/mtrace.pl: Likewise.
28079         * debug/catchsegv.sh: Likewise.
28081 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28083         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28084         pure attribute.
28086 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28088         [BZ #13533]
28089         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28090         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28091         transformations.
28092         * iconv/gconv_int.h: Likewise.
28093         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28094         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28095         from libc for GLIBC_2.16.
28096         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28097         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28098         * wcsmbs/uchar.h: Really define mbstate_t.
28099         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28100         * wcsmbs/c16rtomb.c: New file.
28101         * wcsmbs/mbrtoc16.c: New file.
28102         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28103         for C/POSIX locale.
28104         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28105         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28107         * wcsmbs/wchar.h: Add missing __restrict.
28109 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28111         [BZ #13532]
28112         * time/Makefile (routines): Add timespec_get.
28113         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28114         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28115         timespec for ISO C11.
28116         * time/timespec_get.c: New file.
28117         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28118         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28120         [BZ #13531]
28121         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28122         * stdlib/stdlib.h: Declare aligned_alloc.
28123         * Versions.def: Add GLIBC_2.16 for libc.
28124         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28126         [BZ 13527]
28127         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28128         ISO C11.
28130         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28131         code.
28133         [BZ #13528]
28134         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28136         [BZ #13529]
28137         * assert/assert.h (static_assert): Define.
28139         * version.h: Update for 2.16 development version.
28141         [BZ #13526]
28142         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28143         _ISOC11_SOURCE.
28145         * version.h (RELEASE): Bump for 2.15 release.
28146         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28148         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28149         Patch by Marek Polacek <mpolacek@redhat.com>.
28151         * bits/byteswap.h: Protect long long constants with __extension__.
28152         * sysdeps/i386/bits/byteswap.h: Likewise.
28153         * sysdeps/ia64/bits/byteswap.h: Likewise.
28154         * sysdeps/s390/bits/byteswap.h: Likewise.
28155         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28157 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28159         [BZ #13540]
28160         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28161         destination buffer.
28162         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28164 2011-12-23  Marek Polacek  <polacek@redhat.com>
28166         * elf/dl-addr.c (determine_info): Add inline keyword.
28167         * elf/tst-auditmod4b.c (check_avx): Likewise.
28168         * elf/tst-auditmod6b.c (check_avx): Likewise.
28169         * elf/tst-auditmod6c.c (check_avx): Likewise.
28170         * elf/tst-auditmod7b.c (check_avx): Likewise.
28172 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28174         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28175         !__SSE_MATH__.
28177 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28179         [BZ #13540]
28180         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28181         processing for last bytes.
28183 2011-08-06  Bruno Haible  <bruno@clisp.org>
28185         [BZ #13061]
28186         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28187         U+0385, not to U+1FEE.
28189         [BZ #13062]
28190         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28191         entry for U+00A5 U+0301.
28193 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28195         [BZ #13166]
28196         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28197         buffer for the output is too small.
28199         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28200         optimization.
28202         [BZ #13185]
28203         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28204         SSE flags if possible.
28206 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28208         [BZ #13540]
28209         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28210         processing for last bytes.
28212 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28214         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28215         (syscall-list-default-options, syscall-list-default-condition)
28216         (syscall-list-includes): Define.
28217         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28218         list of ABIs and options and #if conditions for each ABI.  Do not
28219         handle common syscalls between ABIs specially.
28220         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28221         Remove.
28222         (syscall-list-variants, syscall-list-32bit-options)
28223         (syscall-list-32bit-condition, syscall-list-64bit-options)
28224         (syscall-list-64bit-condition): Define.
28225         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28226         (syscall-list-variants, syscall-list-32bit-options)
28227         (syscall-list-32bit-condition, syscall-list-64bit-options)
28228         (syscall-list-64bit-condition): Define.
28229         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28230         Remove.
28231         (syscall-list-variants, syscall-list-32bit-options)
28232         (syscall-list-32bit-condition, syscall-list-64bit-options)
28233         (syscall-list-64bit-condition): Define.
28234         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28235         Remove.
28236         (syscall-list-variants, syscall-list-32bit-options)
28237         (syscall-list-32bit-condition, syscall-list-64bit-options)
28238         (syscall-list-64bit-condition): Define.
28240 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28242         * locale/iso-639.def: Add brx entry.
28244         [BZ #13328]
28245         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28246         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28248         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28249         __feraiseexcept_renamed.
28251 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28253         [BZ #13538]
28254         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28255         EPOLLET with unsigned values.
28256         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28257         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28259         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28260         to large cancellation.
28261         * math/s_cacoshf.c: Likewise.
28262         * math/s_cacoshl.c: Likewise.
28264 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28266         [BZ #13305]
28267         [BZ #12786]
28268         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28269         * math/s_cacoshf.c: Likewise.
28270         * math/s_cacoshl.c: Likewise.
28272 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28274         [BZ #13439]
28275         * iconv/gconv.h: Define __GCONV_SWAP.
28276         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28277         * iconvdata/utf-16.c: Likewise.
28278         * iconvdata/utf-32.c: Likewise.
28280 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28282         [BZ #13524]
28283         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28284         numerator after shifting it by one limb.
28286 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28288         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28289         under [__USE_EXTERN_INLINES].
28291 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28293         [BZ #13446]
28294         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28296 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28298         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28299         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28300         optimized code.
28301         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28302         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28303         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28304         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28305         for strncasecmp/strncasecmp_l compilation.
28306         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28307         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28309 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28311         [BZ #13484]
28312         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28313         of __asm__.
28315 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28317         [BZ #13506]
28318         * time/tzfile.c (__tzfile_read): Check values from file header.
28320 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28322         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28323         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28324         * powerpc/powerpc32/dl-start.S: Likewise.
28325         * powerpc/powerpc32/elf/start.S: Likewise.
28326         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28327         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28328         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28329         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28330         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28331         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28332         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28333         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28334         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28335         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28336         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28337         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28338         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28339         * powerpc/powerpc32/memset.S: Likewise.
28340         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28341         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28342         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28343         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28344         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28345         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28346         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28347         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28348         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28349         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28350         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28351         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28352         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28354 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28356         * math/libm-test.inc: Added more nearbyint tests.
28357         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28358         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28359         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28360         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28362 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28364         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28365         FD_CLOEXEC.
28367 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28369         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28370         Add wcscpy-ssse3 wcscpy-c.
28371         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28372         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28373         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28374         * sysdeps/x86_64/wcschr.S: New file.
28375         * sysdeps/x86_64/wcsrchr.S: New file.
28376         * string/test-strcmp.c: Remove checking of wcscmp function for
28377         wrong alignments.
28378         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28379         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28380         wcsrchr-sse2 wcsrchr-c.
28381         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28382         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28383         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28384         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28385         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28386         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28387         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28388         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28389         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28390         * wcsmbc/wcschr.c (WCSCHR): New macro.
28392 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28394         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28395         * wcsmbs/test-wcsrchr.c: New file.
28396         * string/test-strrchr.c: Add wcsrchr support.
28397         (WIDE): New macro.
28398         * wcsmbs/test-wcscpy.c: New file.
28399         * string/test-strcpy.c: Add wcscpy support.
28400         (WIDE): New macro.
28402 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28404         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28405         the inner loop.
28407 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28409         [BZ #13472]
28410         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28412 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28414         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28415         Minor optimizations.
28417         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28418         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28419         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28421 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28423         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28424         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28425         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28426         for gcc to avoid warnings.
28427         * inet/Makefile (tests): Add tst-checks.
28428         * inet/tst-checks.c: New file.
28430         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28431         warning.
28433         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28434         __wmemcmp_sse2.
28436         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28437         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28439         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28441 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28443         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28444         problem.
28446         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28448 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28450         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28451         conditional on GCC version.
28452         (__arch_compare_and_exchange_val_8_acq)
28453         (__arch_compare_and_exchange_val_16_acq)
28454         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28455         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28456         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28458 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28460         * sysdeps/sh/backtrace.c: New file.
28462 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28464         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28465         parenthesis.
28467 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28469         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28470         falling back to utime.
28472 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28474         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28475         expectations for float.
28477 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28479         * locale/weight.h (findidx): Add parameter len.
28480         * locale/weightwc.h (findidx): Likewise.
28481         * posix/fnmatch_loop.c (FCT): Adjust caller.
28482         * posix/regcomp.c (build_equiv_class): Likewise.
28483         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28484         * posix/regexec.c (check_node_accept_bytes): Likewise.
28485         * string/strcoll_l.c (STRCOLL): Likewise.
28486         * string/strxfrm_l.c (STRXFRM): Likewise.
28488 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28490         * Makefile.in: Remove CVSOPT handling.
28491         * configure.in: Remove use of AC_REVISION.
28492         * iconvdata/Makefile (distribute): No need to filter out CVS.
28493         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28494         handling.
28496 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28498         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28499         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28500         [USE_AS_STRNCASECMP_L]: Likewise.
28501         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28502         NO_TLS_DIRECT_SEG_REFS.
28503         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28504         Fix argument offsets for non-PIC.
28505         [USE_AS_STRNCASECMP_L]: Likewise.
28506         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28507         NO_TLS_DIRECT_SEG_REFS.
28509 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28511         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28512         O_CLOEXEC.
28513         * locale/loadlocale.c (_nl_load_locale): Likewise.
28515 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28517         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28518         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28519         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28520         (SYSCALL_GETTIME): Set errno on error.
28522         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28523         count references to noai6ai_cached.
28525 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28527         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28529         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28530         FD_CLOEXEC for /proc/self/maps.
28532         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28533         FD_CLOEXEC for /proc/meminfo.
28535         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28536         gai.conf.
28538         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28539         FD_CLOEXEC for given file.
28541         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28543         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28544         FD_CLOEXEC for /etc/hosts.
28545         (_gethtent): Likewise.
28547         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28549         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28550         cancellation and set FD_CLOEXEC for /etc/netgroup.
28552         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28553         reading /etc/publickey.
28555         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28556         allow cancellation when reading /etc/group.
28558         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28559         cancellation.
28560         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28562         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28563         when using data file.
28565         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28567         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28568         (write_nis_obj): Use "c" and "e" in fopen.
28570         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28572         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28574         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28576         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28578         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28579         locale.alias.
28581         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28583         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28585         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28587         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28588         file parsing and set FD_CLOEXEC.
28590 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28592         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28594 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28596         * malloc/arena.c (arena_get2): Don't call reused_arena when
28597         _int_new_arena failed.
28599 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28601         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28602         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28603         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28604         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28605         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28606         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28607         to compile strcasecmp and strncasecmp.
28608         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28609         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28611         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28613 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28615         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28616         locale-defines.sym to gen-as-const-headers.
28617         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28618         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28620         to compile strcasecmp and strncasecmp.
28621         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28622         strcasecmp_l and strncasecmp_l.
28623         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28624         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28625         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28626         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28627         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28628         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28629         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28630         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28631         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28632         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28633         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28635 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28637         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28638         result of SYSDEP_GETTIME_CPU to retval.
28639         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28640         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28642         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28643         variable.
28645         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28646         mantissa words.
28647         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28649         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28650         from unused variable.
28652         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28653         DWARF definitions.
28654         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28655         for assembling.
28657         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28658         over namespaces.
28660         * sunrpc/rpc_prot.c (rejected): Fix case value.
28662         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28663         unsigned long long int to avoid warnings in shift.
28665         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28666         of use of trans.
28667         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28668         variable tmp.
28670         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28671         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28672         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28674         * nis/nis_table.c (nis_list): Use variable of correct type for
28675         result of __follow_path call.
28677 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28679         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28680         of math functions ceil, trunc, floor, round, and sqrt, when
28681         avaliable on the platform.
28682         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28683         name clash.
28684         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28685         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28686         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28688 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28690         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28691         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28693 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28695         * include/unistd.h: Fix __readlink return type.
28696         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28698 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28700         * stdlib/ucontext.h: Undo last change for makecontext.
28702 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28704         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28706         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28707         * setjmp/setjmp.h: Mark functions as non-leaf.
28708         * setjmp/bits/setjmp2.h: Likewise.
28709         * stdlib/ucontext.h: Likewise.
28711 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28713         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28714         (reused_arena): Don't check arena limit.
28715         (arena_get2): Atomically check arena limit.
28717 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28719         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28720         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28723         instructions.
28725 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28727         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28728         handler when locking.
28730         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28731         Fix size of allocated buffer.
28733 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28735         [BZ #10103]
28736         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28737         declarations for long double functions.
28738         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28740         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28742 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28744         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28745         installed.
28747         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28748         is disabled.
28750 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28752         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28754 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28756         * include/alloca.h (stackinfo_alloca_round): Define.
28757         (extend_alloca): Use it.
28758         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28759         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28760         here.
28762         * scripts/check-local-headers.sh: Ignore libaudit.h.
28764         * nscd/Makefile (extra-objs): Make recursively expanded.
28766 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28768         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28769         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28771         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28772         * posix/tst-rfc3484-2.c: Likewise.
28773         * posix/tst-rfc3484-3.c: Likewise.
28775         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28776         process_vm_writev.
28777         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28778         process_vm_writev.
28779         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28780         process_vm_writev from libc using GLIBC_2.15 version.
28782         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28784 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28786         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28787         stack usage.
28789 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28791         [BZ #13367]
28792         * nss/getent.c (initgroups_keys): Show error message in case no group
28793         names are given.
28795         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28796         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28797         __bump_nl_timestamp.
28798         * nscd/connections (nscd_init): When host database is served open
28799         netlink socket and request notification about configuration changes.
28800         (main_loop_poll): Track netlink file descriptor and bump timestamp
28801         in case data becomes available.
28802         (main_loop_epoll): Likewise.
28803         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28804         (database_pers_head): Add extra_data fileds.
28805         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28806         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28807         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28808         Adjust caller.
28809         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28810         in6ai data, call __free_in6ai.
28811         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28812         Add -DHAVE_NETLINK.
28813         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28814         interface information.  Reuse previous data if netlink timestamp
28815         is not changed.
28816         (__bump_nl_timestamp): New function.
28817         (__free_in6ai): New function.
28819 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28821         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28822         close_not_cancel_no_status here.
28823         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28825 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28827         [BZ #13276]
28828         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28829         return value.
28831         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28832         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28833         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28835 2011-07-03  Andreas Jaeger  <aj@suse.de>
28837         [BZ #10709]
28838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28839         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28840         * math/libm-test.inc (sin_test): Add test case.
28842 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28844         [BZ #13337]
28845         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28846         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28848         * elf/chroot_canon.c (chroot_canon): Cleanups.
28850         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28852         [BZ #13335]
28853         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28854         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28856         * string/test-strchr.c: Make usable for strchrnul testing.
28857         * string/test-strchrnul.c: New file.
28858         * string/Makefile (strop-tests): Add strchrnul.
28860         * po/it.po: Update from translation team.
28861         * po/es.po: Likewise.
28863 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28865         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28866         the three constants needed as parameters.  Drop the others.
28867         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28868         __m128i_strloadu_tolower.
28869         Create and initialize variable zero and use it in all the places
28870         where _mm_setzero_si128 was used.
28872         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28873         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28874         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28875         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28876         anymore.
28877         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28878         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28879         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28880         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28881         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28882         __mpranred, __mptan.
28883         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28884         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28885         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28886         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28887         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28888         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28889         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28890         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28891         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28893 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28895         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28896         redefine if SHARED.
28897         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28899         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28900         wide char related routines to wcsmbs subdir.
28902 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28904         [BZ #13344]
28905         * misc/sys/cdefs.h (__THROWNL): Define.
28906         * posix/unistd.h: Use __THREADNL instead of __THREAD
28907         for memory synchronization functions.
28909 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28911         [BZ #13349]
28912         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28913         doesn't exist.
28914         * manual/stdio.texi (Obstack Streams): Node removed.
28916 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28918         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28919         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28920         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28922         * math/math_private.h (math_force_eval): Allow non-addressable
28923         arguments.
28924         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28926 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28928         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28929         file is not needed.
28931         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28932         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28933         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28934         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28935         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28938         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28939         Add AVX variants.
28940         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28941         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28942         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28943         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28944         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28945         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28946         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28947         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28948         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28949         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28950         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28951         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28952         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28953         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28954         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28955         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28956         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28957         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28958         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28960         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28961         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28963         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28964         place.  Use VEX encoding when compiling for AVX.
28966 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28968         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28969         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28971         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28973 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28975         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28976         useless if() expression.
28977         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28978         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28979         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28980         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28981         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28982         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28983         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28984         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28985         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28986         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28987         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28988         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28989         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28990         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28991         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28992         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28993         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28994         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28995         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28997         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28999 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29001         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29002         condition.
29003         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29005 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29007         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29008         .text section.  Avoid duplicate constants.
29009         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29013         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29017         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29018         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29019         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29020         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29021         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29022         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29023         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29024         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29025         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29026         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29027         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29028         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29029         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29030         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29031         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29032         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29033         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29034         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29035         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29036         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29037         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29038         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29039         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29040         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29041         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29042         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29043         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29044         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29045         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29046         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29047         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29048         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29049         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29050         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29051         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29052         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29053         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29055 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29057         * sysdeps/x86_64/dla.h: Move to ...
29058         * sysdeps/x86_64/fpu/dla.h: ...here.
29059         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29060         situations.  Use __builtin_fma only for gcc 4.6 and up.
29062         * config.make.in: Add have-mfma4 entry.
29063         * configure.in: Substitute libc_cv_cc_fma4.
29064         * math/Makefile (dbl-only-routines): Add sincostab.
29065         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29066         Use __sincostab not sincos.
29067         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29068         name is a macro.
29069         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29070         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29072         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29073         using __copysign.
29074         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29075         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29076         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29077         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29078         and __inv.
29079         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29080         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29081         __copysign.
29082         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29083         define aliases when function name is a macro.
29084         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29085         sysdeps/ieee754/dbl-64/sincos.tbl.
29086         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29087         fma4-enabled routines.
29088         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29089         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29090         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29091         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29092         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29093         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29094         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29095         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29096         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29097         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29098         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29099         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29100         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29101         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29103         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29104         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29105         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29106         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29107         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29108         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29109         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29110         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29111         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29112         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29113         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29114         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29115         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29116         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29117         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29119         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29120         rename.
29121         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29122         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29123         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29124         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29125         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29126         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29127         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29128         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29130 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29132         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29134 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29136         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29138         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29139         prediction.
29140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29142         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29143         Remove unused variable magic_bits.
29144         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29146         * string/strnlen.c: Define and use STRNLEN macro.
29147         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29148         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29149         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29150         * wcsmbs/wcslen.c: Define and use WCSLEN.
29151         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29152         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29153         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29154         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29155         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29156         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29157         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29159 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29162         strnlen-sse2-no-bsf.
29163         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29164         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29165         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29166         Add strnlen support.
29167         (USE_AS_STRNLEN): New macro.
29168         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29169         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29170         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29171         * sysdeps/x86_64/wcslen.S: New file.
29173 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29175         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29176         XMM-moves are used for copying on small sizes.
29178 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29180         * wcsmbs/Makefile (strop-tests): Add wcschr.
29181         * wcsmbs/test-wcschr.c: New file.
29182         * string/test-strchr.c: Update.
29183         Add wcschr support.
29184         (WIDE): New macro.
29186 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29188         * wcsmbs/Makefile (strop-tests): Add wcslen.
29189         * wcsmbs/test-wcslen.c: New file.
29190         * string/test-strlen.c: Update.
29191         Add wcslen support.
29192         (WIDE): New macro.
29194 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29196         * po/it.po: Update from translation team.
29198 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29200         * sysdeps/x86_64/wcscmp.S: Update.
29201         Fix wrong comparison semantics.
29202         wcscmp shall use signed comparison not unsigned.
29203         Don't use substraction to avoid overflow bug.
29204         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29205         * wcsmbc/wcscmp.c: Likewise.
29206         * string/test-strcmp.c: Likewise.
29207         Add new tests to check cases with negative values.
29209 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29211         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29212         * sysdeps/x86_64/dla.h: ...here.  New file.
29213         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29218         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29219         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29220         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29221         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29223 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29226         __ynl_finite aliases.
29228 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29232         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29233         define DLA_FMA.
29234         [DLA_FMA] (EMULV): Use DLA_FMA.
29235         [DLA_FMA] (MUL12): Use EMULV.
29236         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29237         that are not needed.
29238         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29242         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29243         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29244         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29246 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29248         * math/s_nan.c: Undef __nan.
29249         * math/s_nanf.c: Undef __nanf.
29250         * math/s_nanl.c: Undef __nanl.
29251         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29252         "math_private.h".
29254 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29256         * math/s_catan.c: Add branch predictions.
29257         * math/s_catanf.c: Likewise.
29258         * math/s_catanh.c: Likewise.
29259         * math/s_catanhf.c: Likewise.
29260         * math/s_catanhl.c: Likewise.
29261         * math/s_catanl.c: Likewise.
29262         * math/s_cexp.c: Likewise.
29263         * math/s_cexpf.c: Likewise.
29264         * math/s_cexpl.c: Likewise.
29265         * math/s_clog.c: Likewise.
29266         * math/s_clog10.c: Likewise.
29267         * math/s_clog10f.c: Likewise.
29268         * math/s_clog10l.c: Likewise.
29269         * math/s_clogf.c: Likewise.
29270         * math/s_clogl.c: Likewise.
29271         * math/s_csqrt.c: Likewise.
29272         * math/s_csqrtf.c: Likewise.
29273         * math/s_csqrtl.c: Likewise.
29274         * math/s_ctanf.c: Likewise.
29275         * math/s_ctanh.c: Likewise.
29276         * math/s_ctanhf.c: Likewise.
29277         * math/s_ctanhl.c: Likewise.
29278         * math/s_ctanl.c: Likewise.
29280         * math/math_private.h: Define __nan, __nanf, __nanl.
29281         * math/s_cacosh.c: Include <math_private.h>.
29282         * math/s_cacoshl.c: Likewise.
29283         * math/s_casinh.c: Likewise.
29284         * math/s_casinhf.c: Likewise.
29285         * math/s_casinhl.c: Likewise.
29286         * math/s_ccos.c: Rely entire on ccosh.
29287         * math/s_ccosf.c: Rely entire on ccoshf.
29288         * math/s_ccosl.c: Rely entirely on ccoshl.
29289         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29290         Remove tests for FE_INVALID.
29291         * math/s_ccoshf.c: Likewise.
29292         * math/s_ccoshl.c: Likewise.
29293         * math/s_csin.c: Likewise.
29294         * math/s_csinf.c: Likewise.
29295         * math/s_csinh.c Likewise.
29296         * math/s_csinhf.c: Likewise.
29297         * math/s_csinhl.c: Likewise.
29298         * math/s_csinl.c: Likewise.
29299         * math/s_ctan.c: Likewise.
29300         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29301         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29302         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29304 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29307         compilation problems.
29309         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29310         __builtin_expect.
29312 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29314         * sysdeps/i386/configure.in: Test for -mfma4 option.
29315         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29316         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29317         COMMON_CPUID_INDEX_80000001.
29318         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29319         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29320         use it if FMA3 is not supported.
29321         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29323         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29324         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29326 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29328         [BZ #12892]
29329         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29330         it would create a cycle with a link time dependency.
29332 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29334         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29335         instruction.
29336         * string/Makefile (strop-tests): Add rawmemchr.
29337         * string/test-rawmemchr.c: New file.
29339         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29340         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29341         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29342         when compiling str{,n}casecmp and when AVX is available.  Hook up
29343         new optimized code in initializers.
29345 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29347         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29348         __feraiseexcept instead of feraiseexcept.
29350 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29352         * math/math_private.h: Define defaults for libc_fetestexcept and
29353         libc_feupdateenv.
29354         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29355         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29356         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29357         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29358         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29359         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29360         libc_fetestexcept and libc_feupdateenv.
29362         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29363         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29364         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29365         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29366         libc_feholdexcept_setround.
29368         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29369         Add s_nearbyint-c and s_nearbyintf-c.
29370         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29371         nearbyintf inlines.
29372         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29373         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29374         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29375         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29377         * math/math_private.h: Define defaults for libc_fegetround,
29378         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29379         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29380         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29381         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29382         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29383         standard functions.
29384         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29385         Remove comments and hacks for old compiler versions.
29386         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29387         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29388         libc_feholdexceptl.
29390 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29392         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29393         (__feraiseexcept_renamed): Add __NTH.
29394         (feraiseexcept): Add __NTH.  Rename local variables to fix
29395         namespace violations.
29397 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29399         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29401         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29403         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29404         recently added interfaces.
29405         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29407         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29408         about macro parameter expansion.
29410         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29411         __NO_MATH_INLINES is defined.  Cleanups.
29413         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29414         and __floorf is target has SSE4.1.
29415         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29416         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29417         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29418         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29420         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29421         name.
29422         (floorf): Likewise.
29424         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29426 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29428         * misc/sys/cdefs.h: Fix last change.
29430         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29431         database lookup.
29433 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29435         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29437         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29438         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29439         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29440         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29441         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29442         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29443         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29444         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29445         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29446         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29447         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29448         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29449         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29450         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29451         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29452         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29453         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29454         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29455         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29456         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29457         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29458         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29460         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29461         ceil, ceilf, floor, floorf.
29463         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29464         Perform IRELATIVE relocations last.
29466         * elf/do-rel.h: Add another parameter nrelative, replacing the
29467         local variable with the same name.  Change name of the function
29468         to end in Rel or Rela (uppercase).
29469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29470         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29471         elf_dynamic_do_##reloc function.
29473 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29475         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29476         is sufficient, at least on modern CPUs.
29478         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29480         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29481         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29483         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29484         __expl_finite.
29485         * math/bits/math-finite.h: Add entries for exp.
29486         * math/e_expl.c: Add __*_finite alias.
29487         * sysdeps/i386/fpu/e_exp.S: Likewise.
29488         * sysdeps/i386/fpu/e_expf.S: Likewise.
29489         * sysdeps/i386/fpu/e_expl.c: Likewise.
29490         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29491         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29492         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29493         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29494         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29495         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29496         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29498         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29499         is sufficient, at least on modern CPUs.
29501         * ctype/ctype-info.c (__ctype_init): Define.
29502         * include/ctype.h (__ctype_init): Declare.
29503         (__ctype_b_loc): The variable is always initialized.
29504         (__ctype_toupper_loc): Likewise.
29505         (__ctype_tolower_loc): Likewise.
29506         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29507         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29509 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29511         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29513         * configure.in: Also look in $cxxmachine/include for C++ system
29514         headers.
29516 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29518         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29519         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29520         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29521         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29522         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29523         (USE_AS_WMEMCMP): New macro.
29524         Fixing indents.
29525         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29526         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29527         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29528         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29530         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29531         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29532         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29533         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29534         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29535         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29536         (USE_AS_WMEMCMP): New macro.
29537         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29538         * sysdeps/string/test-memcmp.c: Update.
29539         Fix simple_wmemcmp.
29540         Add new tests.
29541         * wcsmbs/wmemcmp.c: Update.
29542         (WMEMCMP): New macro.
29543         Fix overflow bug.
29545 2011-10-12  Andreas Jaeger  <aj@suse.de>
29547         [BZ #13268]
29548         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29550 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29552         * libio/iofwide.c (do_length): Avoid warning.
29554         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29556 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29558         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29560         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29561         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29562         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29563         * sysdeps/i386/i686/fpu/e_log.S: New file.
29564         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29565         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29567         * ctype/ctype.h: Add support for inlined isXXX functions when
29568         compiling C++ code.
29570 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29572         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29574         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29576 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29578         [BZ #13291]
29579         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29581 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29583         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29584         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29585         feraiseexcept.
29587         * sysdeps/x86_64/memrchr.S: Check for zero size.
29589         * string/stratcliff.c: Add memrchr tests.
29591 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29594         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29595         rawmemchr-sse2 rawmemchr-sse2-bsf.
29596         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29597         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29598         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29599         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29600         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29601         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29602         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29603         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29604         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29605         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29606         * string/memrchr.c (MEMRCHR): New macro.
29608 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29610         Add integration with gcc's -ffinite-math-only and optimize wrapper
29611         functions in libm.
29612         * Versions.def: Define GLIBC_2.15 version for libm.
29613         * math/Makefile (headers): Add bits/math-finite.h.
29614         * math/bits/math-finite.h: New file.
29615         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29616         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29617         * math/e_acoshl.c: Add __*_finite alias.
29618         * math/e_acosl.c: Likewise.
29619         * math/e_asinl.c: Likewise.
29620         * math/e_atan2l.c: Likewise.
29621         * math/e_atanhl.c: Likewise.
29622         * math/e_coshl.c: Likewise.
29623         * math/e_exp10.c: Likewise.
29624         * math/e_exp10f.c: Likewise.
29625         * math/e_exp10l.c: Likewise.
29626         * math/e_exp2l.c: Likewise.
29627         * math/e_fmodl.c: Likewise.
29628         * math/e_gammal_r.c: Likewise.
29629         * math/e_hypotl.c: Likewise.
29630         * math/e_j0l.c: Likewise.
29631         * math/e_j1l.c: Likewise.
29632         * math/e_jnl.c: Likewise.
29633         * math/e_lgammal_r.c: Likewise.
29634         * math/e_log10l.c: Likewise.
29635         * math/e_log2l.c: Likewise.
29636         * math/e_logl.c: Likewise.
29637         * math/e_powl.c: Likewise.
29638         * math/e_sinhl.c: Likewise.
29639         * math/e_sqrtl.c: Likewise.
29640         * math/e_scalb.c: Completely rewritten and optimized.
29641         * math/e_scalbf.c: Likewise.
29642         * math/e_scalbl.c: Likewise.
29643         * math/w_acos.c: Likewise.
29644         * math/w_acosf.c: Likewise.
29645         * math/w_acosl.c: Likewise.
29646         * math/w_acosh.c: Likewise.
29647         * math/w_acoshf.c: Likewise.
29648         * math/w_acoshl.c: Likewise.
29649         * math/w_asin.c: Likewise.
29650         * math/w_asinf.c: Likewise.
29651         * math/w_asinl.c: Likewise.
29652         * math/w_atan2.c: Likewise.
29653         * math/w_atan2f.c: Likewise.
29654         * math/w_atan2l.c: Likewise.
29655         * math/w_atanh.c: Likewise.
29656         * math/w_atanhf.c: Likewise.
29657         * math/w_atanhl.c: Likewise.
29658         * math/w_exp10.c: Likewise.
29659         * math/w_exp10f.c: Likewise.
29660         * math/w_exp10l.c: Likewise.
29661         * math/w_fmod.c: Likewise.
29662         * math/w_fmodf.c: Likewise.
29663         * math/w_fmodl.c: Likewise.
29664         * math/w_j0.c: Likewise.
29665         * math/w_j0f.c: Likewise.
29666         * math/w_j0l.c: Likewise.
29667         * math/w_j1.c: Likewise.
29668         * math/w_j1f.c: Likewise.
29669         * math/w_j1l.c: Likewise.
29670         * math/w_jn.c: Likewise.
29671         * math/w_jnf.c: Likewise.
29672         * math/w_log.c: Likewise.
29673         * math/w_logf.c: Likewise.
29674         * math/w_logl.c: Likewise.
29675         * math/w_log10.c: Likewise.
29676         * math/w_log10f.c: Likewise.
29677         * math/w_log10l.c: Likewise.
29678         * math/w_log2.c: Likewise.
29679         * math/w_log2f.c: Likewise.
29680         * math/w_log2l.c: Likewise.
29681         * math/w_pow.c: Likewise.
29682         * math/w_powf.c: Likewise.
29683         * math/w_powl.c: Likewise.
29684         * math/w_remainder.c: Likewise.
29685         * math/w_remainderf.c: Likewise.
29686         * math/w_remainderl.c: Likewise.
29687         * math/w_scalb.c: Likewise.
29688         * math/w_scalbf.c: Likewise.
29689         * math/w_scalbl.c: Likewise.
29690         * math/w_sqrt.c: Likewise.
29691         * math/w_sqrtf.c: Likewise.
29692         * math/w_sqrtl.c: Likewise.
29693         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29694         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29695         used.
29696         * math/math_private.h: Declare __kernel_standard_f.
29697         * math/w_cosh.c: Remove cruft and optimize a bit.
29698         * math/w_coshf.c: Likewise.
29699         * math/w_coshl.c: Likewise.
29700         * math/w_exp2.c: Likewise.
29701         * math/w_exp2f.c: Likewise.
29702         * math/w_exp2l.c: Likewise.
29703         * math/w_hypot.c: Likewise.
29704         * math/w_hypotf.c: Likewise.
29705         * math/w_hypotl.c: Likewise.
29706         * math/w_lgamma.c: Likewise.
29707         * math/w_lgamma_r.c: Likewise.
29708         * math/w_lgammaf.c: Likewise.
29709         * math/w_lgammaf_r.c: Likewise.
29710         * math/w_lgammal.c: Likewise.
29711         * math/w_lgammal_r.c: Likewise.
29712         * math/w_sinh.c: Likewise.
29713         * math/w_sinhf.c: Likewise.
29714         * math/w_sinhl.c: Likewise.
29715         * math/w_tgamma.c: Likewise.
29716         * math/w_tgammaf.c: Likewise.
29717         * math/w_tgammal.c: Likewise.
29718         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29719         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29720         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29721         Minor optimizations.  Pretty printing.  Remove cruft.
29722         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29723         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29724         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29725         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29726         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29727         * sysdeps/i386/fpu/e_asin.S: Likewise.
29728         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29729         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29730         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29731         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29732         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29733         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29734         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29735         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29736         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29737         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29738         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29739         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29740         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29741         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29742         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29743         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29744         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29745         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29746         * sysdeps/i386/fpu/e_log.S: Likewise.
29747         * sysdeps/i386/fpu/e_log10.S: Likewise.
29748         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29749         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29750         * sysdeps/i386/fpu/e_log2.S: Likewise.
29751         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29752         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29753         * sysdeps/i386/fpu/e_logf.S: Likewise.
29754         * sysdeps/i386/fpu/e_logl.S: Likewise.
29755         * sysdeps/i386/fpu/e_pow.S: Likewise.
29756         * sysdeps/i386/fpu/e_powf.S: Likewise.
29757         * sysdeps/i386/fpu/e_powl.S: Likewise.
29758         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29759         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29760         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29761         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29762         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29763         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29764         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29765         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29766         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29768         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29769         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29770         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29771         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29772         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29773         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29774         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29775         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29776         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29777         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29778         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29779         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29780         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29781         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29783         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29784         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29785         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29787         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29788         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29789         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29790         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29791         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29792         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29793         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29794         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29795         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29796         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29797         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29798         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29799         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29801         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29802         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29803         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29804         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29805         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29806         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29807         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29808         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29809         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29810         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29811         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29812         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29813         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29814         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29815         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29816         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29817         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29818         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29819         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29820         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29821         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29822         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29823         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29824         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29825         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29826         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29827         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29828         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29829         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29830         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29831         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29832         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29833         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29834         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29835         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29836         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29837         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29838         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29839         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29840         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29841         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29842         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29843         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29844         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29845         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29846         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29847         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29848         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29849         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29850         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29851         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29852         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29853         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29854         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29855         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29856         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29857         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29858         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29859         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29860         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29861         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29862         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29863         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29864         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29865         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29866         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29867         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29868         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29869         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29870         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29871         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29872         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29873         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29874         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29875         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29876         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29877         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29878         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29879         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29880         (__isnanf): Likewise.
29881         (__isinf_ns): Likewise.
29882         (__isinf_nsf): Likewise.
29883         (__finite): Likewise.
29884         (__finitef): Likewise.
29885         (__ieee754_sqrt): Define as macro.
29886         (__ieee754_sqrtf): Define as macro.
29887         (__ieee754_sqrtl): Define as macro.
29888         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29889         inlined copy.
29890         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29891         __FINITE_MATH_ONLY__ consistent.
29892         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29894 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29896         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29897         of rawmemchr.
29899         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29901 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29903         * po/ja.po: Update from translation team.
29905 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29907         * locale/programs/locarchive.c (prepare_address_space): New function.
29908         (create_archive, enlarge_archive, open_archive): Use it.
29910         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29911         inside [SHARED], where it is used.
29913         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29915         * nss/getent.c (netgroup_keys): Remove unused variable.
29916         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29918 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29920         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29921         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29923         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29924         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29925         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29926         * math/Makefile (libm-calls): Add s_isinf_ns.
29927         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29928         * math/multc3.c: Likewise.
29929         * math/s_casin.c: Likewise.
29930         * math/s_casinf.c: Likewise.
29931         * math/s_casinl.c: Likewise.
29932         * math/s_ccos.c: Likewise.
29933         * math/s_ccosf.c: Likewise.
29934         * math/s_ccosl.c: Likewise.
29935         * math/s_ctan.c: Likewise.
29936         * math/s_ctanf.c: Likewise.
29937         * math/s_ctanh.c: Likewise.
29938         * math/s_ctanhf.c: Likewise.
29939         * math/s_ctanhl.c: Likewise.
29940         * math/s_ctanl.c: Likewise.
29941         * math/w_fmod.c: Likewise.
29942         * math/w_fmodf.c: Likewise.
29943         * math/w_fmodl.c: Likewise.
29944         * math/w_remainder.c: Likewise.
29945         * math/w_remainderf.c: Likewise.
29946         * math/w_remainderl.c: Likewise.
29947         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29948         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29949         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29950         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29951         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29952         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29953         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29954         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29956         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29957         of the number.
29958         * stdio-common/printf_fphex.c: Likewise.
29959         * stdio-common/printf_size.c: Likewise.
29961         * math/e_exp10.c: Include math_private.h using <...> not "...".
29962         * math/e_exp10f.c: Likewise.
29963         * math/e_exp10l.c: Likewise.
29964         * math/e_exp2l.c: Likewise.
29965         * math/e_j0l.c: Likewise.
29966         * math/e_j1l.c: Likewise.
29967         * math/e_jnl.c: Likewise.
29968         * math/e_lgammal_r.c: Likewise.
29969         * math/e_rem_pio2l.c: Likewise.
29970         * math/e_scalb.c: Likewise.
29971         * math/e_scalbf.c: Likewise.
29972         * math/e_scalbl.c: Likewise.
29973         * math/k_cosl.c: Likewise.
29974         * math/k_sinl.c: Likewise.
29975         * math/k_tanl.c: Likewise.
29976         * math/s_cacoshf.c: Likewise.
29977         * math/s_catan.c: Likewise.
29978         * math/s_catanf.c: Likewise.
29979         * math/s_catanh.c: Likewise.
29980         * math/s_catanhf.c: Likewise.
29981         * math/s_catanhl.c: Likewise.
29982         * math/s_catanl.c: Likewise.
29983         * math/s_ccosh.c: Likewise.
29984         * math/s_ccoshf.c: Likewise.
29985         * math/s_ccoshl.c: Likewise.
29986         * math/s_cexp.c: Likewise.
29987         * math/s_cexpf.c: Likewise.
29988         * math/s_cexpl.c: Likewise.
29989         * math/s_clog.c: Likewise.
29990         * math/s_clog10.c: Likewise.
29991         * math/s_clog10f.c: Likewise.
29992         * math/s_clog10l.c: Likewise.
29993         * math/s_clogf.c: Likewise.
29994         * math/s_clogl.c: Likewise.
29995         * math/s_csin.c: Likewise.
29996         * math/s_csinf.c: Likewise.
29997         * math/s_csinh.c: Likewise.
29998         * math/s_csinhf.c: Likewise.
29999         * math/s_csinhl.c: Likewise.
30000         * math/s_csinl.c: Likewise.
30001         * math/s_csqrt.c: Likewise.
30002         * math/s_csqrtf.c: Likewise.
30003         * math/s_csqrtl.c: Likewise.
30004         * math/s_ctan.c: Likewise.
30005         * math/s_ctanf.c: Likewise.
30006         * math/s_ctanh.c: Likewise.
30007         * math/s_ctanhf.c: Likewise.
30008         * math/s_ctanhl.c: Likewise.
30009         * math/s_ctanl.c: Likewise.
30010         * math/s_ldexp.c: Likewise.
30011         * math/s_ldexpf.c: Likewise.
30012         * math/s_ldexpl.c: Likewise.
30013         * math/s_significand.c: Likewise.
30014         * math/s_significandf.c: Likewise.
30015         * math/s_significandl.c: Likewise.
30016         * math/w_acos.c: Likewise.
30017         * math/w_acosf.c: Likewise.
30018         * math/w_acosh.c: Likewise.
30019         * math/w_acoshf.c: Likewise.
30020         * math/w_acoshl.c: Likewise.
30021         * math/w_acosl.c: Likewise.
30022         * math/w_asin.c: Likewise.
30023         * math/w_asinf.c: Likewise.
30024         * math/w_asinl.c: Likewise.
30025         * math/w_atan2.c: Likewise.
30026         * math/w_atan2f.c: Likewise.
30027         * math/w_atan2l.c: Likewise.
30028         * math/w_atanh.c: Likewise.
30029         * math/w_atanhf.c: Likewise.
30030         * math/w_atanhl.c: Likewise.
30031         * math/w_cosh.c: Likewise.
30032         * math/w_coshf.c: Likewise.
30033         * math/w_coshl.c: Likewise.
30034         * math/w_dremf.c: Likewise.
30035         * math/w_exp10.c: Likewise.
30036         * math/w_exp10f.c: Likewise.
30037         * math/w_exp10l.c: Likewise.
30038         * math/w_exp2.c: Likewise.
30039         * math/w_exp2f.c: Likewise.
30040         * math/w_fmod.c: Likewise.
30041         * math/w_fmodf.c: Likewise.
30042         * math/w_fmodl.c: Likewise.
30043         * math/w_hypot.c: Likewise.
30044         * math/w_hypotf.c: Likewise.
30045         * math/w_hypotl.c: Likewise.
30046         * math/w_j0.c: Likewise.
30047         * math/w_j0f.c: Likewise.
30048         * math/w_j0l.c: Likewise.
30049         * math/w_j1.c: Likewise.
30050         * math/w_j1f.c: Likewise.
30051         * math/w_j1l.c: Likewise.
30052         * math/w_jn.c: Likewise.
30053         * math/w_jnf.c: Likewise.
30054         * math/w_jnl.c: Likewise.
30055         * math/w_lgamma.c: Likewise.
30056         * math/w_lgamma_r.c: Likewise.
30057         * math/w_lgammaf.c: Likewise.
30058         * math/w_lgammaf_r.c: Likewise.
30059         * math/w_lgammal.c: Likewise.
30060         * math/w_lgammal_r.c: Likewise.
30061         * math/w_log.c: Likewise.
30062         * math/w_log10.c: Likewise.
30063         * math/w_log10f.c: Likewise.
30064         * math/w_log10l.c: Likewise.
30065         * math/w_log2.c: Likewise.
30066         * math/w_log2f.c: Likewise.
30067         * math/w_log2l.c: Likewise.
30068         * math/w_logf.c: Likewise.
30069         * math/w_logl.c: Likewise.
30070         * math/w_pow.c: Likewise.
30071         * math/w_powf.c: Likewise.
30072         * math/w_powl.c: Likewise.
30073         * math/w_remainder.c: Likewise.
30074         * math/w_remainderf.c: Likewise.
30075         * math/w_remainderl.c: Likewise.
30076         * math/w_scalb.c: Likewise.
30077         * math/w_scalbf.c: Likewise.
30078         * math/w_scalbl.c: Likewise.
30079         * math/w_sinh.c: Likewise.
30080         * math/w_sinhf.c: Likewise.
30081         * math/w_sinhl.c: Likewise.
30082         * math/w_sqrt.c: Likewise.
30083         * math/w_sqrtf.c: Likewise.
30084         * math/w_sqrtl.c: Likewise.
30085         * math/w_tgamma.c: Likewise.
30086         * math/w_tgammaf.c: Likewise.
30087         * math/w_tgammal.c: Likewise.
30089         * po/ja.po: Update from translation team.
30091 2011-09-29  Andreas Jaeger  <aj@suse.de>
30093         [BZ #13179]
30094         * sunrpc/netname.c (netname2host): Fix logic.
30096         [BZ #6779]
30097         [BZ #6783]
30098         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30099         correctly.
30100         * math/w_remainder.c (__remainder): Likewise.
30101         * math/w_remainderf.c (__remainderf): Likewise.
30102         * math/libm-test.inc (remainder_test): Add test cases.
30104 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30106         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30107         sdiv_qrnnd.
30109 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30111         * string/test-memcmp.c: Avoid unncessary #defines.
30112         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30114 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30116         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30117         Use new sse2 version for core i3 - i7 as it's faster
30118         than sse42 version.
30119         (bit_Prefer_PMINUB_for_stringop): New.
30120         * sysdeps/x86_64/rawmemchr.S: Update.
30121         Replace with faster SSE2 version.
30122         * sysdeps/x86_64/memrchr.S: New file.
30123         * sysdeps/x86_64/memchr.S: Update.
30124         Replace with faster SSE2 version.
30126 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30128         * elf/dl-load.c (lose): Add cast to avoid warning.
30130 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30132         * po/ca.po: Update from translation team.
30134         * inet/getnetgrent_r.c: Hook up nscd.
30135         * nscd/Makefile (routines): Add nscd_netgroup.
30136         (nscd-modules): Add netgroupcache.
30137         (CFLAGS-netgroupcache.c): Define.
30138         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30139         (cache_search): Add const to second parameter.
30140         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30141         INNETGR.
30142         (dbs): Add netgrdb entry.
30143         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30144         (verify_persistent_db): Handle netgrdb.
30145         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30146         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30147         GETFDNETGR.
30148         (netgroup_response_header): Define.
30149         (innetgroup_response_header): Define.
30150         (datahead): Add netgroup_response_header and innetgroup_response_header
30151         elements.
30152         * nscd/nscd.conf: Add entries for netgroup cache.
30153         * nscd/nscd.h (dbtype): Add netgrdb.
30154         (_PATH_NSCD_NETGROUP_DB): Define.
30155         (netgroup_iov_disabled): Declare.
30156         (xmalloc, xcalloc, xrealloc): Move declarations here.
30157         (cache_search): Adjust prototype.
30158         Add netgroup-related prototypes.
30159         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30160         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30161         (__nscd_innetgr): Declare.
30162         * nscd/selinux.c (perms): Use access_vector_t as element type and
30163         add netgroup-related initializers.
30164         * nscd/netgroupcache.c: New file.
30165         * nscd/nscd_netgroup.c: New file.
30166         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30167         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30168         For four parameters use innetgr.
30169         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30170         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30171         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30172         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30174         * nscd/connections.c (register_traced_file): Don't register file
30175         for disabled databases.
30177 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30179         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30181         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30182         from tree and freeing node.
30184 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30186         * nss/nsswitch.c (__nss_database_lookup): Handle
30187         nss_parse_service_list out of memory case.
30189 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30191         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30192         out of memory case.
30194 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30196         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30197         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30198         pass it down.
30199         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30200         elf_machine_rela, elf_machine_lazy_rel.
30201         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30202         (ELF_DYNAMIC_DO_REL): Likewise.
30203         (ELF_DYNAMIC_DO_RELA): Likewise.
30204         (ELF_DYNAMIC_RELOCATE): Likewise.
30205         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30206         to ELF_DYNAMIC_DO_REL.
30207         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30208         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30209         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30210         elf_machine_rela.
30211         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30212         skip_ifunc, don't call ifunc function if non-zero.
30213         (elf_machine_rela): Likewise.
30214         (elf_machine_lazy_rel): Likewise.
30215         (elf_machine_lazy_rela): Likewise.
30216         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30217         (elf_machine_lazy_rel): Likewise.
30218         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30219         Likewise.
30220         (elf_machine_lazy_rel): Likewise.
30221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30222         Likewise.
30223         (elf_machine_lazy_rel): Likewise.
30224         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30225         (elf_machine_lazy_rel): Likewise.
30226         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30227         (elf_machine_lazy_rel): Likewise.
30228         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30229         (elf_machine_lazy_rel): Likewise.
30230         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30231         (elf_machine_lazy_rel): Likewise.
30232         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30233         (elf_machine_lazy_rel): Likewise.
30234         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30235         (elf_machine_lazy_rel): Likewise.
30237 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30239         * nss/nss_files/files-init.c (_nss_files_init): Use static
30240         initialization for all the *_traced_file variables.
30242 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30244         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30246 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30248         [BZ #13226]
30249         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30251 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30253         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30254         Reread the line before reparsing it.
30256 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30258         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30260 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30261             Maxim Kuvyrkov  <maxim@codesourcery.com>
30262             Joseph Myers  <joseph@codesourcery.com>
30264         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30265         if needed for __stack_chk_guard.
30267 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30269         * sysdeps/posix/spawni.c (script_execute): Always define it.
30270         It will be optimized away if unused.
30271         (maybe_script_execute): New function.
30272         (__spawni): Call it.
30274         * Makerules: Don't include tls.make.
30275         (config-tls): Always set to thread.
30276         * tls.make.c: File removed.
30278 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30280         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30281         * config.make.in (CPPFLAGS-config): New substituted variable.
30283 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30285         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30287         [BZ #13192]
30288         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30289         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30291 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30293         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30294         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30295         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30296         (CALL_FAIL): Likewise.
30297         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30298         (CALL_FAIL): Macro removed.
30299         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30301 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30303         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30304         for __FINITE_MATH_ONLY__ == 1.
30306 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30308         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30309         __ieee754_sqrt instead of sqrt.
30310         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30311         __ieee754_sqrtf instead of sqrtf.
30312         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30313         __floorf instead of floorf.
30314         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30315         __floorf, __truncf instead of floorf, truncf.
30317 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30319         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30321         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30322         __extern_always_inline.
30323         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30324         32-bit.
30326 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30328         * elf/rtld.c (dl_main): Also relocate in dependency order when
30329         doing symbol dependency testing.
30331 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30334         Always define `refsym'.
30336 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30338         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30339         (__FD_ELT): Renamed from __FDELT.
30340         * misc/bits/select2.h (__FD_ELT): Likewise.
30341         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30342         __FD_MASK instead of __FDELT, __FDMASK.
30343         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30344         Likewise.
30345         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30346         Likewise.
30348         * elf/Makefile (gen-ldd): Fix pattern.
30350         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30351         (init_tls): Likewise.
30353 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30355         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30357 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30359         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30360         `struct cmsghdr *' instead of `void *'.
30361         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30362         Likewise.
30364 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30366         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30367         if non-absolute.
30368         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30369         ldd_rewrite_script.
30371 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30373         * configure.in: Remove --with-tls option.
30374         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30375         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30376         out in case it is missing.
30377         * sysdeps/ia64/elf/configure.in: Likewise.
30378         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30379         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30380         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30381         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30382         * sysdeps/sh/elf/configure.in: Likewise.
30383         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30384         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30385         * sysdeps/x86_64/elf/configure.in: Likewise.
30386         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30387         * sysdeps/mach/hurd/tls.h: Likewise.
30389         [BZ #13067]
30390         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30392         [BZ #13090]
30393         * configure.in: Fix use of AC_INIT.
30395         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30397 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30399         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30400         __set_errno.
30401         * malloc/hooks.c: Likewise.
30403         [BZ #11929]
30404         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30405         variables statically.
30406         (narenas): Initialize.
30407         (list_lock): Initialize.
30408         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30409         initializtion of main_arena and list_lock.  Small cleanups.
30410         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30411         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30412         Add initializers to main_arena and mp_.
30413         (malloc_state): Remove pagesize member.  Change all users to use
30414         GLRO(dl_pagesize).
30416         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30417         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30418         is always initialized.
30420         * malloc/malloc.c: Removed unused configurations and dead code.
30421         * malloc/arena.c: Likewise.
30422         * malloc/hooks.c: Likewise.
30423         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30425         * include/tls.h: Removed.  USE___THREAD must always be defined.
30426         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30427         * elf/dl-libc.c: Likewise.
30428         * elf/dl-tsd.c: Likewise.
30429         * include/errno.h: Likewise.
30430         * include/netdb.h: Likewise.
30431         * include/resolv.h: Likewise.
30432         * inet/herrno-loc.c: Likewise.
30433         * inet/herrno.c: Likewise.
30434         * malloc/arena.c: Likewise.
30435         * malloc/hooks.c: Likewise.
30436         * malloc/malloc.c: Likewise.
30437         * resolv/res-state.c: Likewise.
30438         * resolv/res_libc.c: Likewise.
30439         * sysdeps/i386/dl-machine.h: Likewise.
30440         * sysdeps/ia64/dl-machine.h: Likewise.
30441         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30442         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30443         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30444         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30445         * sysdeps/sh/dl-machine.h: Likewise.
30446         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30447         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30448         * sysdeps/unix/i386/sysdep.S: Likewise.
30449         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30450         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30451         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30455         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30459         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30460         * sysdeps/x86_64/dl-machine.h: Likewise.
30461         * tls.make.c: Likewise.
30463         * configure.in: Remove --with-__thread option.  Make tests for
30464         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30465         tls_model attribute fail if no support is available.  Remove
30466         USE_IN_LIBIO.
30467         * Makeconfig: Adjust for dropped configure option.  All features are
30468         now mandatory.
30469         * Makerules: Likewise.
30470         * Versions.def: Likewise.
30471         * argp/argp-fmtstream.c: Likewise.
30472         * argp/argp-fmtstream.h: Likewise.
30473         * argp/argp-help.c: Likewise.
30474         * assert/assert.c: Likewise.
30475         * config.h.in: Likewise.
30476         * config.make.in: Likewise.
30477         * configure: Likewise.
30478         * configure.in: Likewise.
30479         * csu/Versions: Likewise.
30480         * csu/init.c: Likewise.
30481         * elf/tst-audit2.c: Likewise.
30482         * elf/tst-tls10.c: Likewise.
30483         * elf/tst-tls10.h: Likewise.
30484         * elf/tst-tls11.c: Likewise.
30485         * elf/tst-tls12.c: Likewise.
30486         * elf/tst-tls14.c: Likewise.
30487         * elf/tst-tlsmod11.c: Likewise.
30488         * elf/tst-tlsmod12.c: Likewise.
30489         * elf/tst-tlsmod13.c: Likewise.
30490         * elf/tst-tlsmod13a.c: Likewise.
30491         * elf/tst-tlsmod14a.c: Likewise.
30492         * elf/tst-tlsmod15b.c: Likewise.
30493         * elf/tst-tlsmod16a.c: Likewise.
30494         * elf/tst-tlsmod16b.c: Likewise.
30495         * elf/tst-tlsmod7.c: Likewise.
30496         * elf/tst-tlsmod8.c: Likewise.
30497         * elf/tst-tlsmod9.c: Likewise.
30498         * gmon/gmon.c: Likewise.
30499         * grp/fgetgrent_r.c: Likewise.
30500         * grp/putgrent.c: Likewise.
30501         * hurd/fopenport.c: Likewise.
30502         * include/libc-symbols.h: Likewise.
30503         * include/tls.h: Likewise.
30504         * intl/gettextP.h: Likewise.
30505         * intl/loadinfo.h: Likewise.
30506         * locale/global-locale.c: Likewise.
30507         * locale/localeinfo.h: Likewise.
30508         * mach/devstream.c: Likewise.
30509         * malloc/arena.c: Likewise.
30510         * malloc/set-freeres.c: Likewise.
30511         * misc/err.c: Likewise.
30512         * misc/getttyent.c: Likewise.
30513         * misc/mntent_r.c: Likewise.
30514         * posix/getopt.c: Likewise.
30515         * posix/wordexp.c: Likewise.
30516         * pwd/fgetpwent_r.c: Likewise.
30517         * resolv/Versions: Likewise.
30518         * resolv/res_hconf.c: Likewise.
30519         * shadow/fgetspent_r.c: Likewise.
30520         * shadow/putspent.c: Likewise.
30521         * stdio-common/printf_fphex.c: Likewise.
30522         * stdio-common/tmpfile.c: Likewise.
30523         * stdlib/abort.c: Likewise.
30524         * stdlib/fmtmsg.c: Likewise.
30525         * sunrpc/auth_unix.c: Likewise.
30526         * sunrpc/clnt_perr.c: Likewise.
30527         * sunrpc/clnt_tcp.c: Likewise.
30528         * sunrpc/clnt_udp.c: Likewise.
30529         * sunrpc/clnt_unix.c: Likewise.
30530         * sunrpc/openchild.c: Likewise.
30531         * sunrpc/svc_simple.c: Likewise.
30532         * sunrpc/svc_tcp.c: Likewise.
30533         * sunrpc/svc_udp.c: Likewise.
30534         * sunrpc/svc_unix.c: Likewise.
30535         * sunrpc/xdr.c: Likewise.
30536         * sunrpc/xdr_array.c: Likewise.
30537         * sunrpc/xdr_rec.c: Likewise.
30538         * sunrpc/xdr_ref.c: Likewise.
30539         * sunrpc/xdr_stdio.c: Likewise.
30541 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30543         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30545 2011-07-03  Andreas Jaeger  <aj@suse.de>
30547         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30548         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30549         regenerate with gen-libm-tests.pl.
30551 2010-05-12  Petr Baudis  <pasky@suse.cz>
30553         [BZ #11589]
30554         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30555         around j0() zero points by switching to j1().
30556         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30557         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30558         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30559         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30561 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30563         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30564         instead of 0.
30565         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30566         instead of 0.
30567         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30568         Patch in part by Pavel Roskin <proski@gnu.org>.
30570         [BZ #13138]
30571         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30572         realloc.
30573         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30574         Free memory block if necessary.
30576         [BZ #12847]
30577         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30578         be NULL.  Don't lock in this case.
30580 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30582         * elf/elf.h (ELFOSABI_GNU): New macro.
30583         (ELFOSABI_LINUX): Define to that.
30585 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30587         * string/strncat.c (strncat): Undef the symbol in case it has been
30588         defined in bits/string.h.
30590 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30592         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30594         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30595         link map.
30597 2011-08-17  Andreas Jaeger  <aj@suse.de>
30599         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30601 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30602             Ian Lance Taylor  <iant@google.com>
30604         * math/libm-test.inc (lround_test): New testcase.
30605         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30607 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30609         * Makefile: Remove support for automatic cvs check-ins.
30610         * Makerules: Likewise.
30611         * config.make.in: Likewise.
30612         * configure.in: Likewise.
30613         * intl/Makefile: Likewise.
30614         * locale/Makefile: Likewise.
30615         * po/Makefile: Likewise.
30616         * posix/Makefile: Likewise.
30617         * sysdeps/gnu/Makefile: Likewise.
30618         * sysdeps/mach/hurd/Makefile: Likewise.
30619         * sysdeps/sparc/sparc32/Makefile: Likewise.
30621         [BZ #13118]
30622         * posix/Makefile (bug-regex32-ENV): Define.
30623         Patch by John Stanley <jpsinthemix@verizon.net>.
30625         * misc/Makefile (headers): Add bits/select2.h.
30626         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30627         * misc/bits/select2.h: New file.
30628         * include/bits/select2.h: New file.
30629         * debug/Makefile (routines): Add fdelt_chk.
30630         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30631         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30632         FD_ISSET.
30633         * debug/fdelt_chk.c: New file.
30635         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30636         * wcsmbs/test-wmemcmp.c: Likewise.
30637         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30638         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30640 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30642         * string/Makefile (strop-tests): Add memcmp.
30643         * string/test-wmemcmp.c: New file.
30644         * string/test-memcmp.c: Add wmemcmp support.
30646 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30648         [BZ #13153]
30649         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30650         2011-07-19 change.
30652         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30653         garbage value in a __mach_port_mod_refs call in the cases of the
30654         task-self and thread-self ports.
30656 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30658         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30660 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30662         * elf/dl-load.c (lose): Check for non-null L.
30664 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30666         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30668         * elf/dl-libc.c (dlerror_run): Pass back error code from
30669         dl_catch_error.
30671         [BZ #13123]
30672         * elf/dl-load.c (lose): Free l_origin if it is valid.
30674         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30675         names.
30676         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30677         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30678         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30679         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30680         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30681         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30683 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30685         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30686         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30687         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30688         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30689         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30690         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30691         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30692         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30693         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30694         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30696 2011-08-15  Alan Modra  <amodra@gmail.com>
30698         [BZ #13092]
30699         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30700         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30701         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30702         ppc_mcount to static-only-routines.
30703         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30704         __mcount_internal.
30705         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30706         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30708 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30710         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30711         for finite and infinity parameters.
30713 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30715         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30716         and add nop instructions for throughput optimization.
30717         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30719 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30721         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30722         aligned copy for power7 with vector-scalar instructions.
30723         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30725 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30728         AVX check.
30730 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30732         [BZ #13144]
30733         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30734         last change.
30736 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30738         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30739         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30740         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30741         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30742         clock_gettime.
30744 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30746         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30747         Forgot to demangle the pointer.
30749         * sysdeps/i386/sysdep.h: Define atom_text_section.
30750         * sysdeps/x86_64/sysdep.h: Likewise.
30751         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30752         section with atom_text_section.
30753         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30754         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30755         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30756         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30757         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30759         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30760         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30761         already be defined.  Change to take two parameters and don't assign
30762         result to variable.  Adjust all users.
30763         Define INTERNAL_GETTIME if not already defined.
30764         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30765         call.
30766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30767         HAVE_CLOCK_GETTIME_VSYSCALL.
30768         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30770         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30771         gettimeofday vsyscall, just use time.
30773 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30775         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30776         <errno.h>.
30778 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30780         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30781         syscall on x86-64.
30782         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30783         syscall.
30784         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30785         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30786         syscall if possible.
30788 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30790         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30791         e_ident.  Don't pass to find_mapsXX.
30792         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30794 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30797         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30798         * sysdeps/x86_64/multiarch/strchr.S: Update.
30799         Check bit_slow_BSF bit.
30800         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30801         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30802         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30804 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30806         [BZ #13134]
30807         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30808         before glibc 2.15.
30809         (tryshell): Define.
30810         (__spawni): Change last parameter to be flag.  Test
30811         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30812         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30813         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30814         * posix/spawni.c: Likewise.
30815         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30816         * posix/spawnp.c: Likewise.  Change normal version to use
30817         SPAWN_XFLAGS_USE_PATH.
30818         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30819         SPAWN_XFLAGS_TRY_SHELL.
30821         [BZ #13150]
30822         * posix/glob.h: Remove gcc 1.x support.
30824         [BZ #13068]
30825         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30827 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30830         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30831         strrchr-sse2-bsf
30832         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30833         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30834         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30835         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30836         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30837         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30839 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30841         * sysdeps/x86_64/wcscmp.S: New file.
30843         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30844         wcscmp-c wcscmp-sse2
30845         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30846         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30847         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30848         * wcsmbs/wcscmp.c: Allow renaming.
30850 2011-09-05  David S. Miller  <davem@davemloft.net>
30852         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30853         stack slot, rather than the struct return pointer slot.
30854         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30855         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30857         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30859 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30861         * po/ja.po: Update from translation team.
30863         [BZ #13144]
30864         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30865         kernel in 64-bit binaries.
30867 2011-09-01  David S. Miller  <davem@davemloft.net>
30869         * elf/elf.h (HWCAP_SPARC_*): Move to..
30870         * sysdeps/sparc/sysdep.h: this new file and add new values.
30871         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30872         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30873         _DL_HWCAP_COUNT to 24.
30874         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30875         entries.
30876         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30877         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30878         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30880         instead of magic constants.
30881         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30883 2011-08-31  David S. Miller  <davem@davemloft.net>
30885         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30886         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30887         Reimplement to do errno handling inline.
30888         (SYSCALL_ERROR_HANDLER): New macro.
30889         (__SYSCALL_STRING): Do not do errno handling in asm.
30890         (__CLONE_SYSCALL_STRING): Delete.
30891         (__INTERNAL_SYSCALL_STRING): Delete.
30892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30893         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30894         (PSEUDO): Reimplement to do errno handling inline.
30895         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30896         (SYSCALL_ERROR_HANDLER): New macro.
30897         (__SYSCALL_STRING): Do not do errno handling in asm.
30898         (__CLONE_SYSCALL_STRING): Delete.
30899         (__INTERNAL_SYSCALL_STRING): Delete.
30900         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30901         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30902         i386.
30903         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30904         (inline_syscall*): Add 'err' argument.
30905         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30906         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30907         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30908         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30910         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30911         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30913 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30915         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30917 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30919         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30920         directive.
30922 2011-08-24  David S. Miller  <davem@davemloft.net>
30924         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30926 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30928         * elf/Makefile: Add rules to build and run unload8 test.
30929         * elf/unload8.c: New file.
30930         * elf/unload8mod1.c: New file.
30931         * elf/unload8mod1x.c: New file.
30932         * elf/unload8mod2.c: New file.
30933         * elf/unload8mod3.c: New file.
30935         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30936         it wasn't used.
30938 2011-08-23  David S. Miller  <davem@davemloft.net>
30940         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30941         subtract stack bias.
30942         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30943         %sp not %fp in calculations.
30944         (_JMPBUF_UNWINDS_ADJ): Likewise.
30946         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30947         (aio_suspend): Call it to force an exception region around the
30948         AIO_MISC_WAIT() invocation.
30950 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30952         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30953         backslash.
30955 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30957         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30958         protection macro.
30959         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30960         and <dl-machine.h>.
30961         (Elf64_FuncDesc): Remove.
30963 2011-08-22  David S. Miller  <davem@davemloft.net>
30965         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30966         sigaltstack check, add missing cfi directives.
30967         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30968         missing cfi directives, and sigaltstack handling.
30970 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30972         [BZ #11724]
30973         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30974         object is seen twice.
30975         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30977         * elf/Makefile (distribute): Add tst-initorder2.c.
30978         (tests): Add tst-initorder2.
30979         (modules-names): Add tst-initorder2a tst-initorder2b
30980         tst-initorder2c tst-initorder2d.  Add rules to build them.
30981         ($(objpfx)tst-initorder2.out): New rule.
30982         * elf/tst-initorder2.c: New file.
30983         * elf/tst-initorder2.exp: New file.
30985 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30987         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30989         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30990         dependencies back to end of function.
30992         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30993         $(elfobjdir)/ld.so.
30995 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30997         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30998         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31000         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31001         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31002         of __vdso_gettimeofday.
31003         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31004         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31005         attribute_hidden.
31006         (_libc_vdso_platform_setup): Remove initialization of
31007         __vdso_gettimeofday and __vdso_time.
31009 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31011         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31012         and fgetc_unlocked.
31013         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31014         getc_unlocked.
31016         * elf/dl-open.c (add_to_global): Report additions to the global scope
31017         for LD_DEBUG=scopes.
31018         (dl_open_worker): Also print scope of newly loaded dependencies.
31019         (_dl_show_scope): Indicate if there is no scope.
31021         [BZ #13114]
31022         * stdio-common/Makefile (tests): Add bug24.
31023         * stdio-common/bug24.c: New file.
31025 2011-08-19  Andreas Jaeger  <aj@suse.de>
31027         [BZ #13114]
31028         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31029         non-existant file when using close-on-exec mode.
31031 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31034         the very first instruction.
31036         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31037         the CFI state in the end.
31038         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31039         inclusion of dl-trampoline.h.
31040         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31042 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31044         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31045         expectations for long double.
31047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31048         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31050 2011-08-14  David S. Miller  <davem@davemloft.net>
31052         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31053         artificual limit depends upon the system page size.
31055 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31057         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31058         * resolv/Makefile: Define CFLAGS-libresolv.
31060 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31062         * nss/makedb.c (compute_tables): Make variables used in nested
31063         function static.
31065 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31067         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31068         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31069         if buffer was too small.
31071         * elf/pldd.c (main): Attach to all threads in the process.
31072         Rewrite /proc handling to use *at functions.
31074 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31076         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31077         specifies first scope to show.
31078         (dl_open_worker): Update callers.  Move printing scope of new
31079         object to before the relocation.
31080         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31081         * sysdeps/generic/ldsodefs.h: Update declaration.
31083         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31084         string for the scope number.
31086 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31088         * nscd/servicescache.c (cache_addserv): Make sure written is always
31089         initialized.
31091 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31093         * sysdeps/i386/i486/bits/atomic.h
31094         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31095         statement expression, so as to suppress "set but not used" warning.
31096         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31098         * string/strncat.c (STRNCAT): Use prototype definition.
31100         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31101         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31102         -Iprograms here.
31103         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31104         (localedef-modules): Add localedef.
31105         (locale-modules): Add locale.
31107         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31108         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31109         to avoid a warning.
31111 2011-08-14  David S. Miller  <davem@davemloft.net>
31113         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31114         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31116 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31118         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31119         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31120         * elf/rtld.c (dl_main): Set l_name of vDSO.
31121         Call _dl_show_scope when DL_DEBUG_SCOPES.
31122         (process_dl_debug): Recognize scopes flag and also set it for all.
31123         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31124         Declare _dl_show_scope.
31126         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31127         (do_dlopen): Pass caller_dlopen to dl_open.
31128         (__libc_dlopen_mode): Initialize caller_dlopen.
31130         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31131         of libc.  Make tolower call locale-independent.  Optimize a bit by
31132         using isdigit instead of isalnum.
31133         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31135 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31137         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31138         was a dependency or dynamically loaded.
31140 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31142         * intl/l10nflist.c: Allow architecture-specific pop function.
31143         * sysdeps/x86_64/l10nflist.c: New file.
31145         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31146         classification.
31148 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31150         * include/dirent.h: Add libc_hidden_proto for scandirat and
31151         scandirat64.  Don't declare __scandirat64.
31152         * dirent/scandirat.c: Add libc_hidden_def.
31153         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31154         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31156 2011-08-10  David S. Miller  <davem@davemloft.net>
31158         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31159         enum.
31160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31161         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31162         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31164 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31166         * Versions.def [libc]: Add GLIBC_2.15.
31167         * dirent/Makefile (routines): Add scandirat and scandirat64.
31168         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31169         GLIBC_2.15.
31170         * dirent/dirent.h: Declare scandirat and scandirat64.
31171         * dirent/scandirat.c: New file.
31172         * dirent/scandirat64.c: New file.
31173         * sysdeps/wordsize-64/scandirat.c: New file.
31174         * sysdeps/wordsize-64/scandirat64.c: New file.
31175         * dirent/opendir.c: Define opendirat.
31176         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31177         using scandirat.
31178         * dirent/scandir64.c: Adjust for scandir.c change.
31179         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31180         __scandirat64, and __scandir_cancel_handler.
31181         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31182         additional parameter and use openat instead of open (outside of ld.so).
31183         Add new __opendir as wrapper around __opendirat.
31184         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31185         here without requiring old scandirat implementation.
31187 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31189         * dirent/scandir.c (cancel_handler): Renamed to
31190         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31191         defined.  Adjust users.
31192         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31193         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31195 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31197         * string/test-string.h (IMPL): Use __STRING to expand name and then
31198         stringify it.
31200         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31201         of cleanups.
31203 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31205         * string/Makefile: Update.
31206         (strop-tests): Append strncat.
31207         * string/test-wcscmp.c: New file.
31208         New comprehensive test for wcscmp.
31209         * string/test-strcmp.c: Update.
31210         (WIDE): New define.
31212 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31214         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31215         line.
31217 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31220         encoding to ACE if AI_IDN.
31222 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31224         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31225         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31227 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31229         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31230         Fix overflow bug in strncat.
31231         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31233         * string/test-strncat.c: Update.
31234         Add new tests for checking overflow bugs.
31236 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31238         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31239         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31240         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31241         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31242         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31243         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31244         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31245         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31246         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31248         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31249         (USE_AS_STRCAT): Define.
31250         Add strcat and strncat support.
31251         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31253 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31255         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31256         __n bigger than INT_MAX+1.
31257         (__strncmp_g): Likewise.
31259 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31261         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31262         * libio/stido.h: Likewise.
31264         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31265         (AF_NFC): Define.
31266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31267         (AF_NFC): Define.
31269         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31270         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31271         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31272         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31275         [BZ #13021]
31276         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31277         installed.
31279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31280         typo.
31281         (_dl_x86_64_save_sse): Likewise.
31283 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31285         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31286         OSXSAVE.
31287         (_dl_x86_64_save_sse): Likewise.
31289         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31291         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31293 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31296         change.
31297         (_dl_x86_64_save_sse): Use correct AVX check.
31299 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31301         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31302         bug in strncpy/strncat.
31303         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31305 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31307         * string/tester.c (test_strcat): Add tests for different alignments
31308         of source and destination.
31309         (test_strncat): Likewise.
31311 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31313         [BZ #12852]
31314         * posix/glob.c (glob): Check passed in values before using them in
31315         expressions to avoid some overflows.
31316         (glob_in_dir): Likewise.
31318         [BZ #13007]
31319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31320         check for AVX enablement so that we don't crash with old kernels and
31321         new hardware.
31322         * elf/tst-audit4.c: Add same checks here.
31323         * elf/tst-audit6.c: Likewise.
31325         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31327 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31329         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31331 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31333         * po/cs.po: Update from translation team.
31334         * po/bg.po: Likewise.
31336 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31338         * misc/sys/cdefs.h: Add support for const attribute.
31339         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31340         to gnu_dev_{major,minor,makedev} functions.
31342 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31344         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31346 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31348         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31349         strlen results.
31351 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31353         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31354         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31355         register in order to avoid conflicts with the soft frame pointer
31356         being held in r11 when necessary.
31357         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31358         (INTERNAL_VSYSCALL_NCS): Likewise.
31360 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31362         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31363         * elf/dl-fini.c (_dl_fini): Adjust caller.
31364         * elf/dl-close.c (_dl_close_worker): Likewise.
31365         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31367 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31369         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31370         "aux_cache->nlibs < 0".
31372         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31373         in the reload-count case.
31375 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31378         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31379         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31380         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31381         * sysdeps/x86_64/multiarch/strcat.S: New file.
31382         * sysdeps/x86_64/multiarch/strncat.S: New file.
31383         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31384         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31385         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31386         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31387         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31388         (USE_AS_STRCAT): Define.
31389         Add strcat and strncat support.
31390         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31391         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31392         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31393         * string/strncat.c: Update.
31394         (USE_AS_STRNCAT): Define.
31395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31396         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31397         and i7.
31398         * sysdeps/x86_64/multiarch/init-arch.h
31399         (bit_Prefer_PMINUB_for_stringop): New.
31400         (index_Prefer_PMINUB_for_stringop): Likewise.
31401         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31402         bit_Prefer_PMINUB_for_stringop.
31404 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31406         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31407         buffer64.
31408         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31409         of casting of buffer.
31410         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31411         buffer32 and buffer64.
31412         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31413         writes instead of casting of buffer.
31414         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31415         buffer32.
31416         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31417         casting of buffer.
31419 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31421         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31423 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31425         * nscd/nscd.c (termination_handler): Don't do anything for a database
31426         if it has not yet been initialized.
31428 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31430         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31432 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31434         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31436 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31438         * po/nl.po: Update from translation team.
31439         * po/sv.po: Likewise.
31441 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31443         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31444         now disallowed by GCC.
31446         * configure.in (use-default-link): Default to yes if a test -shared
31447         link meets our qualifications.
31448         * configure: Regenerated.
31450         * config.make.in (output-format): New variable.
31451         * configure.in: Check for ld --print-output-format support.
31452         * configure: Regenerated.
31453         * Makerules ($(common-objpfx)format.lds)
31454         [$(output-format) != unknown]: Just use $(output-format),
31455         instead of the linker-script munging.
31457 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31459         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31460         of $(common-objpfx)shlib.lds.
31461         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31463         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31464         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31466         * configure.in (-z relro check): Adjust test code to add a large
31467         writable data section after it.
31468         * configure: Regenerated.
31470 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31472         * configure.in (-z relro check): Fix test code to make the variable
31473         truly const.
31474         * configure: Regenerated.
31476 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31478         * nscd/nscd.h (struct traced_file): Define.
31479         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31480         elements.  Add traced_files.
31481         (inotify_fd): Declare.
31482         (register_traced_file): Declare.
31483         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31484         (inotify_fd): Export.
31485         (resolv_conf_descr): Remove.
31486         (nscd_init): Move inotify descriptor creation to main.
31487         Don't register files for notification here.
31488         (register_traced_file): New function.
31489         (invalidate_cache): Don't use reset_res to determine whether to call
31490         res_init, go through the list of registered files.
31491         (main_loop_poll): The inotify descriptors are now stored in the
31492         structures for the traced files.
31493         (main_loop_epoll): Likewise
31494         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31495         to __nss_disable_nscd.
31496         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31497         for a database anymore.  Check the records for all the registered
31498         files instead.
31499         * nss/Makefile (libnss_files-routines): Add files-init.
31500         (libnss_db-routines): Add db-init.
31501         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31502         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31503         * nss/nss_db/db-init.c: New file.
31504         * nss/nss_files/files-init.c: New file.
31505         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31506         __nss_lookup_function.
31507         (__nss_lookup_function): Call nss_load_library.
31508         (nss_load_all_libraries): New function.
31509         (__nss_disable_nscd): Take parameter with callback function for files
31510         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31511         used for the cached services.
31512         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31513         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31514         options for features to all the files in nscd.
31516         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31518 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31520         * csu/elf-init.c (__libc_csu_init): Comment typo.
31522 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31524         * po/pl.po: Update from translation team.
31525         * po/ja.po: Likewise.
31526         * po/ru.po: Likewise.
31527         * po/ko.po: Likewise.
31528         * po/fr.po: Likewise.
31530 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31532         * configure.in (.ctors/.dtors header and trailer check):
31533         Use an empirical test on a built program.
31534         * configure: Regenerated.
31536         * configure.in (-z relro check): Use an empirical test on a built DSO.
31537         Detect, but do not require, on ia64.
31538         * configure: Regenerated.
31540         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31541         Update tests that use readelf to use $READELF instead.
31542         * configure: Regenerated.
31544 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31546         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31547         if the result is not used.
31549 2011-07-05  Andreas Jaeger  <aj@suse.de>
31551         [BZ#9696]
31552         * stdlib/tst-strtod.c: Add testcase.
31554 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31556         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31557         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31558         The latter has a higher limit.  Take additional parameter to pass to
31559         the new function.
31560         (__pathconf): Pass file to __statfs_link_max.
31561         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31562         __statfs_link_max.
31563         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31564         __statfs_link_max.
31566         [BZ #12868]
31567         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31568         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31569         Handle Lustre.
31570         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31571         (__statfs_filesize_max): Likewise.
31572         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31574 2011-07-05  Andreas Jaeger  <aj@suse.de>
31576         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31578 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31580         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31581         `status' variable.
31582         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31583         Likewise.
31585 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31587         * Makefile (strop-tests): Add strncat.
31588         * string/test-strncat.c: New file.
31590 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31592         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31594 2011-06-21  Andreas Jaeger  <aj@suse.de>
31596         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31597         Copy rule from iconvdata/Makefile.
31599 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31601         [BZ #12922]
31602         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31603         but no long options are defined, just return 'W'.
31605 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31607         [BZ #9696]
31608         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31610 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31612         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31613         netgroups to read.
31614         (innetgr): Likewise.
31616 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31618         * config.make.in (install_root): Default to $(DESTDIR).
31620 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31622         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31624 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31626         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31628         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31629         containing directory rather than embedding absolute directory names.
31631         * scripts/check-local-headers.sh: Rewritten using awk.
31632         Match by word, not by line.  Print error messages for matches.
31633         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31635         * Makerules [shlib-lds-flags empty]:
31636         ($(common-objpfx)libc_pic.opts): New target.
31637         ($(common-objpfx)libc_pic.os.clean): New target.
31638         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31640         * config.make.in (OBJCOPY): New variable.
31641         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31642         * configure: Regenerated.
31644         * config.make.in (use-default-link): New variable.
31645         * configure.in (use_default_link): Grok --with-default-link to set it.
31646         * configure: Regenerated.
31647         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31648         (shlib-lds, shlib-lds-flags): Define to empty.
31650         * Makerules (shlib-lds): New variable.
31651         (shlib-lds-flags): New variable.
31652         (build-shlib, build-moduile, build-module-asneeded): Use it.
31653         ($(common-objpfx)libc.so): Use $(shlib-lds).
31654         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31655         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31657         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31658         DT_FLAGS/DT_FLAGS_1 with zero flags.
31660         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31661         linker script munging.
31663 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31665         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31666         as 128-bit value.
31667         * crypt/sha512.c (sha512_process_block): Perform total addition using
31668         128-bit if possible.
31669         (__sha512_finish_ctx): Likewise.
31670         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31671         as 64-bit value.
31672         * crypt/sha256.c (SWAP64): Define.
31673         (sha256_process_block): Perform total addition using 64-bit if
31674         possible.
31675         (__sha256_finish_ctx): Likewise.
31677 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31679         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31680         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31681         * nscd/hstcache.c (cache_addhst): Likewise.
31682         * nscd/grpcache.c (cache_addgr): Likewise.
31683         * nscd/aicache.c (addhstaiX): Likewise
31684         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31686 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31688         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31689         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31690         * nscd/hstcache.c (cache_addhst): Likewise.
31691         * nscd/grpcache.c (cache_addgr): Likewise.
31692         * nscd/aicache.c (addhstaiX): Likewise
31694 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31696         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31697         domain only when needed.
31699 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31702         is always restored.
31704 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31706         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31707         are re-adding the entry.
31708         * nscd/servicescache.c (cache_addserv): Likewise.
31710 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31712         * sysdeps/generic/dl-irel.h: fix protection against multiple
31713         inclusions.
31714         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31716 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31718         [BZ #12935]
31719         * malloc/memusage.sh: Fix quoting in message.
31720         * debug/xtrace.sh: Likewise.
31722         * configure.in: Remove support for --experimental-malloc option, make
31723         it the default.
31724         * config.make.in: Likewise.
31725         * malloc/Makefile: Likewise.
31727 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31729         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31730         two-byte characters.
31732 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31734         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31735         AC_CACHE_CHECK invocation.
31736         * configure: Regenerated.
31738         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31740 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31742         [BZ #12350]
31743         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31744         bit from old_res_options.
31746         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31748         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31749         value type for setfct.
31751 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31754         __gettimeofday instead of gettimeofday.
31756 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31758         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31760 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31762         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31764         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31765         info.
31767 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31770         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31771         strcpy-sse2-unaligned strncpy-sse2-unaligned
31772         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31773         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31774         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31775         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31776         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31777         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31778         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31779         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31780         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31781         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31782         (STRCPY): Support SSE2 and SSSE3 versions.
31784 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31786         [BZ #12874]
31787         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31788         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31789         kernels which artificially limit size of requests.
31791 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31794         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31795         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31796         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31797         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31798         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31799         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31800         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31801         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31803         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31804         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31805         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31806         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31807         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31809         Enable unaligned load optimization for Intel Core i3, i5 and i7
31810         processors.
31811         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31812         Define.
31813         (index_Fast_Unaligned_Load): Define.
31814         (HAS_FAST_UNALIGNED_LOAD): Define.
31816 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31818         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31820 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31822         [BZ #12907]
31823         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31824         until it is clear that the information is realy needed.
31825         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31827 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31831 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31833         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31834         /sys/devices/system/cpu/online if it is usable.
31836         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31837         reading the information from the /proc filesystem to once a second.
31839 2011-06-21  Andreas Jaeger  <aj@suse.de>
31841         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31842         NULL after inclusion of kernel headers.
31844 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31846         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31847         calls to internal_setent.
31849         [BZ #12885]
31850         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31851         addresses using gethostbyname4_r ignore IPv4 addresses.
31853         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31854         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31856         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31858 2011-06-20  David S. Miller  <davem@davemloft.net>
31860         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31861         inclusions.
31862         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31864         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31865         (elf_irel): Use it.
31866         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31867         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31868         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31869         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31870         * sysdeps/x86_64/dl-irel.h: Likewise.
31872         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31873         * elf/dl-sym.c: Likewise.
31875 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31877         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31878         need to dereference resplen2.
31880 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31882         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31884 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31886         * Makeconfig: Define vardbdir and inst_vardbdir.
31887         * nss/Makefile: Add rules to install db-Makefile.
31889         * nss/nss_db/db-XXX.c: Cleanup.
31891         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31892         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31893         GLIBC_PRIVATE.
31894         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31895         * nss/makedb.c: Implement -g option to specify that value strings
31896         are generated and should not be added to table iterated over for
31897         get*ent calls.
31898         * nss/nss_db/db-initgroups.c: New file.
31900         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31901         interface.
31903         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31904         (internal_getgrouplist): Adjust to name change.
31905         Update use_initgroups_entry if this is not the first call.
31906         * nss/databases.def: Add initgroups entry.
31908         * nss/makedb.c (compute_tables): Check result of multiple hash table
31909         sizes to minimize maximum chain length.
31911 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31913         * Versions.def: Add entry for libnss_db.
31914         * shlib-versions: Likewise.
31915         * nss/Makefile: Add rules to build libnss_db.
31916         * nss/Versions: Add libnss_db information.  Organize libnss_files
31917         entries better.
31918         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31919         makedb progra.  Some minor improvements to generate smaller files.
31920         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31921         here from...
31922         * nss/makedb.c: ...here.
31923         Improve database format to be smaller and require less memory at
31924         runtime.
31925         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31926         db anymore.
31927         * nss/nss_db/db-netgrp.c: Likewise.
31928         * nss/nss_db/db-open.c: Likewise.
31929         * nss/nss_files/flies-XXX.x: Adjust comments.
31930         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31931         * nss/nss_files/files-grp.c: Likewise.
31932         * nss/nss_files/files-hosts.c: Likewise.
31933         * nss/nss_files/files-network.c: Likewise.
31934         * nss/nss_files/files-proto.c: Likewise.
31935         * nss/nss_files/files-pwd.c: Likewise.
31936         * nss/nss_files/files-rpc.c: Likewise.
31937         * nss/nss_files/files-service.c: Likewise.
31938         * nss/nss_files/files-sgrp.c: Likewise.
31939         * nss/nss_files/files-spwd.c: Likewise.
31940         * nss/nss_db/db-alias.c: Removed.
31941         * nss/nss_db/dummy-db.h: Removed.
31943 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31945         * nss/makedb.c: Rewritten to not use database library.
31946         * nss/Makefile: Update to build new makedb program.
31948 2011-06-14  Andreas Jaeger  <aj@suse.de>
31950         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31951         memset declaration.
31953 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31956         tmpbuf.
31958 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31960         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31961         * elf/Makefile ($(objpfx)ld.so): Likewise.
31963         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31964         Don't list ld.so twice in dependencies.
31966         * posix/bug-regex31.c: Include <stdlib.h>.
31968         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31970         * nis/nss_compat/compat-spwd.c
31971         (getspent_next_nss_netgr): Remove unused variable.
31972         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31974         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31975         nonmembers" output to use the right array.
31977         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31979         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31981         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31982         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31983         * catgets/gencat.c (read_input_file): Likewise.
31984         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31986         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31987         variable definition inside #if's controlling its use.
31989         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31991         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31993         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31995         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31996         unreachable code.
31998         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32000         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32001         * configure: Regenerated.
32003         * Makerules: Revert last change.
32004         * elf/Makefile: Likewise.
32006 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32008         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32009         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32010         (reloc-link): Likewise.
32012 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32014         * elf/Makefile: Add rules to build pldd.
32015         * elf/pldd.c: New file.
32016         * elf/pldd-xx.c: New file.
32018 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32020         * version.h: Update for 2.15 development version.
32022 2011-06-07  David S. Miller  <davem@davemloft.net>
32024         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32025         ifuncs.
32026         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32027         elf_machine_lazy_rel): Likewise.
32028         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32029         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32030         elf_machine_lazy_rel): Likewise.
32031         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32032         dl_hwcap via passed in argument.
32033         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32034         Likewise.
32036 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32038         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32040 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32042         [BZ #12849]
32043         * manual/fdl-1.1.texi: New file, verbatim from:
32044         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32045         * manual/lgpl-2.1.texi: New file, verbatim from:
32046         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32047         * manual/Makefile (licenses): New variable, list those new file names.
32048         (texis): Use it.
32049         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32051         * manual/fdl.texi: File removed.
32052         * manual/lesser.texi: File removed.
32053         * manual/libc.texinfo (Copying, Documentation License):
32054         Use new @include file names, put @appendix directive before @include.
32056 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32058         [BZ #12841]
32059         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32060         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32061         (mq_open): Add __NTH.
32063 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32066         Assume Intel Core i3/i5/i7 processor if AVX is available.
32068 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32070         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32071         typo.
32073 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32075         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32076         memory.  Use alloca_account.  Fix memory leak when retrying.
32078 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32080         * version.h (RELEASE): Bump for 2.14 release.
32081         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32083         * config.make.in (RANLIB): Remove entry.
32085 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32087         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32088         (libc.pot): Work around missing support for .ksh extension in xgettext.
32090         [BZ #12684]
32091         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32092         if both request failed.
32093         (send_dg): In case of server errors clear resplen or *resplen2.
32095         [BZ #12454]
32096         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32097         when there are multiple maps.
32098         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32099         (_dl_fini): Remove test here.
32101         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32103 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32105         [BZ #12350]
32106         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32107         bit from old_res_options.
32108         (gaih_inet): Likewise.
32110         [BZ #11099]
32111         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32112         as signed.
32114         * resolv/res_init.c (res_setoptions): Make the code more compact.
32116         [BZ #11558]
32117         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32118         set RES_USEVC.
32120         [BZ #11634]
32121         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32123         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32125         [BZ #11781]
32126         * malloc/malloc.h: Declare malloc hook variables as volatile.
32128         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32129         in last patch.
32131         [BZ #11799]
32132         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32133         raise in the comment.
32134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32136         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32138 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32140         [BZ #12811]
32141         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32142         grow the buffers more if it already has to be sufficient.
32143         (build_wcs_upper_buffer): Likewise.
32144         * posix/regexec.c (check_matching): Likewise.
32145         (clean_state_log_if_needed): Likewise.
32146         (extend_buffers): Don't enlarge buffers beyond size of the input
32147         buffer.
32148         Patches mostly by Emil Wojak <emil@wojak.eu>.
32149         * posix/bug-regex32.c: New file.
32150         * posix/Makefile (tests): Add bug-regex32.
32152         * locale/findlocale.c (_nl_find_locale): Return right away if
32153         _nl_explode_name failed.
32154         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32156         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32158         * debug/xtrace.sh: Unify messages.
32159         * malloc/memusage.sh: Likewise.
32161         [BZ #12813]
32162         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32163         time symbol from vDSO.  Substitute with vsyscall if not available.
32164         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32165         __vdso_time.
32167         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32168         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32169         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32170         Add sendmmsg and internal_sendmmsg.
32171         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32172         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32173         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32175         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32176         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32177         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32179 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32181         [BZ #12813]
32182         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32183         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32184         available.
32185         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32186         __vdso_getcpu.
32188         [BZ #12814]
32189         * iconvdata/Makefile (tests): Add bug-iconv9.
32190         * iconvdata/bug-iconv9.c: New file.
32192 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32194         [BZ #12814]
32195         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32197 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32199         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32200         (struct user_regs_struct): Change intcs field back to cs.
32202 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32204         * po/ja.po: Update from translation team.
32206 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32208         [BZ #12795]
32209         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32210         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32212 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32214         * stdlib/longlong.h: Update from GCC.
32216 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32218         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32219         parameter name.
32220         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32221         Add parameter name.
32222         (__sysconf): Pass it down.
32224 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32226         [BZ #12671]
32227         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32228         some situations.
32229         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32230         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32231         add in in __libc_use_alloca calls.  Adjust callers.
32232         (glob): Use malloc in some situations.
32234         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32235         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32236         pltexit.
32238 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32240         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32241         and CLOCK_BOOTTIME_ALARM.
32243         [BZ #12782]
32244         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32245         is returned.
32247         * string/_strerror.c (__strerror_r): Print negative errors as signed
32248         numbers.
32250         [BZ #12777]
32251         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32252         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32253         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32255         * configure.in: Fix typo in redirection and correct removal of test
32256         files in two cases.
32258         [BZ #12788]
32259         * locale/setlocale.c (new_composite_name): Fix test to check for
32260         identical name of all categories.
32262         [BZ #12792]
32263         * libio/filedoalloc.c (local_isatty): New function.
32264         (_IO_file_doallocate): Use local_isatty.
32265         * stdio-common/perror.c (perror): In case a new stream is used
32266         forward the stream error.
32267         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32268         error flag.
32270 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32272         [BZ #11869]
32273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32274         alloca.
32275         * include/alloca.h (extend_alloca_account): Define.
32277         [BZ #11857]
32278         * posix/regex.h: Fix comments with documentation of user-accessible
32279         fields after compilation and describe correct free'ing of pattern
32280         after re_compile_pattern.
32281         Patch by Reuben Thomas <rrt@sc3d.org>.
32283 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32285         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32286         and -mno-altivec to prevent the compiler from using Altivec and/or
32287         VSX instructions when the corresponding registers are not available.
32289 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32291         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32293 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32295         * libio/freopen.c (freopen): Use __dup2, not dup2.
32296         * libio/freopen64.c (freopen64): Likewise.
32298 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32300         [BZ #12775]
32301         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32302         * math/Makefile (tests): Add test-powl.
32303         (CFLAGS-test-powl.c): Define.
32304         * math/test-powl.c: New file.
32306 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32308         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32310 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32312         [BZ #11837]
32313         * iconvdata/gb18030.c: Update to GB18020-2005.
32315 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32317         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32318         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32319         Patch by Aharon Robbins <arnold@skeeve.com>.
32321         [BZ #11892]
32322         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32323         on the stack.
32325         [BZ #11895]
32326         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32327         through underflows.
32329         [BZ #12766]
32330         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32331         point to strings before performing equality test for error_one_per_line
32332         mode.
32334         [BZ #11697]
32335         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32337         [BZ #11820]
32338         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32339         (struct user_fpregs_struct): Avoid __uint*_t types.
32341         [BZ #6420]
32342         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32343         symbol info.  Use it instead of calling _dl_addr locally.
32344         (lock_and_info): New function.
32345         (tr_freehook): Call lock_and_info and pass symbol info as additional
32346         parameter to tr_where.
32347         (tr_mallochook): Likewise.
32348         (tr_reallochook): Likewise.
32349         (tr_memalignhook): Likewise.
32351         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32352         used and couldn't be at all thread-safe.
32354 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32356         * libio/freopen.c (freopen): Don't close old file descriptor
32357         before the new one is opened.  Instead dup the new file descriptor
32358         to the old one after the new stream is created.
32359         * libio/freopen64.c (freopen64): Likewise.
32360         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32361         * libio/fileops.c (_IO_new_file_close_it): Handle new
32362         _IO_FLAGS2_NOCLOSE flag.
32363         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32364         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32365         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32366         _IO_FLAGS2_NOCLOSE flag.
32367         * include/unistd.h: Add hidden_proto for dup3.
32368         Define __have_dup3.
32369         * io/dup3.c: Define hidden symbol.
32370         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32372         [BZ #7101]
32373         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32374         when an incomplete long option is used.
32375         * posix/tst-getopt_long1.c: New file.
32376         * posix/Makefile (tests): Add tst-getopt_long1.
32378         [BZ #10138]
32379         * scripts/config.guess: Update from autoconf-2.68.
32380         * scripts/config.sub: Likewise.
32382         [BZ #10157]
32383         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32384         tests into ...
32385         (has_cpuclock): ...this.  New function.
32386         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32387         macro here based on has_cpuclock code.
32389         [BZ #10149]
32390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32391         First byte (not low byte) is now always NUL.
32392         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32394         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32395         Use non-cancelable interfaces.
32397         [BZ #9809]
32398         * locale/iso-639.def: Add entry for Sorani.
32400         [BZ #11901]
32401         * include/stdlib.h: Move include protection to the right place.
32402         Define abort_msg_s.  Declare __abort_msg with it.
32403         * stdlib/abort.c (__abort_msg): Adjust type.
32404         * assert/assert.c (__assert_fail_base): New function.  Majority
32405         of code from __assert_fail.  Allocate memory for __abort_msg with
32406         mmap.
32407         (__assert_fail): Now call __assert_fail_base.
32408         * assert/assert-perr.c: Remove bulk of implementation.  Use
32409         __assert_fail_base.
32410         * include/assert.hL Declare __assert_fail_base.
32411         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32412         mmap.
32413         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32415 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32417         [BZ #11952]
32418         [BZ #12453]
32419         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32420         until all modules are registered in the DTV.
32421         * elf/Makefile: Add rules to build and run tst-tls19.
32422         * elf/tst-tls19.c: New file.
32423         * elf/tst-tls19mod1.c: New file.
32424         * elf/tst-tls19mod2.c: New file.
32425         * elf/tst-tls19mod3.c: New file.
32426         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32428         [BZ #12083]
32429         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32430         correctly.
32432         [BZ #12601]
32433         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32434         two-byte sequence errors.
32435         * iconvdata/Makefile (tests): Add bug-iconv8.
32436         * iconvdata/bug-iconv8.c: New file.
32438         [BZ #12626]
32439         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32440         buf2 definition.
32442         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32444         [BZ #12432]
32445         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32446         (dummy_getcfa): New function.
32447         (init): Get _Unwind_GetCFA address, use dummy if not found.
32448         (backtrace_helper): In recursion check, also check whether CFA changes.
32449         (__backtrace): Completely initialize arg.
32451         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32452         storing incomplete byte sequence in state object.  Avoid testing for
32453         guaranteed too small input if we know there is enough data available.
32455 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32457         * Makeconfig (+link-pie): Indent.
32458         * Rules (binaries-pie): Define if $(have-fpie) and
32459         $(build-shared).
32460         (binaries-shared): Also filter out $(binaries-pie).
32461         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32462         * nscd/Makefile (others-pie): Add nscd.
32463         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32464         ($(objpfx)nscd): Remove command override.
32465         * login/Makefile (others-pie): Add pt_chown.
32466         ($(objpfx)pt_chown): Remove command override.
32467         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32468         remove command overrides.
32470 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32472         * libio/tst_putwc.c: Fix error messages.
32474         [BZ #12724]
32475         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32476         currently writing and seek to current position when not.
32477         * libio/Makefile (tests): Add bug-fclose1.
32478         * libio/bug-fclose1.c: New file.
32480 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32482         [BZ #12511]
32483         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32484         don't set DF_1_NODELETE here.
32485         (do_lookup_x): When entering new entry test for copy relocation
32486         and if necessary set DF_1_NODELETE flag.
32487         * elf/tst-unique4.cc: New file.
32488         * elf/tst-unique4.h: New file.
32489         * elf/tst-unique4lib.cc: New file.
32490         * elf/Makefile: Add rules to build and run tst-unique4.
32491         Patch by Piotr Bury <pbury@goahead.com>.
32493 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32495         [BZ #12052]
32496         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32498         [BZ #12625]
32499         * misc/mntent_r.c (addmntent): Flush the stream after the output
32501         [BZ #12393]
32502         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32503         (is_trusted_path_normalize): Skip initial colon.  Append slash
32504         to empty buffer.  Duplicate is_trusted_path code but allow
32505         constructed patch to be prefix.
32506         (is_dst): Allow $ORIGIN followed by /.
32507         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32508         Correct testing of result of is_trusted_path_normalize
32509         (decompose_rpath): Fix warning.
32511 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32513         [BZ #11257]
32514         * grp/initgroups.c (internal_getgrouplist): When we found the service
32515         list through the initgroups entry in nsswitch.conf do not always
32516         continue on a successful lookup.  Don't always use the
32517         __nss_group_database value if it is set.
32518         * nss/nsswitch.conf (initgroups): Change action for successful db
32519         lookup to continue for compatibility.
32521 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32523         [BZ #11532]
32524         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32525         and CP774 modules.
32526         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32527         and CP774 modules.
32528         * iconvdata/tst-tables.sh: Likewise.
32529         * iconvdata/cp770.c: New file.
32530         * iconvdata/cp771.c: New file.
32531         * iconvdata/cp772.c: New file.
32532         * iconvdata/cp773.c: New file.
32533         * iconvdata/cp774.c: New file.
32534         * iconvdata/testdata/CP770: New file.
32535         * iconvdata/testdata/CP770..UTF8: New file.
32536         * iconvdata/testdata/CP771: New file.
32537         * iconvdata/testdata/CP771..UTF8: New file.
32538         * iconvdata/testdata/CP772: New file.
32539         * iconvdata/testdata/CP772..UTF8: New file.
32540         * iconvdata/testdata/CP773: New file.
32541         * iconvdata/testdata/CP773..UTF8: New file.
32542         * iconvdata/testdata/CP774: New file.
32543         * iconvdata/testdata/CP774..UTF8: New file.
32545         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32546         END CHARMAP line.
32547         * iconvdata/gen-8bit-gap.sh: Likewise.
32548         * iconvdata/gen-8bit.sh: Likewise.
32550         * locale/iso-639.def: Add ary entry.
32552         [BZ #11258]
32553         * locale/C-translit.h.in: Add U20A1 transliteration.
32555         [BZ #12178]
32556         * locale/iso-639.def: Add wae entry.
32557         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32559         [BZ #12545]
32560         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32561         for n.
32563         [BZ #12711]
32564         * locale/C-translit.h.in: Add entry for U20B9.
32565         Patch by pravin.d.s@gmail.com.
32567 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32569         [BZ #12713]
32570         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32571         ENAMETOOLONG use generic getcwd.
32572         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32573         in rtld.  Use *stat64.
32574         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32575         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32576         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32577         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32578         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32579         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32580         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32581         __fstatat64 macros.
32582         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32583         * dirent/rewinddir.c: Add libc_hidden_def.
32584         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32585         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32587         * include/dirent.h (__alloc_dir): Add flags parameter.
32588         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32589         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32590         __alloc_dir.
32591         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32592         from fdopendir if O_CLOEXEC is already set.
32594 2011-03-15  Alan Modra  <amodra@gmail.com>
32596         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32597         l_tls_firstbyte_offset non-zero.  Save padding offset in
32598         l_tls_firstbyte_offset for later use.
32599         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32600         freeing static tls block.
32602 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32604         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32605         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32606         being defined by the kernel headers.
32608 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32610         [BZ #12734]
32611         * resolv/resolv.h: Define RES_NOTLDQUERY.
32612         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32613         no-tld-query and set RES_NOTLDQUERY.
32614         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32615         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32616         modern BIND to search name as TLD unless forbidden.
32618 2011-05-07  Petr Baudis  <pasky@suse.cz>
32619             Ulrich Drepper  <drepper@gmail.com>
32621         [BZ #12393]
32622         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32623         (is_trusted_path): ...to here.
32624         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32625         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32626         using is_trusted_path_normalize() in setuid scripts.
32628 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32630         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32631         __BEGIN/__END_DECLS.
32633 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32635         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32636         NSS_STATUS_NOTFOUND if no record was found.
32638 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32640         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32641         (headers-not-in-tirpc): Remove rpc/netdb.h
32642         * resolv/netdb.h: Revert last change.
32644 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32646         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32647         circular dependency between libgcc.a and libc.a.
32649 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32651         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32652         * nis/Makefile: Don't install rpcsvc/*.
32653         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32654         instead of <rpc/types.h>.
32655         (MAXHOSTNAMELEN): Define.
32657 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32659         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32661 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32663         [BZ #12714]
32664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32665         gethostbyname4_r when IPv6 results are possible.
32667 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32669         [BZ #12723]
32670         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32671         _PC_PIPE_BUF handling.
32673 2011-04-30  Bruno Haible  <bruno@clisp.org>
32675         [BZ #12717]
32676         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32677         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32678         to 'int'.
32679         * inet/getnameinfo.c (getnameinfo): Likewise.
32681 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32683         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32684         to groups setting in database lookup.
32685         * nss/nsswitch.conf: Add initgroups entry.
32687 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32689         [BZ #12685]
32690         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32691         mode string.
32692         Patch by Eric Blake <eblake@redhat.com>.
32694 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32696         * sunrpc/Makefile (need-export-routines): Add svc_run.
32697         (routines): Remove svc_run.
32698         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32699         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32700         * sunrpc/svc_run.c (svc_run): Likewise.
32701         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32703 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32705         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32706         problem in reallocation in last patch.
32708 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32710         * sunrpc/Makefile: Move inclusion of Rules.
32712 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32714         * nss/nss_files/files-initgroups.c: New file.
32715         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32716         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32717         _nss_files_initgroups_dyn.
32719 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32721         * elf/elf.h (R_ARM_IRELATIVE): Define.
32723 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32725         * po/ru.po: Update from translation team.
32727 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32729         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32730         dependencies.
32732 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32734         [BZ #12653]
32735         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32736         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32737         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32739         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32741 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32743         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32744         differing bytes.
32745         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32746         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32747         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32749 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32751         [BZ #12420]
32752         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32753         storing it.
32754         * stdlib/bug-getcontext.c: New file.
32755         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32757 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32759         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32760         instructions into .machine "z9-109".
32761         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32762         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32764 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32766         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32767         between environment variables and auxiliary vector.
32769 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32771         * Makefile: Add rules to build linkobj/libc.so.
32772         * include/libc-symbols.h: Define libc_hidden_nolink.
32773         * include/rpc/auth.h: Mark functions which are to be hidden.
32774         * include/rpc/auth_des.h: Likewise.
32775         * include/rpc/auth_unix.h: Likewise.
32776         * include/rpc/clnt.h: Likewise.
32777         * include/rpc/des_crypt.h: Likewise.
32778         * include/rpc/key_prot.h: Likewise.
32779         * include/rpc/pmap_clnt.h: Likewise.
32780         * include/rpc/pmap_prot.h: Likewise.
32781         * include/rpc/pmap_rmt.h: Likewise.
32782         * include/rpc/rpc_msg.h: Likewise.
32783         * include/rpc/svc.h: Likewise.
32784         * include/rpc/svc_auth.h: Likewise.
32785         * include/rpc/xdr.h: Likewise.
32786         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32787         * nss/Makefile: Likewise.
32788         * sunrpc/Makefile: Don't install headers.  Build library with normal
32789         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32790         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32791         for the compat linking library.  Remove use of INTDEF/INTUSE.
32792         * sunrpc/auth_none.c: Likewise.
32793         * sunrpc/auth_unix.c: Likewise.
32794         * sunrpc/authdes_prot.c: Likewise.
32795         * sunrpc/authuxprot.c: Likewise.
32796         * sunrpc/clnt_gen.c: Likewise.
32797         * sunrpc/clnt_perr.c: Likewise.
32798         * sunrpc/clnt_raw.c: Likewise.
32799         * sunrpc/clnt_simp.c: Likewise.
32800         * sunrpc/clnt_tcp.c: Likewise.
32801         * sunrpc/clnt_udp.c: Likewise.
32802         * sunrpc/clnt_unix.c: Likewise.
32803         * sunrpc/des_crypt.c: Likewise.
32804         * sunrpc/des_soft.c: Likewise.
32805         * sunrpc/get_myaddr.c: Likewise.
32806         * sunrpc/key_call.c: Likewise.
32807         * sunrpc/key_prot.c: Likewise.
32808         * sunrpc/netname.c: Likewise.
32809         * sunrpc/pm_getmaps.c: Likewise.
32810         * sunrpc/pm_getport.c: Likewise.
32811         * sunrpc/pmap_clnt.c: Likewise.
32812         * sunrpc/pmap_prot.c: Likewise.
32813         * sunrpc/pmap_prot2.c: Likewise.
32814         * sunrpc/pmap_rmt.c: Likewise.
32815         * sunrpc/publickey.c: Likewise.
32816         * sunrpc/rpc_cmsg.c: Likewise.
32817         * sunrpc/rpc_common.c: Likewise.
32818         * sunrpc/rpc_dtable.c: Likewise.
32819         * sunrpc/rpc_prot.c: Likewise.
32820         * sunrpc/rpc_thread.c: Likewise.
32821         * sunrpc/rtime.c: Likewise.
32822         * sunrpc/svc.c: Likewise.
32823         * sunrpc/svc_auth.c: Likewise.
32824         * sunrpc/svc_authux.c: Likewise.
32825         * sunrpc/svc_raw.c: Likewise.
32826         * sunrpc/svc_run.c: Likewise.
32827         * sunrpc/svc_simple.c: Likewise.
32828         * sunrpc/svc_tcp.c: Likewise.
32829         * sunrpc/svc_udp.c: Likewise.
32830         * sunrpc/svc_unix.c: Likewise.
32831         * sunrpc/svcauth_des.c: Likewise.
32832         * sunrpc/xcrypt.c: Likewise.
32833         * sunrpc/xdr.c: Likewise.
32834         * sunrpc/xdr_array.c: Likewise.
32835         * sunrpc/xdr_float.c: Likewise.
32836         * sunrpc/xdr_intXX_t.c: Likewise.
32837         * sunrpc/xdr_mem.c: Likewise.
32838         * sunrpc/xdr_rec.c: Likewise.
32839         * sunrpc/xdr_ref.c: Likewise.
32840         * sunrpc/xdr_sizeof.c: Likewise.
32841         * sunrpc/xdr_stdio.c: Likewise.
32843 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32845         [BZ #12650]
32846         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32847         * sysdeps/ia64/dl-tls.h: Likewise.
32848         * sysdeps/powerpc/dl-tls.h: Likewise.
32849         * sysdeps/s390/dl-tls.h: Likewise.
32850         * sysdeps/sh/dl-tls.h: Likewise.
32851         * sysdeps/sparc/dl-tls.h: Likewise.
32852         * sysdeps/x86_64/dl-tls.h: Likewise.
32853         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32855 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32857         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32858         rpath element also skip the following colon.
32859         (expand_dynamic_string_token): Add is_path parameter and pass
32860         down to DL_DST_REQUIRED and _dl_dst_substitute.
32861         (decompose_rpath): Call expand_dynamic_string_token with
32862         non-zero is_path.  Ignore empty rpaths.
32863         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32864         with zero is_path.
32866 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32869         Make cancelable.
32871 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32873         [BZ #12655]
32874         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32875         Patch by Filipe David Manana <fdmanana@apache.org>.
32877 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32879         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32880         Maintain aligned stack.
32881         (CHECK_RSP): Remove unused macro.
32883 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32885         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32886         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32888 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32890         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32892         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32894 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32896         [BZ #12518]
32897         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32898         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32899         * sysdeps/x86_64/memmove.c: New file.
32900         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32901         (memcpy): Renamed to ...
32902         (__new_memcpy): This.
32903         (memcpy): Provide GLIBC_2_14 memcpy.
32904         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32905         (memcpy): Provide GLIBC_2_2_5 memcpy.
32907 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32909         [BZ #12631]
32910         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32912 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32914         * misc/syncfs.c: New file.
32915         * misc/Makefile (routines): Add syncfs.
32916         * posix/unistd.h: Declare syncfs.
32917         * sysdeps/unix/syscalls.list: Add syncfs.
32919 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32921         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32922         open_by_handle_at.
32923         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32924         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32925         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32926         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32927         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32928         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32929         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32931 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32933         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32934         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32935         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32937         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32939         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32941         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32942         sync_file_range.c with -fexceptions.
32943         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32944         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32945         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32946         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32947         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32948         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32950         sync_file_range as cancellation point
32951         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32952         now a wrapper around __call_sync_file_range with cancellation handling.
32953         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32954         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32955         function name to __call_sync_file_range.
32956         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32957         Add call_sync_file_range.
32959 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32961         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32962         bits/timex.h.
32964 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32966         * iconv/iconv.h: Fix typo in comment.
32967         * io/fcntl.h: Likewise.
32968         * libio/stdio.h: Likewise.
32969         * posix/spawn.h: Likewise.
32970         * posix/unistd.h: Likewise.
32971         * stdlib/stdlib.h: Likewise.
32972         * time/time.h: Likewise.
32973         * wcsmbs/wchar.h: Likewise.
32975         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32976         open_by_handle): Add.
32977         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32978         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32979         Augment a few comments.
32980         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32981         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32982         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32984         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32985         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32986         open_by_handle.
32988         * io/fcntl.h (AT_EMPTY_PATH): Define.
32990 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32992         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32993         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32994         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32995         to...
32996         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32997         * Versions.def: Add GLIBC_2.14.
32998         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32999         Export.
33001 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33003         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33004         round counter.
33005         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33007 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33009         [BZ #12597]
33010         * string/test-strncmp.c (do_page_test): New function.
33011         (check2): Likewise.
33012         (test_main): Call check2.
33013         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33015 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33017         [BZ #12587]
33018         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33019         Handle cache information in CPU leaf 4.
33020         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33022 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33024         [BZ #12583]
33025         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33026         character representation.
33027         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33029 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33031         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33032         END(__isnan) to END(__isnanf) to match function entry point/label
33033         EALIGN(__isnanf,...).
33035 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33037         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33039 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33041         [BZ #12510]
33042         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33043         copy from the symbol referenced in the relocation to initialize the
33044         used variable.
33045         Patch by Piotr Bury <pbury@goahead.com>.
33046         * elf/Makefile: Add rules to build and tst-unique3.
33047         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33048         * elf/tst-unique3.cc: New file.
33049         * elf/tst-unique3.h: New file.
33050         * elf/tst-unique3lib.cc: New file.
33051         * elf/tst-unique3lib2.cc: New file.
33053         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33055 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33057         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33058         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33059         to _start.
33061 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33063         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33064         to-be-loaded object along a path to loader is ld.so.
33066 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33067             Ulrich Drepper  <drepper@gmail.com>
33069         * sysdeps/x86_64/memset.S: After aligning destination, code
33070         branches to different locations depending on the value of
33071         misalignment, when multiarch is enabled. Fix this.
33073 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33075         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33076         Set _x86_64_preferred_memory_instruction for AMD processsors.
33077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33078         Set bit_Prefer_SSE_for_memop for AMD processors.
33080 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33082         * libio/fmemopen.c (fmemopen): Optimize a bit.
33084 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33086         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33088 2011-03-03  Roland McGrath  <roland@redhat.com>
33090         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33092 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33094         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33095         __bzero_ultra1 instead of __memset_ultra1.
33097 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33098             Ulrich Drepper  <drepper@gmail.com>
33100         [BZ #12509]
33101         * include/link.h (struct link_map): Add l_orig_initfini.
33102         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33103         returning unsuccessfully.
33104         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33105         close of a file loaded at startup, restore the original l_initfini
33106         list.
33107         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33108         list, store the pointer.
33109         * elf/Makefile ($(objpfx)noload-mem): New rule.
33110         (noload-ENV): Define.
33111         (tests): Add $(objpfx)noload-mem.
33112         * elf/noload.c: Include <memcheck.h>.
33113         (main): Call mtrace.  Close all opened handles.
33115 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33117         [BZ #12454]
33118         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33119         dependencies are missing.
33121 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33123         Fix __if_freereq crash: Unlike the generic version which uses free,
33124         Hurd needs munmap.
33125         * sysdeps/mach/hurd/ifreq.h: New file.
33127 2011-01-27  Petr Baudis  <pasky@suse.cz>
33128             Ulrich Drepper  <drepper@gmail.com>
33130         [BZ 12445]#
33131         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33132         to extend_alloca().
33133         * stdio-common/bug23.c: New file.
33134         * stdio-common/Makefile (tests): Add bug23.
33136 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33137             Ulrich Drepper  <drepper@gmail.com>
33139         [BZ #12489]
33140         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33141         before performing relro protection.  At old place add assertion
33142         to make sure nothing changed.
33144 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33145             Glauber de Oliveira Costa  <glommer@gmail.com>
33147         * elf/elf.h: Add new ARM TLS relocs.
33149 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33152         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33153         cast from r3.
33154         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33155         'tests' variable.
33156         * sysdeps/wordsize-64/tst-writev.c: New file.
33158 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33160         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33161         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33162         insns in _dl_start to prevent a TOC reference before relocs are
33163         resolved.
33165 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33167         [BZ #12469]
33168         * Makeconfig: Remove RANLIB definition.
33169         * Makerules: Don't use RANLIB.
33170         * aclocal.m4: Remove ranlib test.
33171         * configure.in: No need to check for ranlib.
33172         * elf/rtld-Rules: Don't use RANLIB.
33174 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33176         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33177         protection macro.
33178         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33179         inclusion protection macro.
33181         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33182         SIGRTMIN and SIGRTMAX and print information in that case only when
33183         SIGRTMIN is defined.
33185 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33187         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33188         arginfo fn returning -1.
33190         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33191         and thousands string is zero terminated.
33193 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33195         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33196         sysdeps/unix/sysv/linux/bits/socket.h.
33198 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33200         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33201         (__CPU_COUNT): Remove old macros.
33202         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33203         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33204         (__CPU_ALLOC, __CPU_FREE): Add macros.
33205         (__sched_cpualloc, __sched_cpufree): Add declarations.
33207 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33209         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33210         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33211         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33212         (readdhstai): Return value of addhstaiX call.
33213         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33214         (addgrbyX): Return value returned by cache_addgr.
33215         (readdgrbyname): Return value returned by addgrbyX.
33216         (readdgrbygid): Likewise.
33217         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33218         (addpwbyX): Return value returned by cache_addpw.
33219         (readdpwbyname): Return value returned by addhstbyX.
33220         (readdpwbyuid): Likewise.
33221         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33222         (addservbyX): Return value returned by cache_addserv.
33223         (readdservbyname): Return value returned by addservbyX:
33224         (readdservbyport): Likewise.
33225         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33226         (addhstbyX): Return value returned by cache_addhst.
33227         (readdhstbyname): Return value returned by addhstbyX.
33228         (readdhstbyaddr): Likewise.
33229         (readdhstbynamev6): Likewise.
33230         (readdhstbyaddrv6): Likewise.
33231         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33232         (readdinitgroups): Return value returned by addinitgroupsX.
33233         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33234         (prune_cache): Keep track of timeout value of re-added entries.
33235         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33236         * nscd/nscd.h: Adjust prototypes of readd* functions.
33238 2011-02-04  Roland McGrath  <roland@redhat.com>
33240         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33241         (nis_stats): Likewise.
33242         * nis/nis_modify.c (nis_modify): Likewise.
33243         * nis/nis_remove.c (nis_remove): Likewise.
33244         * nis/nis_add.c (nis_add): Likewise.
33246         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33248         * posix/fnmatch_loop.c: Add some consts.
33250         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33252 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33254         [BZ #12460]
33255         * config.make.in (config-cflags-novzeroupper): Define.
33256         * configure.in: Substitute libc_cv_cc_novzeroupper.
33257         * elf/Makefile (AVX-CFLAGS): Define.
33258         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33259         (CFLAGS-tst-auditmod4a.c): Likewise.
33260         (CFLAGS-tst-auditmod4b.c): Likewise.
33261         (CFLAGS-tst-auditmod6b.c): Likewise.
33262         (CFLAGS-tst-auditmod6c.c): Likewise.
33263         (CFLAGS-tst-auditmod7b.c): Likewise.
33264         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33266 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33268         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33269         function to the callback.
33270         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33272 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33274         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33275         of errno.
33277 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33279         [BZ #11724]
33280         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33281         of constructors.
33282         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33283         of destructors.
33284         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33286         [BZ #11724]
33287         * elf/Makefile: Add rules to build and run new test.
33288         * elf/tst-initorder.c: New file.
33289         * elf/tst-initorder.exp: New file.
33290         * elf/tst-initordera1.c: New file.
33291         * elf/tst-initordera2.c: New file.
33292         * elf/tst-initordera3.c: New file.
33293         * elf/tst-initordera4.c: New file.
33294         * elf/tst-initorderb1.c: New file.
33295         * elf/tst-initorderb2.c: New file.
33296         * elf/tst-order-a1.c: New file.
33297         * elf/tst-order-a2.c: New file.
33298         * elf/tst-order-a3.c: New file.
33299         * elf/tst-order-a4.c: New file.
33300         * elf/tst-order-b1.c: New file.
33301         * elf/tst-order-b2.c: New file.
33302         * elf/tst-order-main.c: New file.
33303         New test case by George Gensure <werkt0@gmail.com>.
33305 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33308         decoding ACE if AI_CANONIDN.
33310 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33312         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33314 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33316         * version.h (RELEASE): Bump for 2.13 release.
33317         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33319         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33321         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33322         MADV_NOHUGEPAGE.
33323         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33324         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33325         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33326         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33327         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33328         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33330         * posix/getconf.c: Update copyright year.
33331         * catgets/gencat.c: Likewise.
33332         * csu/version.c: Likewise.
33333         * debug/catchsegv.sh: Likewise.
33334         * debug/xtrace.sh: Likewise.
33335         * elf/ldconfig.c: Likewise.
33336         * elf/ldd.bash.in: Likewise.
33337         * elf/sprof.c (print_version): Likewise.
33338         * iconv/iconv_prog.c: Likewise.
33339         * iconv/iconvconfig.c: Likewise.
33340         * locale/programs/locale.c: Likewise.
33341         * locale/programs/localedef.c: Likewise.
33342         * malloc/memusage.sh: Likewise.
33343         * malloc/mtrace.pl: Likewise.
33344         * nscd/nscd.c (print_version): Likewise.
33345         * nss/getent.c: Likewise.
33347         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33348         PF_CAIF, and PF_ALG.
33349         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33351 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33353         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33354         (modules-names): Use them.
33355         (ifunc-test-modules, ifunc-pie-tests): Define.
33356         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33357         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33358         (test-extras): Likewise.
33359         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33360         $(compile-command.c).
33361         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33362         (all-built-dso): Define.
33363         (check-textrel.out, check-execstack.out): Depend on it.
33365         * configure.in: Don't override --enable-multi-arch.
33367 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33369         [BZ #6812]
33370         * nscd/hstcache.c (tryagain): Define.
33371         (cache_addhst): Return tryagain not notfound for temporary errors.
33372         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33373         failed.
33375 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33377         [BZ #10563]
33378         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33379         to make the syscall.
33380         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33382         [BZ #12378]
33383         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33384         and fall back to matching as normal character if the string ends before
33385         the matching ']' is found.  This is what POSIX requires.
33386         * posix/testfnm.c: Adjust test result.
33387         * posix/globtest.sh: Adjust test result.  Add new test.
33388         * posix/tst-fnmatch.input: Likewise.
33389         * posix/tst-fnmatch2.c: Add new test.
33391 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33393         * elf/Makefile (check-execstack): Revert last change.  Depend on
33394         check-execstack.h.
33395         (check-execstack.h): New target.
33396         (generated): Add check-execstack.h.
33397         * elf/check-execstack.c: Include "check-execstack.h".
33398         (main): Revert last change.
33399         (handle_file): Return zero if GNU_STACK is absent and
33400         DEFAULT_STACK_PERMS doesn't include PF_X.
33402 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33404         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33405         in child fails because the descriptor is already closed.
33406         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33407         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33408         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33410         [BZ #12397]
33411         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33412         syscall.
33414         [BZ #10484]
33415         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33416         temporary buffer used to handle multi lookups locally.
33417         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33419 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33421         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33422         loader is ld.so.
33424 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33426         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33427         alignment for SSE2.
33429 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33431         [BZ #12394]
33432         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33433         characters.  When rounding increased number of integer digits recompute
33434         number of groups.
33435         * stdio-common/tst-grouping.c: New file.
33436         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33438 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33440         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33441         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33443         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33444         void.
33445         * bits/select.h: Likewise.
33447 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33449         * po/ja.po: Update from translation team.
33451 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33453         [BZ #11155]
33454         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33455         implementation just like for lxstat, fxstatat, et al.
33457 2010-12-27  Jim Meyering  <meyering@redhat.com>
33459         [BZ #12348]
33460         * posix/regexec.c (build_trtable): Return failure indication upon
33461         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33463 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33465         [BZ #12201]
33466         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33467         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33468         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33469         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33471         [BZ #12207]
33472         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33474         [BZ #12204]
33475         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33476         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33478 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33480         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33481         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33482         script has SORT_BY_INIT_PRIORITY.
33483         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33484         NO_CTORS_DTORS_SECTIONS is defined.
33485         * elf/soinit.c: Likewise.
33486         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33487         NO_CTORS_DTORS_SECTIONS is defined.
33488         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33489         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33490         * sysdeps/sh/init-first.c: Likewise.
33491         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33493 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33495         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33496         always use the slow path.
33498 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33500         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33501         similar rule which adds the sysdep directories to the header search in
33502         order to pick up the correct platform stackinfo.h.
33503         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33504         perform test if it is, otherwise return successfully without testing.
33505         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33506         DEFAULT_STACK_PERMS define in stackinfo.h.
33507         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33508         defined in stackinfo.h.
33509         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33510         DEFAULT_STACK_PERMS defined in stackinfo.h.
33511         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33512         * sysdeps/ia64/stackinfo.h: Likewise.
33513         * sysdeps/s390/stackinfo.h: Likewise.
33514         * sysdeps/sh/stackinfo.h: Likewise.
33515         * sysdeps/sparc/stackinfo.h: Likewise.
33516         * sysdeps/x86_64/stackinfo.h: Likewise.
33517         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33518         PF_X for powerpc64.  Retain PF_X for powerpc32.
33520 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33522         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33523         accurately.
33524         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33525         GETDENTS_64BIT_ALIGNED.
33527 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33529         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33531 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33533         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33534         _GNU_SOURCE.
33536         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33537         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33538         Remove __restrict.
33539         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33540         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33542 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33544         [BZ #11655]
33545         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33546         are initialized.
33548 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33550         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33552 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33554         * po/it.po: Update from translation team.
33556 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33558         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33559         unused codes.
33561 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33563         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33565 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33567         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33568         specially.
33569         (gaih_getanswer_slice): Likewise.
33571 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33575 2010-05-31  Petr Baudis  <pasky@suse.cz>
33577         [BZ #11149]
33578         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33579         silently even in the chroot mode.
33581 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33583         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33584         last patch a bit.  Pretty printing
33586 2010-05-31  Petr Baudis <pasky@suse.cz>
33588         [BZ #10085]
33589         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33590         initialization of skip_initgroups_dyn.
33592 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33594         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33595         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33597 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33599         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33601 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33603         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33604         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33605         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33606         ($(objpfx)tst-fnmatch-mem): New rule.
33607         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33608         * posix/tst-fnmatch.c (main): Call mtrace.
33610 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33613         Support Intel processor model 6 and model 0x2c.
33615 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33617         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33618           signed comparison.
33620 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33622         [BZ #12205]
33623         * string/test-strncasecmp.c (check_result): New function.
33624         (do_one_test): Use it.
33625         (check1): New function.
33626         (test_main): Use it.
33627         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33628         Support strcasecmp and strncasecmp.
33630 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33632         [BZ #12194]
33633         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33634         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33636 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33638         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33639         IFUNC support.
33640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33641         memset-x86-64.
33642         * sysdeps/x86_64/multiarch/bzero.S: New file.
33643         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33644         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33645         * sysdeps/x86_64/multiarch/memset.S: New file.
33646         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33648         Set bit_Prefer_SSE_for_memop for Intel processors.
33649         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33650         Define.
33651         (index_Prefer_SSE_for_memop): Define.
33652         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33654 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33656         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33657         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33659 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33661         [BZ #12191]
33662         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33663         (__x86_64_raw_data_cache_size_half): Likewise.
33664         (__x86_64_raw_shared_cache_size): Likewise.
33665         (__x86_64_raw_shared_cache_size_half): Likewise.
33667         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33668         (__x86_64_raw_data_cache_size_half): Likewise.
33669         (__x86_64_raw_shared_cache_size): Likewise.
33670         (__x86_64_raw_shared_cache_size_half): Likewise.
33671         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33672         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33673         and __x86_64_raw_shared_cache_size_half.  Round
33674         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33675         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33676         to multiple of 256 bytes.
33678 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33680         [BZ #12167]
33681         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33682         of inacessible symlinks.  Verify result of symlink before returning it.
33683         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33684         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33686 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33688         * math/math.h (isinf): Fix typo in comment.
33690 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33692         * po/da.po: Update from translation team.
33694 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33696         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33697         is added to the list.
33699 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33700             Ulrich Drepper  <drepper@gmail.com>
33702         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33703         the global list here.  Move code to...
33704         (_dl_add_to_namespace_list): ...here.  New function.
33705         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33706         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33707         * elf/dl-load.c (lose): Don't remove the element from the list.
33708         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33709         (_dl_map_object): Likewise.
33711 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33713         [BZ #12159]
33714         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33715         into all bytes of SSE register.
33716         Patch by Richard Li <richardpku@gmail.com>.
33718 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33720         [BZ #12140]
33721         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33722         perturbing.
33724 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33726         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33727         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33728         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33729         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33731         submachine.
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33734 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33736         * include/dlfcn.h (__RTLD_SECURE): Define.
33737         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33738         mode & __RTLD_SECURE instead.
33739         (open_path): Rename preloaded parameter to secure.
33740         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33741         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33742         * elf/dl-deps.c (openaux): Likewise.
33743         * elf/rtld.c (struct map_args): Remove is_preloaded.
33744         (map_doit): Don't use it.
33745         (dl_main): Likewise.
33746         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33747         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33749 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33751         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33752         (sysd-rules-targets): Remove duplicates.
33753         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33754         rtld-%.$o dependency.
33756 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33758         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33759         _dl_map_object do it.
33761 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33763         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33764         fast fma builtins, define the macros in the C99 standard.
33765         (FP_FAST_FMAF): Likewise.
33766         (FP_FAST_FMAL): Likewise.
33767         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33769         * bits/mathdef.h: Update copyright year.
33770         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33772 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33774         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33775         builtins, define the macros in the C99 standard.
33776         (FP_FAST_FMAF): Likewise.
33777         (FP_FAST_FMAL): Likewise.
33778         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33779         multiply/add.
33780         (FP_FAST_FMAF): Likewise.
33782 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33784         [BZ #3268]
33785         * math/libm-test.inc (fma_test): Some new testcases.
33786         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33787         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33788         y and infinite z.  Do multiplication by C already in long double.
33789         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33791         y and infinite z.  Do bitwise or of inexact bit into u.d.
33792         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33793         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33794         * sysdeps/i386/fpu/s_fma.S: Removed.
33795         * sysdeps/i386/fpu/s_fmal.S: Removed.
33797 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33799         [BZ #3268]
33800         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33802         computation is not scheduled after fetestexcept.  Fix value
33803         of minimum denormal long double.
33805 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33807         [BZ #3268]
33808         * math/libm-test.inc (fma_test): Add some more tests.
33809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33810         correctly.
33812 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33814         * scripts/data/localplt-s390-linux-gnu.data: New file.
33815         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33817 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33819         [BZ #3268]
33820         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33821         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33822         instead of dbl-64.
33823         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33824         inlines.
33825         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33827         if one of x and y is very large and the other is subnormal.
33828         * sysdeps/s390/fpu/s_fmaf.c: New file.
33829         * sysdeps/s390/fpu/s_fma.c: New file.
33830         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33831         * sysdeps/powerpc/fpu/s_fma.S: New file.
33832         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33833         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33834         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33836 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33838         [BZ #3268]
33839         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33840         fma tests.
33841         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33842         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33843         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33844         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33845         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33846         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33847         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33849 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33851         [BZ #12078]
33852         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33853         * posix/bug-regex31.input: Add test case.
33855 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33857         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33858         * posix/bug-regex31.input: New file.
33860         [BZ #12078]
33861         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33862         (parse_sub_exp): Fix last change, use postorder.
33864         * posix/bug-regex31.c: New file.
33865         * posix/Makefile: Add rules to build and run bug-regex31.
33867         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33869         [BZ #12078]
33870         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33872         [BZ #12108]
33873         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33874         to have entries in sys_siglist.
33876         [BZ #12093]
33877         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33878         be NULL.
33880 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33882         [BZ #3268]
33883         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33884         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33885         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33886         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33887         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33888         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33889         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33890         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33891         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33892         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33893         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33894         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33895         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33896         * math/ftestexcept.c (fetestexcept): Likewise.
33897         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33898         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33899         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33900         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33901         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33902         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33903         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33905 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33907         [BZ #12107]
33908         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33909         newline.
33911 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33913         * string/bug-strstr1.c: New file.
33914         * string/Makefile: Add rules to build and run bug-strstr1.
33916 2010-10-05  Eric Blake  <eblake@redhat.com>
33918         [BZ #12092]
33919         * string/str-two-way.h (two_way_long_needle): Always clear memory
33920         when skipping input due to the shift table.
33922 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33924         [BZ #12005]
33925         * malloc/mcheck.c: Handle large requests.
33927         [BZ #12077]
33928         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33929         for strncmp and strncasecmp.
33930         * string/stratcliff.c: Add tests for strcmp and strncmp.
33931         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33933 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33935         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33936         __set_fpscr.
33938 2010-09-30  Andreas Jaeger  <aj@suse.de>
33940         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33941         (CGROUP_SUPER_MAGIC): Define.
33942         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33943         Handle btrfs and cgroup file systems.
33944         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33945         Likewise.
33947 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33949         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33950         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33952 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33954         [BZ #12067]
33955         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33956         trying to locate the ELF header.
33958 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33960         [BZ #11611]
33961         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33962         Mask out sign-bit copies when constructing f_fsid.
33964 2010-09-24  Petr Baudis <pasky@suse.cz>
33966         * debug/stack_chk_fail_local.c: Add missing licence exception.
33967         * debug/warning-nop.c: Likewise.
33969 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33971         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33972         implementing getdents64 using getdents syscall, set d_type if
33973         __ASSUME_GETDENTS32_D_TYPE.
33975 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33977         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33978         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33980 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33982         [BZ #12037]
33983         * posix/unistd.h: Undo change of feature selection for ftruncate from
33984         2010-01-11.
33986 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33988         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33989         detection.
33991 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33993         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33994         fanotify_mark.
33995         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33997 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33999         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34000         variables after CHECK_SP call.
34001         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34003 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34004             Ulrich Drepper  <drepper@redhat.com>
34006         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34007         re-relocationg ld.so.
34008         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34009         _dl_init_paths call.
34010         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34011         here anymore.
34013 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34015         * resolv/res_init.c (__res_vinit): Count the default server we added.
34017 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34018             Ulrich Drepper  <drepper@redhat.com>
34020         [BZ #11968]
34021         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34022         (____longjmp_chk): Use %ebx for saving value across system call.
34023         Add unwind info.
34025 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34027         * manual/Makefile: Don't mix pattern rules with normal rules.
34029 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34031         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34032         operation.
34033         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34034         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34035         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34036         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34038         Likewise.
34040 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34042         [BZ #11979]
34043         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34044         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34046 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34048         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34049         * sysdeps/x86_64/addmul_1.S: Likewise.
34050         * sysdeps/x86_64/lshift.S: Likewise.
34051         * sysdeps/x86_64/mul_1.S: Likewise.
34052         * sysdeps/x86_64/rshift.S: Likewise.
34053         * sysdeps/x86_64/sub_n.S: Likewise.
34054         * sysdeps/x86_64/submul_1.S: Likewise.
34056 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34058         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34059         Define __sched_param instead of SCHED_* and sched_param when
34060         <bits/sched.h> is included with __need_schedparam defined.
34061         * bits/sched.h [__need_schedparam]
34062         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34063         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34064         (__defined_schedparam): Define to 1.
34065         (__sched_param): New structure, identical to sched_param.
34066         (__need_schedparam): Undefine.
34068 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34070         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34071         (epoll_create1): Declare.
34073         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34075 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34077         [BZ #7066]
34078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34079         shifting retval into place.
34081 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34083         * nis/rpcsvc/nis.h: Update copyright notice.
34084         * nis/rpcsvc/nis.x: Likewise.
34085         * nis/rpcsvc/nis_callback.h: Likewise.
34086         * nis/rpcsvc/nis_callback.x: Likewise.
34087         * nis/rpcsvc/nis_object.x: Likewise.
34088         * nis/rpcsvc/nis_tags.h: Likewise.
34089         * nis/rpcsvc/yp.h: Likewise.
34090         * nis/rpcsvc/yp.x: Likewise.
34091         * nis/rpcsvc/ypupd.h: Likewise.
34092         * nis/yp_xdr.c: Likewise.
34093         * nis/ypupdate_xdr.c: Likewise.
34095         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34096         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34097         (pmap_getport): Use __libc_rpc_getport.
34098         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34099         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34100         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34102 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34105         fanotify_mark.
34107 2010-08-27  Roland McGrath  <roland@redhat.com>
34109         * sysdeps/i386/i686/multiarch/Makefile
34110         (CFLAGS-varshift.c): New variable.
34112 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34114         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34115         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34117         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34119         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34121 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34123         * sysdeps/x86_64/strlen.S: Unroll the loop.
34124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34125         strlen-sse2 strlen-sse2-bsf.
34126         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34127         __strlen_no_bsf if bit_Slow_BSF is set.
34128         (__strlen_sse42): Removed.
34129         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34130         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34132 2010-08-25  Roland McGrath  <roland@redhat.com>
34134         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34135         * sysdeps/x86_64/multiarch/varshift.c: New file.
34136         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34137         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34138         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34139         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34141 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34143         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34144         strlen-sse2 strlen-sse2-bsf.
34145         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34146         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34147         (__strlen_sse2): Removed.
34148         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34149         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34151         bit_Slow_BSF for Atom.
34152         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34153         (index_Slow_BSF): Define.
34154         (HAS_SLOW_BSF): Define.
34156 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34158         [BZ #10851]
34159         * resolv/res_init.c (__res_vinit): When no server address at all
34160         is given default to loopback.
34162 2010-08-24  Roland McGrath  <roland@redhat.com>
34164         * configure.in: Remove config-name.h generation.
34165         * configure: Regenerated.
34166         * config-name.in: File removed.
34167         * scripts/config-uname.sh: New file.
34168         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34169         ($(objdir)config-name.h): New target.
34171         * sunrpc/rpc_parse.h: Avoid nested comment.
34173 2010-08-24  Richard Henderson  <rth@redhat.com>
34174             Ulrich Drepper  <drepper@redhat.com>
34175             H.J. Lu  <hongjiu.lu@intel.com>
34177         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34179         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34180         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34181         _mm_alignr_epi8 with _mm_loadu_si128.
34182         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34183         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34184         (__m128i_shift_right): Removed.
34185         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34186         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34187         * sysdeps/x86_64/multiarch/varshift.h: New file.
34188         * sysdeps/x86_64/multiarch/varshift.S: New file.
34190 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34192         * configure.in: Move assembler checks to before sysdep dir checking.
34194 2010-08-20  Petr Baudis  <pasky@suse.cz>
34196         * LICENSES: Sync the sunrpc license.
34198 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34200         * sunrpc/auth_des.c: Update copyright notice once again.
34201         * sunrpc/auth_none.c: Likewise.
34202         * sunrpc/auth_unix.c: Likewise.
34203         * sunrpc/authdes_prot.c: Likewise.
34204         * sunrpc/authuxprot.c: Likewise.
34205         * sunrpc/bindrsvprt.c: Likewise.
34206         * sunrpc/clnt_gen.c: Likewise.
34207         * sunrpc/clnt_perr.c: Likewise.
34208         * sunrpc/clnt_raw.c: Likewise.
34209         * sunrpc/clnt_simp.c: Likewise.
34210         * sunrpc/clnt_tcp.c: Likewise.
34211         * sunrpc/clnt_udp.c: Likewise.
34212         * sunrpc/clnt_unix.c: Likewise.
34213         * sunrpc/des_crypt.c: Likewise.
34214         * sunrpc/des_soft.c: Likewise.
34215         * sunrpc/get_myaddr.c: Likewise.
34216         * sunrpc/getrpcport.c: Likewise.
34217         * sunrpc/key_call.c: Likewise.
34218         * sunrpc/key_prot.c: Likewise.
34219         * sunrpc/openchild.c: Likewise.
34220         * sunrpc/pm_getmaps.c: Likewise.
34221         * sunrpc/pm_getport.c: Likewise.
34222         * sunrpc/pmap_clnt.c: Likewise.
34223         * sunrpc/pmap_prot.c: Likewise.
34224         * sunrpc/pmap_prot2.c: Likewise.
34225         * sunrpc/pmap_rmt.c: Likewise.
34226         * sunrpc/rpc/auth.h: Likewise.
34227         * sunrpc/rpc/auth_unix.h: Likewise.
34228         * sunrpc/rpc/clnt.h: Likewise.
34229         * sunrpc/rpc/des_crypt.h: Likewise.
34230         * sunrpc/rpc/key_prot.h: Likewise.
34231         * sunrpc/rpc/netdb.h: Likewise.
34232         * sunrpc/rpc/pmap_clnt.h: Likewise.
34233         * sunrpc/rpc/pmap_prot.h: Likewise.
34234         * sunrpc/rpc/pmap_rmt.h: Likewise.
34235         * sunrpc/rpc/rpc.h: Likewise.
34236         * sunrpc/rpc/rpc_des.h: Likewise.
34237         * sunrpc/rpc/rpc_msg.h: Likewise.
34238         * sunrpc/rpc/svc.h: Likewise.
34239         * sunrpc/rpc/svc_auth.h: Likewise.
34240         * sunrpc/rpc/types.h: Likewise.
34241         * sunrpc/rpc/xdr.h: Likewise.
34242         * sunrpc/rpc_clntout.c: Likewise.
34243         * sunrpc/rpc_cmsg.c: Likewise.
34244         * sunrpc/rpc_common.c: Likewise.
34245         * sunrpc/rpc_cout.c: Likewise.
34246         * sunrpc/rpc_dtable.c: Likewise.
34247         * sunrpc/rpc_hout.c: Likewise.
34248         * sunrpc/rpc_main.c: Likewise.
34249         * sunrpc/rpc_parse.c: Likewise.
34250         * sunrpc/rpc_parse.h: Likewise.
34251         * sunrpc/rpc_prot.c: Likewise.
34252         * sunrpc/rpc_sample.c: Likewise.
34253         * sunrpc/rpc_scan.c: Likewise.
34254         * sunrpc/rpc_scan.h: Likewise.
34255         * sunrpc/rpc_svcout.c: Likewise.
34256         * sunrpc/rpc_tblout.c: Likewise.
34257         * sunrpc/rpc_util.c: Likewise.
34258         * sunrpc/rpc_util.h: Likewise.
34259         * sunrpc/rpcinfo.c: Likewise.
34260         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34261         * sunrpc/rpcsvc/key_prot.x: Likewise.
34262         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34263         * sunrpc/rpcsvc/mount.x: Likewise.
34264         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34265         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34266         * sunrpc/rpcsvc/rex.x: Likewise.
34267         * sunrpc/rpcsvc/rstat.x: Likewise.
34268         * sunrpc/rpcsvc/rusers.x: Likewise.
34269         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34270         * sunrpc/rpcsvc/spray.x: Likewise.
34271         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34272         * sunrpc/rtime.c: Likewise.
34273         * sunrpc/svc.c: Likewise.
34274         * sunrpc/svc_auth.c: Likewise.
34275         * sunrpc/svc_authux.c: Likewise.
34276         * sunrpc/svc_raw.c: Likewise.
34277         * sunrpc/svc_run.c: Likewise.
34278         * sunrpc/svc_simple.c: Likewise.
34279         * sunrpc/svc_tcp.c: Likewise.
34280         * sunrpc/svc_udp.c: Likewise.
34281         * sunrpc/svc_unix.c: Likewise.
34282         * sunrpc/svcauth_des.c: Likewise.
34283         * sunrpc/xcrypt.c: Likewise.
34284         * sunrpc/xdr.c: Likewise.
34285         * sunrpc/xdr_array.c: Likewise.
34286         * sunrpc/xdr_float.c: Likewise.
34287         * sunrpc/xdr_mem.c: Likewise.
34288         * sunrpc/xdr_rec.c: Likewise.
34289         * sunrpc/xdr_ref.c: Likewise.
34290         * sunrpc/xdr_sizeof.c: Likewise.
34291         * sunrpc/xdr_stdio.c: Likewise.
34293         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34294         handling.
34296 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34298         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34300 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34302         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34303         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34304         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34305         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34306         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34307         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34308         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34309         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34310         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34311         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34312         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34313         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34314         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34315         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34317 2010-07-26  Anton Blanchard  <anton@samba.org>
34319         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34320         * malloc/arena.c (heap_trim): Likewise.
34322 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34324         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34325         here.  Not...
34326         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34327         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34329 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34331         * sysdeps/i386/elf/Makefile: New file.
34333 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34335         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34336         from fanotify_init.
34337         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34338         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34340 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34342         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34343         of strncasecmp_l.
34344         * sysdeps/multiarch/strcmp.S: Likewise.
34346 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34348         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34349         strncase_l-nonascii.
34350         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34351         Add strncase_l-ssse3.
34352         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34353         * sysdeps/x86_64/strcmp.S: Likewise.
34354         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34355         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34356         * sysdeps/x86_64/strncase.S: New file.
34357         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34358         * sysdeps/x86_64/strncase_l.S: New file.
34359         * string/Makefile (strop-tests): Add strncasecmp.
34360         * string/test-strncasecmp.c: New file.
34362         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34363         warning.
34365         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34366         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34368 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34370         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34372 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34374         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34375         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34376         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34378 2010-05-01  Alan Modra  <amodra@gmail.com>
34380         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34381         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34382         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34383         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34384         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34385         tidying.  Don't tail-call __sigjmp_save for static lib.
34386         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34387         save location.
34388         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34389         (CALL_MCOUNT): Add eh info, and nop after bl.
34390         (TAIL_CALL_SYSCALL_ERROR): New macro.
34391         (PSEUDO_RET): Use it.
34392         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34393         Correct save location of integer regs and cr.
34394         (_dl_profile_resolve): Correct cr save location.  Delete nops
34395         after bl when SHARED.  Reduce cfi size a little by better
34396         placement of cfi directives.
34397         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34398         make a stack frame.  Instead use parm save area as a temp.
34399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34400         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34402         Don't make a stack frame for parent, use parm save area.
34403         Increase child stack frame to 112 bytes.  Don't save unused reg,
34404         and adjust reg usage.  Set up cfi on error recovery and
34405         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34407         (__makecontext): Add dummy nop after jump to exit.
34408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34409         Use correct parm save area and cr save, reduce stack frame.
34410         Correct cfi for possible PSEUDO_RET frame setup.
34411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34412         Branch to local label emitted by PSEUDO_RET rather than
34413         __syscall_error.
34415 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34417         [BZ #11904]
34418         * locale/programs/locale.c (print_assignment): New function.
34419         (show_locale_vars): Use it.
34421 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34423         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34424         field.
34425         (struct statfs64): Likewise.
34426         (_STATFS_F_FLAGS): Define.
34427         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34428         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34429         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34430         (ST_VALID): Define locally.
34431         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34432         __statvfs_getflags, use the provided value.
34433         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34434         __ASSUME_STATFS_F_FLAGS.
34436         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34438         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34439         Add sys/fanotify.h.
34440         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34441         fanotify_mask for GLIBC_2.13.
34442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34443         fanotify_init and fanotify_mark.
34444         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34445         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34447         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34448         Add prlimit.
34449         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34450         prlimit64 for GLIBC_2.13.
34451         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34452         prlimit64.
34453         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34454         syscall.
34455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34456         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34457         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34458         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34460         add prlimit alias.
34461         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34463         [BZ #11903]
34464         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34465         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34467         * nss/Makefile: Add rules to build and run tst-nss-test1.
34468         * shlib-versions: Add entry for libnss_test1.
34469         * nss/nss_test1.c: New file.
34470         * nss/tst-nss-test1.c: New file.
34472         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34473         (__nss_configure_lookup): Set appropriate entry in
34474         __nss_configure_lookup to true.
34475         * nss/nsswitch.h: Define enum with indeces of databases in
34476         databases and __nss_database_custom arrays.  Declare
34477         __nss_database_custom.
34478         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34479         to avoid using nscd when custom rules are installed.
34480         * nss/getXXbyYY_r.c: Likewise.
34481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34483         * nss/nss_files/files-parse.c: Whitespace fixes.
34485 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34487         [BZ #11883]
34488         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34489         * posix/fnmatch_loop.c: Likewise.
34491 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34493         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34494         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34495         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34496         * Versions.def [GLIBC_2.13]: Add.
34498 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34500         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34501         Also fail if tpwd after pwuid call is NULL.
34503 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34505         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34506         when converting to ms.
34508 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34510         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34511         EOPNOTSUPP errors with ENOTTY.
34512         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34513         EOPNOTSUPP errors with ENOTTY.
34515 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34517         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34518         Add strcasecmp_l-ssse3.
34519         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34520         strcasecmp.
34521         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34522         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34523         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34525 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34527         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34529         * string/Makefile (strop-tests): Add strcasecmp.
34530         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34531         strcasecmp_l-nonascii.
34532         (gen-as-const-headers): Add locale-defines.sym.
34533         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34534         * sysdeps/x86_64/strcasecmp.S: New file.
34535         * sysdeps/x86_64/strcasecmp_l.S: New file.
34536         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34537         * sysdeps/x86_64/locale-defines.sym: New file.
34538         * string/test-strcasecmp.c: New file.
34540         * string/test-strcasestr.c: Test both ends of the range of characters.
34541         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34543 2010-07-29  Roland McGrath  <roland@redhat.com>
34545         [BZ #11856]
34546         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34548 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34550         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34551         for ld.so.
34553 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34555         * manual/memory.texi (Malloc Tunable Parameters): Document
34556         M_PERTURB.
34558 2010-07-26  Roland McGrath  <roland@redhat.com>
34560         [BZ #11840]
34561         * configure.in (-fgnu89-inline check): Set and substitute
34562         gnu89_inline, not libc_cv_gnu89_inline.
34563         * configure: Regenerated.
34564         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34566 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34568         * string/test-strnlen.c: New file.
34569         * string/Makefile (strop-tests): Add strnlen.
34570         * string/tester.c (test_strnlen): Add a few more test cases.
34571         * string/tst-strlen.c: Better error reporting.
34573         * sysdeps/x86_64/strnlen.S: New file.
34575 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34577         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34578         lower-latency instructions.
34580 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34582         * string/test-strcasestr.c: New file.
34583         * string/test-strstr.c: New file.
34584         * string/Makefile (strop-tests): Add strstr and strcasestr.
34585         * string/str-two-way.h: Don't undefine MAX.
34586         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34588 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34591         strcasestr-nonascii.
34592         (CFLAGS-strcasestr-nonascii.c): Define.
34593         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34594         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34595         Remove unused attribute.
34597 2010-07-20  Roland McGrath  <roland@redhat.com>
34599         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34600         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34601         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34602         like LD_HWCAP_MASK can disable hwcaps.
34604 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34606         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34608 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34610         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34611         call in strcasestr.
34612         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34613         __strcasestr_sse42_nonascii.
34614         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34615         strcasestr-nonascii.c.
34616         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34618 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34620         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34621         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34622         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34623         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34625 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34627         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34628         fcntl.
34630 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34632         [BZ #11577]
34633         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34634         dl_signal_cerror.
34636 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34638         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34639         _PC_PIPE_BUF using F_GETPIPE_SZ.
34641 2010-07-05  Roland McGrath  <roland@redhat.com>
34643         * manual/arith.texi (Rounding Functions): Fix rint description
34644         implicit in round description.
34646 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34648         * elf/Makefile: Fix linking for a few tests to make recent linker
34649         happy.
34651 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34653         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34654         $(common-objpfx)libc_nonshared.a.
34656 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34658         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34659         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34660         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34661         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34662         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34663         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34664         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34665         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34680         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34681         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34682         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34683         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34684         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34685         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34686         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34687         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34688         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34689         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34690         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34691         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34707 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34709         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34710         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34711         * string/memmove.c (memmove): Renamed to ...
34712         (MEMMOVE): ...this.  Default to memmove.
34713         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34714         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34715         (END_CHK): Define.
34716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34717         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34718         mempcpy-ssse3-back memmove-ssse3-back.
34719         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34720         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34722         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34723         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34724         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34725         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34726         * sysdeps/x86_64/multiarch/memmove.c: New file.
34727         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34728         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34729         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34730         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34731         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34732         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34733         Define.
34734         (index_Fast_Copy_Backward): Define.
34735         (HAS_ARCH_FEATURE): Define.
34736         (HAS_FAST_REP_STRING): Define.
34737         (HAS_FAST_COPY_BACKWARD): Define.
34739 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34741         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34742         Restore proper fallback handling.
34744 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34746         [BZ #11701]
34747         * posix/group_member.c (__group_member): Correct checking loop.
34749         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34750         OOM in getpwuid_r correctly.  Return error number when the caller
34751         should return, otherwise -1.
34752         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34753         call returning > 0 value.
34754         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34756 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34758         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34759         libc_nonshared.a from targets in modules-names.
34761 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34763         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34764         requires it.
34766 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34768         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34769         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34770         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34771         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34773 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34775         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34777 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34779         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34780         and F_GETPIPE_SZ.
34781         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34782         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34783         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34785         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34788 2010-06-14  Roland McGrath  <roland@redhat.com>
34790         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34792 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34794         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34795         __REDIRECT followed by __THROW.
34796         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34797         * posix/getopt.h (getopt): Likewise.
34799 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34801         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34802         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34803         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34804         in AT_FLAGS.
34805         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34806         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34808 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34812 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34814         [BZ #11640]
34815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34816         Properly check family and model.
34818 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34820         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34822 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34824         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34826 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34828         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34829         symbol reference.
34831 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34833         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34834         symbol reference.
34836 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34838         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34839         and internal_recvmmsg.
34840         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34841         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34842         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34843         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34845         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34846         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34847         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34849 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34851         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34853 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34855         POWER7 optimizations.
34856         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34857         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34859 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34861         * version.h: Update for 2.13 development version.
34863 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34865         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34866         exceptions.  Return 0.
34868 2010-05-07  Roland McGrath  <roland@redhat.com>
34870         * elf/ldconfig.c (main): Add a const.
34872 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34874         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34875         (args_options): Add no-idn option.
34876         (ahosts_keys_int): Add idn_flags to ai_flags.
34877         (parse_option): Handle 'i' option to clear idn_flags.
34879         * malloc/malloc.c (_int_free): Possible race in the most recently
34880         added check.  Only act on the data if no current modification
34881         happened.
34883 See ChangeLog.17 for earlier changes.